models

package
v2.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 250

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSCloudSpec

type AWSCloudSpec struct {

	// access key ID
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// The IAM role, the control plane will use. The control plane will perform an assume-role
	ControlPlaneRoleARN string `json:"roleARN,omitempty"`

	// instance profile name
	InstanceProfileName string `json:"instanceProfileName,omitempty"`

	// DEPRECATED. Don't care for the role name. We only require the ControlPlaneRoleARN to be set so the control plane
	// can perform the assume-role.
	// We keep it for backwards compatibility (We use this name for cleanup purpose).
	RoleName string `json:"roleName,omitempty"`

	// route table ID
	RouteTableID string `json:"routeTableId,omitempty"`

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// security group ID
	SecurityGroupID string `json:"securityGroupID,omitempty"`

	// v p c ID
	VPCID string `json:"vpcId,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

AWSCloudSpec AWSCloudSpec specifies access data to Amazon Web Services.

swagger:model AWSCloudSpec

func (*AWSCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSCloudSpec) Validate

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

Validate validates this a w s cloud spec

type AWSDatacenterSpec

type AWSDatacenterSpec struct {

	// region
	Region string `json:"region,omitempty"`
}

AWSDatacenterSpec AWSDatacenterSpec specifies a data center of Amazon Web Services.

swagger:model AWSDatacenterSpec

func (*AWSDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSDatacenterSpec) Validate

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

Validate validates this a w s datacenter spec

type AWSNodeSpec

type AWSNodeSpec struct {

	// ami to use. Will be defaulted to a ami for your selected operating system and region. Only set this when you know what you do.
	AMI string `json:"ami,omitempty"`

	// This flag controls a property of the AWS instance. When set the AWS instance will get a public IP address
	// assigned during launch overriding a possible setting in the used AWS subnet.
	AssignPublicIP bool `json:"assignPublicIP,omitempty"`

	// Availiability zone in which to place the node. It is coupled with the subnet to which the node will belong.
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// instance type
	// Required: true
	InstanceType *string `json:"instanceType"`

	// The VPC subnet to which the node shall be connected.
	SubnetID string `json:"subnetID,omitempty"`

	// additional instance tags
	Tags map[string]string `json:"tags,omitempty"`

	// size of the volume in gb. Only one volume will be created
	// Required: true
	VolumeSize *int64 `json:"diskSize"`

	// volume type
	// Required: true
	VolumeType *string `json:"volumeType"`
}

AWSNodeSpec AWSNodeSpec aws specific node settings

swagger:model AWSNodeSpec

func (*AWSNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSNodeSpec) Validate

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

Validate validates this a w s node spec

type AWSSize

type AWSSize struct {

	// memory
	Memory float32 `json:"memory,omitempty"`

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

	// pretty name
	PrettyName string `json:"pretty_name,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// v c p us
	VCPUs int64 `json:"vcpus,omitempty"`
}

AWSSize AWSSize represents a object of AWS size.

swagger:model AWSSize

func (*AWSSize) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSSize) Validate

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

Validate validates this a w s size

type AWSSizeList

type AWSSizeList []*AWSSize

AWSSizeList AWSSizeList represents an array of AWS sizes.

swagger:model AWSSizeList

func (AWSSizeList) Validate

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

Validate validates this a w s size list

type AWSSubnet

