models

package
v2.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 5 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModifyOrganizationParamsBody

type ModifyOrganizationParamsBody struct {

	// List of members that belong to this organization
	Members []*V4OrganizationMember `json:"members"`
}

ModifyOrganizationParamsBody modify organization params body swagger:model modifyOrganizationParamsBody

func (*ModifyOrganizationParamsBody) MarshalBinary

func (m *ModifyOrganizationParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModifyOrganizationParamsBody) UnmarshalBinary

func (m *ModifyOrganizationParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModifyOrganizationParamsBody) Validate

func (m *ModifyOrganizationParamsBody) Validate(formats strfmt.Registry) error

Validate validates this modify organization params body

type V4AddClusterRequest

type V4AddClusterRequest struct {

	// Number of availability zones a cluster should be spread across. The
	// default is provided via the [info](#operation/getInfo) endpoint.
	//
	AvailabilityZones int64 `json:"availability_zones,omitempty"`

	// Cluster name
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	// Required: true
	Owner *string `json:"owner"`

	// The [release](https://docs.giantswarm.io/api/#tag/releases) version
	// to use in the new cluster
	//
	ReleaseVersion string `json:"release_version,omitempty"`

	// scaling
	Scaling *V4AddClusterRequestScaling `json:"scaling,omitempty"`

	// Worker node definition on KVM and Azure. If present, the first item
	// of the array is expected to contain the specification for all worker
	// nodes. Not available on AWS.
	//
	Workers []*V4AddClusterRequestWorkersItems `json:"workers"`
}

V4AddClusterRequest Request model for creating a new cluster swagger:model v4AddClusterRequest

func (*V4AddClusterRequest) MarshalBinary

func (m *V4AddClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequest) UnmarshalBinary

func (m *V4AddClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequest) Validate

func (m *V4AddClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 add cluster request

type V4AddClusterRequestScaling

type V4AddClusterRequestScaling struct {

	// Maximum number of cluster nodes
	//
	Max int64 `json:"max,omitempty"`

	// Minimum number of cluster nodes
	//
	Min *int64 `json:"min,omitempty"`
}

V4AddClusterRequestScaling Attributes specific to cluster node scaling on KVM and Azure. To have full control of the cluster size, min and max can be set to the same value. If only `min` or only `max` is specified, `min` and `max` will be set equally. Not available on AWS.

swagger:model v4AddClusterRequestScaling

func (*V4AddClusterRequestScaling) MarshalBinary

func (m *V4AddClusterRequestScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestScaling) UnmarshalBinary

func (m *V4AddClusterRequestScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestScaling) Validate

func (m *V4AddClusterRequestScaling) Validate(formats strfmt.Registry) error

Validate validates this v4 add cluster request scaling

type V4AddClusterRequestWorkersItems

type V4AddClusterRequestWorkersItems struct {

	// aws
	Aws *V4AddClusterRequestWorkersItemsAws `json:"aws,omitempty"`

	// azure
	Azure *V4AddClusterRequestWorkersItemsAzure `json:"azure,omitempty"`

	// cpu
	CPU *V4AddClusterRequestWorkersItemsCPU `json:"cpu,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`

	// memory
	Memory *V4AddClusterRequestWorkersItemsMemory `json:"memory,omitempty"`

	// storage
	Storage *V4AddClusterRequestWorkersItemsStorage `json:"storage,omitempty"`
}

V4AddClusterRequestWorkersItems v4 add cluster request workers items swagger:model v4AddClusterRequestWorkersItems

func (*V4AddClusterRequestWorkersItems) MarshalBinary

func (m *V4AddClusterRequestWorkersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItems) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItems) Validate

Validate validates this v4 add cluster request workers items

type V4AddClusterRequestWorkersItemsAws

type V4AddClusterRequestWorkersItemsAws struct {

	// EC2 instance type name. Must be the same for all worker nodes
	// of a cluster.
	//
	InstanceType string `json:"instance_type,omitempty"`
}

V4AddClusterRequestWorkersItemsAws Attributes specific to nodes running on Amazon Web Services (AWS)

swagger:model v4AddClusterRequestWorkersItemsAws

func (*V4AddClusterRequestWorkersItemsAws) MarshalBinary

func (m *V4AddClusterRequestWorkersItemsAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsAws) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItemsAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsAws) Validate

Validate validates this v4 add cluster request workers items aws

type V4AddClusterRequestWorkersItemsAzure

type V4AddClusterRequestWorkersItemsAzure struct {

	// Azure Virtual Machine size. Must be the same for all worker nodes
	// of a cluster.
	//
	VMSize string `json:"vm_size,omitempty"`
}

V4AddClusterRequestWorkersItemsAzure Attributes specific to nodes running on Microsoft Azure

swagger:model v4AddClusterRequestWorkersItemsAzure

func (*V4AddClusterRequestWorkersItemsAzure) MarshalBinary

func (m *V4AddClusterRequestWorkersItemsAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsAzure) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItemsAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsAzure) Validate

Validate validates this v4 add cluster request workers items azure

type V4AddClusterRequestWorkersItemsCPU

type V4AddClusterRequestWorkersItemsCPU struct {

	// Number of CPU cores
	Cores int64 `json:"cores,omitempty"`
}

V4AddClusterRequestWorkersItemsCPU v4 add cluster request workers items Cpu swagger:model v4AddClusterRequestWorkersItemsCpu

func (*V4AddClusterRequestWorkersItemsCPU) MarshalBinary

func (m *V4AddClusterRequestWorkersItemsCPU) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsCPU) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItemsCPU) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsCPU) Validate

Validate validates this v4 add cluster request workers items Cpu

type V4AddClusterRequestWorkersItemsMemory

type V4AddClusterRequestWorkersItemsMemory struct {

	// RAM size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4AddClusterRequestWorkersItemsMemory v4 add cluster request workers items memory swagger:model v4AddClusterRequestWorkersItemsMemory

func (*V4AddClusterRequestWorkersItemsMemory) MarshalBinary

func (m *V4AddClusterRequestWorkersItemsMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsMemory) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItemsMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsMemory) Validate

Validate validates this v4 add cluster request workers items memory

type V4AddClusterRequestWorkersItemsStorage

type V4AddClusterRequestWorkersItemsStorage struct {

	// Node storage size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4AddClusterRequestWorkersItemsStorage v4 add cluster request workers items storage swagger:model v4AddClusterRequestWorkersItemsStorage

func (*V4AddClusterRequestWorkersItemsStorage) MarshalBinary

func (m *V4AddClusterRequestWorkersItemsStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsStorage) UnmarshalBinary

func (m *V4AddClusterRequestWorkersItemsStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddClusterRequestWorkersItemsStorage) Validate

Validate validates this v4 add cluster request workers items storage

type V4AddCredentialsRequest

type V4AddCredentialsRequest struct {

	// aws
	Aws *V4AddCredentialsRequestAws `json:"aws,omitempty"`

	// azure
	Azure *V4AddCredentialsRequestAzure `json:"azure,omitempty"`

	// provider
	// Required: true
	Provider *string `json:"provider"`
}

V4AddCredentialsRequest Request model for adding a set of credentials swagger:model v4AddCredentialsRequest

func (*V4AddCredentialsRequest) MarshalBinary

func (m *V4AddCredentialsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddCredentialsRequest) UnmarshalBinary

func (m *V4AddCredentialsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddCredentialsRequest) Validate

func (m *V4AddCredentialsRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 add credentials request

type V4AddCredentialsRequestAws

type V4AddCredentialsRequestAws struct {

	// roles
	// Required: true
	Roles *V4AddCredentialsRequestAwsRoles `json:"roles"`
}

V4AddCredentialsRequestAws Credentials specific to an AWS account swagger:model v4AddCredentialsRequestAws

func (*V4AddCredentialsRequestAws) MarshalBinary

func (m *V4AddCredentialsRequestAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddCredentialsRequestAws) UnmarshalBinary

func (m *V4AddCredentialsRequestAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddCredentialsRequestAws) Validate

func (m *V4AddCredentialsRequestAws) Validate(formats strfmt.Registry) error

Validate validates this v4 add credentials request aws

type V4AddCredentialsRequestAwsRoles

type V4AddCredentialsRequestAwsRoles struct {

	// ARN of the IAM role to assume by Giant Swarm support staff
	// Required: true
	Admin *string `json:"admin"`

	// ARN of the IAM role to assume by the software operating clusters
	// Required: true
	Awsoperator *string `json:"awsoperator"`
}

V4AddCredentialsRequestAwsRoles IAM roles to assume by certain entities swagger:model v4AddCredentialsRequestAwsRoles

func (*V4AddCredentialsRequestAwsRoles) MarshalBinary

func (m *V4AddCredentialsRequestAwsRoles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddCredentialsRequestAwsRoles) UnmarshalBinary

func (m *V4AddCredentialsRequestAwsRoles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddCredentialsRequestAwsRoles) Validate

Validate validates this v4 add credentials request aws roles

type V4AddCredentialsRequestAzure

type V4AddCredentialsRequestAzure struct {

	// credential
	// Required: true
	Credential *V4AddCredentialsRequestAzureCredential `json:"credential"`
}

V4AddCredentialsRequestAzure Credentials specific to an Azure service principal swagger:model v4AddCredentialsRequestAzure

func (*V4AddCredentialsRequestAzure) MarshalBinary

func (m *V4AddCredentialsRequestAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddCredentialsRequestAzure) UnmarshalBinary

func (m *V4AddCredentialsRequestAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddCredentialsRequestAzure) Validate

func (m *V4AddCredentialsRequestAzure) Validate(formats strfmt.Registry) error

Validate validates this v4 add credentials request azure

type V4AddCredentialsRequestAzureCredential

type V4AddCredentialsRequestAzureCredential struct {

	// Client ID of the service principal
	// Required: true
	ClientID *string `json:"client_id"`

	// Secret key of the service principal
	// Required: true
	SecretKey *string `json:"secret_key"`

	// Azure subscription ID
	// Required: true
	SubscriptionID *string `json:"subscription_id"`

	// Tenant ID of the Azure subscription
	// Required: true
	TenantID *string `json:"tenant_id"`
}

V4AddCredentialsRequestAzureCredential Service principal credential swagger:model v4AddCredentialsRequestAzureCredential

func (*V4AddCredentialsRequestAzureCredential) MarshalBinary

func (m *V4AddCredentialsRequestAzureCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddCredentialsRequestAzureCredential) UnmarshalBinary

func (m *V4AddCredentialsRequestAzureCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddCredentialsRequestAzureCredential) Validate

Validate validates this v4 add credentials request azure credential

type V4AddKeyPairRequest

type V4AddKeyPairRequest struct {

	// This will set the certificate subject's `organization` fields.
	// Use a comma seperated list of values.
	//
	CertificateOrganizations string `json:"certificate_organizations,omitempty"`

	// The common name prefix of the certificate subject. This only allows characters that are usable in domain names (`a-z`, `0-9`, and `.-`, where `.-` must not occur at either the start or the end).
	CnPrefix string `json:"cn_prefix,omitempty"`

	// Free text information about the key pair
	// Required: true
	Description *string `json:"description"`

	// Expiration time (from creation) in hours
	TTLHours int32 `json:"ttl_hours,omitempty"`
}

V4AddKeyPairRequest v4 add key pair request swagger:model v4AddKeyPairRequest

func (*V4AddKeyPairRequest) MarshalBinary

func (m *V4AddKeyPairRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddKeyPairRequest) UnmarshalBinary

func (m *V4AddKeyPairRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddKeyPairRequest) Validate

func (m *V4AddKeyPairRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 add key pair request

type V4AddKeyPairResponse

type V4AddKeyPairResponse struct {

	// PEM-encoded CA certificate of the cluster
	CertificateAuthorityData string `json:"certificate_authority_data,omitempty"`

	// PEM-encoded certificate
	ClientCertificateData string `json:"client_certificate_data,omitempty"`

	// PEM-encoded RSA private key
	ClientKeyData string `json:"client_key_data,omitempty"`

	// Date/time of creation
	CreateDate string `json:"create_date,omitempty"`

	// Free text information about the key pair
	Description string `json:"description,omitempty"`

	// Unique identifier of the key pair
	ID string `json:"id,omitempty"`

	// Expiration time (from creation) in hours
	TTLHours int64 `json:"ttl_hours,omitempty"`
}

V4AddKeyPairResponse v4 add key pair response swagger:model v4AddKeyPairResponse

func (*V4AddKeyPairResponse) MarshalBinary

func (m *V4AddKeyPairResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AddKeyPairResponse) UnmarshalBinary

func (m *V4AddKeyPairResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AddKeyPairResponse) Validate

func (m *V4AddKeyPairResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 add key pair response

type V4App

type V4App struct {

	// metadata
	Metadata *V4AppMetadata `json:"metadata,omitempty"`

	// spec
	Spec *V4AppSpec `json:"spec,omitempty"`

	// status
	Status *V4AppStatus `json:"status,omitempty"`
}

V4App v4 app swagger:model v4App

func (*V4App) MarshalBinary

func (m *V4App) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4App) UnmarshalBinary

func (m *V4App) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4App) Validate

func (m *V4App) Validate(formats strfmt.Registry) error

Validate validates this v4 app

type V4AppCatalogsResponse

type V4AppCatalogsResponse []*V4AppCatalogsResponseItems

V4AppCatalogsResponse v4 app catalogs response swagger:model v4AppCatalogsResponse

func (V4AppCatalogsResponse) Validate

func (m V4AppCatalogsResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 app catalogs response

type V4AppCatalogsResponseItems

type V4AppCatalogsResponseItems struct {

	// metadata
	Metadata *V4AppCatalogsResponseItemsMetadata `json:"metadata,omitempty"`

	// spec
	Spec *V4AppCatalogsResponseItemsSpec `json:"spec,omitempty"`
}

V4AppCatalogsResponseItems v4 app catalogs response items swagger:model v4AppCatalogsResponseItems

func (*V4AppCatalogsResponseItems) MarshalBinary

func (m *V4AppCatalogsResponseItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppCatalogsResponseItems) UnmarshalBinary

func (m *V4AppCatalogsResponseItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppCatalogsResponseItems) Validate

func (m *V4AppCatalogsResponseItems) Validate(formats strfmt.Registry) error

Validate validates this v4 app catalogs response items

type V4AppCatalogsResponseItemsMetadata

type V4AppCatalogsResponseItemsMetadata struct {

	// labels
	Labels *V4AppCatalogsResponseItemsMetadataLabels `json:"labels,omitempty"`

	// A URL friendly identifier for the catalog.
	Name string `json:"name,omitempty"`
}

V4AppCatalogsResponseItemsMetadata v4 app catalogs response items metadata swagger:model v4AppCatalogsResponseItemsMetadata

func (*V4AppCatalogsResponseItemsMetadata) MarshalBinary

func (m *V4AppCatalogsResponseItemsMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsMetadata) UnmarshalBinary

func (m *V4AppCatalogsResponseItemsMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsMetadata) Validate

Validate validates this v4 app catalogs response items metadata

type V4AppCatalogsResponseItemsMetadataLabels

type V4AppCatalogsResponseItemsMetadataLabels struct {

	// app operator giantswarm io version
	AppOperatorGiantswarmIoVersion string `json:"app-operator.giantswarm.io/version,omitempty"`

	// application giantswarm io catalog type
	ApplicationGiantswarmIoCatalogType string `json:"application.giantswarm.io/catalog-type,omitempty"`
}

V4AppCatalogsResponseItemsMetadataLabels The labels that are set on this app catalog swagger:model v4AppCatalogsResponseItemsMetadataLabels

func (*V4AppCatalogsResponseItemsMetadataLabels) MarshalBinary

func (m *V4AppCatalogsResponseItemsMetadataLabels) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsMetadataLabels) UnmarshalBinary

func (m *V4AppCatalogsResponseItemsMetadataLabels) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsMetadataLabels) Validate

Validate validates this v4 app catalogs response items metadata labels

type V4AppCatalogsResponseItemsSpec

type V4AppCatalogsResponseItemsSpec struct {

	// A description of the catalog.
	Description string `json:"description,omitempty"`

	// A URL to a logo representing this catalog.
	LogoURL string `json:"logoURL,omitempty"`

	// storage
	Storage *V4AppCatalogsResponseItemsSpecStorage `json:"storage,omitempty"`

	// A display friendly title for this catalog.
	Title string `json:"title,omitempty"`
}

V4AppCatalogsResponseItemsSpec v4 app catalogs response items spec swagger:model v4AppCatalogsResponseItemsSpec

func (*V4AppCatalogsResponseItemsSpec) MarshalBinary

func (m *V4AppCatalogsResponseItemsSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsSpec) UnmarshalBinary

func (m *V4AppCatalogsResponseItemsSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsSpec) Validate

func (m *V4AppCatalogsResponseItemsSpec) Validate(formats strfmt.Registry) error

Validate validates this v4 app catalogs response items spec

type V4AppCatalogsResponseItemsSpecStorage

type V4AppCatalogsResponseItemsSpecStorage struct {

	// A URL where clients can download the full catalog.
	URL string `json:"URL,omitempty"`

	// The format of this catalog. (Currently only helm is supported.)
	Type string `json:"type,omitempty"`
}

V4AppCatalogsResponseItemsSpecStorage Contains information on where to find the full catalog, and what type of catalog it is. swagger:model v4AppCatalogsResponseItemsSpecStorage

func (*V4AppCatalogsResponseItemsSpecStorage) MarshalBinary

func (m *V4AppCatalogsResponseItemsSpecStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsSpecStorage) UnmarshalBinary

func (m *V4AppCatalogsResponseItemsSpecStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppCatalogsResponseItemsSpecStorage) Validate

Validate validates this v4 app catalogs response items spec storage

type V4AppMetadata

type V4AppMetadata struct {

	// The labels that are set on this App
	Labels interface{} `json:"labels,omitempty"`

	// The identifier you set when creating this app
	Name string `json:"name,omitempty"`
}

V4AppMetadata v4 app metadata swagger:model v4AppMetadata

func (*V4AppMetadata) MarshalBinary

func (m *V4AppMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppMetadata) UnmarshalBinary

func (m *V4AppMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppMetadata) Validate

func (m *V4AppMetadata) Validate(formats strfmt.Registry) error

Validate validates this v4 app metadata

type V4AppSpec

type V4AppSpec struct {

	// The catalog that this app came from
	Catalog string `json:"catalog,omitempty"`

	// Name of the chart that was used to install this app
	Name string `json:"name,omitempty"`

	// Namespace that this app is installed to
	Namespace string `json:"namespace,omitempty"`

	// user config
	UserConfig *V4AppSpecUserConfig `json:"user_config,omitempty"`

	// Version of the chart that was used to install this app
	Version string `json:"version,omitempty"`
}

V4AppSpec v4 app spec swagger:model v4AppSpec

func (*V4AppSpec) MarshalBinary

func (m *V4AppSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppSpec) UnmarshalBinary

func (m *V4AppSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppSpec) Validate

func (m *V4AppSpec) Validate(formats strfmt.Registry) error

Validate validates this v4 app spec

type V4AppSpecUserConfig

type V4AppSpecUserConfig struct {

	// configmap
	Configmap *V4AppSpecUserConfigConfigmap `json:"configmap,omitempty"`

	// secret
	Secret *V4AppSpecUserConfigSecret `json:"secret,omitempty"`
}

V4AppSpecUserConfig User definable configuration to be applied when the app is deployed swagger:model v4AppSpecUserConfig

func (*V4AppSpecUserConfig) MarshalBinary

func (m *V4AppSpecUserConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppSpecUserConfig) UnmarshalBinary

func (m *V4AppSpecUserConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppSpecUserConfig) Validate

func (m *V4AppSpecUserConfig) Validate(formats strfmt.Registry) error

Validate validates this v4 app spec user config

type V4AppSpecUserConfigConfigmap

type V4AppSpecUserConfigConfigmap struct {

	// Name of the ConfigMap containing user-values to apply, e.g. prometheus-user-values
	Name string `json:"name,omitempty"`

	// Namespace of the user-values ConfigMap on the management cluster, e.g. 123ab
	Namespace string `json:"namespace,omitempty"`
}

V4AppSpecUserConfigConfigmap v4 app spec user config configmap swagger:model v4AppSpecUserConfigConfigmap

func (*V4AppSpecUserConfigConfigmap) MarshalBinary

func (m *V4AppSpecUserConfigConfigmap) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppSpecUserConfigConfigmap) UnmarshalBinary

