Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 2.16 KB

CreateClusterRequest.md

File metadata and controls

69 lines (38 loc) · 2.16 KB

CreateClusterRequest

Properties

Name Type Description Notes
Name string Name must be 6-20 characters in length and can include numbers, lowercase letters, and dashes (but no leading or trailing dashes).
Provider CloudProviderType
Spec CreateClusterSpecification

Methods

NewCreateClusterRequest

func NewCreateClusterRequest(name string, provider CloudProviderType, spec CreateClusterSpecification, ) *CreateClusterRequest

NewCreateClusterRequest instantiates a new CreateClusterRequest 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.

NewCreateClusterRequestWithDefaults

func NewCreateClusterRequestWithDefaults() *CreateClusterRequest

NewCreateClusterRequestWithDefaults instantiates a new CreateClusterRequest 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.

GetName

func (o *CreateClusterRequest) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

SetName

func (o *CreateClusterRequest) SetName(v string)

SetName sets Name field to given value.

GetProvider

func (o *CreateClusterRequest) GetProvider() CloudProviderType

GetProvider returns the Provider field if non-nil, zero value otherwise.

SetProvider

func (o *CreateClusterRequest) SetProvider(v CloudProviderType)

SetProvider sets Provider field to given value.

GetSpec

func (o *CreateClusterRequest) GetSpec() CreateClusterSpecification

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

SetSpec

func (o *CreateClusterRequest) SetSpec(v CreateClusterSpecification)

SetSpec sets Spec field to given value.

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