type AWSSubnet struct {

	// availability zone
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// availability zone ID
	AvailabilityZoneID string `json:"availability_zone_id,omitempty"`

	// available IP address count
	AvailableIPAddressCount int64 `json:"available_ip_address_count,omitempty"`

	// default for az
	DefaultForAz bool `json:"default,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// IPv4 c ID r
	IPV4CIDR string `json:"ipv4cidr,omitempty"`

	// IPv6 c ID r
	IPV6CIDR string `json:"ipv6cidr,omitempty"`

	// is default subnet
	IsDefaultSubnet bool `json:"isDefaultSubnet,omitempty"`

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

	// state
	State string `json:"state,omitempty"`

	// tags
	Tags []*AWSTag `json:"tags"`
}

AWSSubnet AWSSubnet represents a object of AWS availability subnet.

swagger:model AWSSubnet

func (*AWSSubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSSubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSSubnet) Validate

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

Validate validates this a w s subnet

type AWSSubnetList

type AWSSubnetList []*AWSSubnet

AWSSubnetList AWSSubnetList represents an array of AWS availability subnets.

swagger:model AWSSubnetList

func (AWSSubnetList) Validate

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

Validate validates this a w s subnet list

type AWSTag

type AWSTag struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

AWSTag AWSTag represents a object of AWS tags.

swagger:model AWSTag

func (*AWSTag) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSTag) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSTag) Validate

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

Validate validates this a w s tag

type AWSVPC

type AWSVPC struct {

	// The primary IPv4 CIDR block for the VPC.
	CidrBlock string `json:"cidrBlock,omitempty"`

	// Information about the IPv4 CIDR blocks associated with the VPC.
	CidrBlockAssociationSet []*AWSVpcCidrBlockAssociation `json:"cidrBlockAssociationSet"`

	// The ID of the set of DHCP options you've associated with the VPC (or default
	// if the default options are associated with the VPC).
	DhcpOptionsID string `json:"dhcpOptionsId,omitempty"`

	// The allowed tenancy of instances launched into the VPC.
	InstanceTenancy string `json:"instanceTenancy,omitempty"`

	// Information about the IPv6 CIDR blocks associated with the VPC.
	IPV6CidrBlockAssociationSet []*AWSVpcIPV6CidrBlockAssociation `json:"ipv6CidrBlockAssociationSet"`

	// Indicates whether the VPC is the default VPC.
	IsDefault bool `json:"isDefault,omitempty"`

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

	// The ID of the AWS account that owns the VPC.
	OwnerID string `json:"ownerId,omitempty"`

	// The current state of the VPC.
	State string `json:"state,omitempty"`

	// Any tags assigned to the VPC.
	Tags []*AWSTag `json:"tags"`

	// The ID of the VPC.
	VpcID string `json:"vpcId,omitempty"`
}

AWSVPC AWSVPC represents a object of AWS VPC.

swagger:model AWSVPC

func (*AWSVPC) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSVPC) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSVPC) Validate

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

Validate validates this a w s v p c

type AWSVPCList

type AWSVPCList []*AWSVPC

AWSVPCList AWSVPCList represents an array of AWS VPC's.

swagger:model AWSVPCList

func (AWSVPCList) Validate

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

Validate validates this a w s v p c list

type AWSVpcCidrBlockAssociation

type AWSVpcCidrBlockAssociation struct {

	// The association ID for the IPv4 CIDR block.
	AssociationID string `json:"associationId,omitempty"`

	// The IPv4 CIDR block.
	CidrBlock string `json:"cidrBlock,omitempty"`

	// The state of the CIDR block.
	State string `json:"state,omitempty"`

	// A message about the status of the CIDR block, if applicable.
	StatusMessage string `json:"statusMessage,omitempty"`
}

AWSVpcCidrBlockAssociation AWSVpcCidrBlockAssociation describes an IPv4 CIDR block associated with a VPC.

swagger:model AWSVpcCidrBlockAssociation

func (*AWSVpcCidrBlockAssociation) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSVpcCidrBlockAssociation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSVpcCidrBlockAssociation) Validate

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

Validate validates this a w s vpc cidr block association

type AWSVpcIPV6CidrBlockAssociation

type AWSVpcIPV6CidrBlockAssociation struct {

	// The association ID for the IPv4 CIDR block.
	AssociationID string `json:"associationId,omitempty"`

	// The IPv4 CIDR block.
	CidrBlock string `json:"cidrBlock,omitempty"`

	// The state of the CIDR block.
	State string `json:"state,omitempty"`

	// A message about the status of the CIDR block, if applicable.
	StatusMessage string `json:"statusMessage,omitempty"`
}

AWSVpcIPV6CidrBlockAssociation AWSVpcIpv6CidrBlockAssociation describes an IPv6 CIDR block associated with a VPC.

swagger:model AWSVpcIpv6CidrBlockAssociation

func (*AWSVpcIPV6CidrBlockAssociation) MarshalBinary

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

MarshalBinary interface implementation

func (*AWSVpcIPV6CidrBlockAssociation) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AWSVpcIPV6CidrBlockAssociation) Validate

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

Validate validates this a w s vpc Ipv6 cidr block association

type AccessibleAddons

type AccessibleAddons []string

AccessibleAddons AccessibleAddons represents an array of addons that can be configured in the user clusters.

swagger:model AccessibleAddons

func (AccessibleAddons) Validate

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

Validate validates this accessible addons

type Addon

type Addon struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

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

Addon Addon represents a predefined addon that users may install into their cluster

swagger:model Addon

func (*Addon) MarshalBinary

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

MarshalBinary interface implementation

func (*Addon) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Addon) Validate

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

Validate validates this addon

type AddonConfig

type AddonConfig struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

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

AddonConfig AddonConfig represents a addon configuration

swagger:model AddonConfig

func (*AddonConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*AddonConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddonConfig) Validate

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

Validate validates this addon config

type AddonConfigSpec

type AddonConfigSpec struct {

	// Controls that can be set for configured addon
	Controls []*AddonFormControl `json:"formSpec"`

	// Description of the configured addon, it will be displayed in the addon overview in the UI
	Description string `json:"description,omitempty"`

	Logo string `json:"logo,omitempty"`

	// LogoFormat contains logo format of the configured addon, i.e. svg+xml.
	LogoFormat string `json:"logoFormat,omitempty"`

	// ShortDescription of the configured addon that contains more detailed information about the addon,
	// it will be displayed in the addon details view in the UI
	ShortDescription string `json:"shortDescription,omitempty"`
}

AddonConfigSpec AddonConfigSpec specifies configuration of addon

swagger:model AddonConfigSpec

func (*AddonConfigSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AddonConfigSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddonConfigSpec) Validate

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

Validate validates this addon config spec

type AddonFormControl

type AddonFormControl struct {

	// DisplayName is visible in the UI
	DisplayName string `json:"displayName,omitempty"`

	// InternalName is used internally to save in the addon object
	InternalName string `json:"internalName,omitempty"`

	// Required indicates if the control has to be set
	Required bool `json:"required,omitempty"`

	// Type of displayed control
	Type string `json:"type,omitempty"`
}

AddonFormControl AddonFormControl specifies addon form control

swagger:model AddonFormControl

func (*AddonFormControl) MarshalBinary

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

MarshalBinary interface implementation

func (*AddonFormControl) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddonFormControl) Validate

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

Validate validates this addon form control

type AddonSpec

type AddonSpec struct {

	// IsDefault indicates whether the addon is default
	IsDefault bool `json:"isDefault,omitempty"`

	// Variables is free form data to use for parsing the manifest templates
	Variables map[string]interface{} `json:"variables,omitempty"`
}

AddonSpec AddonSpec addon specification

swagger:model AddonSpec

func (*AddonSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AddonSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddonSpec) Validate

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

Validate validates this addon spec

type Admin

type Admin struct {

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

	// IsAdmin indicates admin role
	IsAdmin bool `json:"isAdmin,omitempty"`

	// Name of the admin user
	Name string `json:"name,omitempty"`
}

Admin Admin represents admin user

swagger:model Admin

func (*Admin) MarshalBinary

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

MarshalBinary interface implementation

func (*Admin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Admin) Validate

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

Validate validates this admin

type AdmissionPlugin

type AdmissionPlugin struct {

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

	// plugin
	Plugin string `json:"plugin,omitempty"`

	// from version
	FromVersion Semver `json:"fromVersion,omitempty"`
}

AdmissionPlugin AdmissionPlugin represents an admission plugin

swagger:model AdmissionPlugin

func (*AdmissionPlugin) MarshalBinary

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

MarshalBinary interface implementation

func (*AdmissionPlugin) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdmissionPlugin) Validate

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

Validate validates this admission plugin

type AdmissionPluginList

type AdmissionPluginList []string

AdmissionPluginList AdmissionPluginList represents a list of admission plugins

swagger:model AdmissionPluginList

func (AdmissionPluginList) Validate

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

Validate validates this admission plugin list

type AlibabaCloudSpec

type AlibabaCloudSpec struct {

	// access key ID
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// access key secret
	AccessKeySecret string `json:"accessKeySecret,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

AlibabaCloudSpec AlibabaCloudSpec specifies the access data to Alibaba.

swagger:model AlibabaCloudSpec

func (*AlibabaCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AlibabaCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlibabaCloudSpec) Validate

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

Validate validates this alibaba cloud spec

type AlibabaDatacenterSpec

type AlibabaDatacenterSpec struct {

	// region
	Region string `json:"region,omitempty"`
}

AlibabaDatacenterSpec AlibabaDatacenterSpec specifies a datacenter of Alibaba.

swagger:model AlibabaDatacenterSpec

func (*AlibabaDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AlibabaDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlibabaDatacenterSpec) Validate

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

Validate validates this alibaba datacenter spec

type AlibabaInstanceType

type AlibabaInstanceType struct {

	// CPU core count
	CPUCoreCount int64 `json:"cpuCoreCount,omitempty"`

	// ID
	ID string `json:"id,omitempty"`

	// memory size
	MemorySize float64 `json:"memorySize,omitempty"`
}

AlibabaInstanceType AlibabaInstanceType represents a object of Alibaba instance type.

swagger:model AlibabaInstanceType

func (*AlibabaInstanceType) MarshalBinary

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

MarshalBinary interface implementation

func (*AlibabaInstanceType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlibabaInstanceType) Validate

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

Validate validates this alibaba instance type

type AlibabaInstanceTypeList

type AlibabaInstanceTypeList []*AlibabaInstanceType

AlibabaInstanceTypeList AlibabaInstanceTypeList represents an array of Alibaba instance types.

swagger:model AlibabaInstanceTypeList

func (AlibabaInstanceTypeList) Validate

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

Validate validates this alibaba instance type list

type AlibabaNodeSpec

type AlibabaNodeSpec struct {

	// disk size
	DiskSize string `json:"diskSize,omitempty"`

	// disk type
	DiskType string `json:"diskType,omitempty"`

	// instance type
	InstanceType string `json:"instanceType,omitempty"`

	// internet max bandwidth out
	InternetMaxBandwidthOut string `json:"internetMaxBandwidthOut,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// v switch ID
	VSwitchID string `json:"vSwitchID,omitempty"`

	// zone ID
	ZoneID string `json:"zoneID,omitempty"`
}

AlibabaNodeSpec AlibabaNodeSpec alibaba specific node settings

swagger:model AlibabaNodeSpec

func (*AlibabaNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AlibabaNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlibabaNodeSpec) Validate

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

Validate validates this alibaba node spec

type AlibabaZone

type AlibabaZone struct {

	// ID
	ID string `json:"id,omitempty"`
}

AlibabaZone AlibabaZone represents a object of Alibaba zone.

swagger:model AlibabaZone

func (*AlibabaZone) MarshalBinary

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

MarshalBinary interface implementation

func (*AlibabaZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AlibabaZone) Validate

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

Validate validates this alibaba zone

type AlibabaZoneList

type AlibabaZoneList []*AlibabaZone

AlibabaZoneList AlibabaZoneList represents an array of Alibaba zones.

swagger:model AlibabaZoneList

func (AlibabaZoneList) Validate

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

Validate validates this alibaba zone list

type AuditLoggingSettings

type AuditLoggingSettings struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`
}

AuditLoggingSettings audit logging settings

swagger:model AuditLoggingSettings

func (*AuditLoggingSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*AuditLoggingSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuditLoggingSettings) Validate

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

Validate validates this audit logging settings

type AuthInfo

type AuthInfo struct {

	// ClientCertificate is the path to a client cert file for TLS.
	// +optional
	ClientCertificate string `json:"client-certificate,omitempty"`

	// ClientCertificateData contains PEM-encoded data from a client cert file for TLS. Overrides ClientCertificate
	// +optional
	ClientCertificateData []uint8 `json:"client-certificate-data"`

	// ClientKey is the path to a client key file for TLS.
	// +optional
	ClientKey string `json:"client-key,omitempty"`

	// ClientKeyData contains PEM-encoded data from a client key file for TLS. Overrides ClientKey
	// +optional
	ClientKeyData []uint8 `json:"client-key-data"`

	// Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
	// +optional
	Extensions []*NamedExtension `json:"extensions"`

	// Impersonate is the username to imperonate.  The name matches the flag.
	// +optional
	Impersonate string `json:"as,omitempty"`

	// ImpersonateGroups is the groups to imperonate.
	// +optional
	ImpersonateGroups []string `json:"as-groups"`

	// ImpersonateUserExtra contains additional information for impersonated user.
	// +optional
	ImpersonateUserExtra map[string][]string `json:"as-user-extra,omitempty"`

	// Password is the password for basic authentication to the kubernetes cluster.
	// +optional
	Password string `json:"password,omitempty"`

	// Token is the bearer token for authentication to the kubernetes cluster.
	// +optional
	Token string `json:"token,omitempty"`

	// TokenFile is a pointer to a file that contains a bearer token (as described above).  If both Token and TokenFile are present, Token takes precedence.
	// +optional
	TokenFile string `json:"tokenFile,omitempty"`

	// Username is the username for basic authentication to the kubernetes cluster.
	// +optional
	Username string `json:"username,omitempty"`

	// auth provider
	AuthProvider *AuthProviderConfig `json:"auth-provider,omitempty"`

	// exec
	Exec *ExecConfig `json:"exec,omitempty"`
}

AuthInfo AuthInfo contains information that describes identity information. This is use to tell the kubernetes cluster who you are.

swagger:model AuthInfo

func (*AuthInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthInfo) Validate

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

Validate validates this auth info

type AuthProviderConfig

type AuthProviderConfig struct {

	// config
	Config map[string]string `json:"config,omitempty"`

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

AuthProviderConfig AuthProviderConfig holds the configuration for a specified auth provider.

swagger:model AuthProviderConfig

func (*AuthProviderConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*AuthProviderConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuthProviderConfig) Validate

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

Validate validates this auth provider config

type AzureAvailabilityZonesList

type AzureAvailabilityZonesList struct {

	// zones
	Zones []string `json:"zones"`
}

AzureAvailabilityZonesList AzureAvailabilityZonesList is the object representing the availability zones for vms in azure cloud provider

swagger:model AzureAvailabilityZonesList

func (*AzureAvailabilityZonesList) MarshalBinary

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

MarshalBinary interface implementation

func (*AzureAvailabilityZonesList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AzureAvailabilityZonesList) Validate

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

Validate validates this azure availability zones list

type AzureCloudSpec

type AzureCloudSpec struct {

	// availability set
	AvailabilitySet string `json:"availabilitySet,omitempty"`

	// client ID
	ClientID string `json:"clientID,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// resource group
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// route table name
	RouteTableName string `json:"routeTable,omitempty"`

	// security group
	SecurityGroup string `json:"securityGroup,omitempty"`

	// subnet name
	SubnetName string `json:"subnet,omitempty"`

	// subscription ID
	SubscriptionID string `json:"subscriptionID,omitempty"`

	// tenant ID
	TenantID string `json:"tenantID,omitempty"`

	// v net name
	VNetName string `json:"vnet,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

AzureCloudSpec AzureCloudSpec specifies acceess credentials to Azure cloud.

swagger:model AzureCloudSpec

func (*AzureCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AzureCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AzureCloudSpec) Validate

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

Validate validates this azure cloud spec

type AzureDatacenterSpec

type AzureDatacenterSpec struct {

	// location
	Location string `json:"location,omitempty"`
}

AzureDatacenterSpec AzureDatacenterSpec specifies a datacenter of Azure.

swagger:model AzureDatacenterSpec

func (*AzureDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AzureDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AzureDatacenterSpec) Validate

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

Validate validates this azure datacenter spec

type AzureNodeSpec

type AzureNodeSpec struct {

	// should the machine have a publicly accessible IP address
	AssignPublicIP bool `json:"assignPublicIP,omitempty"`

	// Data disk size in GB
	DataDiskSize int32 `json:"dataDiskSize,omitempty"`

	// image ID
	ImageID string `json:"imageID,omitempty"`

	// OS disk size in GB
	OSDiskSize int32 `json:"osDiskSize,omitempty"`

	// VM size
	// Required: true
	Size *string `json:"size"`

	// Additional metadata to set
	Tags map[string]string `json:"tags,omitempty"`

	// Zones represents the availability zones for azure vms
	Zones []string `json:"zones"`
}

AzureNodeSpec AzureNodeSpec describes settings for an Azure node

swagger:model AzureNodeSpec

func (*AzureNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*AzureNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AzureNodeSpec) Validate

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

Validate validates this azure node spec

type AzureSize

type AzureSize struct {

	// max data disk count
	MaxDataDiskCount int32 `json:"maxDataDiskCount,omitempty"`

	// memory in m b
	MemoryInMB int32 `json:"memoryInMB,omitempty"`

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

	// number of cores
	NumberOfCores int32 `json:"numberOfCores,omitempty"`

	// os disk size in m b
	OsDiskSizeInMB int32 `json:"osDiskSizeInMB,omitempty"`

	// resource disk size in m b
	ResourceDiskSizeInMB int32 `json:"resourceDiskSizeInMB,omitempty"`
}

AzureSize AzureSize is the object representing Azure VM sizes.

swagger:model AzureSize

func (*AzureSize) MarshalBinary

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

MarshalBinary interface implementation

func (*AzureSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AzureSize) Validate

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

Validate validates this azure size

type AzureSizeList

type AzureSizeList []*AzureSize

AzureSizeList AzureSizeList represents an array of Azure VM sizes.

swagger:model AzureSizeList

func (AzureSizeList) Validate

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

Validate validates this azure size list

type BringYourOwnCloudSpec

type BringYourOwnCloudSpec interface{}

BringYourOwnCloudSpec BringYourOwnCloudSpec specifies access data for a bring your own cluster.

swagger:model BringYourOwnCloudSpec

type BringYourOwnDatacenterSpec

type BringYourOwnDatacenterSpec interface{}

BringYourOwnDatacenterSpec BringYourOwnDatacenterSpec specifies a data center with bring-your-own nodes.

swagger:model BringYourOwnDatacenterSpec

type CentOSSpec

type CentOSSpec struct {

	// do a dist-upgrade on boot and reboot it required afterwards
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot,omitempty"`
}

CentOSSpec CentOSSpec contains CentOS specific settings

swagger:model CentOSSpec

func (*CentOSSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*CentOSSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CentOSSpec) Validate

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

Validate validates this cent o s spec

type CleanupOptions

type CleanupOptions struct {

	// enabled
	Enabled bool `json:"Enabled,omitempty"`

	// enforced
	Enforced bool `json:"Enforced,omitempty"`
}

CleanupOptions cleanup options

swagger:model CleanupOptions

func (*CleanupOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*CleanupOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CleanupOptions) Validate

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

Validate validates this cleanup options

type CloudSpec

type CloudSpec struct {

	// DatacenterName where the users 'cloud' lives in.
	DatacenterName string `json:"dc,omitempty"`

	// alibaba
	Alibaba *AlibabaCloudSpec `json:"alibaba,omitempty"`

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

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

	// bringyourown
	Bringyourown BringYourOwnCloudSpec `json:"bringyourown,omitempty"`

	// digitalocean
	Digitalocean *DigitaloceanCloudSpec `json:"digitalocean,omitempty"`

	// fake
	Fake *FakeCloudSpec `json:"fake,omitempty"`

	// gcp
	Gcp *GCPCloudSpec `json:"gcp,omitempty"`

	// hetzner
	Hetzner *HetznerCloudSpec `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt *KubevirtCloudSpec `json:"kubevirt,omitempty"`

	// openstack
	Openstack *OpenstackCloudSpec `json:"openstack,omitempty"`

	// packet
	Packet *PacketCloudSpec `json:"packet,omitempty"`

	// vsphere
	Vsphere *VSphereCloudSpec `json:"vsphere,omitempty"`
}

CloudSpec CloudSpec mutually stores access data to a cloud provider.

swagger:model CloudSpec

func (*CloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*CloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CloudSpec) Validate

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

Validate validates this cloud spec

type Cluster

type Cluster struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// credential
	Credential string `json:"credential,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// inherited labels
	InheritedLabels map[string]string `json:"inheritedLabels,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

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

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

Cluster Cluster defines the cluster resource

Note: Cluster has a custom MarshalJSON method defined and thus the output may vary

swagger:model Cluster

func (*Cluster) MarshalBinary

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

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Cluster) Validate

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

Validate validates this cluster

type ClusterHealth

type ClusterHealth struct {

	// apiserver
	Apiserver HealthStatus `json:"apiserver,omitempty"`

	// cloud provider infrastructure
	CloudProviderInfrastructure HealthStatus `json:"cloudProviderInfrastructure,omitempty"`

	// controller
	Controller HealthStatus `json:"controller,omitempty"`

	// etcd
	Etcd HealthStatus `json:"etcd,omitempty"`

	// machine controller
	MachineController HealthStatus `json:"machineController,omitempty"`

	// scheduler
	Scheduler HealthStatus `json:"scheduler,omitempty"`

	// user cluster controller manager
	UserClusterControllerManager HealthStatus `json:"userClusterControllerManager,omitempty"`
}

ClusterHealth ClusterHealth stores health information about the cluster's components.

swagger:model ClusterHealth

func (*ClusterHealth) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterHealth) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterHealth) Validate

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

Validate validates this cluster health

type ClusterList

type ClusterList []*Cluster

ClusterList ClusterList represents a list of clusters

swagger:model ClusterList

func (ClusterList) Validate

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

Validate validates this cluster list

type ClusterMetrics

type ClusterMetrics struct {

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

	// control plane
	ControlPlane *ControlPlaneMetrics `json:"controlPlane,omitempty"`

	// nodes
	Nodes *NodesMetric `json:"nodes,omitempty"`
}

ClusterMetrics ClusterMetrics defines a metric for the given cluster

swagger:model ClusterMetrics

func (*ClusterMetrics) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterMetrics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterMetrics) Validate

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

Validate validates this cluster metrics

type ClusterRole

type ClusterRole struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Rules holds all the PolicyRules for this ClusterRole
	Rules []*PolicyRule `json:"rules"`
}

ClusterRole ClusterRole defines cluster RBAC role for the user cluster

swagger:model ClusterRole

func (*ClusterRole) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterRole) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterRole) Validate

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

Validate validates this cluster role

type ClusterRoleBinding

type ClusterRoleBinding struct {

	// role ref name
	RoleRefName string `json:"roleRefName,omitempty"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*Subject `json:"subjects"`
}

ClusterRoleBinding ClusterRoleBinding references a cluster role, but does not contain it.

swagger:model ClusterRoleBinding

func (*ClusterRoleBinding) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterRoleBinding) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterRoleBinding) Validate

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

Validate validates this cluster role binding

type ClusterRoleName

type ClusterRoleName struct {

	// Name of the cluster role.
	Name string `json:"name,omitempty"`
}

ClusterRoleName ClusterRoleName defines RBAC cluster role name object for the user cluster

swagger:model ClusterRoleName

func (*ClusterRoleName) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterRoleName) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterRoleName) Validate

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

Validate validates this cluster role name

type ClusterRoleUser

type ClusterRoleUser struct {

	// group
	Group string `json:"group,omitempty"`

	// user email
	UserEmail string `json:"userEmail,omitempty"`
}

ClusterRoleUser ClusterRoleUser defines associated user with cluster role

swagger:model ClusterRoleUser

func (*ClusterRoleUser) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterRoleUser) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterRoleUser) Validate

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

Validate validates this cluster role user

type ClusterSpec

type ClusterSpec struct {

	// Additional Admission Controller plugins
	AdmissionPlugins []string `json:"admissionPlugins"`

	// MachineNetworks optionally specifies the parameters for IPAM.
	MachineNetworks []*MachineNetworkingConfig `json:"machineNetworks"`

	// If active the PodNodeSelector admission plugin is configured at the apiserver
	UsePodNodeSelectorAdmissionPlugin bool `json:"usePodNodeSelectorAdmissionPlugin,omitempty"`

	// If active the PodSecurityPolicy admission plugin is configured at the apiserver
	UsePodSecurityPolicyAdmissionPlugin bool `json:"usePodSecurityPolicyAdmissionPlugin,omitempty"`

	// audit logging
	AuditLogging *AuditLoggingSettings `json:"auditLogging,omitempty"`

	// cloud
	Cloud *CloudSpec `json:"cloud,omitempty"`

	// oidc
	Oidc *OIDCSettings `json:"oidc,omitempty"`

	// openshift
	Openshift *Openshift `json:"openshift,omitempty"`

	// update window
	UpdateWindow *UpdateWindow `json:"updateWindow,omitempty"`

	// version
	Version Semver `json:"version,omitempty"`
}

ClusterSpec ClusterSpec defines the cluster specification

swagger:model ClusterSpec

func (*ClusterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterSpec) Validate

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

Validate validates this cluster spec

type ClusterStatus

type ClusterStatus struct {

	// URL specifies the address at which the cluster is available
	URL string `json:"url,omitempty"`

	// version
	Version Semver `json:"version,omitempty"`
}

ClusterStatus ClusterStatus defines the cluster status

swagger:model ClusterStatus

func (*ClusterStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*ClusterStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClusterStatus) Validate

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

Validate validates this cluster status

type ClusterType

type ClusterType int8

ClusterType cluster type

swagger:model ClusterType

func (ClusterType) Validate

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

Validate validates this cluster type

type Config