func (m *V4AppSpecUserConfigConfigmap) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppSpecUserConfigConfigmap) Validate

func (m *V4AppSpecUserConfigConfigmap) Validate(formats strfmt.Registry) error

Validate validates this v4 app spec user config configmap

type V4AppSpecUserConfigSecret

type V4AppSpecUserConfigSecret struct {

	// Name of the Secret containing user-secrets to apply, e.g. prometheus-user-secrets
	Name string `json:"name,omitempty"`

	// Namespace of the user-secrets Secret on the management cluster, e.g. 123ab
	Namespace string `json:"namespace,omitempty"`
}

V4AppSpecUserConfigSecret v4 app spec user config secret swagger:model v4AppSpecUserConfigSecret

func (*V4AppSpecUserConfigSecret) MarshalBinary

func (m *V4AppSpecUserConfigSecret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppSpecUserConfigSecret) UnmarshalBinary

func (m *V4AppSpecUserConfigSecret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppSpecUserConfigSecret) Validate

func (m *V4AppSpecUserConfigSecret) Validate(formats strfmt.Registry) error

Validate validates this v4 app spec user config secret

type V4AppStatus

type V4AppStatus struct {

	// Version of the installed app
	AppVersion string `json:"app_version,omitempty"`

	// release
	Release *V4AppStatusRelease `json:"release,omitempty"`

	// Version of the chart that was used to install this app
	Version string `json:"version,omitempty"`
}

V4AppStatus v4 app status swagger:model v4AppStatus

func (*V4AppStatus) MarshalBinary

func (m *V4AppStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppStatus) UnmarshalBinary

func (m *V4AppStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppStatus) Validate

func (m *V4AppStatus) Validate(formats strfmt.Registry) error

Validate validates this v4 app status

type V4AppStatusRelease

type V4AppStatusRelease struct {

	// Date and time that the app was last last deployed
	LastDeployed string `json:"last_deployed,omitempty"`

	// A string representing the status of the app. (Can be: empty, DEPLOYED or FAILED)
	Status string `json:"status,omitempty"`
}

V4AppStatusRelease v4 app status release swagger:model v4AppStatusRelease

func (*V4AppStatusRelease) MarshalBinary

func (m *V4AppStatusRelease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4AppStatusRelease) UnmarshalBinary

func (m *V4AppStatusRelease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4AppStatusRelease) Validate

func (m *V4AppStatusRelease) Validate(formats strfmt.Registry) error

Validate validates this v4 app status release

type V4ClusterDetailsResponse

type V4ClusterDetailsResponse struct {

	// URI of the Kubernetes API endpoint
	APIEndpoint string `json:"api_endpoint,omitempty"`

	// List of availability zones a cluster is spread across.
	AvailabilityZones []string `json:"availability_zones"`

	// Date/time of cluster creation
	CreateDate string `json:"create_date,omitempty"`

	// ID of the credentials used to operate the cluster (only on AWS and
	// Azure). See [Set credentials](#operation/addCredentials) for details.
	//
	CredentialID string `json:"credential_id,omitempty"`

	// Date/time when cluster has been deleted
	// Format: date-time
	DeleteDate *strfmt.DateTime `json:"delete_date,omitempty"`

	// Unique cluster identifier
	ID string `json:"id,omitempty"`

	// kvm
	Kvm *V4ClusterDetailsResponseKvm `json:"kvm,omitempty"`

	// Cluster name
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	Owner string `json:"owner,omitempty"`

	// The [release](https://docs.giantswarm.io/api/#tag/releases) version
	// currently running this cluster.
	//
	ReleaseVersion string `json:"release_version,omitempty"`

	// scaling
	Scaling *V4ClusterDetailsResponseScaling `json:"scaling,omitempty"`

	// Information about worker nodes in the cluster (deprecated)
	Workers []*V4ClusterDetailsResponseWorkersItems `json:"workers"`
}

V4ClusterDetailsResponse Response model showing details of a cluster swagger:model v4ClusterDetailsResponse

func (*V4ClusterDetailsResponse) MarshalBinary

func (m *V4ClusterDetailsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponse) UnmarshalBinary

func (m *V4ClusterDetailsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponse) Validate

func (m *V4ClusterDetailsResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 cluster details response

type V4ClusterDetailsResponseKvm

type V4ClusterDetailsResponseKvm struct {

	// Reveals the ports on the installation's load balancer that are mapped to this
	// workload cluster's ingress and which protocol that port supports. Only shown
	// and relevant on our on-premises KVM clusters.
	//
	PortMappings []*V4ClusterDetailsResponseKvmPortMappingsItems `json:"port_mappings"`
}

V4ClusterDetailsResponseKvm Attributes specific to clusters running on KVM (on-premises) installations. swagger:model v4ClusterDetailsResponseKvm

func (*V4ClusterDetailsResponseKvm) MarshalBinary

func (m *V4ClusterDetailsResponseKvm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseKvm) UnmarshalBinary

func (m *V4ClusterDetailsResponseKvm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseKvm) Validate

func (m *V4ClusterDetailsResponseKvm) Validate(formats strfmt.Registry) error

Validate validates this v4 cluster details response kvm

type V4ClusterDetailsResponseKvmPortMappingsItems

type V4ClusterDetailsResponseKvmPortMappingsItems struct {

	// The port on the management cluster that will forward traffic to the workload cluster
	//
	Port int64 `json:"port,omitempty"`

	// The protocol this port mapping is made for.
	//
	Protocol string `json:"protocol,omitempty"`
}

V4ClusterDetailsResponseKvmPortMappingsItems v4 cluster details response kvm port mappings items swagger:model v4ClusterDetailsResponseKvmPortMappingsItems

func (*V4ClusterDetailsResponseKvmPortMappingsItems) MarshalBinary

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseKvmPortMappingsItems) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseKvmPortMappingsItems) Validate

Validate validates this v4 cluster details response kvm port mappings items

type V4ClusterDetailsResponseScaling

type V4ClusterDetailsResponseScaling struct {

	// Maximum number of cluster nodes as configured
	//
	Max int64 `json:"max,omitempty"`

	// Minimum number of cluster nodes as configured
	//
	Min *int64 `json:"min,omitempty"`
}

V4ClusterDetailsResponseScaling Attributes specific to cluster node scaling as set during cluster creation or cluster scaling.

swagger:model v4ClusterDetailsResponseScaling

func (*V4ClusterDetailsResponseScaling) MarshalBinary

func (m *V4ClusterDetailsResponseScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseScaling) UnmarshalBinary

func (m *V4ClusterDetailsResponseScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseScaling) Validate

Validate validates this v4 cluster details response scaling

type V4ClusterDetailsResponseWorkersItems

type V4ClusterDetailsResponseWorkersItems struct {

	// aws
	Aws *V4ClusterDetailsResponseWorkersItemsAws `json:"aws,omitempty"`

	// azure
	Azure *V4ClusterDetailsResponseWorkersItemsAzure `json:"azure,omitempty"`

	// cpu
	CPU *V4ClusterDetailsResponseWorkersItemsCPU `json:"cpu,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`

	// memory
	Memory *V4ClusterDetailsResponseWorkersItemsMemory `json:"memory,omitempty"`

	// storage
	Storage *V4ClusterDetailsResponseWorkersItemsStorage `json:"storage,omitempty"`
}

V4ClusterDetailsResponseWorkersItems v4 cluster details response workers items swagger:model v4ClusterDetailsResponseWorkersItems

func (*V4ClusterDetailsResponseWorkersItems) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItems) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItems) Validate

Validate validates this v4 cluster details response workers items

type V4ClusterDetailsResponseWorkersItemsAws

type V4ClusterDetailsResponseWorkersItemsAws struct {

	// EC2 instance type name. Must be the same for all worker nodes
	// of a cluster.
	//
	InstanceType string `json:"instance_type,omitempty"`
}

V4ClusterDetailsResponseWorkersItemsAws Attributes specific to nodes running on Amazon Web Services (AWS)

swagger:model v4ClusterDetailsResponseWorkersItemsAws

func (*V4ClusterDetailsResponseWorkersItemsAws) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsAws) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsAws) Validate

Validate validates this v4 cluster details response workers items aws

type V4ClusterDetailsResponseWorkersItemsAzure

type V4ClusterDetailsResponseWorkersItemsAzure struct {

	// Azure Virtual Machine size. Must be the same for all worker nodes
	// of a cluster.
	//
	VMSize string `json:"vm_size,omitempty"`
}

V4ClusterDetailsResponseWorkersItemsAzure Attributes specific to nodes running on Microsoft Azure

swagger:model v4ClusterDetailsResponseWorkersItemsAzure

func (*V4ClusterDetailsResponseWorkersItemsAzure) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsAzure) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsAzure) Validate

Validate validates this v4 cluster details response workers items azure

type V4ClusterDetailsResponseWorkersItemsCPU

type V4ClusterDetailsResponseWorkersItemsCPU struct {

	// Number of CPU cores
	Cores int64 `json:"cores,omitempty"`
}

