Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.27 KB

V1PodTemplateSpec.md

File metadata and controls

82 lines (45 loc) · 2.27 KB

V1PodTemplateSpec

Properties

Name Type Description Notes
Metadata Pointer to V1ObjectMeta [optional]
Spec Pointer to V1PodSpec [optional]

Methods

NewV1PodTemplateSpec

func NewV1PodTemplateSpec() *V1PodTemplateSpec

NewV1PodTemplateSpec instantiates a new V1PodTemplateSpec object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewV1PodTemplateSpecWithDefaults

func NewV1PodTemplateSpecWithDefaults() *V1PodTemplateSpec

NewV1PodTemplateSpecWithDefaults instantiates a new V1PodTemplateSpec object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetMetadata

func (o *V1PodTemplateSpec) GetMetadata() V1ObjectMeta

GetMetadata returns the Metadata field if non-nil, zero value otherwise.

GetMetadataOk

func (o *V1PodTemplateSpec) GetMetadataOk() (*V1ObjectMeta, bool)

GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMetadata

func (o *V1PodTemplateSpec) SetMetadata(v V1ObjectMeta)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *V1PodTemplateSpec) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetSpec

func (o *V1PodTemplateSpec) GetSpec() V1PodSpec

GetSpec returns the Spec field if non-nil, zero value otherwise.

GetSpecOk

func (o *V1PodTemplateSpec) GetSpecOk() (*V1PodSpec, bool)

GetSpecOk returns a tuple with the Spec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSpec

func (o *V1PodTemplateSpec) SetSpec(v V1PodSpec)

SetSpec sets Spec field to given value.

HasSpec

func (o *V1PodTemplateSpec) HasSpec() bool

HasSpec returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]