type Config struct {

	// Legacy field from pkg/api/types.go TypeMeta.
	// TODO(jlowdermilk): remove this after eliminating downstream dependencies.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// AuthInfos is a map of referencable names to user configs
	AuthInfos []*NamedAuthInfo `json:"users"`

	// Clusters is a map of referencable names to cluster configs
	Clusters []*NamedCluster `json:"clusters"`

	// Contexts is a map of referencable names to context configs
	Contexts []*NamedContext `json:"contexts"`

	// CurrentContext is the name of the context that you would like to use by default
	CurrentContext string `json:"current-context,omitempty"`

	// Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
	// +optional
	Extensions []*NamedExtension `json:"extensions"`

	// Legacy field from pkg/api/types.go TypeMeta.
	// TODO(jlowdermilk): remove this after eliminating downstream dependencies.
	// +optional
	Kind string `json:"kind,omitempty"`

	// preferences
	Preferences *Preferences `json:"preferences,omitempty"`
}

Config Config holds the information needed to build connect to remote kubernetes clusters as a given user +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

swagger:model Config

func (*Config) MarshalBinary

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

MarshalBinary interface implementation

func (*Config) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Config) Validate

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

Validate validates this config

type ContainerLinuxSpec

type ContainerLinuxSpec struct {

	// disable container linux auto-update feature
	DisableAutoUpdate bool `json:"disableAutoUpdate,omitempty"`
}

ContainerLinuxSpec ContainerLinuxSpec ubuntu linux specific settings

swagger:model ContainerLinuxSpec

func (*ContainerLinuxSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*ContainerLinuxSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ContainerLinuxSpec) Validate

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

Validate validates this container linux spec

type Context

type Context struct {

	// AuthInfo is the name of the authInfo for this context
	AuthInfo string `json:"user,omitempty"`

	// Cluster is the name of the cluster for this context
	Cluster string `json:"cluster,omitempty"`

	// Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
	// +optional
	Extensions []*NamedExtension `json:"extensions"`

	// Namespace is the default namespace to use on unspecified requests
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

Context Context is a tuple of references to a cluster (how do I communicate with a kubernetes cluster), a user (how do I identify myself), and a namespace (what subset of resources do I want to work with)

swagger:model Context

func (*Context) MarshalBinary

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

MarshalBinary interface implementation

func (*Context) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Context) Validate

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

Validate validates this context

type ControlPlaneMetrics

type ControlPlaneMetrics struct {

	// CPUTotalMillicores in m cores
	CPUTotalMillicores int64 `json:"cpuTotalMillicores,omitempty"`

	// MemoryTotalBytes in bytes
	MemoryTotalBytes int64 `json:"memoryTotalBytes,omitempty"`
}

ControlPlaneMetrics ControlPlaneMetrics defines a metric for the user cluster control plane resources

swagger:model ControlPlaneMetrics

func (*ControlPlaneMetrics) MarshalBinary

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

MarshalBinary interface implementation

func (*ControlPlaneMetrics) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ControlPlaneMetrics) Validate

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

Validate validates this control plane metrics

type CreateClusterSpec

type CreateClusterSpec struct {

	// cluster
	Cluster *Cluster `json:"cluster,omitempty"`

	// node deployment
	NodeDeployment *NodeDeployment `json:"nodeDeployment,omitempty"`
}

CreateClusterSpec CreateClusterSpec is the structure that is used to create cluster with its initial node deployment

swagger:model CreateClusterSpec

func (*CreateClusterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateClusterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateClusterSpec) Validate

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

Validate validates this create cluster spec

type CredentialList

type CredentialList struct {

	// names
	Names []string `json:"names"`
}

CredentialList CredentialList represents a object for provider credential names.

swagger:model CredentialList

func (*CredentialList) MarshalBinary

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

MarshalBinary interface implementation

func (*CredentialList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CredentialList) Validate

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

Validate validates this credential list

type CustomLink struct {

	// icon
	Icon string `json:"icon,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// URL
	URL string `json:"url,omitempty"`
}

CustomLink custom link

swagger:model CustomLink

func (*CustomLink) MarshalBinary

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

MarshalBinary interface implementation

func (*CustomLink) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CustomLink) Validate

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

Validate validates this custom link

type CustomLinks []*CustomLink

CustomLinks custom links

swagger:model CustomLinks

func (CustomLinks) Validate

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

Validate validates this custom links

type Datacenter

type Datacenter struct {

	// seed
	Seed bool `json:"seed,omitempty"`

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

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

Datacenter Datacenter is the object representing a Kubernetes infra datacenter.

swagger:model Datacenter

func (*Datacenter) MarshalBinary

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

MarshalBinary interface implementation

func (*Datacenter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Datacenter) Validate

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

Validate validates this datacenter

type DatacenterList

type DatacenterList []*Datacenter

DatacenterList DatacenterList represents a list of datacenters

swagger:model DatacenterList

func (DatacenterList) Validate

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

Validate validates this datacenter list

type DatacenterSpec

type DatacenterSpec struct {

	// country
	Country string `json:"country,omitempty"`

	// EnforceAuditLogging enforces audit logging on every cluster within the DC,
	// ignoring cluster-specific settings.
	EnforceAuditLogging bool `json:"enforceAuditLogging,omitempty"`

	// location
	Location string `json:"location,omitempty"`

	// provider
	Provider string `json:"provider,omitempty"`

	// Deprecated. Automatically migrated to the RequiredEmailDomains field.
	RequiredEmailDomain string `json:"requiredEmailDomain,omitempty"`

	// required email domains
	RequiredEmailDomains []string `json:"requiredEmailDomains"`

	// seed
	Seed string `json:"seed,omitempty"`

	// alibaba
	Alibaba *AlibabaDatacenterSpec `json:"alibaba,omitempty"`

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

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

	// bringyourown
	Bringyourown BringYourOwnDatacenterSpec `json:"bringyourown,omitempty"`

	// digitalocean
	Digitalocean *DigitialoceanDatacenterSpec `json:"digitalocean,omitempty"`

	// gcp
	Gcp *GCPDatacenterSpec `json:"gcp,omitempty"`

	// hetzner
	Hetzner *HetznerDatacenterSpec `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt KubevirtDatacenterSpec `json:"kubevirt,omitempty"`

	// openstack
	Openstack *OpenstackDatacenterSpec `json:"openstack,omitempty"`

	// packet
	Packet *PacketDatacenterSpec `json:"packet,omitempty"`

	// vsphere
	Vsphere *VSphereDatacenterSpec `json:"vsphere,omitempty"`
}

DatacenterSpec DatacenterSpec specifies the data for a datacenter.

swagger:model DatacenterSpec

func (*DatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpec) Validate

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

Validate validates this datacenter spec

type DatacenterSpecAWS

type DatacenterSpecAWS struct {

	// The AWS region to use, e.g. "us-east-1". For a list of available regions, see
	// https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html
	Region string `json:"region,omitempty"`

	// images
	Images ImageList `json:"images,omitempty"`
}

DatacenterSpecAWS DatacenterSpecAWS describes an AWS datacenter

swagger:model DatacenterSpecAWS

func (*DatacenterSpecAWS) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecAWS) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecAWS) Validate

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

Validate validates this datacenter spec a w s

type DatacenterSpecAlibaba

type DatacenterSpecAlibaba struct {

	// Region to use, for a full list of regions see
	// https://www.alibabacloud.com/help/doc-detail/40654.htm
	Region string `json:"region,omitempty"`
}

DatacenterSpecAlibaba DatacenterSpecAlibaba describes a alibaba datacenter.

swagger:model DatacenterSpecAlibaba

func (*DatacenterSpecAlibaba) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecAlibaba) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecAlibaba) Validate

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

Validate validates this datacenter spec alibaba

type DatacenterSpecAzure

type DatacenterSpecAzure struct {

	// Region to use, for example "westeurope". A list of available regions can be
	// found at https://azure.microsoft.com/en-us/global-infrastructure/locations/
	Location string `json:"location,omitempty"`
}

DatacenterSpecAzure DatacenterSpecAzure describes an Azure cloud datacenter

swagger:model DatacenterSpecAzure

func (*DatacenterSpecAzure) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecAzure) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecAzure) Validate

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

Validate validates this datacenter spec azure

type DatacenterSpecBringYourOwn

type DatacenterSpecBringYourOwn interface{}

DatacenterSpecBringYourOwn DatacenterSpecBringYourOwn describes a datacenter our of bring your own nodes

swagger:model DatacenterSpecBringYourOwn

type DatacenterSpecDigitalocean

type DatacenterSpecDigitalocean struct {

	// Datacenter location, e.g. "ams3". A list of existing datacenters can be found
	// at https://www.digitalocean.com/docs/platform/availability-matrix/
	Region string `json:"region,omitempty"`
}

DatacenterSpecDigitalocean DatacenterSpecDigitalocean describes a DigitalOcean datacenter

swagger:model DatacenterSpecDigitalocean

func (*DatacenterSpecDigitalocean) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecDigitalocean) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecDigitalocean) Validate

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

Validate validates this datacenter spec digitalocean

type DatacenterSpecFake

type DatacenterSpecFake struct {

	// fake property
	FakeProperty string `json:"fake_property,omitempty"`
}

DatacenterSpecFake DatacenterSpecFake describes a fake datacenter

swagger:model DatacenterSpecFake

func (*DatacenterSpecFake) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecFake) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecFake) Validate

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

Validate validates this datacenter spec fake

type DatacenterSpecGCP

type DatacenterSpecGCP struct {

	// Region to use, for example "europe-west3", for a full list of regions see
	// https://cloud.google.com/compute/docs/regions-zones/
	Region string `json:"region,omitempty"`

	// Optional: Regional clusters spread their resources across multiple availability zones.
	// Refer to the official documentation for more details on this:
	// https://cloud.google.com/kubernetes-engine/docs/concepts/regional-clusters
	Regional bool `json:"regional,omitempty"`

	// List of enabled zones, for example [a, c]. See the link above for the available
	// zones in your chosen region.
	ZoneSuffixes []string `json:"zone_suffixes"`
}

DatacenterSpecGCP DatacenterSpecGCP describes a GCP datacenter

swagger:model DatacenterSpecGCP

func (*DatacenterSpecGCP) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecGCP) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecGCP) Validate

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

Validate validates this datacenter spec g c p

type DatacenterSpecHetzner

type DatacenterSpecHetzner struct {

	// Datacenter location, e.g. "nbg1-dc3". A list of existing datacenters can be found
	// at https://wiki.hetzner.de/index.php/Rechenzentren_und_Anbindung/en
	Datacenter string `json:"datacenter,omitempty"`

	// Optional: Detailed location of the datacenter, like "Hamburg" or "Datacenter 7".
	// For informational purposes only.
	Location string `json:"location,omitempty"`
}

DatacenterSpecHetzner DatacenterSpecHetzner describes a Hetzner cloud datacenter

swagger:model DatacenterSpecHetzner

func (*DatacenterSpecHetzner) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecHetzner) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecHetzner) Validate

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

Validate validates this datacenter spec hetzner

type DatacenterSpecKubevirt

type DatacenterSpecKubevirt interface{}

DatacenterSpecKubevirt DatacenterSpecKubevirt describes a kubevirt datacenter.

swagger:model DatacenterSpecKubevirt

type DatacenterSpecOpenstack