V4ClusterDetailsResponseWorkersItemsCPU v4 cluster details response workers items Cpu swagger:model v4ClusterDetailsResponseWorkersItemsCpu

func (*V4ClusterDetailsResponseWorkersItemsCPU) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsCPU) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsCPU) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsCPU) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsCPU) Validate

Validate validates this v4 cluster details response workers items Cpu

type V4ClusterDetailsResponseWorkersItemsMemory

type V4ClusterDetailsResponseWorkersItemsMemory struct {

	// RAM size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4ClusterDetailsResponseWorkersItemsMemory v4 cluster details response workers items memory swagger:model v4ClusterDetailsResponseWorkersItemsMemory

func (*V4ClusterDetailsResponseWorkersItemsMemory) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsMemory) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsMemory) Validate

Validate validates this v4 cluster details response workers items memory

type V4ClusterDetailsResponseWorkersItemsStorage

type V4ClusterDetailsResponseWorkersItemsStorage struct {

	// Node storage size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4ClusterDetailsResponseWorkersItemsStorage v4 cluster details response workers items storage swagger:model v4ClusterDetailsResponseWorkersItemsStorage

func (*V4ClusterDetailsResponseWorkersItemsStorage) MarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsStorage) UnmarshalBinary

func (m *V4ClusterDetailsResponseWorkersItemsStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterDetailsResponseWorkersItemsStorage) Validate

Validate validates this v4 cluster details response workers items storage

type V4ClusterListItem

type V4ClusterListItem struct {

	// Date/time of cluster creation
	CreateDate string `json:"create_date,omitempty"`

	// Date/time when cluster has been deleted
	// Format: date-time
	DeleteDate *strfmt.DateTime `json:"delete_date,omitempty"`

	// Unique cluster identifier
	ID string `json:"id,omitempty"`

	// Labels object
	//
	// Object containing keys with string values representing the labels attached to the cluster
	Labels map[string]string `json:"labels,omitempty"`

	// Cluster name
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	Owner string `json:"owner,omitempty"`

	// API path of the cluster resource
	Path string `json:"path,omitempty"`

	// The semantic version number of this cluster
	ReleaseVersion string `json:"release_version,omitempty"`
}

V4ClusterListItem v4 cluster list item swagger:model v4ClusterListItem

func (*V4ClusterListItem) MarshalBinary

func (m *V4ClusterListItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ClusterListItem) UnmarshalBinary

func (m *V4ClusterListItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ClusterListItem) Validate

func (m *V4ClusterListItem) Validate(formats strfmt.Registry) error

Validate validates this v4 cluster list item

type V4CreateAppConfigRequest

type V4CreateAppConfigRequest interface{}

V4CreateAppConfigRequest A part of the App CR that we create behind the scenes swagger:model v4CreateAppConfigRequest

type V4CreateAppRequest

type V4CreateAppRequest struct {

	// spec
	Spec *V4CreateAppRequestSpec `json:"spec,omitempty"`
}

V4CreateAppRequest A part of the App CR that we create behind the scenes swagger:model v4CreateAppRequest

func (*V4CreateAppRequest) MarshalBinary

func (m *V4CreateAppRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4CreateAppRequest) UnmarshalBinary

func (m *V4CreateAppRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4CreateAppRequest) Validate

func (m *V4CreateAppRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 create app request

type V4CreateAppRequestSpec

type V4CreateAppRequestSpec struct {

	// The catalog where the chart for this app can be found
	// Required: true
	Catalog *string `json:"catalog"`

	// Name of the chart that should be used to install this app
	// Required: true
	Name *string `json:"name"`

	// Namespace that this app will be installed to
	// Required: true
	Namespace *string `json:"namespace"`

	// Version of the chart that should be used to install this app
	// Required: true
	Version *string `json:"version"`
}

V4CreateAppRequestSpec v4 create app request spec swagger:model v4CreateAppRequestSpec

func (*V4CreateAppRequestSpec) MarshalBinary

func (m *V4CreateAppRequestSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4CreateAppRequestSpec) UnmarshalBinary

func (m *V4CreateAppRequestSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4CreateAppRequestSpec) Validate

func (m *V4CreateAppRequestSpec) Validate(formats strfmt.Registry) error

Validate validates this v4 create app request spec

type V4CreateAuthTokenRequest

type V4CreateAuthTokenRequest struct {

	// Your email address
	Email string `json:"email,omitempty"`

	// Your password as a base64 encoded string
	PasswordBase64 string `json:"password_base64,omitempty"`
}

V4CreateAuthTokenRequest v4 create auth token request swagger:model v4CreateAuthTokenRequest

func (*V4CreateAuthTokenRequest) MarshalBinary

func (m *V4CreateAuthTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4CreateAuthTokenRequest) UnmarshalBinary

func (m *V4CreateAuthTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4CreateAuthTokenRequest) Validate

func (m *V4CreateAuthTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 create auth token request

type V4CreateAuthTokenResponse

type V4CreateAuthTokenResponse struct {

	// The newly created API token
	AuthToken string `json:"auth_token,omitempty"`
}

V4CreateAuthTokenResponse v4 create auth token response swagger:model v4CreateAuthTokenResponse

func (*V4CreateAuthTokenResponse) MarshalBinary

func (m *V4CreateAuthTokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4CreateAuthTokenResponse) UnmarshalBinary

func (m *V4CreateAuthTokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4CreateAuthTokenResponse) Validate

func (m *V4CreateAuthTokenResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 create auth token response

type V4CreateClusterAppSecretRequest

type V4CreateClusterAppSecretRequest interface{}

V4CreateClusterAppSecretRequest The values to be used when creating the user-secrets Secret for a given app swagger:model v4CreateClusterAppSecretRequest

type V4CreateUserRequest

type V4CreateUserRequest struct {

	// The date and time when this account will expire
	Expiry string `json:"expiry,omitempty"`

	// A Base64 encoded password
	// Required: true
	Password *string `json:"password"`
}

V4CreateUserRequest Request model for creating a new user swagger:model v4CreateUserRequest

func (*V4CreateUserRequest) MarshalBinary

func (m *V4CreateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4CreateUserRequest) UnmarshalBinary

func (m *V4CreateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4CreateUserRequest) Validate

func (m *V4CreateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 create user request

type V4GenericResponse

type V4GenericResponse struct {

	// A machine readable [response code](https://github.com/giantswarm/api-spec/blob/master/details/RESPONSE_CODES.md) like e. g. `INVALID_CREDENTIALS`
	//
	Code string `json:"code,omitempty"`

	// A human readable message
	Message string `json:"message,omitempty"`
}

V4GenericResponse v4 generic response swagger:model v4GenericResponse

func (*V4GenericResponse) MarshalBinary

func (m *V4GenericResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GenericResponse) UnmarshalBinary

func (m *V4GenericResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GenericResponse) Validate

func (m *V4GenericResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 generic response

type V4GetClusterAppConfigResponse

type V4GetClusterAppConfigResponse interface{}

V4GetClusterAppConfigResponse The user-values ConfigMap for a given app returned as a yaml file swagger:model v4GetClusterAppConfigResponse

type V4GetClusterAppSecretResponse

type V4GetClusterAppSecretResponse interface{}

V4GetClusterAppSecretResponse The response for showing a Secret for a given app swagger:model v4GetClusterAppSecretResponse

type V4GetClusterAppsResponse

type V4GetClusterAppsResponse []*V4GetClusterAppsResponseItems

V4GetClusterAppsResponse Array of apps swagger:model v4GetClusterAppsResponse

func (V4GetClusterAppsResponse) Validate

func (m V4GetClusterAppsResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 get cluster apps response

type V4GetClusterAppsResponseItems

type V4GetClusterAppsResponseItems struct {

	// metadata
	Metadata *V4GetClusterAppsResponseItemsMetadata `json:"metadata,omitempty"`

	// spec
	Spec *V4GetClusterAppsResponseItemsSpec `json:"spec,omitempty"`

	// status
	Status *V4GetClusterAppsResponseItemsStatus `json:"status,omitempty"`
}

V4GetClusterAppsResponseItems v4 get cluster apps response items swagger:model v4GetClusterAppsResponseItems

func (*V4GetClusterAppsResponseItems) MarshalBinary

func (m *V4GetClusterAppsResponseItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItems) UnmarshalBinary

func (m *V4GetClusterAppsResponseItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItems) Validate

func (m *V4GetClusterAppsResponseItems) Validate(formats strfmt.Registry) error

Validate validates this v4 get cluster apps response items

type V4GetClusterAppsResponseItemsMetadata

type V4GetClusterAppsResponseItemsMetadata struct {

	// The labels that are set on this App
	Labels interface{} `json:"labels,omitempty"`

	// The identifier you set when creating this app
	Name string `json:"name,omitempty"`
}

V4GetClusterAppsResponseItemsMetadata v4 get cluster apps response items metadata swagger:model v4GetClusterAppsResponseItemsMetadata

func (*V4GetClusterAppsResponseItemsMetadata) MarshalBinary

func (m *V4GetClusterAppsResponseItemsMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsMetadata) UnmarshalBinary

func (m *V4GetClusterAppsResponseItemsMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsMetadata) Validate

Validate validates this v4 get cluster apps response items metadata

type V4GetClusterAppsResponseItemsSpec

type V4GetClusterAppsResponseItemsSpec struct {

	// The catalog that this app came from
	Catalog string `json:"catalog,omitempty"`

	// Name of the chart that was used to install this app
	Name string `json:"name,omitempty"`

	// Namespace that this app is installed to
	Namespace string `json:"namespace,omitempty"`

	// user config
	UserConfig *V4GetClusterAppsResponseItemsSpecUserConfig `json:"user_config,omitempty"`

	// Version of the chart that was used to install this app
	Version string `json:"version,omitempty"`
}

V4GetClusterAppsResponseItemsSpec v4 get cluster apps response items spec swagger:model v4GetClusterAppsResponseItemsSpec

func (*V4GetClusterAppsResponseItemsSpec) MarshalBinary

func (m *V4GetClusterAppsResponseItemsSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpec) UnmarshalBinary

func (m *V4GetClusterAppsResponseItemsSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpec) Validate

Validate validates this v4 get cluster apps response items spec

type V4GetClusterAppsResponseItemsSpecUserConfig

type V4GetClusterAppsResponseItemsSpecUserConfig struct {

	// configmap
	Configmap *V4GetClusterAppsResponseItemsSpecUserConfigConfigmap `json:"configmap,omitempty"`

	// secret
	Secret *V4GetClusterAppsResponseItemsSpecUserConfigSecret `json:"secret,omitempty"`
}

V4GetClusterAppsResponseItemsSpecUserConfig User definable configuration to be applied when the app is deployed swagger:model v4GetClusterAppsResponseItemsSpecUserConfig

func (*V4GetClusterAppsResponseItemsSpecUserConfig) MarshalBinary

func (m *V4GetClusterAppsResponseItemsSpecUserConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfig) UnmarshalBinary

func (m *V4GetClusterAppsResponseItemsSpecUserConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfig) Validate

Validate validates this v4 get cluster apps response items spec user config

type V4GetClusterAppsResponseItemsSpecUserConfigConfigmap

type V4GetClusterAppsResponseItemsSpecUserConfigConfigmap struct {

	// Name of the ConfigMap containing user-values to apply, e.g. prometheus-user-values
	Name string `json:"name,omitempty"`

	// Namespace of the user-values ConfigMap on the management cluster, e.g. 123ab
	Namespace string `json:"namespace,omitempty"`
}

V4GetClusterAppsResponseItemsSpecUserConfigConfigmap v4 get cluster apps response items spec user config configmap swagger:model v4GetClusterAppsResponseItemsSpecUserConfigConfigmap

func (*V4GetClusterAppsResponseItemsSpecUserConfigConfigmap) MarshalBinary

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfigConfigmap) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfigConfigmap) Validate

Validate validates this v4 get cluster apps response items spec user config configmap

type V4GetClusterAppsResponseItemsSpecUserConfigSecret

type V4GetClusterAppsResponseItemsSpecUserConfigSecret struct {

	// Name of the Secret containing user-secrets to apply, e.g. prometheus-user-secrets
	Name string `json:"name,omitempty"`

	// Namespace of the user-secrets Secret on the management cluster, e.g. 123ab
	Namespace string `json:"namespace,omitempty"`
}

V4GetClusterAppsResponseItemsSpecUserConfigSecret v4 get cluster apps response items spec user config secret swagger:model v4GetClusterAppsResponseItemsSpecUserConfigSecret

func (*V4GetClusterAppsResponseItemsSpecUserConfigSecret) MarshalBinary

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfigSecret) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsSpecUserConfigSecret) Validate

Validate validates this v4 get cluster apps response items spec user config secret

type V4GetClusterAppsResponseItemsStatus

type V4GetClusterAppsResponseItemsStatus struct {

	// Version of the installed app
	AppVersion string `json:"app_version,omitempty"`

	// release
	Release *V4GetClusterAppsResponseItemsStatusRelease `json:"release,omitempty"`

	// Version of the chart that was used to install this app
	Version string `json:"version,omitempty"`
}

V4GetClusterAppsResponseItemsStatus v4 get cluster apps response items status swagger:model v4GetClusterAppsResponseItemsStatus

func (*V4GetClusterAppsResponseItemsStatus) MarshalBinary

func (m *V4GetClusterAppsResponseItemsStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsStatus) UnmarshalBinary

func (m *V4GetClusterAppsResponseItemsStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsStatus) Validate

Validate validates this v4 get cluster apps response items status

type V4GetClusterAppsResponseItemsStatusRelease

type V4GetClusterAppsResponseItemsStatusRelease struct {

	// Date and time that the app was last last deployed
	LastDeployed string `json:"last_deployed,omitempty"`

	// A string representing the status of the app. (Can be: empty, DEPLOYED or FAILED)
	Status string `json:"status,omitempty"`
}

V4GetClusterAppsResponseItemsStatusRelease v4 get cluster apps response items status release swagger:model v4GetClusterAppsResponseItemsStatusRelease

func (*V4GetClusterAppsResponseItemsStatusRelease) MarshalBinary

func (m *V4GetClusterAppsResponseItemsStatusRelease) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsStatusRelease) UnmarshalBinary

func (m *V4GetClusterAppsResponseItemsStatusRelease) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetClusterAppsResponseItemsStatusRelease) Validate

Validate validates this v4 get cluster apps response items status release

type V4GetClusterStatusResponse

type V4GetClusterStatusResponse interface{}

V4GetClusterStatusResponse Object about a cluster's current state swagger:model v4GetClusterStatusResponse

type V4GetCredentialResponse

