Skip to content

Latest commit

 

History

History
160 lines (87 loc) · 4.64 KB

V1Deployment.md

File metadata and controls

160 lines (87 loc) · 4.64 KB

V1Deployment

Properties

Name Type Description Notes
ApiVersion Pointer to string APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources [optional]
Kind Pointer to string Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds [optional]
Metadata Pointer to V1ObjectMeta [optional]
Spec Pointer to V1DeploymentSpec [optional]
Status Pointer to V1DeploymentStatus [optional]

Methods

NewV1Deployment

func NewV1Deployment() *V1Deployment

NewV1Deployment instantiates a new V1Deployment 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

NewV1DeploymentWithDefaults

func NewV1DeploymentWithDefaults() *V1Deployment

NewV1DeploymentWithDefaults instantiates a new V1Deployment 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

GetApiVersion

func (o *V1Deployment) GetApiVersion() string

GetApiVersion returns the ApiVersion field if non-nil, zero value otherwise.

GetApiVersionOk

func (o *V1Deployment) GetApiVersionOk() (*string, bool)

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

SetApiVersion

func (o *V1Deployment) SetApiVersion(v string)

SetApiVersion sets ApiVersion field to given value.

HasApiVersion

func (o *V1Deployment) HasApiVersion() bool

HasApiVersion returns a boolean if a field has been set.

GetKind

func (o *V1Deployment) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *V1Deployment) GetKindOk() (*string, bool)

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

SetKind

func (o *V1Deployment) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *V1Deployment) HasKind() bool

HasKind returns a boolean if a field has been set.

GetMetadata

func (o *V1Deployment) GetMetadata() V1ObjectMeta

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

GetMetadataOk

func (o *V1Deployment) 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 *V1Deployment) SetMetadata(v V1ObjectMeta)

SetMetadata sets Metadata field to given value.

HasMetadata

func (o *V1Deployment) HasMetadata() bool

HasMetadata returns a boolean if a field has been set.

GetSpec

func (o *V1Deployment) GetSpec() V1DeploymentSpec

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

GetSpecOk

func (o *V1Deployment) GetSpecOk() (*V1DeploymentSpec, 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 *V1Deployment) SetSpec(v V1DeploymentSpec)

SetSpec sets Spec field to given value.

HasSpec

func (o *V1Deployment) HasSpec() bool

HasSpec returns a boolean if a field has been set.

GetStatus

func (o *V1Deployment) GetStatus() V1DeploymentStatus

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *V1Deployment) GetStatusOk() (*V1DeploymentStatus, bool)

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

SetStatus

func (o *V1Deployment) SetStatus(v V1DeploymentStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *V1Deployment) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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