type DatacenterSpecOpenstack struct {

	// auth URL
	AuthURL string `json:"auth_url,omitempty"`

	// availability zone
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// Used for automatic network creation
	DNSServers []string `json:"dns_servers"`

	// Optional
	EnforceFloatingIP bool `json:"enforce_floating_ip,omitempty"`

	// Optional
	IgnoreVolumeAZ bool `json:"ignore_volume_az,omitempty"`

	// Optional: Gets mapped to the "manage-security-groups" setting in the cloud config.
	// See https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#load-balancer
	// This setting defaults to true.
	ManageSecurityGroups bool `json:"manage_security_groups,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// Optional: Gets mapped to the "trust-device-path" setting in the cloud config.
	// See https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#block-storage
	// This setting defaults to false.
	TrustDevicePath bool `json:"trust_device_path,omitempty"`

	// images
	Images ImageList `json:"images,omitempty"`

	// node size requirements
	NodeSizeRequirements *OpenstackNodeSizeRequirements `json:"node_size_requirements,omitempty"`
}

DatacenterSpecOpenstack DatacenterSpecOpenstack describes an OpenStack datacenter

swagger:model DatacenterSpecOpenstack

func (*DatacenterSpecOpenstack) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecOpenstack) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecOpenstack) Validate

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

Validate validates this datacenter spec openstack

type DatacenterSpecPacket

type DatacenterSpecPacket struct {

	// The list of enabled facilities, for example "ams1", for a full list of available
	// facilities see https://support.packet.com/kb/articles/data-centers
	Facilities []string `json:"facilities"`
}

DatacenterSpecPacket DatacenterSpecPacket describes a Packet datacenter

swagger:model DatacenterSpecPacket

func (*DatacenterSpecPacket) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecPacket) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecPacket) Validate

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

Validate validates this datacenter spec packet

type DatacenterSpecVSphere

type DatacenterSpecVSphere struct {

	// If set to true, disables the TLS certificate check against the endpoint.
	AllowInsecure bool `json:"allow_insecure,omitempty"`

	// The name of the Kubernetes cluster to use.
	Cluster string `json:"cluster,omitempty"`

	// The name of the datacenter to use.
	Datacenter string `json:"datacenter,omitempty"`

	// The name of the datastore to use.
	Datastore string `json:"datastore,omitempty"`

	// Endpoint URL to use, including protocol, for example "https://vcenter.example.com".
	Endpoint string `json:"endpoint,omitempty"`

	// Optional: The root path for cluster specific VM folders. Each cluster gets its own
	// folder below the root folder. Must be the FQDN (for example
	// "/datacenter-1/vm/all-kubermatic-vms-in-here") and defaults to the root VM
	// folder: "/datacenter-1/vm"
	RootPath string `json:"root_path,omitempty"`

	// infra management user
	InfraManagementUser *VSphereCredentials `json:"infra_management_user,omitempty"`

	// templates
	Templates ImageList `json:"templates,omitempty"`
}

DatacenterSpecVSphere DatacenterSpecVSphere describes a vSphere datacenter

swagger:model DatacenterSpecVSphere

func (*DatacenterSpecVSphere) MarshalBinary

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

MarshalBinary interface implementation

func (*DatacenterSpecVSphere) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatacenterSpecVSphere) Validate

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

Validate validates this datacenter spec v sphere

type DigitaloceanCloudSpec

type DigitaloceanCloudSpec struct {

	// token
	Token string `json:"token,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

DigitaloceanCloudSpec DigitaloceanCloudSpec specifies access data to DigitalOcean.

swagger:model DigitaloceanCloudSpec

func (*DigitaloceanCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*DigitaloceanCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DigitaloceanCloudSpec) Validate

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

Validate validates this digitalocean cloud spec

type DigitaloceanNodeSpec

type DigitaloceanNodeSpec struct {

	// enable backups for the droplet
	Backups bool `json:"backups,omitempty"`

	// enable ipv6 for the droplet
	IPV6 bool `json:"ipv6,omitempty"`

	// enable monitoring for the droplet
	Monitoring bool `json:"monitoring,omitempty"`

	// droplet size slug
	// Required: true
	Size *string `json:"size"`

	// additional droplet tags
	Tags []string `json:"tags"`
}

DigitaloceanNodeSpec DigitaloceanNodeSpec digitalocean node settings

swagger:model DigitaloceanNodeSpec

func (*DigitaloceanNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*DigitaloceanNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DigitaloceanNodeSpec) Validate

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

Validate validates this digitalocean node spec

type DigitaloceanSize

type DigitaloceanSize struct {

	// available
	Available bool `json:"available,omitempty"`

	// disk
	Disk int64 `json:"disk,omitempty"`

	// memory
	Memory int64 `json:"memory,omitempty"`

	// price hourly
	PriceHourly float64 `json:"price_hourly,omitempty"`

	// price monthly
	PriceMonthly float64 `json:"price_monthly,omitempty"`

	// regions
	Regions []string `json:"regions"`

	// slug
	Slug string `json:"slug,omitempty"`

	// transfer
	Transfer float64 `json:"transfer,omitempty"`

	// v c p us
	VCPUs int64 `json:"vcpus,omitempty"`
}

DigitaloceanSize DigitaloceanSize is the object representing digitalocean sizes.

swagger:model DigitaloceanSize

func (*DigitaloceanSize) MarshalBinary

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

MarshalBinary interface implementation

func (*DigitaloceanSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DigitaloceanSize) Validate

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

Validate validates this digitalocean size

type DigitaloceanSizeList

type DigitaloceanSizeList struct {

	// optimized
	Optimized []*DigitaloceanSize `json:"optimized"`

	// standard
	Standard []*DigitaloceanSize `json:"standard"`
}

DigitaloceanSizeList DigitaloceanSizeList represents a object of digitalocean sizes.

swagger:model DigitaloceanSizeList

func (*DigitaloceanSizeList) MarshalBinary

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

MarshalBinary interface implementation

func (*DigitaloceanSizeList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DigitaloceanSizeList) Validate

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

Validate validates this digitalocean size list

type DigitialoceanDatacenterSpec

type DigitialoceanDatacenterSpec struct {

	// region
	Region string `json:"region,omitempty"`
}

DigitialoceanDatacenterSpec DigitialoceanDatacenterSpec specifies a datacenter of DigitalOcean.

swagger:model DigitialoceanDatacenterSpec

func (*DigitialoceanDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*DigitialoceanDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DigitialoceanDatacenterSpec) Validate

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

Validate validates this digitialocean datacenter spec

type ErrorDetails

type ErrorDetails struct {

	// Additional error messages
	Additional []string `json:"details"`

	// The error code
	// Required: true
	Code *int64 `json:"code"`

	// The error message
	// Required: true
	Message *string `json:"message"`
}

ErrorDetails ErrorDetails contains details about the error

swagger:model ErrorDetails

func (*ErrorDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorDetails) Validate

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

Validate validates this error details

type ErrorResponse

type ErrorResponse struct {

	// error
	Error *ErrorDetails `json:"error,omitempty"`
}

ErrorResponse ErrorResponse is the default representation of an error

swagger:model ErrorResponse

func (*ErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type Event

type Event struct {

	// The number of times this event has occurred.
	Count int32 `json:"count,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// The time at which the most recent occurrence of this event was recorded.
	// Format: date-time
	LastTimestamp strfmt.DateTime `json:"lastTimestamp,omitempty"`

	// A human-readable description of the status of this operation.
	Message string `json:"message,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Type of this event (i.e. normal or warning). New types could be added in the future.
	Type string `json:"type,omitempty"`

	// involved object
	InvolvedObject *ObjectReferenceResource `json:"involvedObject,omitempty"`
}

Event Event is a report of an event somewhere in the cluster.

swagger:model Event

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type ExecConfig

type ExecConfig struct {

	// Preferred input version of the ExecInfo. The returned ExecCredentials MUST use
	// the same encoding version as the input.
	APIVersion string `json:"apiVersion,omitempty"`

	// Arguments to pass to the command when executing it.
	// +optional
	Args []string `json:"args"`

	// Command to execute.
	Command string `json:"command,omitempty"`

	// Env defines additional environment variables to expose to the process. These
	// are unioned with the host's environment, as well as variables client-go uses
	// to pass argument to the plugin.
	// +optional
	Env []*ExecEnvVar `json:"env"`
}

ExecConfig ExecConfig specifies a command to provide client credentials. The command is exec'd and outputs structured stdout holding credentials.

See the client.authentiction.k8s.io API group for specifications of the exact input and output format

swagger:model ExecConfig

func (*ExecConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecConfig) Validate

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

Validate validates this exec config

type ExecEnvVar

type ExecEnvVar struct {

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

	// value
	Value string `json:"value,omitempty"`
}

ExecEnvVar ExecEnvVar is used for setting environment variables when executing an exec-based credential plugin.

swagger:model ExecEnvVar

func (*ExecEnvVar) MarshalBinary

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

MarshalBinary interface implementation

func (*ExecEnvVar) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExecEnvVar) Validate

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

Validate validates this exec env var

type FakeCloudSpec

type FakeCloudSpec struct {

	// token
	Token string `json:"token,omitempty"`
}

FakeCloudSpec FakeCloudSpec specifies access data for a fake cloud.

swagger:model FakeCloudSpec

func (*FakeCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*FakeCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FakeCloudSpec) Validate

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

Validate validates this fake cloud spec

type FlatcarSpec

type FlatcarSpec struct {

	// disable flatcar linux auto-update feature
	DisableAutoUpdate bool `json:"disableAutoUpdate,omitempty"`
}

FlatcarSpec FlatcarSpec contains Flatcar Linux specific settings

swagger:model FlatcarSpec

func (*FlatcarSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*FlatcarSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FlatcarSpec) Validate

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

Validate validates this flatcar spec

type GCPCloudSpec

type GCPCloudSpec struct {

	// network
	Network string `json:"network,omitempty"`

	// service account
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// subnetwork
	Subnetwork string `json:"subnetwork,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

GCPCloudSpec GCPCloudSpec specifies access data to GCP.

swagger:model GCPCloudSpec

func (*GCPCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPCloudSpec) Validate

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

Validate validates this g c p cloud spec

type GCPDatacenterSpec

type GCPDatacenterSpec struct {

	// region
	Region string `json:"region,omitempty"`

	// regional
	Regional bool `json:"regional,omitempty"`

	// zone suffixes
	ZoneSuffixes []string `json:"zone_suffixes"`
}

GCPDatacenterSpec GCPDatacenterSpec specifies a datacenter of GCP.

swagger:model GCPDatacenterSpec

func (*GCPDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPDatacenterSpec) Validate

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

Validate validates this g c p datacenter spec

type GCPDiskType

type GCPDiskType struct {

	// description
	Description string `json:"description,omitempty"`

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

GCPDiskType GCPDiskType represents a object of GCP disk type.

swagger:model GCPDiskType

func (*GCPDiskType) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPDiskType) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPDiskType) Validate

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

Validate validates this g c p disk type

type GCPDiskTypeList

type GCPDiskTypeList []*GCPDiskType

GCPDiskTypeList GCPDiskTypeList represents an array of GCP disk types.

swagger:model GCPDiskTypeList

func (GCPDiskTypeList) Validate

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

Validate validates this g c p disk type list

type GCPMachineSize

type GCPMachineSize struct {

	// description
	Description string `json:"description,omitempty"`

	// memory
	Memory int64 `json:"memory,omitempty"`

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

	// v c p us
	VCPUs int64 `json:"vcpus,omitempty"`
}

GCPMachineSize GCPMachineSize represents a object of GCP machine size.

swagger:model GCPMachineSize

func (*GCPMachineSize) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPMachineSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPMachineSize) Validate

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

Validate validates this g c p machine size

type GCPMachineSizeList

type GCPMachineSizeList []*GCPMachineSize

GCPMachineSizeList GCPMachineSizeList represents an array of GCP machine sizes.

swagger:model GCPMachineSizeList

func (GCPMachineSizeList) Validate

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

Validate validates this g c p machine size list

type GCPNetwork

type GCPNetwork struct {

	// auto create subnetworks
	AutoCreateSubnetworks bool `json:"autoCreateSubnetworks,omitempty"`

	// ID
	ID uint64 `json:"id,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

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

	// path
	Path string `json:"path,omitempty"`

	// subnetworks
	Subnetworks []string `json:"subnetworks"`
}

GCPNetwork GCPNetwork represents a object of GCP networks.

swagger:model GCPNetwork

func (*GCPNetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPNetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPNetwork) Validate

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

Validate validates this g c p network

type GCPNetworkList

type GCPNetworkList []*GCPNetwork

GCPNetworkList GCPNetworkList represents an array of GCP networks.

swagger:model GCPNetworkList

func (GCPNetworkList) Validate

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

Validate validates this g c p network list

type GCPNodeSpec

type GCPNodeSpec struct {

	// custom image
	CustomImage string `json:"customImage,omitempty"`

	// disk size
	DiskSize int64 `json:"diskSize,omitempty"`

	// disk type
	DiskType string `json:"diskType,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// machine type
	MachineType string `json:"machineType,omitempty"`

	// preemptible
	Preemptible bool `json:"preemptible,omitempty"`

	// tags
	Tags []string `json:"tags"`

	// zone
	Zone string `json:"zone,omitempty"`
}

GCPNodeSpec GCPNodeSpec gcp specific node settings

swagger:model GCPNodeSpec

func (*GCPNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPNodeSpec) Validate

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

Validate validates this g c p node spec

type GCPSubnetwork

type GCPSubnetwork struct {

	// gateway address
	GatewayAddress string `json:"gatewayAddress,omitempty"`

	// ID
	ID uint64 `json:"id,omitempty"`

	// IP cidr range
	IPCidrRange string `json:"ipCidrRange,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

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

	// network
	Network string `json:"network,omitempty"`

	// private IP google access
	PrivateIPGoogleAccess bool `json:"privateIpGoogleAccess,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// self link
	SelfLink string `json:"selfLink,omitempty"`
}

GCPSubnetwork GCPSubnetwork represents a object of GCP subnetworks.

swagger:model GCPSubnetwork

func (*GCPSubnetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPSubnetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPSubnetwork) Validate

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

Validate validates this g c p subnetwork

type GCPSubnetworkList

type GCPSubnetworkList []*GCPSubnetwork

GCPSubnetworkList GCPSubnetworkList represents an array of GCP subnetworks.

swagger:model GCPSubnetworkList

func (GCPSubnetworkList) Validate

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

Validate validates this g c p subnetwork list

type GCPZone

type GCPZone struct {

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

GCPZone GCPZone represents a object of GCP zone.

swagger:model GCPZone

func (*GCPZone) MarshalBinary

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

MarshalBinary interface implementation

func (*GCPZone) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GCPZone) Validate

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

Validate validates this g c p zone

type GCPZoneList

type GCPZoneList []*GCPZone

GCPZoneList GCPZoneList represents an array of GCP zones.

swagger:model GCPZoneList

func (GCPZoneList) Validate

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

Validate validates this g c p zone list

type GlobalCustomLinks []*CustomLink

GlobalCustomLinks GlobalCustomLinks defines custom links for global settings

swagger:model GlobalCustomLinks

func (GlobalCustomLinks) Validate

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

Validate validates this global custom links

type GlobalObjectKeySelector

type GlobalObjectKeySelector struct {

	// API version of the referent.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
	// For example, if the object reference is to a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that triggered
	// the event) or if no container name is specified "spec.containers[2]" (container with
	// index 2 in this pod). This syntax is chosen only to have some well-defined way of
	// referencing a part of an object.
	// TODO: this design is not final and this field is subject to change in the future.
	// +optional
	FieldPath string `json:"fieldPath,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// uid
	UID UID `json:"uid,omitempty"`
}

GlobalObjectKeySelector GlobalObjectKeySelector is needed as we can not use v1.SecretKeySelector because it is not cross namespace

swagger:model GlobalObjectKeySelector

func (*GlobalObjectKeySelector) MarshalBinary

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

MarshalBinary interface implementation

func (*GlobalObjectKeySelector) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GlobalObjectKeySelector) Validate

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

Validate validates this global object key selector

type GlobalSecretKeySelector

type GlobalSecretKeySelector struct {
	GlobalObjectKeySelector
}

GlobalSecretKeySelector global secret key selector

swagger:model GlobalSecretKeySelector

func (GlobalSecretKeySelector) MarshalJSON

func (m GlobalSecretKeySelector) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GlobalSecretKeySelector) UnmarshalJSON

func (m *GlobalSecretKeySelector) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GlobalSecretKeySelector) Validate

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

Validate validates this global secret key selector

type GlobalSettings

type GlobalSettings struct {
	SettingSpec
}

GlobalSettings GlobalSettings defines global settings

swagger:model GlobalSettings

func (GlobalSettings) MarshalJSON

func (m GlobalSettings) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GlobalSettings) UnmarshalJSON

func (m *GlobalSettings) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GlobalSettings) Validate

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

Validate validates this global settings

type HealthStatus

type HealthStatus int64

HealthStatus health status

swagger:model HealthStatus

func (HealthStatus) Validate

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

Validate validates this health status

type HetznerCloudSpec

type HetznerCloudSpec struct {

	// token
	Token string `json:"token,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

HetznerCloudSpec HetznerCloudSpec specifies access data to hetzner cloud.

swagger:model HetznerCloudSpec

func (*HetznerCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*HetznerCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HetznerCloudSpec) Validate

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

Validate validates this hetzner cloud spec

type HetznerDatacenterSpec

type HetznerDatacenterSpec struct {

	// datacenter
	Datacenter string `json:"datacenter,omitempty"`

	// location
	Location string `json:"location,omitempty"`
}

HetznerDatacenterSpec HetznerDatacenterSpec specifies a datacenter of Hetzner.

swagger:model HetznerDatacenterSpec

func (*HetznerDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*HetznerDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HetznerDatacenterSpec) Validate

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

Validate validates this hetzner datacenter spec

type HetznerNodeSpec

type HetznerNodeSpec struct {

	// server type
	// Required: true
	Type *string `json:"type"`
}

HetznerNodeSpec HetznerNodeSpec Hetzner node settings

swagger:model HetznerNodeSpec

func (*HetznerNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*HetznerNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HetznerNodeSpec) Validate

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

Validate validates this hetzner node spec

type HetznerSize

type HetznerSize struct {

	// cores
	Cores int64 `json:"cores,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// disk
	Disk int64 `json:"disk,omitempty"`

	// ID
	ID int64 `json:"id,omitempty"`

	// memory
	Memory float32 `json:"memory,omitempty"`

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

HetznerSize HetznerSize is the object representing Hetzner sizes.

swagger:model HetznerSize

func (*HetznerSize) MarshalBinary

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

MarshalBinary interface implementation

func (*HetznerSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HetznerSize) Validate

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

Validate validates this hetzner size

type HetznerSizeList

type HetznerSizeList struct {

	// dedicated
	Dedicated []*HetznerSize `json:"dedicated"`

	// standard
	Standard []*HetznerSize `json:"standard"`
}

HetznerSizeList HetznerSizeList represents an array of Hetzner sizes.

swagger:model HetznerSizeList

func (*HetznerSizeList) MarshalBinary

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

MarshalBinary interface implementation

func (*HetznerSizeList) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HetznerSizeList) Validate

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