type V4GetCredentialResponse struct {

	// aws
	Aws *V4GetCredentialResponseAws `json:"aws,omitempty"`

	// azure
	Azure *V4GetCredentialResponseAzure `json:"azure,omitempty"`

	// Unique ID of the credentials
	ID string `json:"id,omitempty"`

	// Either 'aws' or 'azure'
	Provider string `json:"provider,omitempty"`
}

V4GetCredentialResponse Response model for getting details on a set of credentials swagger:model v4GetCredentialResponse

func (*V4GetCredentialResponse) MarshalBinary

func (m *V4GetCredentialResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialResponse) UnmarshalBinary

func (m *V4GetCredentialResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialResponse) Validate

func (m *V4GetCredentialResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 get credential response

type V4GetCredentialResponseAws

type V4GetCredentialResponseAws struct {

	// roles
	Roles *V4GetCredentialResponseAwsRoles `json:"roles,omitempty"`
}

V4GetCredentialResponseAws Credentials specific to an AWS account swagger:model v4GetCredentialResponseAws

func (*V4GetCredentialResponseAws) MarshalBinary

func (m *V4GetCredentialResponseAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialResponseAws) UnmarshalBinary

func (m *V4GetCredentialResponseAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialResponseAws) Validate

func (m *V4GetCredentialResponseAws) Validate(formats strfmt.Registry) error

Validate validates this v4 get credential response aws

type V4GetCredentialResponseAwsRoles

type V4GetCredentialResponseAwsRoles struct {

	// ARN of the IAM role Giant Swarm support staff will use
	Admin string `json:"admin,omitempty"`

	// ARN of the IAM role assumed by the software operating the clusters
	Awsoperator string `json:"awsoperator,omitempty"`
}

V4GetCredentialResponseAwsRoles IAM roles to assume by certain entities swagger:model v4GetCredentialResponseAwsRoles

func (*V4GetCredentialResponseAwsRoles) MarshalBinary

func (m *V4GetCredentialResponseAwsRoles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialResponseAwsRoles) UnmarshalBinary

func (m *V4GetCredentialResponseAwsRoles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialResponseAwsRoles) Validate

Validate validates this v4 get credential response aws roles

type V4GetCredentialResponseAzure

type V4GetCredentialResponseAzure struct {

	// credential
	Credential *V4GetCredentialResponseAzureCredential `json:"credential,omitempty"`
}

V4GetCredentialResponseAzure Credentials specific to an Azure service principal swagger:model v4GetCredentialResponseAzure

func (*V4GetCredentialResponseAzure) MarshalBinary

func (m *V4GetCredentialResponseAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialResponseAzure) UnmarshalBinary

func (m *V4GetCredentialResponseAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialResponseAzure) Validate

func (m *V4GetCredentialResponseAzure) Validate(formats strfmt.Registry) error

Validate validates this v4 get credential response azure

type V4GetCredentialResponseAzureCredential

type V4GetCredentialResponseAzureCredential struct {

	// Client ID of the service principal
	ClientID string `json:"client_id,omitempty"`

	// Azure subscription ID
	SubscriptionID string `json:"subscription_id,omitempty"`

	// Tenant ID of the Azure subscription
	TenantID string `json:"tenant_id,omitempty"`
}

V4GetCredentialResponseAzureCredential Service principal credential swagger:model v4GetCredentialResponseAzureCredential

func (*V4GetCredentialResponseAzureCredential) MarshalBinary

func (m *V4GetCredentialResponseAzureCredential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialResponseAzureCredential) UnmarshalBinary

func (m *V4GetCredentialResponseAzureCredential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialResponseAzureCredential) Validate

Validate validates this v4 get credential response azure credential

type V4GetCredentialsResponse

type V4GetCredentialsResponse []*V4GetCredentialsResponseItems

V4GetCredentialsResponse List of credential sets for an organization. As of now, this can contain either zero or one items.

swagger:model v4GetCredentialsResponse

func (V4GetCredentialsResponse) Validate

func (m V4GetCredentialsResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 get credentials response

type V4GetCredentialsResponseItems

type V4GetCredentialsResponseItems struct {

	// aws
	Aws *V4GetCredentialsResponseItemsAws `json:"aws,omitempty"`

	// azure
	Azure *V4GetCredentialsResponseItemsAzure `json:"azure,omitempty"`

	// Unique ID of the credentials
	ID string `json:"id,omitempty"`

	// Either 'aws' or 'azure'
	Provider string `json:"provider,omitempty"`
}

V4GetCredentialsResponseItems Response model for getting details on a set of credentials swagger:model v4GetCredentialsResponseItems

func (*V4GetCredentialsResponseItems) MarshalBinary

func (m *V4GetCredentialsResponseItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialsResponseItems) UnmarshalBinary

func (m *V4GetCredentialsResponseItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialsResponseItems) Validate

func (m *V4GetCredentialsResponseItems) Validate(formats strfmt.Registry) error

Validate validates this v4 get credentials response items

type V4GetCredentialsResponseItemsAws

type V4GetCredentialsResponseItemsAws struct {

	// roles
	Roles *V4GetCredentialsResponseItemsAwsRoles `json:"roles,omitempty"`
}

V4GetCredentialsResponseItemsAws Credentials specific to an AWS account swagger:model v4GetCredentialsResponseItemsAws

func (*V4GetCredentialsResponseItemsAws) MarshalBinary

func (m *V4GetCredentialsResponseItemsAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAws) UnmarshalBinary

func (m *V4GetCredentialsResponseItemsAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAws) Validate

Validate validates this v4 get credentials response items aws

type V4GetCredentialsResponseItemsAwsRoles

type V4GetCredentialsResponseItemsAwsRoles struct {

	// ARN of the IAM role Giant Swarm support staff will use
	Admin string `json:"admin,omitempty"`

	// ARN of the IAM role assumed by the software operating the clusters
	Awsoperator string `json:"awsoperator,omitempty"`
}

V4GetCredentialsResponseItemsAwsRoles IAM roles to assume by certain entities swagger:model v4GetCredentialsResponseItemsAwsRoles

func (*V4GetCredentialsResponseItemsAwsRoles) MarshalBinary

func (m *V4GetCredentialsResponseItemsAwsRoles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAwsRoles) UnmarshalBinary

func (m *V4GetCredentialsResponseItemsAwsRoles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAwsRoles) Validate

Validate validates this v4 get credentials response items aws roles

type V4GetCredentialsResponseItemsAzure

type V4GetCredentialsResponseItemsAzure struct {

	// credential
	Credential *V4GetCredentialsResponseItemsAzureCredential `json:"credential,omitempty"`
}

V4GetCredentialsResponseItemsAzure Credentials specific to an Azure service principal swagger:model v4GetCredentialsResponseItemsAzure

func (*V4GetCredentialsResponseItemsAzure) MarshalBinary

func (m *V4GetCredentialsResponseItemsAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAzure) UnmarshalBinary

func (m *V4GetCredentialsResponseItemsAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAzure) Validate

Validate validates this v4 get credentials response items azure

type V4GetCredentialsResponseItemsAzureCredential

type V4GetCredentialsResponseItemsAzureCredential struct {

	// Client ID of the service principal
	ClientID string `json:"client_id,omitempty"`

	// Azure subscription ID
	SubscriptionID string `json:"subscription_id,omitempty"`

	// Tenant ID of the Azure subscription
	TenantID string `json:"tenant_id,omitempty"`
}

V4GetCredentialsResponseItemsAzureCredential Service principal credential swagger:model v4GetCredentialsResponseItemsAzureCredential

func (*V4GetCredentialsResponseItemsAzureCredential) MarshalBinary

MarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAzureCredential) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V4GetCredentialsResponseItemsAzureCredential) Validate

Validate validates this v4 get credentials response items azure credential

type V4GetKeyPairsResponse

type V4GetKeyPairsResponse []*V4GetKeyPairsResponseItems

V4GetKeyPairsResponse Array of sparse key pair objects swagger:model v4GetKeyPairsResponse

func (V4GetKeyPairsResponse) Validate

func (m V4GetKeyPairsResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 get key pairs response

type V4GetKeyPairsResponseItems

type V4GetKeyPairsResponseItems struct {

	// The certificate subject's `organization` fields.
	CertificateOrganizations string `json:"certificate_organizations,omitempty"`

	// The common name of the certificate subject.
	CommonName string `json:"common_name,omitempty"`

	// Date/time of creation
	CreateDate string `json:"create_date,omitempty"`

	// Free text information about the key pair
	Description string `json:"description,omitempty"`

	// Unique identifier of the key pair
	ID string `json:"id,omitempty"`

	// Expiration time (from creation) in hours
	TTLHours int64 `json:"ttl_hours,omitempty"`
}

V4GetKeyPairsResponseItems v4 get key pairs response items swagger:model v4GetKeyPairsResponseItems

func (*V4GetKeyPairsResponseItems) MarshalBinary

func (m *V4GetKeyPairsResponseItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4GetKeyPairsResponseItems) UnmarshalBinary

func (m *V4GetKeyPairsResponseItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4GetKeyPairsResponseItems) Validate

func (m *V4GetKeyPairsResponseItems) Validate(formats strfmt.Registry) error

Validate validates this v4 get key pairs response items

type V4InfoResponse

type V4InfoResponse struct {

	// features
	Features *V4InfoResponseFeatures `json:"features,omitempty"`

	// general
	// Required: true
	General *V4InfoResponseGeneral `json:"general"`

	// stats
	Stats *V4InfoResponseStats `json:"stats,omitempty"`

	// workers
	Workers *V4InfoResponseWorkers `json:"workers,omitempty"`
}

V4InfoResponse v4 info response swagger:model v4InfoResponse

func (*V4InfoResponse) MarshalBinary

func (m *V4InfoResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponse) UnmarshalBinary

func (m *V4InfoResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponse) Validate

func (m *V4InfoResponse) Validate(formats strfmt.Registry) error

Validate validates this v4 info response

type V4InfoResponseFeatures

type V4InfoResponseFeatures struct {

	// ha masters
	HaMasters *V4InfoResponseFeaturesHaMasters `json:"ha_masters,omitempty"`

	// nodepools
	Nodepools *V4InfoResponseFeaturesNodepools `json:"nodepools,omitempty"`

	// spot instances
	SpotInstances *V4InfoResponseFeaturesSpotInstances `json:"spot_instances,omitempty"`
}

V4InfoResponseFeatures Information on particular capabilities of the installation. swagger:model v4InfoResponseFeatures

func (*V4InfoResponseFeatures) MarshalBinary

func (m *V4InfoResponseFeatures) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseFeatures) UnmarshalBinary

func (m *V4InfoResponseFeatures) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseFeatures) Validate

func (m *V4InfoResponseFeatures) Validate(formats strfmt.Registry) error

Validate validates this v4 info response features

type V4InfoResponseFeaturesHaMasters

type V4InfoResponseFeaturesHaMasters struct {

	// The minimum release version number required to have support for multiple master nodes.
	ReleaseVersionMinimum string `json:"release_version_minimum,omitempty"`
}

V4InfoResponseFeaturesHaMasters Support for multiple master nodes. swagger:model v4InfoResponseFeaturesHaMasters

func (*V4InfoResponseFeaturesHaMasters) MarshalBinary

func (m *V4InfoResponseFeaturesHaMasters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseFeaturesHaMasters) UnmarshalBinary

func (m *V4InfoResponseFeaturesHaMasters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseFeaturesHaMasters) Validate

Validate validates this v4 info response features ha masters

type V4InfoResponseFeaturesNodepools

type V4InfoResponseFeaturesNodepools struct {

	// The minimum release version number required to have support for node pools.
	ReleaseVersionMinimum string `json:"release_version_minimum,omitempty"`
}

V4InfoResponseFeaturesNodepools Support for grouping of worker nodes into node pools. swagger:model v4InfoResponseFeaturesNodepools

func (*V4InfoResponseFeaturesNodepools) MarshalBinary

func (m *V4InfoResponseFeaturesNodepools) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseFeaturesNodepools) UnmarshalBinary

func (m *V4InfoResponseFeaturesNodepools) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseFeaturesNodepools) Validate

Validate validates this v4 info response features nodepools

type V4InfoResponseFeaturesSpotInstances

type V4InfoResponseFeaturesSpotInstances struct {

	// The minimum release version number required to have support for spot instances.
	ReleaseVersionMinimum string `json:"release_version_minimum,omitempty"`
}

V4InfoResponseFeaturesSpotInstances Allows to use cheaper spot instances instead of on-demand EC2 instances. swagger:model v4InfoResponseFeaturesSpotInstances

func (*V4InfoResponseFeaturesSpotInstances) MarshalBinary

func (m *V4InfoResponseFeaturesSpotInstances) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseFeaturesSpotInstances) UnmarshalBinary

func (m *V4InfoResponseFeaturesSpotInstances) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseFeaturesSpotInstances) Validate

Validate validates this v4 info response features spot instances

type V4InfoResponseGeneral

type V4InfoResponseGeneral struct {

	// availability zones
	// Required: true
	AvailabilityZones *V4InfoResponseGeneralAvailabilityZones `json:"availability_zones"`

	// Identifier of the datacenter or cloud provider region, e. g. "eu-west-1"
	Datacenter string `json:"datacenter,omitempty"`

	// Unique name of the installation
	InstallationName string `json:"installation_name,omitempty"`

	// Information on some kubernetes versions and their end of life dates.
	KubernetesVersions []*V4InfoResponseGeneralKubernetesVersionsItems `json:"kubernetes_versions"`

	// The technical provider used in this installation. Either "kvm", "aws", or "azure".
	Provider string `json:"provider,omitempty"`
}

V4InfoResponseGeneral General information swagger:model v4InfoResponseGeneral

func (*V4InfoResponseGeneral) MarshalBinary

func (m *V4InfoResponseGeneral) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseGeneral) UnmarshalBinary

func (m *V4InfoResponseGeneral) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseGeneral) Validate

func (m *V4InfoResponseGeneral) Validate(formats strfmt.Registry) error

Validate validates this v4 info response general

type V4InfoResponseGeneralAvailabilityZones

type V4InfoResponseGeneralAvailabilityZones struct {

	// Default number of availability zones for a cluster.
	// Required: true
	Default *int64 `json:"default"`

	// Number of availability zones in the region of this installation.
	// Required: true
	Max *int64 `json:"max"`

	// The availability zones available in the installation's region for use with workload clusters.
	Zones []string `json:"zones"`
}

V4InfoResponseGeneralAvailabilityZones Number of availability zones which a cluster can be spread across. swagger:model v4InfoResponseGeneralAvailabilityZones

func (*V4InfoResponseGeneralAvailabilityZones) MarshalBinary

func (m *V4InfoResponseGeneralAvailabilityZones) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseGeneralAvailabilityZones) UnmarshalBinary

