Name | Type | Description | Notes |
---|---|---|---|
Metadata | Pointer to V1ObjectMeta | [optional] | |
Spec | Pointer to V1PodSpec | [optional] |
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
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
func (o *V1PodTemplateSpec) GetMetadata() V1ObjectMeta
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
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.
func (o *V1PodTemplateSpec) SetMetadata(v V1ObjectMeta)
SetMetadata sets Metadata field to given value.
func (o *V1PodTemplateSpec) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *V1PodTemplateSpec) GetSpec() V1PodSpec
GetSpec returns the Spec field if non-nil, zero value otherwise.
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.
func (o *V1PodTemplateSpec) SetSpec(v V1PodSpec)
SetSpec sets Spec field to given value.
func (o *V1PodTemplateSpec) HasSpec() bool
HasSpec returns a boolean if a field has been set.