Validate validates this hetzner size list

type ImageList

type ImageList map[string]string

ImageList ImageList defines a map of operating system and the image to use

swagger:model ImageList

func (ImageList) Validate

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

Validate validates this image list

type KubermaticVersions

type KubermaticVersions struct {

	// Version of the Kubermatic API server.
	API string `json:"api,omitempty"`
}

KubermaticVersions KubermaticVersions describes the versions of running Kubermatic components.

swagger:model KubermaticVersions

func (*KubermaticVersions) MarshalBinary

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

MarshalBinary interface implementation

func (*KubermaticVersions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KubermaticVersions) Validate

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

Validate validates this kubermatic versions

type KubevirtCloudSpec

type KubevirtCloudSpec struct {

	// kubeconfig
	Kubeconfig string `json:"kubeconfig,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

KubevirtCloudSpec KubevirtCloudSpec specifies the access data to Kubevirt.

swagger:model KubevirtCloudSpec

func (*KubevirtCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*KubevirtCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KubevirtCloudSpec) Validate

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

Validate validates this kubevirt cloud spec

type KubevirtDatacenterSpec

type KubevirtDatacenterSpec interface{}

KubevirtDatacenterSpec KubevirtDatacenterSpec specifies a datacenter of Kubevirt.

swagger:model KubevirtDatacenterSpec

type KubevirtNodeSpec

type KubevirtNodeSpec struct {

	// CPUs states how many cpus the kubevirt node will have.
	// Required: true
	CPUs *string `json:"cpus"`

	// Memory states the memory that kubevirt node will have.
	// Required: true
	Memory *string `json:"memory"`

	// Namespace states in which namespace kubevirt node will be provisioned.
	// Required: true
	Namespace *string `json:"namespace"`

	// PVCSize states the size of the provisioned pvc per node.
	// Required: true
	PVCSize *string `json:"pvcSize"`

	// SourceURL states the url from which the imported image will be downloaded.
	// Required: true
	SourceURL *string `json:"sourceURL"`

	// StorageClassName states the storage class name for the provisioned PVCs.
	// Required: true
	StorageClassName *string `json:"storageClassName"`
}

KubevirtNodeSpec KubevirtNodeSpec kubevirt specific node settings

swagger:model KubevirtNodeSpec

func (*KubevirtNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*KubevirtNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KubevirtNodeSpec) Validate

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

Validate validates this kubevirt node spec

type LabelKeyList

type LabelKeyList []string

LabelKeyList label key list

swagger:model LabelKeyList

func (LabelKeyList) Validate

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

Validate validates this label key list

type LegacyObjectMeta deprecated

type LegacyObjectMeta struct {

	// annotations
	Annotations map[string]string `json:"annotations,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

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

	// resource version
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// UID
	UID string `json:"uid,omitempty"`
}

LegacyObjectMeta LegacyObjectMeta is an object storing common metadata for persistable objects.

Deprecated: LegacyObjectMeta is deprecated use ObjectMeta instead.

swagger:model LegacyObjectMeta

func (*LegacyObjectMeta) MarshalBinary

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

MarshalBinary interface implementation

func (*LegacyObjectMeta) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LegacyObjectMeta) Validate

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

Validate validates this legacy object meta

type MachineDeploymentStatus

type MachineDeploymentStatus struct {

	// Total number of available machines (ready for at least minReadySeconds)
	// targeted by this deployment.
	// +optional
	AvailableReplicas int32 `json:"availableReplicas,omitempty"`

	// The generation observed by the deployment controller.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// Total number of ready machines targeted by this deployment.
	// +optional
	ReadyReplicas int32 `json:"readyReplicas,omitempty"`

	// Total number of non-terminated machines targeted by this deployment
	// (their labels match the selector).
	// +optional
	Replicas int32 `json:"replicas,omitempty"`

	// Total number of unavailable machines targeted by this deployment.
	// This is the total number of machines that are still required for
	// the deployment to have 100% available capacity. They may either
	// be machines that are running but not yet available or machines
	// that still have not been created.
	// +optional
	UnavailableReplicas int32 `json:"unavailableReplicas,omitempty"`

	// Total number of non-terminated machines targeted by this deployment
	// that have the desired template spec.
	// +optional
	UpdatedReplicas int32 `json:"updatedReplicas,omitempty"`
}

MachineDeploymentStatus MachineDeploymentStatus MachineDeploymentStatus defines the observed state of MachineDeployment

swagger:model MachineDeploymentStatus

func (*MachineDeploymentStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*MachineDeploymentStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MachineDeploymentStatus) Validate

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

Validate validates this machine deployment status

type MachineNetworkingConfig

type MachineNetworkingConfig struct {

	// c ID r
	CIDR string `json:"cidr,omitempty"`

	// DNS servers
	DNSServers []string `json:"dnsServers"`

	// gateway
	Gateway string `json:"gateway,omitempty"`
}

MachineNetworkingConfig MachineNetworkingConfig specifies the networking parameters used for IPAM.

swagger:model MachineNetworkingConfig

func (*MachineNetworkingConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*MachineNetworkingConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MachineNetworkingConfig) Validate

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

Validate validates this machine networking config

type MasterVersion

type MasterVersion struct {

	// default
	Default bool `json:"default,omitempty"`

	// If true, then given version control plane version is not compatible
	// with one of the kubelets inside cluster and shouldn't be used.
	RestrictedByKubeletVersion bool `json:"restrictedByKubeletVersion,omitempty"`

	// version
	Version Version `json:"version,omitempty"`
}

MasterVersion MasterVersion describes a version of the master components

swagger:model MasterVersion

func (*MasterVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*MasterVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*MasterVersion) Validate

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

Validate validates this master version

type NamedAuthInfo

type NamedAuthInfo struct {

	// Name is the nickname for this AuthInfo
	Name string `json:"name,omitempty"`

	// user
	User *AuthInfo `json:"user,omitempty"`
}

NamedAuthInfo NamedAuthInfo relates nicknames to auth information

swagger:model NamedAuthInfo

func (*NamedAuthInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NamedAuthInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamedAuthInfo) Validate

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

Validate validates this named auth info

type NamedCluster

type NamedCluster struct {

	// Name is the nickname for this Cluster
	Name string `json:"name,omitempty"`

	// cluster
	Cluster *Cluster `json:"cluster,omitempty"`
}

NamedCluster NamedCluster relates nicknames to cluster information

swagger:model NamedCluster

func (*NamedCluster) MarshalBinary

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

MarshalBinary interface implementation

func (*NamedCluster) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamedCluster) Validate

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

Validate validates this named cluster

type NamedContext

type NamedContext struct {

	// Name is the nickname for this Context
	Name string `json:"name,omitempty"`

	// context
	Context *Context `json:"context,omitempty"`
}

NamedContext NamedContext relates nicknames to context information

swagger:model NamedContext

func (*NamedContext) MarshalBinary

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

MarshalBinary interface implementation

func (*NamedContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamedContext) Validate

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

Validate validates this named context

type NamedExtension

type NamedExtension struct {

	// Name is the nickname for this Extension
	Name string `json:"name,omitempty"`

	// extension
	Extension RawExtension `json:"extension,omitempty"`
}

NamedExtension NamedExtension relates nicknames to extension information

swagger:model NamedExtension

func (*NamedExtension) MarshalBinary

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

MarshalBinary interface implementation

func (*NamedExtension) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NamedExtension) Validate

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

Validate validates this named extension

type Namespace

type Namespace struct {

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

Namespace Namespace defines namespace

swagger:model Namespace

func (*Namespace) MarshalBinary

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

MarshalBinary interface implementation

func (*Namespace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Namespace) Validate

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

Validate validates this namespace

type Node

type Node struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

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

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

Node Node represents a worker node that is part of a cluster

swagger:model Node

func (*Node) MarshalBinary

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

MarshalBinary interface implementation

func (*Node) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Node) Validate

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

Validate validates this node

type NodeAddress

type NodeAddress struct {

	// address
	Address string `json:"address,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

NodeAddress NodeAddress contains information for the node's address.

swagger:model NodeAddress

func (*NodeAddress) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeAddress) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeAddress) Validate

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

Validate validates this node address

type NodeCloudSpec

type NodeCloudSpec struct {

	// alibaba
	Alibaba *AlibabaNodeSpec `json:"alibaba,omitempty"`

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

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

	// digitalocean
	Digitalocean *DigitaloceanNodeSpec `json:"digitalocean,omitempty"`

	// gcp
	Gcp *GCPNodeSpec `json:"gcp,omitempty"`

	// hetzner
	Hetzner *HetznerNodeSpec `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt *KubevirtNodeSpec `json:"kubevirt,omitempty"`

	// openstack
	Openstack *OpenstackNodeSpec `json:"openstack,omitempty"`

	// packet
	Packet *PacketNodeSpec `json:"packet,omitempty"`

	// vsphere
	Vsphere *VSphereNodeSpec `json:"vsphere,omitempty"`
}

NodeCloudSpec NodeCloudSpec represents the collection of cloud provider specific settings. Only one must be set at a time.

swagger:model NodeCloudSpec

func (*NodeCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeCloudSpec) Validate

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

Validate validates this node cloud spec

type NodeDeployment

type NodeDeployment struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

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

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

NodeDeployment NodeDeployment represents a set of worker nodes that is part of a cluster

swagger:model NodeDeployment

func (*NodeDeployment) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeDeployment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeDeployment) Validate

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

Validate validates this node deployment

type NodeDeploymentSpec

type NodeDeploymentSpec struct {

	// dynamic config
	DynamicConfig bool `json:"dynamicConfig,omitempty"`

	// paused
	Paused bool `json:"paused,omitempty"`

	// replicas
	// Required: true
	Replicas *int32 `json:"replicas"`

	// template
	// Required: true
	Template *NodeSpec `json:"template"`
}

NodeDeploymentSpec NodeDeploymentSpec node deployment specification

swagger:model NodeDeploymentSpec

func (*NodeDeploymentSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeDeploymentSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeDeploymentSpec) Validate

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

Validate validates this node deployment spec

type NodeMetric

type NodeMetric struct {

	// CPU available millicores
	CPUAvailableMillicores int64 `json:"cpuAvailableMillicores,omitempty"`

	// CPUTotalMillicores in m cores
	CPUTotalMillicores int64 `json:"cpuTotalMillicores,omitempty"`

	// CPUUsedPercentage in percentage
	CPUUsedPercentage int64 `json:"cpuUsedPercentage,omitempty"`

	// MemoryAvailableBytes available memory for node
	MemoryAvailableBytes int64 `json:"memoryAvailableBytes,omitempty"`

	// MemoryTotalBytes current memory usage in bytes
	MemoryTotalBytes int64 `json:"memoryTotalBytes,omitempty"`

	// MemoryUsedPercentage in percentage
	MemoryUsedPercentage int64 `json:"memoryUsedPercentage,omitempty"`

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

NodeMetric NodeMetric defines a metric for the given node

swagger:model NodeMetric

func (*NodeMetric) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeMetric) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeMetric) Validate

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

Validate validates this node metric

type NodeResources

type NodeResources struct {

	// CPU
	CPU string `json:"cpu,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`
}

NodeResources NodeResources cpu and memory of a node

swagger:model NodeResources

func (*NodeResources) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeResources) Validate

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

Validate validates this node resources

type NodeSettings

type NodeSettings struct {

	// Optional: The hyperkube image to use. Currently only Container Linux
	// makes use of this option.
	HyperkubeImage string `json:"hyperkube_image,omitempty"`

	// Optional: These image registries will be configured as insecure
	// on the container runtime.
	InsecureRegistries []string `json:"insecure_registries"`

	// Optional: Translates to --pod-infra-container-image on the kubelet.
	// If not set, the kubelet will default it.
	PauseImage string `json:"pause_image,omitempty"`

	// http proxy
	HTTPProxy ProxyValue `json:"http_proxy,omitempty"`

	// no proxy
	NoProxy ProxyValue `json:"no_proxy,omitempty"`
}

NodeSettings NodeSettings are node specific flags which can be configured on datacenter level

swagger:model NodeSettings

func (*NodeSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeSettings) Validate

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

Validate validates this node settings

type NodeSpec

type NodeSpec struct {

	// Map of string keys and values that can be used to organize and categorize (scope and select) objects.
	// It will be applied to Nodes allowing users run their apps on specific Node using labelSelector.
	Labels map[string]string `json:"labels,omitempty"`

	// SSH user name
	SSHUserName string `json:"sshUserName,omitempty"`

	// List of taints to set on new nodes
	Taints []*TaintSpec `json:"taints"`

	// cloud
	// Required: true
	Cloud *NodeCloudSpec `json:"cloud"`

	// operating system
	// Required: true
	OperatingSystem *OperatingSystemSpec `json:"operatingSystem"`

	// versions
	// Required: true
	Versions *NodeVersionInfo `json:"versions"`
}

NodeSpec NodeSpec node specification

swagger:model NodeSpec

func (*NodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeSpec) Validate

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

Validate validates this node spec

type NodeStatus

type NodeStatus struct {

	// different addresses of a node
	Addresses []*NodeAddress `json:"addresses"`

	// in case of a error this will contain a detailed error explanation
	ErrorMessage string `json:"errorMessage,omitempty"`

	// in case of a error this will contain a short error message
	ErrorReason string `json:"errorReason,omitempty"`

	// name of the actual Machine object
	MachineName string `json:"machineName,omitempty"`

	// allocatable
	Allocatable *NodeResources `json:"allocatable,omitempty"`

	// capacity
	Capacity *NodeResources `json:"capacity,omitempty"`

	// node info
	NodeInfo *NodeSystemInfo `json:"nodeInfo,omitempty"`
}

NodeStatus NodeStatus is information about the current status of a node.

swagger:model NodeStatus

func (*NodeStatus) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeStatus) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeStatus) Validate

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

Validate validates this node status

type NodeSystemInfo

type NodeSystemInfo struct {

	// architecture
	Architecture string `json:"architecture,omitempty"`

	// container runtime
	ContainerRuntime string `json:"containerRuntime,omitempty"`

	// container runtime version
	ContainerRuntimeVersion string `json:"containerRuntimeVersion,omitempty"`

	// kernel version
	KernelVersion string `json:"kernelVersion,omitempty"`

	// kubelet version
	KubeletVersion string `json:"kubeletVersion,omitempty"`

	// operating system
	OperatingSystem string `json:"operatingSystem,omitempty"`
}