func (m *V4InfoResponseGeneralAvailabilityZones) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseGeneralAvailabilityZones) Validate

Validate validates this v4 info response general availability zones

type V4InfoResponseGeneralKubernetesVersionsItems added in v2.0.8

type V4InfoResponseGeneralKubernetesVersionsItems struct {

	// The date when the release becomes EOL.
	// Required: true
	// Format: date
	EolDate *strfmt.Date `json:"eol_date"`

	// The version of the Kubernetes release.
	// Required: true
	MinorVersion *string `json:"minor_version"`
}

V4InfoResponseGeneralKubernetesVersionsItems v4 info response general kubernetes versions items swagger:model v4InfoResponseGeneralKubernetesVersionsItems

func (*V4InfoResponseGeneralKubernetesVersionsItems) MarshalBinary added in v2.0.8

MarshalBinary interface implementation

func (*V4InfoResponseGeneralKubernetesVersionsItems) UnmarshalBinary added in v2.0.8

UnmarshalBinary interface implementation

func (*V4InfoResponseGeneralKubernetesVersionsItems) Validate added in v2.0.8

Validate validates this v4 info response general kubernetes versions items

type V4InfoResponseStats

type V4InfoResponseStats struct {

	// cluster creation duration
	ClusterCreationDuration *V4InfoResponseStatsClusterCreationDuration `json:"cluster_creation_duration,omitempty"`
}

V4InfoResponseStats Statistics about the installation swagger:model v4InfoResponseStats

func (*V4InfoResponseStats) MarshalBinary

func (m *V4InfoResponseStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseStats) UnmarshalBinary

func (m *V4InfoResponseStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseStats) Validate

func (m *V4InfoResponseStats) Validate(formats strfmt.Registry) error

Validate validates this v4 info response stats

type V4InfoResponseStatsClusterCreationDuration

type V4InfoResponseStatsClusterCreationDuration struct {

	// Median of the value distribution
	Median int64 `json:"median,omitempty"`

	// 25th percentile of the value distribution
	P25 int64 `json:"p25,omitempty"`

	// 75th percentile of the value distribution
	P75 int64 `json:"p75,omitempty"`
}

V4InfoResponseStatsClusterCreationDuration Duration of cluster creation, summarized. swagger:model v4InfoResponseStatsClusterCreationDuration

func (*V4InfoResponseStatsClusterCreationDuration) MarshalBinary

func (m *V4InfoResponseStatsClusterCreationDuration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseStatsClusterCreationDuration) UnmarshalBinary

func (m *V4InfoResponseStatsClusterCreationDuration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseStatsClusterCreationDuration) Validate

Validate validates this v4 info response stats cluster creation duration

type V4InfoResponseWorkers

type V4InfoResponseWorkers struct {

	// count per cluster
	CountPerCluster *V4InfoResponseWorkersCountPerCluster `json:"count_per_cluster,omitempty"`

	// instance type
	InstanceType *V4InfoResponseWorkersInstanceType `json:"instance_type,omitempty"`

	// vm size
	VMSize *V4InfoResponseWorkersVMSize `json:"vm_size,omitempty"`
}

V4InfoResponseWorkers Information related to worker nodes swagger:model v4InfoResponseWorkers

func (*V4InfoResponseWorkers) MarshalBinary

func (m *V4InfoResponseWorkers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseWorkers) UnmarshalBinary

func (m *V4InfoResponseWorkers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseWorkers) Validate

func (m *V4InfoResponseWorkers) Validate(formats strfmt.Registry) error

Validate validates this v4 info response workers

type V4InfoResponseWorkersCountPerCluster

type V4InfoResponseWorkersCountPerCluster struct {

	// Default number of workers in a new cluster will have, if not specifiec otherwise
	Default float64 `json:"default,omitempty"`

	// Maximum number of worker a cluster can have. Might be null when unknown.
	Max float64 `json:"max,omitempty"`
}

V4InfoResponseWorkersCountPerCluster Number of workers per cluster swagger:model v4InfoResponseWorkersCountPerCluster

func (*V4InfoResponseWorkersCountPerCluster) MarshalBinary

func (m *V4InfoResponseWorkersCountPerCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseWorkersCountPerCluster) UnmarshalBinary

func (m *V4InfoResponseWorkersCountPerCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseWorkersCountPerCluster) Validate

Validate validates this v4 info response workers count per cluster

type V4InfoResponseWorkersInstanceType

type V4InfoResponseWorkersInstanceType struct {

	// The instance type used in new cluster, if not specified
	Default string `json:"default,omitempty"`

	// List of available instance types
	Options []string `json:"options"`
}

V4InfoResponseWorkersInstanceType Instance types to be used for worker nodes. Only available for AWS clusters. swagger:model v4InfoResponseWorkersInstanceType

func (*V4InfoResponseWorkersInstanceType) MarshalBinary

func (m *V4InfoResponseWorkersInstanceType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseWorkersInstanceType) UnmarshalBinary

func (m *V4InfoResponseWorkersInstanceType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseWorkersInstanceType) Validate

Validate validates this v4 info response workers instance type

type V4InfoResponseWorkersVMSize

type V4InfoResponseWorkersVMSize struct {

	// The instance type used in new cluster, if not specified
	Default string `json:"default,omitempty"`

	// List of available instance types
	Options []string `json:"options"`
}

V4InfoResponseWorkersVMSize Azure Virtual Machine size to be used for worker nodes. Only available for Azure clusters. swagger:model v4InfoResponseWorkersVmSize

func (*V4InfoResponseWorkersVMSize) MarshalBinary

func (m *V4InfoResponseWorkersVMSize) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4InfoResponseWorkersVMSize) UnmarshalBinary

func (m *V4InfoResponseWorkersVMSize) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4InfoResponseWorkersVMSize) Validate

func (m *V4InfoResponseWorkersVMSize) Validate(formats strfmt.Registry) error

Validate validates this v4 info response workers Vm size

type V4ModifyAppRequest

type V4ModifyAppRequest struct {

	// spec
	Spec *V4ModifyAppRequestSpec `json:"spec,omitempty"`
}

V4ModifyAppRequest The fields that are editable when trying to modify an app swagger:model v4ModifyAppRequest

func (*V4ModifyAppRequest) MarshalBinary

func (m *V4ModifyAppRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyAppRequest) UnmarshalBinary

func (m *V4ModifyAppRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyAppRequest) Validate

func (m *V4ModifyAppRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 modify app request

type V4ModifyAppRequestSpec

type V4ModifyAppRequestSpec struct {

	// Version of the chart that should be used to install this app
	Version string `json:"version,omitempty"`
}

V4ModifyAppRequestSpec v4 modify app request spec swagger:model v4ModifyAppRequestSpec

func (*V4ModifyAppRequestSpec) MarshalBinary

func (m *V4ModifyAppRequestSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyAppRequestSpec) UnmarshalBinary

func (m *V4ModifyAppRequestSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyAppRequestSpec) Validate

func (m *V4ModifyAppRequestSpec) Validate(formats strfmt.Registry) error

Validate validates this v4 modify app request spec

type V4ModifyClusterRequest

type V4ModifyClusterRequest struct {

	// Name for the cluster
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	Owner string `json:"owner,omitempty"`

	// Release version to use after an upgrade
	ReleaseVersion string `json:"release_version,omitempty"`

	// scaling
	Scaling *V4ModifyClusterRequestScaling `json:"scaling,omitempty"`

	// Worker node array (deprecated)
	Workers []*V4ModifyClusterRequestWorkersItems `json:"workers"`
}

V4ModifyClusterRequest Request body for cluster modification swagger:model v4ModifyClusterRequest

func (*V4ModifyClusterRequest) MarshalBinary

func (m *V4ModifyClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequest) UnmarshalBinary

func (m *V4ModifyClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequest) Validate

func (m *V4ModifyClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 modify cluster request

type V4ModifyClusterRequestScaling

type V4ModifyClusterRequestScaling struct {

	// Maximum number of cluster nodes
	//
	Max int64 `json:"max,omitempty"`

	// Minimum number of cluster nodes
	//
	Min *int64 `json:"min,omitempty"`
}

V4ModifyClusterRequestScaling Attributes specific to cluster node scaling. To have full control of the cluster size, min and max can be set to the same value.

swagger:model v4ModifyClusterRequestScaling

func (*V4ModifyClusterRequestScaling) MarshalBinary

func (m *V4ModifyClusterRequestScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestScaling) UnmarshalBinary

func (m *V4ModifyClusterRequestScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestScaling) Validate

func (m *V4ModifyClusterRequestScaling) Validate(formats strfmt.Registry) error

Validate validates this v4 modify cluster request scaling

type V4ModifyClusterRequestWorkersItems

type V4ModifyClusterRequestWorkersItems struct {

	// aws
	Aws *V4ModifyClusterRequestWorkersItemsAws `json:"aws,omitempty"`

	// azure
	Azure *V4ModifyClusterRequestWorkersItemsAzure `json:"azure,omitempty"`

	// cpu
	CPU *V4ModifyClusterRequestWorkersItemsCPU `json:"cpu,omitempty"`

	// labels
	Labels interface{} `json:"labels,omitempty"`

	// memory
	Memory *V4ModifyClusterRequestWorkersItemsMemory `json:"memory,omitempty"`

	// storage
	Storage *V4ModifyClusterRequestWorkersItemsStorage `json:"storage,omitempty"`
}

V4ModifyClusterRequestWorkersItems v4 modify cluster request workers items swagger:model v4ModifyClusterRequestWorkersItems

func (*V4ModifyClusterRequestWorkersItems) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItems) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItems) Validate

Validate validates this v4 modify cluster request workers items

type V4ModifyClusterRequestWorkersItemsAws

type V4ModifyClusterRequestWorkersItemsAws struct {

	// EC2 instance type name. Must be the same for all worker nodes
	// of a cluster.
	//
	InstanceType string `json:"instance_type,omitempty"`
}

V4ModifyClusterRequestWorkersItemsAws Attributes specific to nodes running on Amazon Web Services (AWS)

swagger:model v4ModifyClusterRequestWorkersItemsAws

func (*V4ModifyClusterRequestWorkersItemsAws) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsAws) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsAws) Validate

Validate validates this v4 modify cluster request workers items aws

type V4ModifyClusterRequestWorkersItemsAzure

type V4ModifyClusterRequestWorkersItemsAzure struct {

	// Azure Virtual Machine size. Must be the same for all worker nodes
	// of a cluster.
	//
	VMSize string `json:"vm_size,omitempty"`
}

V4ModifyClusterRequestWorkersItemsAzure Attributes specific to nodes running on Microsoft Azure

swagger:model v4ModifyClusterRequestWorkersItemsAzure

func (*V4ModifyClusterRequestWorkersItemsAzure) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsAzure) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsAzure) Validate

Validate validates this v4 modify cluster request workers items azure

type V4ModifyClusterRequestWorkersItemsCPU

type V4ModifyClusterRequestWorkersItemsCPU struct {

	// Number of CPU cores
	Cores int64 `json:"cores,omitempty"`
}

V4ModifyClusterRequestWorkersItemsCPU v4 modify cluster request workers items Cpu swagger:model v4ModifyClusterRequestWorkersItemsCpu

func (*V4ModifyClusterRequestWorkersItemsCPU) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsCPU) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsCPU) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsCPU) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsCPU) Validate

Validate validates this v4 modify cluster request workers items Cpu

type V4ModifyClusterRequestWorkersItemsMemory

type V4ModifyClusterRequestWorkersItemsMemory struct {

	// RAM size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4ModifyClusterRequestWorkersItemsMemory v4 modify cluster request workers items memory swagger:model v4ModifyClusterRequestWorkersItemsMemory

func (*V4ModifyClusterRequestWorkersItemsMemory) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsMemory) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsMemory) Validate

Validate validates this v4 modify cluster request workers items memory

type V4ModifyClusterRequestWorkersItemsStorage

type V4ModifyClusterRequestWorkersItemsStorage struct {

	// Node storage size in GB. Can be an integer or float.
	SizeGb float64 `json:"size_gb,omitempty"`
}

V4ModifyClusterRequestWorkersItemsStorage v4 modify cluster request workers items storage swagger:model v4ModifyClusterRequestWorkersItemsStorage

func (*V4ModifyClusterRequestWorkersItemsStorage) MarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsStorage) UnmarshalBinary

func (m *V4ModifyClusterRequestWorkersItemsStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyClusterRequestWorkersItemsStorage) Validate

Validate validates this v4 modify cluster request workers items storage

type V4ModifyUserPasswordRequest

type V4ModifyUserPasswordRequest struct {

	// Current password encoded in Base64. Not required for admins
	CurrentPasswordBase64 string `json:"current_password_base64,omitempty"`

	// New password encoded in Base64
	// Required: true
	NewPasswordBase64 *string `json:"new_password_base64"`
}

V4ModifyUserPasswordRequest Request model for modifying a user's password swagger:model v4ModifyUserPasswordRequest

func (*V4ModifyUserPasswordRequest) MarshalBinary

func (m *V4ModifyUserPasswordRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyUserPasswordRequest) UnmarshalBinary

func (m *V4ModifyUserPasswordRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyUserPasswordRequest) Validate