NodeSystemInfo NodeSystemInfo is a set of versions/ids/uuids to uniquely identify the node.

swagger:model NodeSystemInfo

func (*NodeSystemInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeSystemInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeSystemInfo) Validate

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

Validate validates this node system info

type NodeVersionInfo

type NodeVersionInfo struct {

	// kubelet
	Kubelet string `json:"kubelet,omitempty"`
}

NodeVersionInfo NodeVersionInfo node version information

swagger:model NodeVersionInfo

func (*NodeVersionInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*NodeVersionInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodeVersionInfo) Validate

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

Validate validates this node version info

type NodesMetric

type NodesMetric struct {

	// CPU available millicores
	CPUAvailableMillicores int64 `json:"cpuAvailableMillicores,omitempty"`

	// CPUTotalMillicores in m cores
	CPUTotalMillicores int64 `json:"cpuTotalMillicores,omitempty"`

	// CPUUsedPercentage in percentage
	CPUUsedPercentage int64 `json:"cpuUsedPercentage,omitempty"`

	// MemoryAvailableBytes available memory for node
	MemoryAvailableBytes int64 `json:"memoryAvailableBytes,omitempty"`

	// MemoryTotalBytes current memory usage in bytes
	MemoryTotalBytes int64 `json:"memoryTotalBytes,omitempty"`

	// MemoryUsedPercentage in percentage
	MemoryUsedPercentage int64 `json:"memoryUsedPercentage,omitempty"`
}

NodesMetric NodesMetric defines a metric for a group of nodes

swagger:model NodesMetric

func (*NodesMetric) MarshalBinary

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

MarshalBinary interface implementation

func (*NodesMetric) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NodesMetric) Validate

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

Validate validates this nodes metric

type OIDCSettings

type OIDCSettings struct {

	// client ID
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// extra scopes
	ExtraScopes string `json:"extraScopes,omitempty"`

	// groups claim
	GroupsClaim string `json:"groupsClaim,omitempty"`

	// issuer URL
	IssuerURL string `json:"issuerUrl,omitempty"`

	// required claim
	RequiredClaim string `json:"requiredClaim,omitempty"`

	// username claim
	UsernameClaim string `json:"usernameClaim,omitempty"`
}

OIDCSettings o ID c settings

swagger:model OIDCSettings

func (*OIDCSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*OIDCSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OIDCSettings) Validate

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

Validate validates this o ID c settings

type ObjectMeta

type ObjectMeta struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`
}

ObjectMeta ObjectMeta defines the set of fields that objects returned from the API have

swagger:model ObjectMeta

func (*ObjectMeta) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectMeta) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectMeta) Validate

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

Validate validates this object meta

type ObjectReference

type ObjectReference struct {

	// API version of the referent.
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// If referring to a piece of an object instead of an entire object, this string
	// should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
	// For example, if the object reference is to a container within a pod, this would take on a value like:
	// "spec.containers{name}" (where "name" refers to the name of the container that triggered
	// the event) or if no container name is specified "spec.containers[2]" (container with
	// index 2 in this pod). This syntax is chosen only to have some well-defined way of
	// referencing a part of an object.
	// TODO: this design is not final and this field is subject to change in the future.
	// +optional
	FieldPath string `json:"fieldPath,omitempty"`

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Specific resourceVersion to which this reference is made, if any.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// uid
	UID UID `json:"uid,omitempty"`
}

ObjectReference ObjectReference contains enough information to let you inspect or modify the referred object.

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

swagger:model ObjectReference

func (*ObjectReference) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectReference) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectReference) Validate

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

Validate validates this object reference

type ObjectReferenceResource

type ObjectReferenceResource struct {

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// Type of the referent.
	Type string `json:"type,omitempty"`
}

ObjectReferenceResource ObjectReferenceResource contains basic information about referred object.

swagger:model ObjectReferenceResource

func (*ObjectReferenceResource) MarshalBinary

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

MarshalBinary interface implementation

func (*ObjectReferenceResource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ObjectReferenceResource) Validate

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

Validate validates this object reference resource

type Openshift

type Openshift struct {

	// image pull secret
	ImagePullSecret string `json:"imagePullSecret,omitempty"`
}

Openshift openshift

swagger:model Openshift

func (*Openshift) MarshalBinary

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

MarshalBinary interface implementation

func (*Openshift) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Openshift) Validate

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

Validate validates this openshift

type OpenstackCloudSpec

type OpenstackCloudSpec struct {

	// domain
	Domain string `json:"domain,omitempty"`

	// FloatingIPPool holds the name of the public network
	// The public network is reachable from the outside world
	// and should provide the pool of IP addresses to choose from.
	//
	// When specified, all worker nodes will receive a public ip from this floating ip pool
	//
	// Note that the network is external if the "External" field is set to true
	FloatingIPPool string `json:"floatingIpPool,omitempty"`

	// Network holds the name of the internal network
	// When specified, all worker nodes will be attached to this network. If not specified, a network, subnet & router will be created
	//
	// Note that the network is internal if the "External" field is set to false
	Network string `json:"network,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// router ID
	RouterID string `json:"routerID,omitempty"`

	// security groups
	SecurityGroups string `json:"securityGroups,omitempty"`

	// subnet ID
	SubnetID string `json:"subnetID,omitempty"`

	// tenant
	Tenant string `json:"tenant,omitempty"`

	// tenant ID
	TenantID string `json:"tenantID,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

OpenstackCloudSpec OpenstackCloudSpec specifies access data to an OpenStack cloud.

swagger:model OpenstackCloudSpec

func (*OpenstackCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackCloudSpec) Validate

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

Validate validates this openstack cloud spec

type OpenstackDatacenterSpec

type OpenstackDatacenterSpec struct {

	// auth URL
	AuthURL string `json:"auth_url,omitempty"`

	// availability zone
	AvailabilityZone string `json:"availability_zone,omitempty"`

	// enforce floating IP
	EnforceFloatingIP bool `json:"enforce_floating_ip,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// images
	Images ImageList `json:"images,omitempty"`
}

OpenstackDatacenterSpec OpenstackDatacenterSpec specifies a generic bare metal datacenter.

swagger:model OpenstackDatacenterSpec

func (*OpenstackDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackDatacenterSpec) Validate

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

Validate validates this openstack datacenter spec

type OpenstackNetwork

type OpenstackNetwork struct {

	// External set if network is the external network
	External bool `json:"external,omitempty"`

	// Id uniquely identifies the current network
	ID string `json:"id,omitempty"`

	// Name is the name of the network
	Name string `json:"name,omitempty"`
}

OpenstackNetwork OpenstackNetwork is the object representing a openstack network.

swagger:model OpenstackNetwork

func (*OpenstackNetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackNetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackNetwork) Validate

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

Validate validates this openstack network

type OpenstackNodeSizeRequirements

type OpenstackNodeSizeRequirements struct {

	// MinimumMemory is the minimum required amount of memory, measured in MB
	MinimumMemory int64 `json:"minimum_memory,omitempty"`

	// VCPUs is the minimum required amount of (virtual) CPUs
	MinimumVCPUs int64 `json:"minimum_vcpus,omitempty"`
}

OpenstackNodeSizeRequirements openstack node size requirements

swagger:model OpenstackNodeSizeRequirements

func (*OpenstackNodeSizeRequirements) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackNodeSizeRequirements) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackNodeSizeRequirements) Validate

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

Validate validates this openstack node size requirements

type OpenstackNodeSpec

type OpenstackNodeSpec struct {

	// if not set, the default AZ from the Datacenter spec will be used
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// instance flavor
	// Required: true
	Flavor *string `json:"flavor"`

	// image to use
	// Required: true
	Image *string `json:"image"`

	// if set, the rootDisk will be a volume. If not, the rootDisk will be on ephemeral storage and its size will be derived from the flavor
	RootDiskSizeGB int64 `json:"diskSize,omitempty"`

	// Additional metadata to set
	Tags map[string]string `json:"tags,omitempty"`

	// Defines whether floating ip should be used
	UseFloatingIP bool `json:"useFloatingIP,omitempty"`
}

OpenstackNodeSpec OpenstackNodeSpec openstack node settings

swagger:model OpenstackNodeSpec

func (*OpenstackNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackNodeSpec) Validate

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

Validate validates this openstack node spec

type OpenstackSecurityGroup

type OpenstackSecurityGroup struct {

	// Id uniquely identifies the current security group
	ID string `json:"id,omitempty"`

	// Name is the name of the security group
	Name string `json:"name,omitempty"`
}

OpenstackSecurityGroup OpenstackSecurityGroup is the object representing a openstack security group.

swagger:model OpenstackSecurityGroup

func (*OpenstackSecurityGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackSecurityGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackSecurityGroup) Validate

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

Validate validates this openstack security group

type OpenstackSize

type OpenstackSize struct {

	// Disk is the amount of root disk, measured in GB
	Disk int64 `json:"disk,omitempty"`

	// IsPublic indicates whether the size is public (available to all projects) or scoped to a set of projects
	IsPublic bool `json:"isPublic,omitempty"`

	// MemoryTotalBytes is the amount of memory, measured in MB
	Memory int64 `json:"memory,omitempty"`

	// Region specifies the geographic region in which the size resides
	Region string `json:"region,omitempty"`

	// Slug holds  the name of the size
	Slug string `json:"slug,omitempty"`

	// Swap is the amount of swap space, measured in MB
	Swap int64 `json:"swap,omitempty"`

	// VCPUs indicates how many (virtual) CPUs are available for this flavor
	VCPUs int64 `json:"vcpus,omitempty"`
}

OpenstackSize OpenstackSize is the object representing openstack's sizes.

swagger:model OpenstackSize

func (*OpenstackSize) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackSize) Validate

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

Validate validates this openstack size

type OpenstackSubnet

type OpenstackSubnet struct {

	// Id uniquely identifies the subnet
	ID string `json:"id,omitempty"`

	// Name is human-readable name for the subnet
	Name string `json:"name,omitempty"`
}

OpenstackSubnet OpenstackSubnet is the object representing a openstack subnet.

swagger:model OpenstackSubnet

func (*OpenstackSubnet) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackSubnet) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackSubnet) Validate

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

Validate validates this openstack subnet

type OpenstackTenant

type OpenstackTenant struct {

	// Id uniquely identifies the current tenant
	ID string `json:"id,omitempty"`

	// Name is the name of the tenant
	Name string `json:"name,omitempty"`
}

OpenstackTenant OpenstackTenant is the object representing a openstack tenant.

swagger:model OpenstackTenant

func (*OpenstackTenant) MarshalBinary

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

MarshalBinary interface implementation

func (*OpenstackTenant) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OpenstackTenant) Validate

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

Validate validates this openstack tenant

type OperatingSystemSpec

type OperatingSystemSpec struct {

	// centos
	Centos *CentOSSpec `json:"centos,omitempty"`

	// container linux
	ContainerLinux *ContainerLinuxSpec `json:"containerLinux,omitempty"`

	// flatcar
	Flatcar *FlatcarSpec `json:"flatcar,omitempty"`

	// rhel
	Rhel *RHELSpec `json:"rhel,omitempty"`

	// sles
	Sles *SLESSpec `json:"sles,omitempty"`

	// ubuntu
	Ubuntu *UbuntuSpec `json:"ubuntu,omitempty"`
}

OperatingSystemSpec OperatingSystemSpec represents the collection of os specific settings. Only one must be set at a time.

swagger:model OperatingSystemSpec

func (*OperatingSystemSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*OperatingSystemSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OperatingSystemSpec) Validate

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

Validate validates this operating system spec

type PacketCPU

type PacketCPU struct {

	// count
	Count int64 `json:"count,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

PacketCPU PacketCPU represents an array of Packet CPUs. It is a part of PacketSize.

swagger:model PacketCPU

func (*PacketCPU) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketCPU) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketCPU) Validate

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

Validate validates this packet CPU

type PacketCloudSpec

type PacketCloudSpec struct {

	// API key
	APIKey string `json:"apiKey,omitempty"`

	// billing cycle
	BillingCycle string `json:"billingCycle,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`
}

PacketCloudSpec PacketCloudSpec specifies access data to a Packet cloud.

swagger:model PacketCloudSpec

func (*PacketCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketCloudSpec) Validate

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

Validate validates this packet cloud spec

type PacketDatacenterSpec

type PacketDatacenterSpec struct {

	// facilities
	Facilities []string `json:"facilities"`
}

PacketDatacenterSpec PacketDatacenterSpec specifies a datacenter of Packet.

swagger:model PacketDatacenterSpec

func (*PacketDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketDatacenterSpec) Validate

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

Validate validates this packet datacenter spec

type PacketDrive

type PacketDrive struct {

	// count
	Count int64 `json:"count,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// type
	Type string `json:"type,omitempty"`
}

PacketDrive PacketDrive represents an array of Packet drives. It is a part of PacketSize.

swagger:model PacketDrive

func (*PacketDrive) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketDrive) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketDrive) Validate

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

Validate validates this packet drive

type PacketNodeSpec

type PacketNodeSpec struct {

	// InstanceType denotes the plan to which the device will be provisioned.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// additional instance tags
	Tags []string `json:"tags"`
}

PacketNodeSpec PacketNodeSpec specifies packet specific node settings

swagger:model PacketNodeSpec

func (*PacketNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketNodeSpec) Validate

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

Validate validates this packet node spec

type PacketSize

type PacketSize struct {

	// c p us
	CPUs []*PacketCPU `json:"cpus"`

	// drives
	Drives []*PacketDrive `json:"drives"`

	// memory
	Memory string `json:"memory,omitempty"`

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

PacketSize PacketSize is the object representing Packet VM sizes.

swagger:model PacketSize

func (*PacketSize) MarshalBinary

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

MarshalBinary interface implementation

func (*PacketSize) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PacketSize) Validate

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

Validate validates this packet size

type PacketSizeList

type PacketSizeList []*PacketSize

PacketSizeList PacketSizeList represents an array of Packet VM sizes.

swagger:model PacketSizeList

func (PacketSizeList) Validate

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

Validate validates this packet size list

type PolicyRule

type PolicyRule struct {

	// APIGroups is the name of the APIGroup that contains the resources.  If multiple API groups are specified, any action requested against one of
	// the enumerated resources in any API group will be allowed.
	// +optional
	APIGroups []string `json:"apiGroups"`

	// NonResourceURLs is a set of partial urls that a user should have access to.  *s are allowed, but only as the full, final step in the path
	// Since non-resource URLs are not namespaced, this field is only applicable for ClusterRoles referenced from a ClusterRoleBinding.
	// Rules can either apply to API resources (such as "pods" or "secrets") or non-resource URL paths (such as "/api"),  but not both.
	// +optional
	NonResourceURLs []string `json:"nonResourceURLs"`

	// ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
	// +optional
	ResourceNames []string `json:"resourceNames"`

	// Resources is a list of resources this rule applies to.  ResourceAll represents all resources.
	// +optional
	Resources []string `json:"resources"`

	// Verbs is a list of Verbs that apply to ALL the ResourceKinds and AttributeRestrictions contained in this rule.  VerbAll represents all kinds.
	Verbs []string `json:"verbs"`
}

PolicyRule PolicyRule holds information that describes a policy rule, but does not contain information about who the rule applies to or which namespace the rule applies to.

swagger:model PolicyRule

func (*PolicyRule) MarshalBinary

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

MarshalBinary interface implementation

func (*PolicyRule) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PolicyRule) Validate

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

Validate validates this policy rule

type Preferences

type Preferences struct {

	// +optional
	Colors bool `json:"colors,omitempty"`

	// Extensions holds additional information. This is useful for extenders so that reads and writes don't clobber unknown fields
	// +optional
	Extensions []*NamedExtension `json:"extensions"`
}

Preferences preferences

swagger:model Preferences

func (*Preferences) MarshalBinary

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

MarshalBinary interface implementation

func (*Preferences) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Preferences) Validate

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

Validate validates this preferences

type Project

type Project struct {

	// clusters number
	ClustersNumber int64 `json:"clustersNumber,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// labels
	Labels map[string]string `json:"labels,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Owners an optional owners list for the given project
	Owners []*User `json:"owners"`

	// status
	Status string `json:"status,omitempty"`
}

Project Project is a top-level container for a set of resources

swagger:model Project

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type ProjectGroup

type ProjectGroup struct {

	// group prefix
	GroupPrefix string `json:"group,omitempty"`

	// ID
	ID string `json:"id,omitempty"`
}

ProjectGroup ProjectGroup is a helper data structure that stores the information about a project and a group prefix that a user belongs to

swagger:model ProjectGroup

func (*ProjectGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*ProjectGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProjectGroup) Validate

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

Validate validates this project group

type ProxySettings

type ProxySettings struct {

	// http proxy
	HTTPProxy ProxyValue `json:"http_proxy,omitempty"`

	// no proxy
	NoProxy ProxyValue `json:"no_proxy,omitempty"`
}

ProxySettings ProxySettings allow configuring a HTTP proxy for the controlplanes and nodes

swagger:model ProxySettings

func (*ProxySettings) MarshalBinary

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

MarshalBinary interface implementation

func (*ProxySettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProxySettings) Validate

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

Validate validates this proxy settings

type ProxyValue

type ProxyValue string

ProxyValue proxy value

swagger:model ProxyValue

func (ProxyValue) Validate

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

Validate validates this proxy value

type PublicAWSCloudSpec

type PublicAWSCloudSpec interface{}

PublicAWSCloudSpec PublicAWSCloudSpec is a public counterpart of apiv1.AWSCloudSpec.

swagger:model PublicAWSCloudSpec

type PublicAlibabaCloudSpec

type PublicAlibabaCloudSpec interface{}

PublicAlibabaCloudSpec PublicAlibabaCloudSpec is a public counterpart of apiv1.AlibabaCloudSpec.

swagger:model PublicAlibabaCloudSpec

type PublicAzureCloudSpec

type PublicAzureCloudSpec interface{}

PublicAzureCloudSpec PublicAzureCloudSpec is a public counterpart of apiv1.AzureCloudSpec.

swagger:model PublicAzureCloudSpec

type PublicBringYourOwnCloudSpec

type PublicBringYourOwnCloudSpec interface{}

PublicBringYourOwnCloudSpec PublicBringYourOwnCloudSpec is a public counterpart of apiv1.BringYourOwnCloudSpec.

swagger:model PublicBringYourOwnCloudSpec

type PublicCloudSpec

type PublicCloudSpec struct {

	// datacenter name
	DatacenterName string `json:"dc,omitempty"`

	// alibaba
	Alibaba PublicAlibabaCloudSpec `json:"alibaba,omitempty"`

	// aws
	Aws PublicAWSCloudSpec `json:"aws,omitempty"`

	// azure
	Azure PublicAzureCloudSpec `json:"azure,omitempty"`

	// bringyourown
	Bringyourown PublicBringYourOwnCloudSpec `json:"bringyourown,omitempty"`

	// digitalocean
	Digitalocean PublicDigitaloceanCloudSpec `json:"digitalocean,omitempty"`

	// fake
	Fake PublicFakeCloudSpec `json:"fake,omitempty"`

	// gcp
	Gcp PublicGCPCloudSpec `json:"gcp,omitempty"`

	// hetzner
	Hetzner PublicHetznerCloudSpec `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt PublicKubevirtCloudSpec `json:"kubevirt,omitempty"`

	// openstack
	Openstack *PublicOpenstackCloudSpec `json:"openstack,omitempty"`

	// packet
	Packet PublicPacketCloudSpec `json:"packet,omitempty"`

	// vsphere
	Vsphere PublicVSphereCloudSpec `json:"vsphere,omitempty"`
}

PublicCloudSpec PublicCloudSpec is a public counterpart of apiv1.CloudSpec.

swagger:model PublicCloudSpec

func (*PublicCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicCloudSpec) Validate

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

Validate validates this public cloud spec

type PublicDigitaloceanCloudSpec

type PublicDigitaloceanCloudSpec interface{}

PublicDigitaloceanCloudSpec PublicDigitaloceanCloudSpec is a public counterpart of apiv1.DigitaloceanCloudSpec.

swagger:model PublicDigitaloceanCloudSpec

type PublicFakeCloudSpec

type PublicFakeCloudSpec interface{}

PublicFakeCloudSpec PublicFakeCloudSpec is a public counterpart of apiv1.FakeCloudSpec.

swagger:model PublicFakeCloudSpec

type PublicGCPCloudSpec

type PublicGCPCloudSpec interface{}

PublicGCPCloudSpec PublicGCPCloudSpec is a public counterpart of apiv1.GCPCloudSpec.

swagger:model PublicGCPCloudSpec

type PublicHetznerCloudSpec

type PublicHetznerCloudSpec interface{}

PublicHetznerCloudSpec PublicHetznerCloudSpec is a public counterpart of apiv1.HetznerCloudSpec.

swagger:model PublicHetznerCloudSpec

type PublicKubevirtCloudSpec

type PublicKubevirtCloudSpec interface{}

PublicKubevirtCloudSpec PublicKubevirtCloudSpec is a public counterpart of apiv1.KubevirtCloudSpec.

swagger:model PublicKubevirtCloudSpec

type PublicOpenstackCloudSpec

type PublicOpenstackCloudSpec struct {

	// floating IP pool
	FloatingIPPool string `json:"floatingIpPool,omitempty"`
}

PublicOpenstackCloudSpec PublicOpenstackCloudSpec is a public counterpart of apiv1.OpenstackCloudSpec.

swagger:model PublicOpenstackCloudSpec

func (*PublicOpenstackCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicOpenstackCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicOpenstackCloudSpec) Validate

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

Validate validates this public openstack cloud spec

type PublicPacketCloudSpec

type PublicPacketCloudSpec interface{}

PublicPacketCloudSpec PublicPacketCloudSpec is a public counterpart of apiv1.PacketCloudSpec.

swagger:model PublicPacketCloudSpec

type PublicServiceAccountToken

type PublicServiceAccountToken struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// Expiry is a timestamp representing the time when this token will expire.
	// Format: date-time
	Expiry strfmt.DateTime `json:"expiry,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`
}

PublicServiceAccountToken PublicServiceAccountToken represent an API service account token without secret fields

swagger:model PublicServiceAccountToken

func (*PublicServiceAccountToken) MarshalBinary

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

MarshalBinary interface implementation

func (*PublicServiceAccountToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PublicServiceAccountToken) Validate

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

Validate validates this public service account token

type PublicVSphereCloudSpec

type PublicVSphereCloudSpec interface{}

PublicVSphereCloudSpec PublicVSphereCloudSpec is a public counterpart of apiv1.VSphereCloudSpec.

swagger:model PublicVSphereCloudSpec

type RHELSpec

type RHELSpec struct {

	// do a dist-upgrade on boot and reboot it required afterwards
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot,omitempty"`

	// r h e l subscription manager password
	RHELSubscriptionManagerPassword string `json:"rhelSubscriptionManagerPassword,omitempty"`

	// r h e l subscription manager user
	RHELSubscriptionManagerUser string `json:"rhelSubscriptionManagerUser,omitempty"`

	// RHS m offline token
	RHSMOfflineToken string `json:"rhsmOfflineToken,omitempty"`
}

RHELSpec RHELSpec contains rhel specific settings

swagger:model RHELSpec

func (*RHELSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*RHELSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RHELSpec) Validate

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

Validate validates this r h e l spec

type RawExtension

type RawExtension interface{}

RawExtension RawExtension is used to hold extensions in external versions.

To use this, make a field which has RawExtension as its type in your external, versioned struct, and Object in your internal struct. You also need to register your various plugin types.

Internal package: type MyAPIObject struct { runtime.TypeMeta `json:",inline"` MyPlugin runtime.Object `json:"myPlugin"` } type PluginA struct { AOption string `json:"aOption"` }

External package: type MyAPIObject struct { runtime.TypeMeta `json:",inline"` MyPlugin runtime.RawExtension `json:"myPlugin"` } type PluginA struct { AOption string `json:"aOption"` }

On the wire, the JSON will look something like this: { "kind":"MyAPIObject", "apiVersion":"v1", "myPlugin": { "kind":"PluginA", "aOption":"foo", }, }

So what happens? Decode first uses json or yaml to unmarshal the serialized data into your external MyAPIObject. That causes the raw JSON to be stored, but not unpacked. The next step is to copy (using pkg/conversion) into the internal struct. The runtime package's DefaultScheme has conversion functions installed which will unpack the JSON stored in RawExtension, turning it into the correct object type, and storing it in the Object. (TODO: In the case where the object is of an unknown type, a runtime.Unknown object will be created and stored.)

+k8s:deepcopy-gen=true +protobuf=true +k8s:openapi-gen=true

swagger:model RawExtension

type ResourceLabelMap

type ResourceLabelMap map[string]LabelKeyList

ResourceLabelMap ResourceLabelMap defines list of labels grouped by specific resource types.

swagger:model ResourceLabelMap

func (ResourceLabelMap) Validate

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

Validate validates this resource label map

type ResourceType

type ResourceType string

ResourceType resource type

swagger:model ResourceType

func (ResourceType) Validate

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

Validate validates this resource type

type Role

type Role struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Indicates the scope of this role.
	Namespace string `json:"namespace,omitempty"`

	// Rules holds all the PolicyRules for this Role
	Rules []*PolicyRule `json:"rules"`
}

Role Role defines RBAC role for the user cluster

swagger:model Role

func (*Role) MarshalBinary

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

MarshalBinary interface implementation

func (*Role) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Role) Validate

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

Validate validates this role

type RoleBinding

type RoleBinding struct {

	// Indicates the scope of this binding.
	Namespace string `json:"namespace,omitempty"`

	// role ref name
	RoleRefName string `json:"roleRefName,omitempty"`

	// Subjects holds references to the objects the role applies to.
	Subjects []*Subject `json:"subjects"`
}

RoleBinding RoleBinding references a role, but does not contain it.

swagger:model RoleBinding

func (*RoleBinding) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleBinding) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleBinding) Validate

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

Validate validates this role binding

type RoleName

type RoleName struct {

	// Name of the role.
	Name string `json:"name,omitempty"`

	// Indicates the scopes of this role.
	Namespace []string `json:"namespace"`
}

RoleName RoleName defines RBAC role name object for the user cluster

swagger:model RoleName

func (*RoleName) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleName) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleName) Validate

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

Validate validates this role name

type RoleUser

type RoleUser struct {

	// group
	Group string `json:"group,omitempty"`

	// user email
	UserEmail string `json:"userEmail,omitempty"`
}

RoleUser RoleUser defines associated user with role

swagger:model RoleUser

func (*RoleUser) MarshalBinary

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

MarshalBinary interface implementation

func (*RoleUser) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RoleUser) Validate

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

Validate validates this role user

type SLESSpec

type SLESSpec struct {

	// do a dist-upgrade on boot and reboot it required afterwards
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot,omitempty"`
}

SLESSpec SLESSpec contains SLES specific settings

swagger:model SLESSpec

func (*SLESSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*SLESSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SLESSpec) Validate

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

Validate validates this s l e s spec

type SSHKey

type SSHKey struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

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

SSHKey SSHKey represents a ssh key

swagger:model SSHKey

func (*SSHKey) MarshalBinary

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

MarshalBinary interface implementation

func (*SSHKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SSHKey) Validate

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

Validate validates this SSH key

type SSHKeySpec

type SSHKeySpec struct {

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// public key
	PublicKey string `json:"publicKey,omitempty"`
}

SSHKeySpec SSHKeySpec represents the details of a ssh key

swagger:model SSHKeySpec

func (*SSHKeySpec) MarshalBinary

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

MarshalBinary interface implementation

func (*SSHKeySpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SSHKeySpec) Validate

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

Validate validates this SSH key spec

type Seed

type Seed struct {

	// Optional: Country of the seed as ISO-3166 two-letter code, e.g. DE or UK.
	// For informational purposes in the Kubermatic dashboard only.
	Country string `json:"country,omitempty"`

	// Optional: Detailed location of the cluster, like "Hamburg" or "Datacenter 7".
	// For informational purposes in the Kubermatic dashboard only.
	Location string `json:"location,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Optional: This can be used to override the DNS name used for this seed.
	// By default the seed name is used.
	SeedDNSOverwrite string `json:"seed_dns_overwrite,omitempty"`

	// Datacenters contains a map of the possible datacenters (DCs) in this seed.
	// Each DC must have a globally unique identifier (i.e. names must be unique
	// across all seeds).
	SeedDatacenters map[string]SeedDatacenter `json:"datacenters,omitempty"`

	// expose strategy
	ExposeStrategy ServiceType `json:"expose_strategy,omitempty"`

	// kubeconfig
	Kubeconfig *ObjectReference `json:"kubeconfig,omitempty"`

	// proxy settings
	ProxySettings *ProxySettings `json:"proxy_settings,omitempty"`
}

Seed Seed represents a seed object

swagger:model Seed

func (*Seed) MarshalBinary

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

MarshalBinary interface implementation

func (*Seed) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Seed) Validate

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

Validate validates this seed

type SeedDatacenter

type SeedDatacenter struct {

	// Optional: Country of the seed as ISO-3166 two-letter code, e.g. DE or UK.
	// For informational purposes in the Kubermatic dashboard only.
	Country string `json:"country,omitempty"`

	// Optional: Detailed location of the cluster, like "Hamburg" or "Datacenter 7".
	// For informational purposes in the Kubermatic dashboard only.
	Location string `json:"location,omitempty"`

	// node
	Node *NodeSettings `json:"node,omitempty"`

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

SeedDatacenter seed datacenter

swagger:model SeedDatacenter

func (*SeedDatacenter) MarshalBinary

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

MarshalBinary interface implementation

func (*SeedDatacenter) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SeedDatacenter) Validate

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

Validate validates this seed datacenter

type SeedDatacenterSpec

type SeedDatacenterSpec struct {

	// EnforceAuditLogging enforces audit logging on every cluster within the DC,
	// ignoring cluster-specific settings.
	EnforceAuditLogging bool `json:"enforceAuditLogging,omitempty"`

	// Optional: When defined, only users with an e-mail address on the
	// given domains can make use of this datacenter. You can define multiple
	// domains, e.g. "example.com", one of which must match the email domain
	// exactly (i.e. "example.com" will not match "user@test.example.com").
	// RequiredEmailDomain is deprecated. Automatically migrated to the RequiredEmailDomains field.
	RequiredEmailDomain string `json:"requiredEmailDomain,omitempty"`

	// required email domains
	RequiredEmailDomains []string `json:"requiredEmailDomains"`

	// alibaba
	Alibaba *DatacenterSpecAlibaba `json:"alibaba,omitempty"`

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

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

	// bringyourown
	Bringyourown DatacenterSpecBringYourOwn `json:"bringyourown,omitempty"`

	// digitalocean
	Digitalocean *DatacenterSpecDigitalocean `json:"digitalocean,omitempty"`

	// fake
	Fake *DatacenterSpecFake `json:"fake,omitempty"`

	// gcp
	Gcp *DatacenterSpecGCP `json:"gcp,omitempty"`

	// hetzner
	Hetzner *DatacenterSpecHetzner `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt DatacenterSpecKubevirt `json:"kubevirt,omitempty"`

	// openstack
	Openstack *DatacenterSpecOpenstack `json:"openstack,omitempty"`

	// packet
	Packet *DatacenterSpecPacket `json:"packet,omitempty"`

	// vsphere
	Vsphere *DatacenterSpecVSphere `json:"vsphere,omitempty"`
}