func (m *V4ModifyUserPasswordRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 modify user password request

type V4ModifyUserRequest

type V4ModifyUserRequest struct {

	// New email address
	Email string `json:"email,omitempty"`

	// New expiry date. (Only editable by admins)
	Expiry string `json:"expiry,omitempty"`
}

V4ModifyUserRequest Request model for modifying a specific user swagger:model v4ModifyUserRequest

func (*V4ModifyUserRequest) MarshalBinary

func (m *V4ModifyUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ModifyUserRequest) UnmarshalBinary

func (m *V4ModifyUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ModifyUserRequest) Validate

func (m *V4ModifyUserRequest) Validate(formats strfmt.Registry) error

Validate validates this v4 modify user request

type V4Organization

type V4Organization struct {

	// Unique name/identifier of the organization
	ID string `json:"id,omitempty"`

	// List of members that belong to this organization
	Members []*V4OrganizationMembersItems `json:"members"`
}

V4Organization v4 organization swagger:model v4Organization

func (*V4Organization) MarshalBinary

func (m *V4Organization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4Organization) UnmarshalBinary

func (m *V4Organization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4Organization) Validate

func (m *V4Organization) Validate(formats strfmt.Registry) error

Validate validates this v4 organization

type V4OrganizationListItem

type V4OrganizationListItem struct {

	// Unique name/identifier of the organization
	ID string `json:"id,omitempty"`
}

V4OrganizationListItem v4 organization list item swagger:model v4OrganizationListItem

func (*V4OrganizationListItem) MarshalBinary

func (m *V4OrganizationListItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4OrganizationListItem) UnmarshalBinary

func (m *V4OrganizationListItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4OrganizationListItem) Validate

func (m *V4OrganizationListItem) Validate(formats strfmt.Registry) error

Validate validates this v4 organization list item

type V4OrganizationMember

type V4OrganizationMember struct {

	// Email address of the user
	Email string `json:"email,omitempty"`
}

V4OrganizationMember v4 organization member swagger:model v4OrganizationMember

func (*V4OrganizationMember) MarshalBinary

func (m *V4OrganizationMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4OrganizationMember) UnmarshalBinary

func (m *V4OrganizationMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4OrganizationMember) Validate

func (m *V4OrganizationMember) Validate(formats strfmt.Registry) error

Validate validates this v4 organization member

type V4OrganizationMembersItems

type V4OrganizationMembersItems struct {

	// Email address of the user
	Email string `json:"email,omitempty"`
}

V4OrganizationMembersItems v4 organization members items swagger:model v4OrganizationMembersItems

func (*V4OrganizationMembersItems) MarshalBinary

func (m *V4OrganizationMembersItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4OrganizationMembersItems) UnmarshalBinary

func (m *V4OrganizationMembersItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4OrganizationMembersItems) Validate

func (m *V4OrganizationMembersItems) Validate(formats strfmt.Registry) error

Validate validates this v4 organization members items

type V4ReleaseListItem

type V4ReleaseListItem struct {

	// If `true`, the version is recommended for use in cluster creation and cluster
	// upgrades. Older versions become unavailable and thus have the
	// value `false` here. Cluster creation with this version is still possible
	// but not recommended.
	//
	// Required: true
	Active bool `json:"active"`

	// Structured list of changes in this release, in comparison to the
	// previous version, with respect to the contained components.
	//
	// Required: true
	Changelog []*V4ReleaseListItemChangelogItems `json:"changelog"`

	// List of components and their version contained in the release
	//
	// Required: true
	Components []*V4ReleaseListItemComponentsItems `json:"components"`

	// Date and time of the release creation
	// Required: true
	Timestamp *string `json:"timestamp"`

	// The semantic version number
	// Required: true
	Version *string `json:"version"`
}

V4ReleaseListItem v4 release list item swagger:model v4ReleaseListItem

func (*V4ReleaseListItem) MarshalBinary

func (m *V4ReleaseListItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ReleaseListItem) UnmarshalBinary

func (m *V4ReleaseListItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ReleaseListItem) Validate

func (m *V4ReleaseListItem) Validate(formats strfmt.Registry) error

Validate validates this v4 release list item

type V4ReleaseListItemChangelogItems

type V4ReleaseListItemChangelogItems struct {

	// If the changed item was a component, this attribute is the
	// name of the component.
	//
	Component string `json:"component,omitempty"`

	// Human-friendly description of the change
	Description string `json:"description,omitempty"`
}

V4ReleaseListItemChangelogItems v4 release list item changelog items swagger:model v4ReleaseListItemChangelogItems

func (*V4ReleaseListItemChangelogItems) MarshalBinary

func (m *V4ReleaseListItemChangelogItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ReleaseListItemChangelogItems) UnmarshalBinary

func (m *V4ReleaseListItemChangelogItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ReleaseListItemChangelogItems) Validate

Validate validates this v4 release list item changelog items

type V4ReleaseListItemComponentsItems

type V4ReleaseListItemComponentsItems struct {

	// Name of the component
	// Required: true
	Name *string `json:"name"`

	// Version number of the component
	// Required: true
	Version *string `json:"version"`
}

V4ReleaseListItemComponentsItems v4 release list item components items swagger:model v4ReleaseListItemComponentsItems

func (*V4ReleaseListItemComponentsItems) MarshalBinary

func (m *V4ReleaseListItemComponentsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4ReleaseListItemComponentsItems) UnmarshalBinary

func (m *V4ReleaseListItemComponentsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4ReleaseListItemComponentsItems) Validate

Validate validates this v4 release list item components items

type V4UserListItem

type V4UserListItem struct {

	// The date and time that this account was created
	Created string `json:"created,omitempty"`

	// Email address of the user
	Email string `json:"email,omitempty"`

	// The date and time when this account will expire
	Expiry string `json:"expiry,omitempty"`
}

V4UserListItem v4 user list item swagger:model v4UserListItem

func (*V4UserListItem) MarshalBinary

func (m *V4UserListItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V4UserListItem) UnmarshalBinary

func (m *V4UserListItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V4UserListItem) Validate

func (m *V4UserListItem) Validate(formats strfmt.Registry) error

Validate validates this v4 user list item

type V5AddClusterRequest

type V5AddClusterRequest struct {

	// master
	Master *V5AddClusterRequestMaster `json:"master,omitempty"`

	// master nodes
	MasterNodes *V5AddClusterRequestMasterNodes `json:"master_nodes,omitempty"`

	// Cluster name
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	//
	// Required: true
	Owner *string `json:"owner"`

	// The [release](https://docs.giantswarm.io/api/#tag/releases) version
	// to use in the new cluster. If not given, the latest release will be
	// used.
	//
	ReleaseVersion string `json:"release_version,omitempty"`
}

V5AddClusterRequest v5 add cluster request swagger:model v5AddClusterRequest

func (*V5AddClusterRequest) MarshalBinary

func (m *V5AddClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddClusterRequest) UnmarshalBinary

func (m *V5AddClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddClusterRequest) Validate

func (m *V5AddClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 add cluster request

type V5AddClusterRequestMaster

type V5AddClusterRequestMaster struct {

	// Name of the availability zone to use for the master node. If not
	// given, the master node will be placed automatically.
	//
	AvailabilityZone string `json:"availability_zone,omitempty"`
}

V5AddClusterRequestMaster Legacy configuration regarding the master node. Must not be used together with the `master_nodes` property.

*Deprecation notice:* This property has been replaced by `master_nodes` and is deprecated. It will still be accepted in requests until August 31, 2020. After that, using it will issue an error `400 Bad Request`.

swagger:model v5AddClusterRequestMaster

func (*V5AddClusterRequestMaster) MarshalBinary

func (m *V5AddClusterRequestMaster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddClusterRequestMaster) UnmarshalBinary

func (m *V5AddClusterRequestMaster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddClusterRequestMaster) Validate

func (m *V5AddClusterRequestMaster) Validate(formats strfmt.Registry) error

Validate validates this v5 add cluster request master

type V5AddClusterRequestMasterNodes

type V5AddClusterRequestMasterNodes struct {

	// This field allows manually specifying the availability zone(s) where the master node(s)
	// should be created in.
	//
	// This parameter is currently only supported on <span class="badge azure">Azure</span>.
	//
	AvailabilityZones []string `json:"availability_zones"`

	// azure
	Azure *V5AddClusterRequestMasterNodesAzure `json:"azure,omitempty"`

	// Specifies whether or not this cluster should run with redundant master
	// nodes (high availability).
	//
	// When `true`, three master nodes will be started, each one in a different
	// availability zone that is selected randomly. This is the recommended
	// setting for production clusters. However, note that this is only
	// available on <span class="badge aws">AWS</span> starting with release v11.4.0.
	//
	// When `false`, only one master node will be created, also in a randomly
	// selected availability zone.
	//
	HighAvailability *bool `json:"high_availability,omitempty"`
}

V5AddClusterRequestMasterNodes Defines how many master nodes the cluster should have.

swagger:model v5AddClusterRequestMasterNodes

func (*V5AddClusterRequestMasterNodes) MarshalBinary

func (m *V5AddClusterRequestMasterNodes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddClusterRequestMasterNodes) UnmarshalBinary

func (m *V5AddClusterRequestMasterNodes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddClusterRequestMasterNodes) Validate

func (m *V5AddClusterRequestMasterNodes) Validate(formats strfmt.Registry) error

Validate validates this v5 add cluster request master nodes

type V5AddClusterRequestMasterNodesAzure added in v2.0.10

type V5AddClusterRequestMasterNodesAzure struct {

	// If this field is set to true, the content of the `availability_zones' field will be ignored and
	// the master nodes will be placed in no availability zone.
	//
	AvailabilityZonesUnspecified bool `json:"availability_zones_unspecified,omitempty"`
}

V5AddClusterRequestMasterNodesAzure Attributes specific to nodes running on <span class="badge azure">Azure</span>.

swagger:model v5AddClusterRequestMasterNodesAzure

func (*V5AddClusterRequestMasterNodesAzure) MarshalBinary added in v2.0.10

func (m *V5AddClusterRequestMasterNodesAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddClusterRequestMasterNodesAzure) UnmarshalBinary added in v2.0.10

func (m *V5AddClusterRequestMasterNodesAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddClusterRequestMasterNodesAzure) Validate added in v2.0.10

Validate validates this v5 add cluster request master nodes azure

type V5AddNodePoolRequest

type V5AddNodePoolRequest struct {

	// availability zones
	AvailabilityZones *V5AddNodePoolRequestAvailabilityZones `json:"availability_zones,omitempty"`

	// Node pool name. _(Length between 1-100, cannot contain control codes such as newline.)_
	//
	Name string `json:"name,omitempty"`

	// node spec
	NodeSpec *V5AddNodePoolRequestNodeSpec `json:"node_spec,omitempty"`

	// scaling
	Scaling *V5AddNodePoolRequestScaling `json:"scaling,omitempty"`
}

V5AddNodePoolRequest Request body structure for creating a node pool

swagger:model v5AddNodePoolRequest

func (*V5AddNodePoolRequest) MarshalBinary

func (m *V5AddNodePoolRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequest) UnmarshalBinary

func (m *V5AddNodePoolRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequest) Validate

func (m *V5AddNodePoolRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 add node pool request

type V5AddNodePoolRequestAvailabilityZones

type V5AddNodePoolRequestAvailabilityZones struct {

	// Number of zones to use. If given, the zones are picked
	// automatically. _(Maximum limit of 4 supported.)_
	//
	// On Azure, to increase the chances of finding available GPU instances,
	// set the value to `-1` (no specific AZ selected).
	//
	Number int64 `json:"number,omitempty"`

	// Names of the availability zones to use. _(Must be same region as the cluster.)_
	//
	Zones []string `json:"zones"`
}

V5AddNodePoolRequestAvailabilityZones Specifies how the nodes of a pool are spread over availability zones. The object must contain either the `number` attribute or the `zones` attribute, but not both.

The maximum `number` of availbility zones is the same as that found under `general.availability_zones.max` from the `/v4/info/` endpoint. When not given, availability zones assignment is handled automatically.

swagger:model v5AddNodePoolRequestAvailabilityZones

func (*V5AddNodePoolRequestAvailabilityZones) MarshalBinary

func (m *V5AddNodePoolRequestAvailabilityZones) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequestAvailabilityZones) UnmarshalBinary

func (m *V5AddNodePoolRequestAvailabilityZones) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestAvailabilityZones) Validate

Validate validates this v5 add node pool request availability zones

type V5AddNodePoolRequestNodeSpec

type V5AddNodePoolRequestNodeSpec struct {

	// aws
	Aws *V5AddNodePoolRequestNodeSpecAws `json:"aws,omitempty"`

	// azure
	Azure *V5AddNodePoolRequestNodeSpecAzure `json:"azure,omitempty"`
}

V5AddNodePoolRequestNodeSpec v5 add node pool request node spec swagger:model v5AddNodePoolRequestNodeSpec

func (*V5AddNodePoolRequestNodeSpec) MarshalBinary

func (m *V5AddNodePoolRequestNodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpec) UnmarshalBinary

func (m *V5AddNodePoolRequestNodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpec) Validate

func (m *V5AddNodePoolRequestNodeSpec) Validate(formats strfmt.Registry) error

Validate validates this v5 add node pool request node spec

type V5AddNodePoolRequestNodeSpecAws

type V5AddNodePoolRequestNodeSpecAws struct {

	// instance distribution
	InstanceDistribution *V5AddNodePoolRequestNodeSpecAwsInstanceDistribution `json:"instance_distribution,omitempty"`

	// EC2 instance type to use for all nodes in the node pool. _(Validated against available instance types.)_
	//
	InstanceType string `json:"instance_type,omitempty"`

	// If true, instance types alike the type set via `instance_type` will be used. This can
	// increase the likelihood to get instances for this pool, especially spot instances at
	// a low rate. If false, only the exact type set as `instance_type` is used.
	// Added with AWS release v11.2.0.
	//
	UseAlikeInstanceTypes *bool `json:"use_alike_instance_types,omitempty"`
}

V5AddNodePoolRequestNodeSpecAws Attributes specific to the AWS provider

swagger:model v5AddNodePoolRequestNodeSpecAws

func (*V5AddNodePoolRequestNodeSpecAws) MarshalBinary

func (m *V5AddNodePoolRequestNodeSpecAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAws) UnmarshalBinary

func (m *V5AddNodePoolRequestNodeSpecAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAws) Validate

Validate validates this v5 add node pool request node spec aws

type V5AddNodePoolRequestNodeSpecAwsInstanceDistribution

type V5AddNodePoolRequestNodeSpecAwsInstanceDistribution struct {

	// Base capacity of on-demand EC2 instances to use for worker nodes in this pools.
	// When this is larger than 0, this value defines a number of worker nodes that
	// will be created using on-demand EC2 instances, regardless of the value
	// configured as `on_demand_percentage_above_base_capacity`.
	//
	// Minimum: 0
	OnDemandBaseCapacity *int64 `json:"on_demand_base_capacity,omitempty"`

	// Percentage of on-demand EC2 instances to use for worker nodes, instead of spot
	// instances, for instances exceeding `on_demand_base_capacity`. For example, to
	// have half of the worker nodes use spot instances and half use on-demand, set this
	// value to 50.
	//
	// Maximum: 100
	// Minimum: 0
	OnDemandPercentageAboveBaseCapacity *int64 `json:"on_demand_percentage_above_base_capacity,omitempty"`
}

V5AddNodePoolRequestNodeSpecAwsInstanceDistribution Attributes defining the instance distribution in the node pool being created. Added with AWS release v11.2.0.

swagger:model v5AddNodePoolRequestNodeSpecAwsInstanceDistribution

func (*V5AddNodePoolRequestNodeSpecAwsInstanceDistribution) MarshalBinary

MarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAwsInstanceDistribution) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAwsInstanceDistribution) Validate

Validate validates this v5 add node pool request node spec aws instance distribution

type V5AddNodePoolRequestNodeSpecAzure

type V5AddNodePoolRequestNodeSpecAzure struct {

	// spot instances
	SpotInstances *V5AddNodePoolRequestNodeSpecAzureSpotInstances `json:"spot_instances,omitempty"`

	// Azure VM size to use for all nodes in the node pool. _(Validated against available VM sizes.)_
	//
	VMSize string `json:"vm_size,omitempty"`
}

V5AddNodePoolRequestNodeSpecAzure Attributes specific to the Azure provider

swagger:model v5AddNodePoolRequestNodeSpecAzure

func (*V5AddNodePoolRequestNodeSpecAzure) MarshalBinary

func (m *V5AddNodePoolRequestNodeSpecAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAzure) UnmarshalBinary

func (m *V5AddNodePoolRequestNodeSpecAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAzure) Validate

Validate validates this v5 add node pool request node spec azure

type V5AddNodePoolRequestNodeSpecAzureSpotInstances added in v2.1.0

type V5AddNodePoolRequestNodeSpecAzureSpotInstances struct {

	// Whether the feature is enabled or not.
	//
	Enabled *bool `json:"enabled,omitempty"`

	// The maximum price that a single node pool VM instance can reach before it is deallocated.
	// By setting this value to `-1`, the maximum price will be fixed to the on-demand price of
	// the instance.
	// The value can be a floating point number with a maximum of 5 decimal places.
	//
	MaxPrice *float64 `json:"max_price,omitempty"`
}

V5AddNodePoolRequestNodeSpecAzureSpotInstances Attributes defining the presence and configuration of Spot Instances.

swagger:model v5AddNodePoolRequestNodeSpecAzureSpotInstances

func (*V5AddNodePoolRequestNodeSpecAzureSpotInstances) MarshalBinary added in v2.1.0

MarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAzureSpotInstances) UnmarshalBinary added in v2.1.0

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestNodeSpecAzureSpotInstances) Validate added in v2.1.0

Validate validates this v5 add node pool request node spec azure spot instances

type V5AddNodePoolRequestScaling

type V5AddNodePoolRequestScaling struct {

	// Maximum number of nodes in the pool.
	Max int64 `json:"max,omitempty"`

	// Minimum number of nodes in the pool.
	Min *int64 `json:"min,omitempty"`
}

V5AddNodePoolRequestScaling Attributes specific to cluster node scaling. To have full control of the cluster size, min and max can be set to the same value, however `max` must be greater or equal to `min`. If only `min` or only `max` is specified, `min` and `max` will be set equally.

swagger:model v5AddNodePoolRequestScaling

func (*V5AddNodePoolRequestScaling) MarshalBinary

func (m *V5AddNodePoolRequestScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5AddNodePoolRequestScaling) UnmarshalBinary

func (m *V5AddNodePoolRequestScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5AddNodePoolRequestScaling) Validate

func (m *V5AddNodePoolRequestScaling) Validate(formats strfmt.Registry) error

Validate validates this v5 add node pool request scaling

type V5ClusterDetailsResponse

type V5ClusterDetailsResponse struct {

	// URI of the Kubernetes API endpoint
	APIEndpoint string `json:"api_endpoint,omitempty"`

	// List of conditions the cluster has gone through
	Conditions []*V5ClusterDetailsResponseConditionsItems `json:"conditions"`

	// Date/time of cluster creation
	CreateDate string `json:"create_date,omitempty"`

	// ID of the credentials used to operate the cluster. See
	// [Set credentials](#operation/addCredentials) for details.
	//
	CredentialID string `json:"credential_id,omitempty"`

	// Date/time when cluster has been deleted
	// Format: date-time
	DeleteDate *strfmt.DateTime `json:"delete_date,omitempty"`

	// Unique cluster identifier
	ID string `json:"id,omitempty"`

	// Labels object
	//
	// Object containing keys with string values representing the labels attached to the cluster
	Labels map[string]string `json:"labels,omitempty"`

	// master
	Master *V5ClusterDetailsResponseMaster `json:"master,omitempty"`

	// master nodes
	MasterNodes *V5ClusterDetailsResponseMasterNodes `json:"master_nodes,omitempty"`

	// Cluster name
	Name string `json:"name,omitempty"`

	// Name of the organization owning the cluster
	//
	Owner string `json:"owner,omitempty"`

	// The [release](https://docs.giantswarm.io/api/#tag/releases) version
	// used by the cluster
	//
	ReleaseVersion string `json:"release_version,omitempty"`

	// List of release versions the cluster has used.
	Versions []*V5ClusterDetailsResponseVersionsItems `json:"versions"`
}

V5ClusterDetailsResponse v5 cluster details response swagger:model v5ClusterDetailsResponse

func (*V5ClusterDetailsResponse) MarshalBinary

func (m *V5ClusterDetailsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterDetailsResponse) UnmarshalBinary

func (m *V5ClusterDetailsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterDetailsResponse) Validate

func (m *V5ClusterDetailsResponse) Validate(formats strfmt.Registry) error

Validate validates this v5 cluster details response

type V5ClusterDetailsResponseConditionsItems

type V5ClusterDetailsResponseConditionsItems struct {

	// A string describing the condition, e. g. 'Created'
	Condition string `json:"condition,omitempty"`

	// Date and time when the cluster transitioned into this condition
	LastTransitionTime string `json:"last_transition_time,omitempty"`
}

V5ClusterDetailsResponseConditionsItems v5 cluster details response conditions items swagger:model v5ClusterDetailsResponseConditionsItems

func (*V5ClusterDetailsResponseConditionsItems) MarshalBinary

func (m *V5ClusterDetailsResponseConditionsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterDetailsResponseConditionsItems) UnmarshalBinary

func (m *V5ClusterDetailsResponseConditionsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterDetailsResponseConditionsItems) Validate

Validate validates this v5 cluster details response conditions items

type V5ClusterDetailsResponseMaster

type V5ClusterDetailsResponseMaster struct {

	// Name of the availability zone the master node is placed in
	//
	AvailabilityZone string `json:"availability_zone,omitempty"`
}

V5ClusterDetailsResponseMaster Legacy information about the master node.

*Deprecation notice:* This attribute is replaced by `master_nodes`. It will be served for compatibility reasons until August 31, 2020 in the case that the cluster specification has one master node only.

swagger:model v5ClusterDetailsResponseMaster

func (*V5ClusterDetailsResponseMaster) MarshalBinary

func (m *V5ClusterDetailsResponseMaster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterDetailsResponseMaster) UnmarshalBinary

func (m *V5ClusterDetailsResponseMaster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterDetailsResponseMaster) Validate

func (m *V5ClusterDetailsResponseMaster) Validate(formats strfmt.Registry) error

Validate validates this v5 cluster details response master

type V5ClusterDetailsResponseMasterNodes

type V5ClusterDetailsResponseMasterNodes struct {

	// Availability zones of the master node(s) of this cluster.
	//
	AvailabilityZones []string `json:"availability_zones"`

	// When true, the cluster has (or should have) three master nodes.
	// Otherwise it should have one.
	//
	HighAvailability bool `json:"high_availability,omitempty"`

	// Number of master nodes that are reported as `Ready`.
	//
	NumReady *int8 `json:"num_ready,omitempty"`
}

V5ClusterDetailsResponseMasterNodes Information on the master node(s) of this cluster

swagger:model v5ClusterDetailsResponseMasterNodes

func (*V5ClusterDetailsResponseMasterNodes) MarshalBinary

func (m *V5ClusterDetailsResponseMasterNodes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterDetailsResponseMasterNodes) UnmarshalBinary

func (m *V5ClusterDetailsResponseMasterNodes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterDetailsResponseMasterNodes) Validate

Validate validates this v5 cluster details response master nodes

type V5ClusterDetailsResponseVersionsItems

type V5ClusterDetailsResponseVersionsItems struct {

	// Date and time when the cluster got created with or upgraded to this version
	LastTransitionTime string `json:"last_transition_time,omitempty"`

	// Semantic version number
	Version string `json:"version,omitempty"`
}

V5ClusterDetailsResponseVersionsItems v5 cluster details response versions items swagger:model v5ClusterDetailsResponseVersionsItems

func (*V5ClusterDetailsResponseVersionsItems) MarshalBinary

func (m *V5ClusterDetailsResponseVersionsItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterDetailsResponseVersionsItems) UnmarshalBinary

func (m *V5ClusterDetailsResponseVersionsItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterDetailsResponseVersionsItems) Validate

Validate validates this v5 cluster details response versions items

type V5ClusterLabelsResponse

type V5ClusterLabelsResponse struct {

	// Labels object
	//
	// Object containing keys with string values representing the labels attached to the cluster
	Labels map[string]string `json:"labels,omitempty"`
}

V5ClusterLabelsResponse Cluster labels swagger:model v5ClusterLabelsResponse

func (*V5ClusterLabelsResponse) MarshalBinary

func (m *V5ClusterLabelsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ClusterLabelsResponse) UnmarshalBinary

func (m *V5ClusterLabelsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ClusterLabelsResponse) Validate

func (m *V5ClusterLabelsResponse) Validate(formats strfmt.Registry) error

Validate validates this v5 cluster labels response

type V5GetNodePoolResponse

type V5GetNodePoolResponse struct {

	// Names of the availability zones used by the nodes of this pool.
	//
	AvailabilityZones []string `json:"availability_zones"`

	// Node pool identifier. Unique within a workload cluster.
	ID string `json:"id,omitempty"`

	// Node pool name
	Name string `json:"name,omitempty"`

	// node spec
	NodeSpec *V5GetNodePoolResponseNodeSpec `json:"node_spec,omitempty"`

	// scaling
	Scaling *V5GetNodePoolResponseScaling `json:"scaling,omitempty"`

	// status
	Status *V5GetNodePoolResponseStatus `json:"status,omitempty"`

	// IP address block used by the node pool
	Subnet string `json:"subnet,omitempty"`
}

V5GetNodePoolResponse v5 get node pool response swagger:model v5GetNodePoolResponse

func (*V5GetNodePoolResponse) MarshalBinary

func (m *V5GetNodePoolResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponse) UnmarshalBinary

func (m *V5GetNodePoolResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponse) Validate

func (m *V5GetNodePoolResponse) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pool response

type V5GetNodePoolResponseNodeSpec

type V5GetNodePoolResponseNodeSpec struct {

	// aws
	Aws *V5GetNodePoolResponseNodeSpecAws `json:"aws,omitempty"`

	// azure
	Azure *V5GetNodePoolResponseNodeSpecAzure `json:"azure,omitempty"`

	// volume sizes gb
	VolumeSizesGb *V5GetNodePoolResponseNodeSpecVolumeSizesGb `json:"volume_sizes_gb,omitempty"`
}

V5GetNodePoolResponseNodeSpec v5 get node pool response node spec swagger:model v5GetNodePoolResponseNodeSpec

func (*V5GetNodePoolResponseNodeSpec) MarshalBinary

func (m *V5GetNodePoolResponseNodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpec) UnmarshalBinary

func (m *V5GetNodePoolResponseNodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpec) Validate

func (m *V5GetNodePoolResponseNodeSpec) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pool response node spec

type V5GetNodePoolResponseNodeSpecAws

type V5GetNodePoolResponseNodeSpecAws struct {

	// instance distribution
	InstanceDistribution *V5GetNodePoolResponseNodeSpecAwsInstanceDistribution `json:"instance_distribution,omitempty"`

	// EC2 instance type used by all nodes in this pool.
	//
	InstanceType string `json:"instance_type,omitempty"`

	// Whether this node pool can use different instance types alike the configured one.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	UseAlikeInstanceTypes bool `json:"use_alike_instance_types,omitempty"`
}

V5GetNodePoolResponseNodeSpecAws Attributes specific to the AWS provider

swagger:model v5GetNodePoolResponseNodeSpecAws

func (*V5GetNodePoolResponseNodeSpecAws) MarshalBinary

func (m *V5GetNodePoolResponseNodeSpecAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAws) UnmarshalBinary

func (m *V5GetNodePoolResponseNodeSpecAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAws) Validate

Validate validates this v5 get node pool response node spec aws

type V5GetNodePoolResponseNodeSpecAwsInstanceDistribution

type V5GetNodePoolResponseNodeSpecAwsInstanceDistribution struct {

	// Base capacity of on-demand EC2 instances to use for worker nodes in this pools.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	OnDemandBaseCapacity int64 `json:"on_demand_base_capacity,omitempty"`

	// Percentage of on-demand EC2 instances to use for worker nodes, instead of spot
	// instances, for instances exceeding `on_demand_base_capacity`.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	OnDemandPercentageAboveBaseCapacity int64 `json:"on_demand_percentage_above_base_capacity,omitempty"`
}

V5GetNodePoolResponseNodeSpecAwsInstanceDistribution Attributes defining the instance distribution in a node pool.

swagger:model v5GetNodePoolResponseNodeSpecAwsInstanceDistribution

func (*V5GetNodePoolResponseNodeSpecAwsInstanceDistribution) MarshalBinary

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAwsInstanceDistribution) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAwsInstanceDistribution) Validate

Validate validates this v5 get node pool response node spec aws instance distribution

type V5GetNodePoolResponseNodeSpecAzure

type V5GetNodePoolResponseNodeSpecAzure struct {

	// spot instances
	SpotInstances *V5GetNodePoolResponseNodeSpecAzureSpotInstances `json:"spot_instances,omitempty"`

	// Azure virtual machine size used by all nodes in this pool.
	//
	VMSize string `json:"vm_size,omitempty"`
}

V5GetNodePoolResponseNodeSpecAzure Attributes specific to the Azure provider

swagger:model v5GetNodePoolResponseNodeSpecAzure

func (*V5GetNodePoolResponseNodeSpecAzure) MarshalBinary

func (m *V5GetNodePoolResponseNodeSpecAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAzure) UnmarshalBinary

func (m *V5GetNodePoolResponseNodeSpecAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAzure) Validate

Validate validates this v5 get node pool response node spec azure

type V5GetNodePoolResponseNodeSpecAzureSpotInstances added in v2.1.0

type V5GetNodePoolResponseNodeSpecAzureSpotInstances struct {

	// Whether the feature is enabled or not.
	//
	Enabled bool `json:"enabled,omitempty"`

	// The maximum price that a single node pool VM instance can reach before it is deallocated.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	MaxPrice float64 `json:"max_price,omitempty"`
}

V5GetNodePoolResponseNodeSpecAzureSpotInstances Attributes defining the presence and configuration of Spot Instances.

swagger:model v5GetNodePoolResponseNodeSpecAzureSpotInstances

func (*V5GetNodePoolResponseNodeSpecAzureSpotInstances) MarshalBinary added in v2.1.0

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAzureSpotInstances) UnmarshalBinary added in v2.1.0

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecAzureSpotInstances) Validate added in v2.1.0

Validate validates this v5 get node pool response node spec azure spot instances

type V5GetNodePoolResponseNodeSpecVolumeSizesGb