SeedDatacenterSpec SeedDatacenterSpec mutually points to provider datacenter spec

swagger:model SeedDatacenterSpec

func (*SeedDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*SeedDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SeedDatacenterSpec) Validate

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

Validate validates this seed datacenter spec

type SeedSpec

type SeedSpec struct {

	// Optional: Country of the seed as ISO-3166 two-letter code, e.g. DE or UK.
	// For informational purposes in the Kubermatic dashboard only.
	Country string `json:"country,omitempty"`

	// Optional: Detailed location of the cluster, like "Hamburg" or "Datacenter 7".
	// For informational purposes in the Kubermatic dashboard only.
	Location string `json:"location,omitempty"`

	// Optional: This can be used to override the DNS name used for this seed.
	// By default the seed name is used.
	SeedDNSOverwrite string `json:"seed_dns_overwrite,omitempty"`

	// Datacenters contains a map of the possible datacenters (DCs) in this seed.
	// Each DC must have a globally unique identifier (i.e. names must be unique
	// across all seeds).
	SeedDatacenters map[string]SeedDatacenter `json:"datacenters,omitempty"`

	// expose strategy
	ExposeStrategy ServiceType `json:"expose_strategy,omitempty"`

	// kubeconfig
	Kubeconfig *ObjectReference `json:"kubeconfig,omitempty"`

	// proxy settings
	ProxySettings *ProxySettings `json:"proxy_settings,omitempty"`
}

SeedSpec The spec for a seed data

swagger:model SeedSpec

func (*SeedSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*SeedSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SeedSpec) Validate

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

Validate validates this seed spec

type Semver

type Semver interface{}

Semver Semver is struct that encapsulates semver.Semver struct so we can use it in API +k8s:deepcopy-gen=true

swagger:model Semver

type ServiceAccount

type ServiceAccount struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// Group that a service account belongs to
	Group string `json:"group,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Status describes three stages of ServiceAccount life including Active, Inactive and Terminating
	Status string `json:"status,omitempty"`
}

ServiceAccount ServiceAccount represent an API service account

swagger:model ServiceAccount

func (*ServiceAccount) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceAccount) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceAccount) Validate

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

Validate validates this service account

type ServiceAccountToken

type ServiceAccountToken struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

	// Expiry is a timestamp representing the time when this token will expire.
	// Format: date-time
	Expiry strfmt.DateTime `json:"expiry,omitempty"`

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Token the JWT token
	Token string `json:"token,omitempty"`
}

ServiceAccountToken ServiceAccountToken represent an API service account token

swagger:model ServiceAccountToken

func (*ServiceAccountToken) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceAccountToken) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceAccountToken) Validate

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

Validate validates this service account token

type ServiceType

type ServiceType string

ServiceType Service Type string describes ingress methods for a service

swagger:model ServiceType

func (ServiceType) Validate

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

Validate validates this service type

type SettingSpec

type SettingSpec struct {

	// default node count
	DefaultNodeCount int8 `json:"defaultNodeCount,omitempty"`

	// display API docs
	DisplayAPIDocs bool `json:"displayAPIDocs,omitempty"`

	// display demo info
	DisplayDemoInfo bool `json:"displayDemoInfo,omitempty"`

	// display terms of service
	DisplayTermsOfService bool `json:"displayTermsOfService,omitempty"`

	// enable dashboard
	EnableDashboard bool `json:"enableDashboard,omitempty"`

	// enable o ID c kubeconfig
	EnableOIDCKubeconfig bool `json:"enableOIDCKubeconfig,omitempty"`

	// cleanup options
	CleanupOptions *CleanupOptions `json:"cleanupOptions,omitempty"`

	// cluster type options
	ClusterTypeOptions ClusterType `json:"clusterTypeOptions,omitempty"`

	// custom links
	CustomLinks CustomLinks `json:"customLinks,omitempty"`
}

SettingSpec setting spec

swagger:model SettingSpec

func (*SettingSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*SettingSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SettingSpec) Validate

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

Validate validates this setting spec

type Subject

type Subject struct {

	// APIGroup holds the API group of the referenced subject.
	// Defaults to "" for ServiceAccount subjects.
	// Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
	// +optional
	APIGroup string `json:"apiGroup,omitempty"`

	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
	// If the Authorizer does not recognized the kind value, the Authorizer should report an error.
	Kind string `json:"kind,omitempty"`

	// Name of the object being referenced.
	Name string `json:"name,omitempty"`

	// Namespace of the referenced object.  If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
	// the Authorizer should report an error.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

Subject Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference,

or a value for non-objects such as user and group names.

swagger:model Subject

func (*Subject) MarshalBinary

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

MarshalBinary interface implementation

func (*Subject) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Subject) Validate

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

Validate validates this subject

type TaintSpec

type TaintSpec struct {

	// effect
	Effect string `json:"effect,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

TaintSpec TaintSpec defines a node taint

swagger:model TaintSpec

func (*TaintSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*TaintSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaintSpec) Validate

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

Validate validates this taint spec

type Time

type Time strfmt.DateTime

Time A Time represents an instant in time with nanosecond precision.

Programs using times should typically store and pass them as values, not pointers. That is, time variables and struct fields should be of type time.Time, not *time.Time.

A Time value can be used by multiple goroutines simultaneously except that the methods GobDecode, UnmarshalBinary, UnmarshalJSON and UnmarshalText are not concurrency-safe.

Time instants can be compared using the Before, After, and Equal methods. The Sub method subtracts two instants, producing a Duration. The Add method adds a Time and a Duration, producing a Time.

The zero value of type Time is January 1, year 1, 00:00:00.000000000 UTC. As this time is unlikely to come up in practice, the IsZero method gives a simple way of detecting a time that has not been initialized explicitly.

Each Time has associated with it a Location, consulted when computing the presentation form of the time, such as in the Format, Hour, and Year methods. The methods Local, UTC, and In return a Time with a specific location. Changing the location in this way changes only the presentation; it does not change the instant in time being denoted and therefore does not affect the computations described in earlier paragraphs.

Representations of a Time value saved by the GobEncode, MarshalBinary, MarshalJSON, and MarshalText methods store the Time.Location's offset, but not the location name. They therefore lose information about Daylight Saving Time.

In addition to the required “wall clock” reading, a Time may contain an optional reading of the current process's monotonic clock, to provide additional precision for comparison or subtraction. See the “Monotonic Clocks” section in the package documentation for details.

Note that the Go == operator compares not just the time instant but also the Location and the monotonic clock reading. Therefore, Time values should not be used as map or database keys without first guaranteeing that the identical Location has been set for all values, which can be achieved through use of the UTC or Local method, and that the monotonic clock reading has been stripped by setting t = t.Round(0). In general, prefer t.Equal(u) to t == u, since t.Equal uses the most accurate comparison available and correctly handles the case when only one of its arguments has a monotonic clock reading.

swagger:model Time

func (*Time) MarshalBinary

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

MarshalBinary interface implementation

func (Time) MarshalJSON

func (m Time) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a Time value as JSON output

func (*Time) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Time) UnmarshalJSON

func (m *Time) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a Time value from JSON input

func (Time) Validate

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

Validate validates this time

type UID

type UID string

UID UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.

swagger:model UID

func (UID) Validate

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

Validate validates this UID

type UbuntuSpec

type UbuntuSpec struct {

	// do a dist-upgrade on boot and reboot it required afterwards
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot,omitempty"`
}

UbuntuSpec UbuntuSpec ubuntu specific settings

swagger:model UbuntuSpec

func (*UbuntuSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*UbuntuSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UbuntuSpec) Validate

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

Validate validates this ubuntu spec

type UpdateWindow

type UpdateWindow struct {

	// length
	Length string `json:"length,omitempty"`

	// start
	Start string `json:"start,omitempty"`
}

UpdateWindow update window

swagger:model UpdateWindow

func (*UpdateWindow) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateWindow) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateWindow) Validate

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

Validate validates this update window

type User

type User struct {

	// CreationTimestamp is a timestamp representing the server time when this object was created.
	// Format: date-time
	CreationTimestamp strfmt.DateTime `json:"creationTimestamp,omitempty"`

	// DeletionTimestamp is a timestamp representing the server time when this object was deleted.
	// Format: date-time
	DeletionTimestamp strfmt.DateTime `json:"deletionTimestamp,omitempty"`

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

	// ID unique value that identifies the resource generated by the server. Read-Only.
	ID string `json:"id,omitempty"`

	// IsAdmin indicates admin role
	IsAdmin bool `json:"isAdmin,omitempty"`

	// Name represents human readable name for the resource
	Name string `json:"name,omitempty"`

	// Projects holds the list of project the user belongs to
	// along with the group names
	Projects []*ProjectGroup `json:"projects"`

	// user settings
	UserSettings *UserSettings `json:"userSettings,omitempty"`
}

User User represent an API user

swagger:model User

func (*User) MarshalBinary

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

MarshalBinary interface implementation

func (*User) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*User) Validate

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

Validate validates this user

type UserSettings

type UserSettings struct {

	// collapse sidenav
	CollapseSidenav bool `json:"collapseSidenav,omitempty"`

	// display all projects for admin
	DisplayAllProjectsForAdmin bool `json:"displayAllProjectsForAdmin,omitempty"`

	// items per page
	ItemsPerPage int8 `json:"itemsPerPage,omitempty"`

	// select project table view
	SelectProjectTableView bool `json:"selectProjectTableView,omitempty"`

	// selected project ID
	SelectedProjectID string `json:"selectedProjectId,omitempty"`

	// selected theme
	SelectedTheme string `json:"selectedTheme,omitempty"`
}

UserSettings UserSettings represent an user settings

swagger:model UserSettings

func (*UserSettings) MarshalBinary

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

MarshalBinary interface implementation

func (*UserSettings) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UserSettings) Validate

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

Validate validates this user settings

type VSphereCloudSpec

type VSphereCloudSpec struct {

	// folder
	Folder string `json:"folder,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// VM net name
	VMNetName string `json:"vmNetName,omitempty"`

	// credentials reference
	CredentialsReference GlobalSecretKeySelector `json:"credentialsReference,omitempty"`

	// infra management user
	InfraManagementUser *VSphereCredentials `json:"infraManagementUser,omitempty"`
}

VSphereCloudSpec VSphereCloudSpec specifies access data to VSphere cloud.

swagger:model VSphereCloudSpec

func (*VSphereCloudSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereCloudSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereCloudSpec) Validate

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

Validate validates this v sphere cloud spec

type VSphereCredentials

type VSphereCredentials struct {

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

VSphereCredentials VSphereCredentials credentials represents a credential for accessing vSphere

swagger:model VSphereCredentials

func (*VSphereCredentials) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereCredentials) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereCredentials) Validate

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

Validate validates this v sphere credentials

type VSphereDatacenterSpec

type VSphereDatacenterSpec struct {

	// cluster
	Cluster string `json:"cluster,omitempty"`

	// datacenter
	Datacenter string `json:"datacenter,omitempty"`

	// datastore
	Datastore string `json:"datastore,omitempty"`

	// endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// templates
	Templates ImageList `json:"templates,omitempty"`
}

VSphereDatacenterSpec VSphereDatacenterSpec specifies a datacenter of VSphere.

swagger:model VSphereDatacenterSpec

func (*VSphereDatacenterSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereDatacenterSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereDatacenterSpec) Validate

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

Validate validates this v sphere datacenter spec

type VSphereFolder

type VSphereFolder struct {

	// Path is the path of the folder
	Path string `json:"path,omitempty"`
}

VSphereFolder VSphereFolder is the object representing a vsphere folder.

swagger:model VSphereFolder

func (*VSphereFolder) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereFolder) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereFolder) Validate

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

Validate validates this v sphere folder

type VSphereNetwork

type VSphereNetwork struct {

	// AbsolutePath is the absolute path inside vCenter
	AbsolutePath string `json:"absolutePath,omitempty"`

	// Name is the name of the network
	Name string `json:"name,omitempty"`

	// RelativePath is the relative path inside the datacenter
	RelativePath string `json:"relativePath,omitempty"`

	// Type defines the type of network
	Type string `json:"type,omitempty"`
}

VSphereNetwork VSphereNetwork is the object representing a vsphere network.

swagger:model VSphereNetwork

func (*VSphereNetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereNetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereNetwork) Validate

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

Validate validates this v sphere network

type VSphereNodeSpec

type VSphereNodeSpec struct {

	// c p us
	CPUs int64 `json:"cpus,omitempty"`

	// disk size g b
	DiskSizeGB int64 `json:"diskSizeGB,omitempty"`

	// memory
	Memory int64 `json:"memory,omitempty"`

	// template
	Template string `json:"template,omitempty"`
}

VSphereNodeSpec VSphereNodeSpec VSphere node settings

swagger:model VSphereNodeSpec

func (*VSphereNodeSpec) MarshalBinary

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

MarshalBinary interface implementation

func (*VSphereNodeSpec) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VSphereNodeSpec) Validate

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

Validate validates this v sphere node spec

type Version

type Version interface{}

Version Version represents a single semantic version.

swagger:model Version

Source Files

Jump to

Keyboard shortcuts

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