type V5GetNodePoolResponseNodeSpecVolumeSizesGb struct {

	// Size of the Docker volume, used to store docker images and
	// overlay file system data, in GB.
	//
	Docker int64 `json:"docker,omitempty"`

	// Size of the kubelet volume of the worker, used e. g. for
	// volumes of type EmptyDir, in GB.
	//
	Kubelet int64 `json:"kubelet,omitempty"`
}

V5GetNodePoolResponseNodeSpecVolumeSizesGb v5 get node pool response node spec volume sizes gb swagger:model v5GetNodePoolResponseNodeSpecVolumeSizesGb

func (*V5GetNodePoolResponseNodeSpecVolumeSizesGb) MarshalBinary

func (m *V5GetNodePoolResponseNodeSpecVolumeSizesGb) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecVolumeSizesGb) UnmarshalBinary

func (m *V5GetNodePoolResponseNodeSpecVolumeSizesGb) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseNodeSpecVolumeSizesGb) Validate

Validate validates this v5 get node pool response node spec volume sizes gb

type V5GetNodePoolResponseScaling

type V5GetNodePoolResponseScaling struct {

	// Maximum number of nodes in the pool
	Max int64 `json:"max,omitempty"`

	// Minimum number of nodes in the pool
	Min *int64 `json:"min,omitempty"`
}

V5GetNodePoolResponseScaling Scaling range of the node pool. If `min` and `max` differ, the node pool is scaled automatically. If both have the same value, the cluster size is pinned.

swagger:model v5GetNodePoolResponseScaling

func (*V5GetNodePoolResponseScaling) MarshalBinary

func (m *V5GetNodePoolResponseScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseScaling) UnmarshalBinary

func (m *V5GetNodePoolResponseScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseScaling) Validate

func (m *V5GetNodePoolResponseScaling) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pool response scaling

type V5GetNodePoolResponseStatus

type V5GetNodePoolResponseStatus struct {

	// Instance types currently in use in this node pool.
	InstanceTypes []string `json:"instance_types"`

	// Desired number of nodes in the pool according to the cluster-autoscaler
	Nodes int64 `json:"nodes,omitempty"`

	// Number of nodes in state NodeReady
	NodesReady int64 `json:"nodes_ready,omitempty"`

	// Number of instances with lifecycle spot
	SpotInstances int64 `json:"spot_instances,omitempty"`
}

V5GetNodePoolResponseStatus Information on the current size and status of the node pool swagger:model v5GetNodePoolResponseStatus

func (*V5GetNodePoolResponseStatus) MarshalBinary

func (m *V5GetNodePoolResponseStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolResponseStatus) UnmarshalBinary

func (m *V5GetNodePoolResponseStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolResponseStatus) Validate

func (m *V5GetNodePoolResponseStatus) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pool response status

type V5GetNodePoolsResponse

type V5GetNodePoolsResponse []*V5GetNodePoolsResponseItems

V5GetNodePoolsResponse v5 get node pools response swagger:model v5GetNodePoolsResponse

func (V5GetNodePoolsResponse) Validate

func (m V5GetNodePoolsResponse) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pools response

type V5GetNodePoolsResponseItems

type V5GetNodePoolsResponseItems struct {

	// Names of the availability zones used by the nodes of this pool.
	//
	AvailabilityZones []string `json:"availability_zones"`

	// Node pool identifier. Unique within a workload cluster.
	ID string `json:"id,omitempty"`

	// Node pool name
	Name string `json:"name,omitempty"`

	// node spec
	NodeSpec *V5GetNodePoolsResponseItemsNodeSpec `json:"node_spec,omitempty"`

	// scaling
	Scaling *V5GetNodePoolsResponseItemsScaling `json:"scaling,omitempty"`

	// status
	Status *V5GetNodePoolsResponseItemsStatus `json:"status,omitempty"`

	// IP address block used by the node pool
	Subnet string `json:"subnet,omitempty"`
}

V5GetNodePoolsResponseItems v5 get node pools response items swagger:model v5GetNodePoolsResponseItems

func (*V5GetNodePoolsResponseItems) MarshalBinary

func (m *V5GetNodePoolsResponseItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItems) UnmarshalBinary

func (m *V5GetNodePoolsResponseItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItems) Validate

func (m *V5GetNodePoolsResponseItems) Validate(formats strfmt.Registry) error

Validate validates this v5 get node pools response items

type V5GetNodePoolsResponseItemsNodeSpec

type V5GetNodePoolsResponseItemsNodeSpec struct {

	// aws
	Aws *V5GetNodePoolsResponseItemsNodeSpecAws `json:"aws,omitempty"`

	// azure
	Azure *V5GetNodePoolsResponseItemsNodeSpecAzure `json:"azure,omitempty"`

	// volume sizes gb
	VolumeSizesGb *V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb `json:"volume_sizes_gb,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpec v5 get node pools response items node spec swagger:model v5GetNodePoolsResponseItemsNodeSpec

func (*V5GetNodePoolsResponseItemsNodeSpec) MarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpec) UnmarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpec) Validate

Validate validates this v5 get node pools response items node spec

type V5GetNodePoolsResponseItemsNodeSpecAws

type V5GetNodePoolsResponseItemsNodeSpecAws struct {

	// instance distribution
	InstanceDistribution *V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution `json:"instance_distribution,omitempty"`

	// EC2 instance type used by all nodes in this pool.
	//
	InstanceType string `json:"instance_type,omitempty"`

	// Whether this node pool can use different instance types alike the configured one.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	UseAlikeInstanceTypes bool `json:"use_alike_instance_types,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpecAws Attributes specific to the AWS provider

swagger:model v5GetNodePoolsResponseItemsNodeSpecAws

func (*V5GetNodePoolsResponseItemsNodeSpecAws) MarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpecAws) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAws) UnmarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpecAws) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAws) Validate

Validate validates this v5 get node pools response items node spec aws

type V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution

type V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution struct {

	// Base capacity of on-demand EC2 instances to use for worker nodes in this pools.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	OnDemandBaseCapacity int64 `json:"on_demand_base_capacity,omitempty"`

	// Percentage of on-demand EC2 instances to use for worker nodes, instead of spot
	// instances, for instances exceeding `on_demand_base_capacity`.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	OnDemandPercentageAboveBaseCapacity int64 `json:"on_demand_percentage_above_base_capacity,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution Attributes defining the instance distribution in a node pool.

swagger:model v5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution

func (*V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution) MarshalBinary

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAwsInstanceDistribution) Validate

Validate validates this v5 get node pools response items node spec aws instance distribution

type V5GetNodePoolsResponseItemsNodeSpecAzure

type V5GetNodePoolsResponseItemsNodeSpecAzure struct {

	// spot instances
	SpotInstances *V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances `json:"spot_instances,omitempty"`

	// Azure virtual machine size used by all nodes in this pool.
	//
	VMSize string `json:"vm_size,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpecAzure Attributes specific to the Azure provider

swagger:model v5GetNodePoolsResponseItemsNodeSpecAzure

func (*V5GetNodePoolsResponseItemsNodeSpecAzure) MarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpecAzure) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAzure) UnmarshalBinary

func (m *V5GetNodePoolsResponseItemsNodeSpecAzure) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAzure) Validate

Validate validates this v5 get node pools response items node spec azure

type V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances added in v2.1.0

type V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances struct {

	// Whether the feature is enabled or not.
	//
	Enabled bool `json:"enabled,omitempty"`

	// The maximum price that a single node pool VM instance can reach before it is deallocated.
	// Find details on this attribute in the [addNodePool](#operation/addNodePool) operation.
	//
	MaxPrice float64 `json:"max_price,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances Attributes defining the presence and configuration of Spot Instances.

swagger:model v5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances

func (*V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances) MarshalBinary added in v2.1.0

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances) UnmarshalBinary added in v2.1.0

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecAzureSpotInstances) Validate added in v2.1.0

Validate validates this v5 get node pools response items node spec azure spot instances

type V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb

type V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb struct {

	// Size of the Docker volume, used to store docker images and
	// overlay file system data, in GB.
	//
	Docker int64 `json:"docker,omitempty"`

	// Size of the kubelet volume of the worker, used e. g. for
	// volumes of type EmptyDir, in GB.
	//
	Kubelet int64 `json:"kubelet,omitempty"`
}

V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb v5 get node pools response items node spec volume sizes gb swagger:model v5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb

func (*V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb) MarshalBinary

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb) UnmarshalBinary

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsNodeSpecVolumeSizesGb) Validate

Validate validates this v5 get node pools response items node spec volume sizes gb

type V5GetNodePoolsResponseItemsScaling

type V5GetNodePoolsResponseItemsScaling struct {

	// Maximum number of nodes in the pool
	Max int64 `json:"max,omitempty"`

	// Minimum number of nodes in the pool
	Min *int64 `json:"min,omitempty"`
}

V5GetNodePoolsResponseItemsScaling Scaling range of the node pool. If `min` and `max` differ, the node pool is scaled automatically. If both have the same value, the cluster size is pinned.

swagger:model v5GetNodePoolsResponseItemsScaling

func (*V5GetNodePoolsResponseItemsScaling) MarshalBinary

func (m *V5GetNodePoolsResponseItemsScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsScaling) UnmarshalBinary

func (m *V5GetNodePoolsResponseItemsScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsScaling) Validate

Validate validates this v5 get node pools response items scaling

type V5GetNodePoolsResponseItemsStatus

type V5GetNodePoolsResponseItemsStatus struct {

	// Instance types currently in use in this node pool.
	InstanceTypes []string `json:"instance_types"`

	// Desired number of nodes in the pool according to the cluster-autoscaler
	Nodes int64 `json:"nodes,omitempty"`

	// Number of nodes in state NodeReady
	NodesReady int64 `json:"nodes_ready,omitempty"`

	// Number of instances with lifecycle spot
	SpotInstances int64 `json:"spot_instances,omitempty"`
}

V5GetNodePoolsResponseItemsStatus Information on the current size and status of the node pool swagger:model v5GetNodePoolsResponseItemsStatus

func (*V5GetNodePoolsResponseItemsStatus) MarshalBinary

func (m *V5GetNodePoolsResponseItemsStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsStatus) UnmarshalBinary

func (m *V5GetNodePoolsResponseItemsStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5GetNodePoolsResponseItemsStatus) Validate

Validate validates this v5 get node pools response items status

type V5ListClustersByLabelRequest

type V5ListClustersByLabelRequest struct {

	// Label selector
	//
	// The label selector string for filtering the clusters
	// Required: true
	Labels *string `json:"labels"`
}

V5ListClustersByLabelRequest v5 list clusters by label request swagger:model v5ListClustersByLabelRequest

func (*V5ListClustersByLabelRequest) MarshalBinary

func (m *V5ListClustersByLabelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ListClustersByLabelRequest) UnmarshalBinary

func (m *V5ListClustersByLabelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ListClustersByLabelRequest) Validate

func (m *V5ListClustersByLabelRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 list clusters by label request

type V5ModifyClusterRequest

type V5ModifyClusterRequest struct {

	// master nodes
	MasterNodes *V5ModifyClusterRequestMasterNodes `json:"master_nodes,omitempty"`

	// New cluster name
	Name string `json:"name,omitempty"`

	// Release version to upgrade to
	ReleaseVersion string `json:"release_version,omitempty"`
}

V5ModifyClusterRequest Request model for cluster modification swagger:model v5ModifyClusterRequest

func (*V5ModifyClusterRequest) MarshalBinary

func (m *V5ModifyClusterRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ModifyClusterRequest) UnmarshalBinary

func (m *V5ModifyClusterRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ModifyClusterRequest) Validate

func (m *V5ModifyClusterRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 modify cluster request

type V5ModifyClusterRequestMasterNodes

type V5ModifyClusterRequestMasterNodes struct {

	// Setting this attribute to `true` allows to switch a cluster from
	// using a single master node to multiple (3) master nodes in
	// separate availability zones for high availability. Note that the
	// switch from multiple master nodes to a single master node is not
	// supported.
	//
	HighAvailability bool `json:"high_availability,omitempty"`
}

V5ModifyClusterRequestMasterNodes v5 modify cluster request master nodes swagger:model v5ModifyClusterRequestMasterNodes

func (*V5ModifyClusterRequestMasterNodes) MarshalBinary

func (m *V5ModifyClusterRequestMasterNodes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ModifyClusterRequestMasterNodes) UnmarshalBinary

func (m *V5ModifyClusterRequestMasterNodes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ModifyClusterRequestMasterNodes) Validate

Validate validates this v5 modify cluster request master nodes

type V5ModifyNodePoolRequest

type V5ModifyNodePoolRequest struct {

	// New name of the node pool
	Name string `json:"name,omitempty"`

	// scaling
	Scaling *V5ModifyNodePoolRequestScaling `json:"scaling,omitempty"`
}

V5ModifyNodePoolRequest Request body for node pool modification swagger:model v5ModifyNodePoolRequest

func (*V5ModifyNodePoolRequest) MarshalBinary

func (m *V5ModifyNodePoolRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ModifyNodePoolRequest) UnmarshalBinary

func (m *V5ModifyNodePoolRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ModifyNodePoolRequest) Validate

func (m *V5ModifyNodePoolRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 modify node pool request

type V5ModifyNodePoolRequestScaling

type V5ModifyNodePoolRequestScaling struct {

	// Maximum number of nodes in the pool
	Max int64 `json:"max,omitempty"`

	// Minimum number of nodes in the pool
	Min *int64 `json:"min,omitempty"`
}

V5ModifyNodePoolRequestScaling Attributes specific to node pool scaling. To have full control of the cluster size, min and max can be set to the same value. If only `min` or only `max` is specified, `min` and `max` will be set equally.

swagger:model v5ModifyNodePoolRequestScaling

func (*V5ModifyNodePoolRequestScaling) MarshalBinary

func (m *V5ModifyNodePoolRequestScaling) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5ModifyNodePoolRequestScaling) UnmarshalBinary

func (m *V5ModifyNodePoolRequestScaling) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5ModifyNodePoolRequestScaling) Validate

func (m *V5ModifyNodePoolRequestScaling) Validate(formats strfmt.Registry) error

Validate validates this v5 modify node pool request scaling

type V5SetClusterLabelsRequest

type V5SetClusterLabelsRequest struct {

	// Labels object
	//
	// Object containing keys with string values representing label changes
	Labels map[string]*string `json:"labels,omitempty"`
}

V5SetClusterLabelsRequest Cluster labels swagger:model v5SetClusterLabelsRequest

func (*V5SetClusterLabelsRequest) MarshalBinary

func (m *V5SetClusterLabelsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V5SetClusterLabelsRequest) UnmarshalBinary

func (m *V5SetClusterLabelsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V5SetClusterLabelsRequest) Validate

func (m *V5SetClusterLabelsRequest) Validate(formats strfmt.Registry) error

Validate validates this v5 set cluster labels request

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL