models

package
v2.21.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// ApplicationInstallationConditionTypeManifestsRetrieved captures enum value "ManifestsRetrieved"
	ApplicationInstallationConditionTypeManifestsRetrieved string = "ManifestsRetrieved"

	// ApplicationInstallationConditionTypeReady captures enum value "Ready"
	ApplicationInstallationConditionTypeReady string = "Ready"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AKS ¶ added in v2.19.3

type AKS struct {

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

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

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

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

AKS a k s

swagger:model AKS

func (*AKS) ContextValidate ¶ added in v2.19.3

func (m *AKS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s based on context it is used

func (*AKS) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*AKS) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*AKS) Validate ¶ added in v2.19.3

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

Validate validates this a k s

type AKSCloudSpec ¶ added in v2.19.0

type AKSCloudSpec struct {

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

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

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

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

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

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

AKSCloudSpec a k s cloud spec

swagger:model AKSCloudSpec

func (*AKSCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *AKSCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s cloud spec based on context it is used

func (*AKSCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*AKSCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*AKSCloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this a k s cloud spec

type AKSCluster ¶ added in v2.19.0

type AKSCluster struct {

	// is imported
	IsImported bool `json:"imported,omitempty"`

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

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

AKSCluster AKSCluster represents a object of AKS cluster.

swagger:model AKSCluster

func (*AKSCluster) ContextValidate ¶ added in v2.19.0

func (m *AKSCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s cluster based on context it is used

func (*AKSCluster) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*AKSCluster) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*AKSCluster) Validate ¶ added in v2.19.0

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

Validate validates this a k s cluster

type AKSClusterList ¶ added in v2.19.0

type AKSClusterList []*AKSCluster

AKSClusterList AKSClusterList represents an list of AKS clusters.

swagger:model AKSClusterList

func (AKSClusterList) ContextValidate ¶ added in v2.19.0

func (m AKSClusterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a k s cluster list based on the context it is used

func (AKSClusterList) Validate ¶ added in v2.19.0

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

Validate validates this a k s cluster list

type AKSClusterSpec ¶ added in v2.21.0

type AKSClusterSpec struct {

	// The timestamp of resource creation (UTC).
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The identity that created the resource.
	CreatedBy string `json:"createdBy,omitempty"`

	// DNSPrefix - This cannot be updated once the Managed Cluster has been created.
	DNSPrefix string `json:"dnsPrefix,omitempty"`

	// EnableRBAC - Whether Kubernetes Role-Based Access Control Enabled.
	EnableRBAC bool `json:"enableRBAC,omitempty"`

	// Fqdn - READ-ONLY; The FQDN of the master pool.
	Fqdn string `json:"fqdn,omitempty"`

	// FqdnSubdomain - This cannot be updated once the Managed Cluster has been created.
	FqdnSubdomain string `json:"fqdnSubdomain,omitempty"`

	// KubernetesVersion - When you upgrade a supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
	KubernetesVersion string `json:"kubernetesVersion,omitempty"`

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

	// PrivateFQDN - READ-ONLY; The FQDN of private cluster.
	PrivateFQDN string `json:"privateFQDN,omitempty"`

	// Resource tags.
	Tags map[string]string `json:"tags,omitempty"`

	// machine deployment spec
	MachineDeploymentSpec *AKSMachineDeploymentCloudSpec `json:"machineDeploymentSpec,omitempty"`

	// network profile
	NetworkProfile *AKSNetworkProfile `json:"networkProfile,omitempty"`
}

AKSClusterSpec AKSClusterSpec Azure Kubernetes Service cluster.

swagger:model AKSClusterSpec

func (*AKSClusterSpec) ContextValidate ¶ added in v2.21.0

func (m *AKSClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a k s cluster spec based on the context it is used

func (*AKSClusterSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AKSClusterSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AKSClusterSpec) Validate ¶ added in v2.21.0

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

Validate validates this a k s cluster spec

type AKSLocation ¶ added in v2.21.0

type AKSLocation struct {

	// The location name.
	Name string `json:"name,omitempty"`

	// READ-ONLY; The category of the region.
	RegionCategory string `json:"regionCategory,omitempty"`
}

AKSLocation AKSLocation is the object representing Azure Location.

swagger:model AKSLocation

func (*AKSLocation) ContextValidate ¶ added in v2.21.0

func (m *AKSLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s location based on context it is used

func (*AKSLocation) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AKSLocation) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AKSLocation) Validate ¶ added in v2.21.0

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

Validate validates this a k s location

type AKSLocationList ¶ added in v2.21.0

type AKSLocationList []*AKSLocation

AKSLocationList AKSLocationList represents a list of AKS Location object for node group.

swagger:model AKSLocationList

func (AKSLocationList) ContextValidate ¶ added in v2.21.0

func (m AKSLocationList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a k s location list based on the context it is used

func (AKSLocationList) Validate ¶ added in v2.21.0

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

Validate validates this a k s location list

type AKSMachineDeploymentCloudSpec ¶ added in v2.19.0

type AKSMachineDeploymentCloudSpec struct {

	// Name - Node pool name must contain only lowercase letters and numbers. For Linux node pools must be 12 or fewer characters.
	Name string `json:"name,omitempty"`

	// basic settings
	BasicSettings *AgentPoolBasics `json:"basicSettings,omitempty"`

	// configuration
	Configuration *AgentPoolConfig `json:"configuration,omitempty"`

	// optional settings
	OptionalSettings *AgentPoolOptionalSettings `json:"optionalSettings,omitempty"`
}

AKSMachineDeploymentCloudSpec a k s machine deployment cloud spec

swagger:model AKSMachineDeploymentCloudSpec

func (*AKSMachineDeploymentCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *AKSMachineDeploymentCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a k s machine deployment cloud spec based on the context it is used

func (*AKSMachineDeploymentCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*AKSMachineDeploymentCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*AKSMachineDeploymentCloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this a k s machine deployment cloud spec

type AKSNetworkProfile ¶ added in v2.21.0

type AKSNetworkProfile struct {

	// DNSServiceIP - An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr.
	DNSServiceIP string `json:"dnsServiceIP,omitempty"`

	// DockerBridgeCidr - A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range.
	DockerBridgeCidr string `json:"dockerBridgeCidr,omitempty"`

	// LoadBalancerSku - The default is 'standard'. See [Azure Load Balancer SKUs](https://docs.microsoft.com/azure/load-balancer/skus) for more information about the differences between load balancer SKUs. Possible values include: 'LoadBalancerSkuStandard', 'LoadBalancerSkuBasic'
	LoadBalancerSku string `json:"loadBalancerSku,omitempty"`

	// NetworkMode - This cannot be specified if networkPlugin is anything other than 'azure'. Possible values include: 'Transparent', 'Bridge'
	NetworkMode string `json:"networkMode,omitempty"`

	// NetworkPlugin - Network plugin used for building the Kubernetes network. Possible values include: 'Azure', 'Kubenet'
	NetworkPlugin string `json:"networkPlugin,omitempty"`

	// NetworkPolicy - Network policy used for building the Kubernetes network. Possible values include: 'Calico', 'Azure'
	NetworkPolicy string `json:"networkPolicy,omitempty"`

	// OutboundType - This can only be set at cluster creation time and cannot be changed later. For more information see [egress outbound type](https://docs.microsoft.com/azure/aks/egress-outboundtype). Possible values include: 'OutboundTypeLoadBalancer', 'OutboundTypeUserDefinedRouting', 'OutboundTypeManagedNATGateway', 'OutboundTypeUserAssignedNATGateway'
	OutboundType string `json:"outboundType,omitempty"`

	// PodCidr - A CIDR notation IP range from which to assign pod IPs when kubenet is used.
	PodCidr string `json:"podCidr,omitempty"`

	// ServiceCidr - A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges.
	ServiceCidr string `json:"serviceCidr,omitempty"`
}

AKSNetworkProfile AKS NetworkProfile profile of network configuration.

swagger:model AKSNetworkProfile

func (*AKSNetworkProfile) ContextValidate ¶ added in v2.21.0

func (m *AKSNetworkProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s network profile based on context it is used

func (*AKSNetworkProfile) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AKSNetworkProfile) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AKSNetworkProfile) Validate ¶ added in v2.21.0

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

Validate validates this a k s network profile

type AKSNodePoolModes ¶ added in v2.21.0

type AKSNodePoolModes []string

AKSNodePoolModes AKSNodePoolModes represents nodepool modes.

swagger:model AKSNodePoolModes

func (AKSNodePoolModes) ContextValidate ¶ added in v2.21.0

func (m AKSNodePoolModes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s node pool modes based on context it is used

func (AKSNodePoolModes) Validate ¶ added in v2.21.0

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

Validate validates this a k s node pool modes

type AKSNodegroupScalingConfig ¶ added in v2.21.0

type AKSNodegroupScalingConfig struct {

	// MaxCount - The maximum number of nodes for auto-scaling
	MaxCount int32 `json:"maxCount,omitempty"`

	// MinCount - The minimum number of nodes for auto-scaling
	MinCount int32 `json:"minCount,omitempty"`
}

AKSNodegroupScalingConfig a k s nodegroup scaling config

swagger:model AKSNodegroupScalingConfig

func (*AKSNodegroupScalingConfig) ContextValidate ¶ added in v2.21.0

func (m *AKSNodegroupScalingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s nodegroup scaling config based on context it is used

func (*AKSNodegroupScalingConfig) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AKSNodegroupScalingConfig) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AKSNodegroupScalingConfig) Validate ¶ added in v2.21.0

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

Validate validates this a k s nodegroup scaling config

type AKSVMSize ¶ added in v2.21.0

type AKSVMSize 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"`

	// number of g p us
	NumberOfGPUs int32 `json:"numberOfGPUs,omitempty"`

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

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

AKSVMSize AKSVMSize is the object representing Azure VM sizes.

swagger:model AKSVMSize

func (*AKSVMSize) ContextValidate ¶ added in v2.21.0

func (m *AKSVMSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a k s VM size based on context it is used

func (*AKSVMSize) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AKSVMSize) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AKSVMSize) Validate ¶ added in v2.21.0

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

Validate validates this a k s VM size

type AKSVMSizeList ¶ added in v2.21.0

type AKSVMSizeList []*AKSVMSize

AKSVMSizeList AKSVMSizeList represents an array of AKS VM sizes.

swagger:model AKSVMSizeList

func (AKSVMSizeList) ContextValidate ¶ added in v2.21.0

func (m AKSVMSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a k s VM size list based on the context it is used

func (AKSVMSizeList) Validate ¶ added in v2.21.0

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

Validate validates this a k s VM size list

type AWS ¶ added in v2.19.3

type AWS struct {

	// Access Key ID to authenticate against AWS.
	AccessKeyID string `json:"accessKeyID,omitempty"`

	// assume role a r n
	AssumeRoleARN string `json:"assumeRoleARN,omitempty"`

	// assume role external ID
	AssumeRoleExternalID string `json:"assumeRoleExternalID,omitempty"`

	// ARN to use. This can be configured, but if left empty will be
	// automatically filled in during reconciliation.
	ControlPlaneRoleARN string `json:"roleARN,omitempty"`

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// Instance profile to use. This can be configured, but if left empty will be
	// automatically filled in during reconciliation.
	InstanceProfileName string `json:"instanceProfileName,omitempty"`

	// Route table to use. This can be configured, but if left empty will be
	// automatically filled in during reconciliation.
	RouteTableID string `json:"routeTableID,omitempty"`

	// Secret Access Key to authenticate against AWS.
	SecretAccessKey string `json:"secretAccessKey,omitempty"`

	// Security group to use. This can be configured, but if left empty will be
	// automatically filled in during reconciliation.
	SecurityGroupID string `json:"securityGroupID,omitempty"`

	// AWS VPC to use. Must be configured.
	VPCID string `json:"vpcID,omitempty"`
}

AWS a w s

swagger:model AWS

func (*AWS) ContextValidate ¶ added in v2.19.3

func (m *AWS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s based on context it is used

func (*AWS) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*AWS) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*AWS) Validate ¶ added in v2.19.3

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

Validate validates this a w s

type AWSCloudSpec ¶

type AWSCloudSpec struct {

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

	// assume role a r n
	AssumeRoleARN string `json:"assumeRoleARN,omitempty"`

	// assume role external ID
	AssumeRoleExternalID string `json:"assumeRoleExternalID,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"`

	// A CIDR range that will be used to allow access to the node port range in the security group to. Only applies if
	// the security group is generated by KKP and not preexisting.
	// If NodePortsAllowedIPRange nor NodePortsAllowedIPRanges is set, the node port range can be accessed from anywhere.
	NodePortsAllowedIPRange string `json:"nodePortsAllowedIPRange,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"`

	// node ports allowed IP ranges
	NodePortsAllowedIPRanges *NetworkRanges `json:"nodePortsAllowedIPRanges,omitempty"`
}

AWSCloudSpec AWSCloudSpec specifies access data to Amazon Web Services.

swagger:model AWSCloudSpec

func (*AWSCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *AWSCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s cloud spec based on the context it is used

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 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"`

	// AssumeRoleARN defines the ARN for an IAM role that should be assumed when handling resources on AWS. It will be used
	// to acquire temporary security credentials using an STS AssumeRole API operation whenever creating an AWS session.
	AssumeRoleARN string `json:"assumeRoleARN,omitempty"`

	// AssumeRoleExternalID is an arbitrary string that may be needed when calling the STS AssumeRole API operation.
	// Using an external ID can help to prevent the "confused deputy problem".
	AssumeRoleExternalID string `json:"assumeRoleExternalID,omitempty"`

	// Availability 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
	// Example: t2.micro
	// Required: true
	InstanceType *string `json:"instanceType"`

	// IsSpotInstance indicates whether the created machine is an aws ec2 spot instance or on-demand ec2 instance.
	IsSpotInstance bool `json:"isSpotInstance,omitempty"`

	// SpotInstanceInterruptionBehavior sets the interruption behavior for the spot instance when capacity is no longer
	// available at the price you specified, if there is no capacity, or if a constraint cannot be met. Charges for EBS
	// volume storage apply when an instance is stopped.
	SpotInstanceInterruptionBehavior string `json:"spotInstanceInterruptionBehavior,omitempty"`

	// SpotInstanceMaxPrice is the maximum price you are willing to pay per instance hour. Your instance runs when
	// your maximum price is greater than the Spot Price.
	SpotInstanceMaxPrice string `json:"spotInstanceMaxPrice,omitempty"`

	// SpotInstancePersistentRequest ensures that your request will be submitted every time your Spot Instance is terminated.
	SpotInstancePersistentRequest bool `json:"spotInstancePersistentRequest,omitempty"`

	// 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
	// Example: gp2, io1, st1, sc1, standard
	// Required: true
	VolumeType *string `json:"volumeType"`
}

AWSNodeSpec AWSNodeSpec aws specific node settings

swagger:model AWSNodeSpec

func (*AWSNodeSpec) ContextValidate ¶ added in v2.18.0

func (m *AWSNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s node spec based on context it is used

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 AWSSecurityGroupList ¶

type AWSSecurityGroupList struct {

	// i ds
	IDs []string `json:"ids"`
}

AWSSecurityGroupList AWSSecurityGroupList represents an array of AWS Security Group.

swagger:model AWSSecurityGroupList

func (*AWSSecurityGroupList) ContextValidate ¶ added in v2.18.0

func (m *AWSSecurityGroupList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s security group list based on context it is used

func (*AWSSecurityGroupList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AWSSecurityGroupList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AWSSecurityGroupList) Validate ¶

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

Validate validates this a w s security group list

type AWSSize ¶

type AWSSize struct {

	// architecture
	Architecture string `json:"architecture,omitempty"`

	// g p us
	GPUs int64 `json:"gpus,omitempty"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *AWSSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s size based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AWSSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s size list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AWSSubnet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s subnet based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AWSSubnetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s subnet list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AWSTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s tag based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AWSVPC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s v p c based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AWSVPCList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this a w s v p c list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AWSVpcCidrBlockAssociation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s vpc cidr block association based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AWSVpcIPV6CidrBlockAssociation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this a w s vpc Ipv6 cidr block association based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AccessibleAddons) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this accessible addons based on context it is used

func (AccessibleAddons) Validate ¶

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

Validate validates this accessible addons

type Addon ¶

type Addon struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *Addon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this addon based on the context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *AddonConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this addon config based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AddonConfigSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this addon config spec based on the context it is used

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"`

	// HelpText is visible in the UI next to the control
	HelpText string `json:"helpText,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) ContextValidate ¶ added in v2.18.0

func (m *AddonFormControl) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this addon form control based on context it is used

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 {

	// ContinuouslyReconcile indicates that the addon cannot be deleted or modified outside of the UI after installation
	ContinuouslyReconcile bool `json:"continuouslyReconcile,omitempty"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *AddonSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this addon spec based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *Admin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this admin based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AdmissionPlugin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this admission plugin based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AdmissionPluginList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this admission plugin list based on context it is used

func (AdmissionPluginList) Validate ¶

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

Validate validates this admission plugin list

type AgentPoolBasics ¶ added in v2.19.0

type AgentPoolBasics struct {

	// AvailabilityZones - The list of Availability zones to use for nodes. This can only be specified if the AgentPoolType property is 'VirtualMachineScaleSets'.
	AvailabilityZones []string `json:"availabilityZones"`

	// Required: Count - Number of agents (VMs) to host docker containers. Allowed values must be in the range of 0 to 1000 (inclusive) for user pools and in the range of 1 to 1000 (inclusive) for system pools. The default value is 1.
	Count int32 `json:"count,omitempty"`

	// EnableAutoScaling - Whether to enable auto-scaler
	EnableAutoScaling bool `json:"enableAutoScaling,omitempty"`

	// Mode - Possible values include: 'System', 'User'.
	Mode string `json:"mode,omitempty"`

	// OrchestratorVersion - As a best practice, you should upgrade all node pools in an AKS cluster to the same Kubernetes version. The node pool version must have the same major version as the control plane. The node pool minor version must be within two minor versions of the control plane version. The node pool version cannot be greater than the control plane version. For more information see [upgrading a node pool](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#upgrade-a-node-pool).
	OrchestratorVersion string `json:"orchestratorVersion,omitempty"`

	// The OSDiskSize for Agent agentpool cannot be less than 30GB or larger than 2048GB.
	OsDiskSizeGB int32 `json:"osDiskSizeGB,omitempty"`

	// Required: VMSize - VM size availability varies by region. If a node contains insufficient compute resources (memory, cpu, etc) pods might fail to run correctly. For more details on restricted VM sizes, see: https://docs.microsoft.com/azure/aks/quotas-skus-regions
	VMSize string `json:"vmSize,omitempty"`

	// scaling config
	ScalingConfig *AKSNodegroupScalingConfig `json:"scalingConfig,omitempty"`
}

AgentPoolBasics agent pool basics

swagger:model AgentPoolBasics

func (*AgentPoolBasics) ContextValidate ¶ added in v2.19.0

func (m *AgentPoolBasics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this agent pool basics based on the context it is used

func (*AgentPoolBasics) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*AgentPoolBasics) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*AgentPoolBasics) Validate ¶ added in v2.19.0

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

Validate validates this agent pool basics

type AgentPoolConfig ¶ added in v2.21.0

type AgentPoolConfig struct {

	// EnableNodePublicIP - Some scenarios may require nodes in a node pool to receive their own dedicated public IP addresses. A common scenario is for gaming workloads, where a console needs to make a direct connection to a cloud virtual machine to minimize hops. For more information see [assigning a public IP per node](https://docs.microsoft.com/azure/aks/use-multiple-node-pools#assign-a-public-ip-per-node-for-your-node-pools). The default is false.
	EnableNodePublicIP bool `json:"enableNodePublicIP,omitempty"`

	// MaxPods - The maximum number of pods that can run on a node.
	MaxPods int32 `json:"maxPods,omitempty"`

	// MaxSurgeUpgradeSetting - This can either be set to an integer (e.g. '5') or a percentage (e.g. '50%'). If a percentage is specified, it is the percentage of the total agent pool size at the time of the upgrade. For percentages, fractional nodes are rounded up. If not specified, the default is 1. For more information, including best practices, see: https://docs.microsoft.com/azure/aks/upgrade-cluster#customize-node-surge-upgrade
	MaxSurgeUpgradeSetting string `json:"maxSurge,omitempty"`

	// OsDiskType - Possible values include: 'Managed', 'Ephemeral'
	OsDiskType string `json:"osDiskType,omitempty"`

	// OsType - Possible values include: 'Linux', 'Windows'. The default value is 'Linux'.
	// Windows node pools are not supported on kubenet clusters
	OsType string `json:"osType,omitempty"`

	// PodSubnetID - If omitted, pod IPs are statically assigned on the node subnet (see vnetSubnetID for more details). This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
	PodSubnetID string `json:"podSubnetID,omitempty"`

	// VnetSubnetID - If this is not specified, a VNET and subnet will be generated and used. If no podSubnetID is specified, this applies to nodes and pods, otherwise it applies to just nodes. This is of the form: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
	VnetSubnetID string `json:"vnetSubnetID,omitempty"`
}

AgentPoolConfig agent pool config

swagger:model AgentPoolConfig

func (*AgentPoolConfig) ContextValidate ¶ added in v2.21.0

func (m *AgentPoolConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this agent pool config based on context it is used

func (*AgentPoolConfig) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AgentPoolConfig) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AgentPoolConfig) Validate ¶ added in v2.21.0

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

Validate validates this agent pool config

type AgentPoolOptionalSettings ¶ added in v2.19.0

type AgentPoolOptionalSettings struct {

	// NodeLabels - The node labels to be persisted across all nodes in agent pool.
	NodeLabels map[string]string `json:"nodeLabels,omitempty"`

	// NodeTaints - The taints added to new nodes during node pool create and scale. For example, key=value:NoSchedule.
	// Placing custom taints on system pool is not supported(except 'CriticalAddonsOnly' taint or taint effect is 'PreferNoSchedule'). Please refer to https://aka.ms/aks/system-taints for detail
	NodeTaints []string `json:"nodeTaints"`
}

AgentPoolOptionalSettings agent pool optional settings

swagger:model AgentPoolOptionalSettings

func (*AgentPoolOptionalSettings) ContextValidate ¶ added in v2.19.0

func (m *AgentPoolOptionalSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this agent pool optional settings based on context it is used

func (*AgentPoolOptionalSettings) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*AgentPoolOptionalSettings) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*AgentPoolOptionalSettings) Validate ¶ added in v2.19.0

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

Validate validates this agent pool optional settings

type Alertmanager ¶ added in v2.18.0

type Alertmanager struct {

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

Alertmanager Alertmanager represents an Alertmanager Configuration

swagger:model Alertmanager

func (*Alertmanager) ContextValidate ¶ added in v2.18.0

func (m *Alertmanager) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alertmanager based on the context it is used

func (*Alertmanager) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*Alertmanager) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*Alertmanager) Validate ¶ added in v2.18.0

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

Validate validates this alertmanager

type AlertmanagerSpec ¶ added in v2.18.0

type AlertmanagerSpec struct {

	// Config contains the alertmanager configuration in YAML
	Config []uint8 `json:"config"`
}

AlertmanagerSpec alertmanager spec

swagger:model AlertmanagerSpec

func (*AlertmanagerSpec) ContextValidate ¶ added in v2.18.0

func (m *AlertmanagerSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alertmanager spec based on context it is used

func (*AlertmanagerSpec) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*AlertmanagerSpec) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*AlertmanagerSpec) Validate ¶ added in v2.18.0

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

Validate validates this alertmanager spec

type Alibaba ¶ added in v2.19.3

type Alibaba struct {

	// Access Key ID to authenticate against Alibaba.
	AccessKeyID string `json:"accessKeyID,omitempty"`

	// Access Key Secret to authenticate against Alibaba.
	AccessKeySecret string `json:"accessKeySecret,omitempty"`

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`
}

Alibaba alibaba

swagger:model Alibaba

func (*Alibaba) ContextValidate ¶ added in v2.19.3

func (m *Alibaba) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alibaba based on context it is used

func (*Alibaba) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Alibaba) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Alibaba) Validate ¶ added in v2.19.3

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

Validate validates this alibaba

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) ContextValidate ¶ added in v2.18.0

func (m *AlibabaCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alibaba cloud spec based on the context it is used

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 AlibabaInstanceType ¶

type AlibabaInstanceType struct {

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

	// g p u core count
	GPUCoreCount int64 `json:"gpuCoreCount,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) ContextValidate ¶ added in v2.18.0

func (m *AlibabaInstanceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alibaba instance type based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AlibabaInstanceTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alibaba instance type list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *AlibabaNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alibaba node spec based on context it is used

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 AlibabaVSwitch ¶ added in v2.17.0

type AlibabaVSwitch struct {

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

AlibabaVSwitch AlibabaVSwitch represents a object of Alibaba vSwitch.

swagger:model AlibabaVSwitch

func (*AlibabaVSwitch) ContextValidate ¶ added in v2.18.0

func (m *AlibabaVSwitch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alibaba v switch based on context it is used

func (*AlibabaVSwitch) MarshalBinary ¶ added in v2.17.0

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

MarshalBinary interface implementation

func (*AlibabaVSwitch) UnmarshalBinary ¶ added in v2.17.0

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

UnmarshalBinary interface implementation

func (*AlibabaVSwitch) Validate ¶ added in v2.17.0

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

Validate validates this alibaba v switch

type AlibabaVSwitchList ¶ added in v2.17.0

type AlibabaVSwitchList []*AlibabaVSwitch

AlibabaVSwitchList AlibabaVSwitchList represents an array of Alibaba vSwitches.

swagger:model AlibabaVSwitchList

func (AlibabaVSwitchList) ContextValidate ¶ added in v2.18.0

func (m AlibabaVSwitchList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alibaba v switch list based on the context it is used

func (AlibabaVSwitchList) Validate ¶ added in v2.17.0

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

Validate validates this alibaba v switch list

type AlibabaZone ¶

type AlibabaZone struct {

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

AlibabaZone AlibabaZone represents a object of Alibaba zone.

swagger:model AlibabaZone

func (*AlibabaZone) ContextValidate ¶ added in v2.18.0

func (m *AlibabaZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this alibaba zone based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AlibabaZoneList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this alibaba zone list based on the context it is used

func (AlibabaZoneList) Validate ¶

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

Validate validates this alibaba zone list

type AllowedRegistry ¶ added in v2.18.0

type AllowedRegistry struct {

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

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

AllowedRegistry AllowedRegistry represents a object containing a allowed image registry prefix

swagger:model AllowedRegistry

func (*AllowedRegistry) ContextValidate ¶ added in v2.18.0

func (m *AllowedRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allowed registry based on the context it is used

func (*AllowedRegistry) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*AllowedRegistry) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*AllowedRegistry) Validate ¶ added in v2.18.0

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

Validate validates this allowed registry

type AllowedRegistrySpec ¶ added in v2.18.0

type AllowedRegistrySpec struct {

	// RegistryPrefix contains the prefix of the registry which will be allowed. User clusters will be able to deploy
	// only images which are prefixed with one of the allowed image registry prefixes.
	RegistryPrefix string `json:"registryPrefix,omitempty"`
}

AllowedRegistrySpec AllowedRegistrySpec specifies the data for allowed registry spec.

swagger:model AllowedRegistrySpec

func (*AllowedRegistrySpec) ContextValidate ¶ added in v2.18.0

func (m *AllowedRegistrySpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allowed registry spec based on context it is used

func (*AllowedRegistrySpec) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*AllowedRegistrySpec) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*AllowedRegistrySpec) Validate ¶ added in v2.18.0

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

Validate validates this allowed registry spec

type AmazonLinuxSpec ¶ added in v2.21.0

type AmazonLinuxSpec struct {

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

AmazonLinuxSpec AmazonLinuxSpec amazon linux specific settings

swagger:model AmazonLinuxSpec

func (*AmazonLinuxSpec) ContextValidate ¶ added in v2.21.0

func (m *AmazonLinuxSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this amazon linux spec based on context it is used

func (*AmazonLinuxSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AmazonLinuxSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AmazonLinuxSpec) Validate ¶ added in v2.21.0

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

Validate validates this amazon linux spec

type Anexia ¶ added in v2.19.3

type Anexia struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// Token is used to authenticate with the Anexia API.
	Token string `json:"token,omitempty"`
}

Anexia anexia

swagger:model Anexia

func (*Anexia) ContextValidate ¶ added in v2.19.3

func (m *Anexia) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anexia based on context it is used

func (*Anexia) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Anexia) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Anexia) Validate ¶ added in v2.19.3

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

Validate validates this anexia

type AnexiaCloudSpec ¶

type AnexiaCloudSpec struct {

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

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

AnexiaCloudSpec AnexiaCloudSpec specifies the access data to Anexia.

swagger:model AnexiaCloudSpec

func (*AnexiaCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *AnexiaCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anexia cloud spec based on the context it is used

func (*AnexiaCloudSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AnexiaCloudSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AnexiaCloudSpec) Validate ¶

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

Validate validates this anexia cloud spec

type AnexiaDiskConfig ¶ added in v2.20.7

type AnexiaDiskConfig struct {

	// PerformanceType configures the performance type this disks of each node will have.
	// Known values are something like "ENT3" or "HPC2".
	PerformanceType string `json:"performanceType,omitempty"`

	// Disks configures this disk of each node will have.
	// Required: true
	Size *int64 `json:"size"`
}

AnexiaDiskConfig AnexiaDiskConfig defines a single disk for a node at anexia

swagger:model AnexiaDiskConfig

func (*AnexiaDiskConfig) ContextValidate ¶ added in v2.20.7

func (m *AnexiaDiskConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anexia disk config based on context it is used

func (*AnexiaDiskConfig) MarshalBinary ¶ added in v2.20.7

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

MarshalBinary interface implementation

func (*AnexiaDiskConfig) UnmarshalBinary ¶ added in v2.20.7

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

UnmarshalBinary interface implementation

func (*AnexiaDiskConfig) Validate ¶ added in v2.20.7

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

Validate validates this anexia disk config

type AnexiaNodeSpec ¶

type AnexiaNodeSpec struct {

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

	// DiskSize states the disk size that node will have.
	// Deprecated: please use the new Disks attribute instead.
	DiskSize int64 `json:"diskSize,omitempty"`

	// Disks configures the disks each node will have.
	Disks []*AnexiaDiskConfig `json:"disks"`

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

	// TemplateID instance template
	// Required: true
	TemplateID *string `json:"templateID"`

	// VlanID Instance vlanID
	// Required: true
	VlanID *string `json:"vlanID"`
}

AnexiaNodeSpec AnexiaNodeSpec anexia specific node settings

swagger:model AnexiaNodeSpec

func (*AnexiaNodeSpec) ContextValidate ¶ added in v2.18.0

func (m *AnexiaNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anexia node spec based on the context it is used

func (*AnexiaNodeSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AnexiaNodeSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AnexiaNodeSpec) Validate ¶

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

Validate validates this anexia node spec

type AnexiaTemplate ¶ added in v2.17.0

type AnexiaTemplate struct {

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

AnexiaTemplate AnexiaTemplate represents a object of Anexia template.

swagger:model AnexiaTemplate

func (*AnexiaTemplate) ContextValidate ¶ added in v2.18.0

func (m *AnexiaTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anexia template based on context it is used

func (*AnexiaTemplate) MarshalBinary ¶ added in v2.17.0

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

MarshalBinary interface implementation

func (*AnexiaTemplate) UnmarshalBinary ¶ added in v2.17.0

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

UnmarshalBinary interface implementation

func (*AnexiaTemplate) Validate ¶ added in v2.17.0

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

Validate validates this anexia template

type AnexiaTemplateList ¶ added in v2.17.0

type AnexiaTemplateList []*AnexiaTemplate

AnexiaTemplateList AnexiaTemplateList represents an array of Anexia templates.

swagger:model AnexiaTemplateList

func (AnexiaTemplateList) ContextValidate ¶ added in v2.18.0

func (m AnexiaTemplateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anexia template list based on the context it is used

func (AnexiaTemplateList) Validate ¶ added in v2.17.0

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

Validate validates this anexia template list

type AnexiaVlan ¶ added in v2.17.0

type AnexiaVlan struct {

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

AnexiaVlan AnexiaVlan represents a object of Anexia Vlan.

swagger:model AnexiaVlan

func (*AnexiaVlan) ContextValidate ¶ added in v2.18.0

func (m *AnexiaVlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this anexia vlan based on context it is used

func (*AnexiaVlan) MarshalBinary ¶ added in v2.17.0

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

MarshalBinary interface implementation

func (*AnexiaVlan) UnmarshalBinary ¶ added in v2.17.0

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

UnmarshalBinary interface implementation

func (*AnexiaVlan) Validate ¶ added in v2.17.0

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

Validate validates this anexia vlan

type AnexiaVlanList ¶ added in v2.17.0

type AnexiaVlanList []*AnexiaVlan

AnexiaVlanList AnexiaVlanList represents an array of Anexia Vlans.

swagger:model AnexiaVlanList

func (AnexiaVlanList) ContextValidate ¶ added in v2.18.0

func (m AnexiaVlanList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this anexia vlan list based on the context it is used

func (AnexiaVlanList) Validate ¶ added in v2.17.0

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

Validate validates this anexia vlan list

type Application ¶ added in v2.21.0

type Application struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

Application Application represents a set of applications that are to be installed for the cluster

swagger:model Application

func (*Application) ContextValidate ¶ added in v2.21.0

func (m *Application) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application based on the context it is used

func (*Application) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*Application) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*Application) Validate ¶ added in v2.21.0

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

Validate validates this application

type ApplicationDefinition ¶ added in v2.21.0

type ApplicationDefinition struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

ApplicationDefinition ApplicationDefinition is the object representing an ApplicationDefinition.

swagger:model ApplicationDefinition

func (*ApplicationDefinition) ContextValidate ¶ added in v2.21.0

func (m *ApplicationDefinition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application definition based on the context it is used

func (*ApplicationDefinition) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationDefinition) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationDefinition) Validate ¶ added in v2.21.0

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

Validate validates this application definition

type ApplicationDefinitionSpec ¶ added in v2.21.0

type ApplicationDefinitionSpec struct {

	// Description of the application. what is its purpose
	Description string `json:"description,omitempty"`

	// Available version for this application
	Versions []*ApplicationVersion `json:"versions"`

	// default values
	DefaultValues RawExtension `json:"defaultValues,omitempty"`

	// method
	Method TemplateMethod `json:"method,omitempty"`
}

ApplicationDefinitionSpec ApplicationDefinitionSpec defines the desired state of ApplicationDefinition.

swagger:model ApplicationDefinitionSpec

func (*ApplicationDefinitionSpec) ContextValidate ¶ added in v2.21.0

func (m *ApplicationDefinitionSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application definition spec based on the context it is used

func (*ApplicationDefinitionSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationDefinitionSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationDefinitionSpec) Validate ¶ added in v2.21.0

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

Validate validates this application definition spec

type ApplicationInstallation ¶ added in v2.21.0

type ApplicationInstallation struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

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

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

ApplicationInstallation ApplicationInstallation is the object representing an ApplicationInstallation.

swagger:model ApplicationInstallation

func (*ApplicationInstallation) ContextValidate ¶ added in v2.21.0

func (m *ApplicationInstallation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application installation based on the context it is used

func (*ApplicationInstallation) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationInstallation) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationInstallation) Validate ¶ added in v2.21.0

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

Validate validates this application installation

type ApplicationInstallationBody ¶ added in v2.21.0

type ApplicationInstallationBody struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

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

ApplicationInstallationBody ApplicationInstallationBody is the object representing the POST/PUT payload of an ApplicationInstallation

swagger:model ApplicationInstallationBody

func (*ApplicationInstallationBody) ContextValidate ¶ added in v2.21.0

func (m *ApplicationInstallationBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application installation body based on the context it is used

func (*ApplicationInstallationBody) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationInstallationBody) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationInstallationBody) Validate ¶ added in v2.21.0

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

Validate validates this application installation body

type ApplicationInstallationCondition ¶ added in v2.21.0

type ApplicationInstallationCondition struct {

	// Human readable message indicating details about last transition.
	Message string `json:"message,omitempty"`

	// (brief) reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`

	// Type of ApplicationInstallation condition.
	// ManifestsRetrieved ManifestsRetrieved  ManifestsRetrieved indicates all necessary manifests have been fetched from the external source.
	// Ready Ready  Ready describes all components have been successfully rolled out and are ready.
	// Enum: [ManifestsRetrieved Ready]
	Type string `json:"type,omitempty"`

	// last heartbeat time
	// Format: date-time
	LastHeartbeatTime Time `json:"lastHeartbeatTime,omitempty"`

	// last transition time
	// Format: date-time
	LastTransitionTime Time `json:"lastTransitionTime,omitempty"`

	// status
	Status ConditionStatus `json:"status,omitempty"`
}

ApplicationInstallationCondition application installation condition

swagger:model ApplicationInstallationCondition

func (*ApplicationInstallationCondition) ContextValidate ¶ added in v2.21.0

func (m *ApplicationInstallationCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application installation condition based on the context it is used

func (*ApplicationInstallationCondition) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationInstallationCondition) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationInstallationCondition) Validate ¶ added in v2.21.0

Validate validates this application installation condition

type ApplicationInstallationSpec ¶ added in v2.21.0

type ApplicationInstallationSpec struct {

	// application ref
	ApplicationRef *ApplicationRef `json:"applicationRef,omitempty"`

	// namespace
	Namespace *NamespaceSpec `json:"namespace,omitempty"`

	// values
	Values RawExtension `json:"values,omitempty"`
}

ApplicationInstallationSpec application installation spec

swagger:model ApplicationInstallationSpec

func (*ApplicationInstallationSpec) ContextValidate ¶ added in v2.21.0

func (m *ApplicationInstallationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application installation spec based on the context it is used

func (*ApplicationInstallationSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationInstallationSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationInstallationSpec) Validate ¶ added in v2.21.0

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

Validate validates this application installation spec

type ApplicationInstallationStatus ¶ added in v2.21.0

type ApplicationInstallationStatus struct {

	// Conditions contains conditions an installation is in, its primary use case is status signaling between controllers or between controllers and the API
	Conditions []*ApplicationInstallationCondition `json:"conditions"`

	// application version
	ApplicationVersion *ApplicationVersion `json:"applicationVersion,omitempty"`

	// method
	Method TemplateMethod `json:"method,omitempty"`
}

ApplicationInstallationStatus ApplicationInstallationStatus is the object representing the status of an Application.

swagger:model ApplicationInstallationStatus

func (*ApplicationInstallationStatus) ContextValidate ¶ added in v2.21.0

func (m *ApplicationInstallationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application installation status based on the context it is used

func (*ApplicationInstallationStatus) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationInstallationStatus) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationInstallationStatus) Validate ¶ added in v2.21.0

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

Validate validates this application installation status

type ApplicationRef ¶ added in v2.21.0

type ApplicationRef struct {

	// Name of the Application.
	// Should be a valid lowercase RFC1123 domain name
	// Pattern: =`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	Name string `json:"name,omitempty"`

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

ApplicationRef ApplicationRef describes a KKP-wide, unique reference to an Application.

swagger:model ApplicationRef

func (*ApplicationRef) ContextValidate ¶ added in v2.21.0

func (m *ApplicationRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this application ref based on context it is used

func (*ApplicationRef) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationRef) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationRef) Validate ¶ added in v2.21.0

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

Validate validates this application ref

type ApplicationSource ¶ added in v2.21.0

type ApplicationSource struct {

	// git
	Git *GitSource `json:"git,omitempty"`

	// helm
	Helm *HelmSource `json:"helm,omitempty"`
}

ApplicationSource application source

swagger:model ApplicationSource

func (*ApplicationSource) ContextValidate ¶ added in v2.21.0

func (m *ApplicationSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application source based on the context it is used

func (*ApplicationSource) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationSource) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationSource) Validate ¶ added in v2.21.0

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

Validate validates this application source

type ApplicationSpec ¶ added in v2.21.0

type ApplicationSpec struct {

	// Values describe overrides for manifest-rendering
	Values interface{} `json:"values,omitempty"`

	// application ref
	ApplicationRef *ApplicationRef `json:"applicationRef,omitempty"`

	// namespace
	Namespace *NamespaceSpec `json:"namespace,omitempty"`
}

ApplicationSpec ApplicationSpec represents the specification for an application

swagger:model ApplicationSpec

func (*ApplicationSpec) ContextValidate ¶ added in v2.21.0

func (m *ApplicationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application spec based on the context it is used

func (*ApplicationSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationSpec) Validate ¶ added in v2.21.0

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

Validate validates this application spec

type ApplicationTemplate ¶ added in v2.21.0

type ApplicationTemplate struct {

	// source
	Source *ApplicationSource `json:"source,omitempty"`
}

ApplicationTemplate application template

swagger:model ApplicationTemplate

func (*ApplicationTemplate) ContextValidate ¶ added in v2.21.0

func (m *ApplicationTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application template based on the context it is used

func (*ApplicationTemplate) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationTemplate) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationTemplate) Validate ¶ added in v2.21.0

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

Validate validates this application template

type ApplicationVersion ¶ added in v2.21.0

type ApplicationVersion struct {

	// Version of the application (e.g. v1.2.3)
	Version string `json:"version,omitempty"`

	// template
	Template *ApplicationTemplate `json:"template,omitempty"`
}

ApplicationVersion application version

swagger:model ApplicationVersion

func (*ApplicationVersion) ContextValidate ¶ added in v2.21.0

func (m *ApplicationVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this application version based on the context it is used

func (*ApplicationVersion) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ApplicationVersion) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ApplicationVersion) Validate ¶ added in v2.21.0

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

Validate validates this application version

type AuditLoggingSettings ¶

type AuditLoggingSettings struct {

	// Enabled will enable or disable audit logging.
	Enabled bool `json:"enabled,omitempty"`

	// policy preset
	PolicyPreset AuditPolicyPreset `json:"policyPreset,omitempty"`

	// sidecar
	Sidecar *AuditSidecarSettings `json:"sidecar,omitempty"`
}

AuditLoggingSettings AuditLoggingSettings configures audit logging functionality.

swagger:model AuditLoggingSettings

func (*AuditLoggingSettings) ContextValidate ¶ added in v2.18.0

func (m *AuditLoggingSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this audit logging settings based on the context it is used

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 AuditPolicyPreset ¶ added in v2.19.0

type AuditPolicyPreset string

AuditPolicyPreset AuditPolicyPreset refers to a pre-defined set of audit policy rules. Supported values are `metadata`, `recommended` and `minimal`. See KKP documentation for what each policy preset includes.

swagger:model AuditPolicyPreset

func (AuditPolicyPreset) ContextValidate ¶ added in v2.19.0

func (m AuditPolicyPreset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this audit policy preset based on context it is used

func (AuditPolicyPreset) Validate ¶ added in v2.19.0

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

Validate validates this audit policy preset

type AuditSidecarConfiguration ¶ added in v2.21.0

type AuditSidecarConfiguration struct {

	// filters
	Filters []map[string]string `json:"filters"`

	// outputs
	Outputs []map[string]string `json:"outputs"`

	// service
	Service map[string]string `json:"service,omitempty"`
}

AuditSidecarConfiguration AuditSidecarConfiguration defines custom configuration for the fluent-bit sidecar deployed with a kube-apiserver.

Also see https://docs.fluentbit.io/manual/v/1.8/administration/configuring-fluent-bit/configuration-file.

swagger:model AuditSidecarConfiguration

func (*AuditSidecarConfiguration) ContextValidate ¶ added in v2.21.0

func (m *AuditSidecarConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this audit sidecar configuration based on context it is used

func (*AuditSidecarConfiguration) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AuditSidecarConfiguration) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AuditSidecarConfiguration) Validate ¶ added in v2.21.0

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

Validate validates this audit sidecar configuration

type AuditSidecarSettings ¶ added in v2.21.0

type AuditSidecarSettings struct {

	// config
	Config *AuditSidecarConfiguration `json:"config,omitempty"`

	// resources
	Resources *ResourceRequirements `json:"resources,omitempty"`
}

AuditSidecarSettings audit sidecar settings

swagger:model AuditSidecarSettings

func (*AuditSidecarSettings) ContextValidate ¶ added in v2.21.0

func (m *AuditSidecarSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this audit sidecar settings based on the context it is used

func (*AuditSidecarSettings) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*AuditSidecarSettings) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*AuditSidecarSettings) Validate ¶ added in v2.21.0

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

Validate validates this audit sidecar settings

type Azure ¶ added in v2.19.3

type Azure struct {

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

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

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,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"`

	// v net resource group
	VNetResourceGroup string `json:"vnetResourceGroup,omitempty"`

	// load balancer s k u
	LoadBalancerSKU LBSKU `json:"loadBalancerSKU,omitempty"`
}

Azure azure

swagger:model Azure

func (*Azure) ContextValidate ¶ added in v2.19.3

func (m *Azure) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure based on the context it is used

func (*Azure) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Azure) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Azure) Validate ¶ added in v2.19.3

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

Validate validates this azure

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) ContextValidate ¶ added in v2.18.0

func (m *AzureAvailabilityZonesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure availability zones list based on context it is used

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 {

	// Optional: AssignAvailabilitySet determines whether KKP creates and assigns an AvailabilitySet to machines.
	// Defaults to `true` internally if not set.
	AssignAvailabilitySet bool `json:"assignAvailabilitySet,omitempty"`

	// An availability set that will be associated with nodes created for this cluster. If this field is set to empty string
	// at cluster creation and `AssignAvailabilitySet` is set to `true`, a new availability set will be created and this field
	// will be updated to the generated availability set's name.
	AvailabilitySet string `json:"availabilitySet,omitempty"`

	// ClientID is the service principal used to access Azure.
	// Can be read from `credentialsReference` instead.
	ClientID string `json:"clientID,omitempty"`

	// ClientSecret is the client secret corresponding to the given service principal.
	// Can be read from `credentialsReference` instead.
	ClientSecret string `json:"clientSecret,omitempty"`

	// A CIDR range that will be used to allow access to the node port range in the security group to. Only applies if
	// the security group is generated by KKP and not preexisting.
	// If NodePortsAllowedIPRange nor NodePortsAllowedIPRanges is set, the node port range can be accessed from anywhere.
	NodePortsAllowedIPRange string `json:"nodePortsAllowedIPRange,omitempty"`

	// The resource group that will be used to look up and create resources for the cluster in.
	// If set to empty string at cluster creation, a new resource group will be created and this field will be updated to
	// the generated resource group's name.
	ResourceGroup string `json:"resourceGroup,omitempty"`

	// The name of a route table associated with the subnet referenced by `subnet`.
	// If set to empty string at cluster creation, a new route table will be created and this field will be updated to
	// the generated route table's name. If no subnet is defined at cluster creation, this field should be empty as well.
	RouteTableName string `json:"routeTable,omitempty"`

	// The name of a security group associated with the subnet referenced by `subnet`.
	// If set to empty string at cluster creation, a new security group will be created and this field will be updated to
	// the generated security group's name. If no subnet is defined at cluster creation, this field should be empty as well.
	SecurityGroup string `json:"securityGroup,omitempty"`

	// The name of a subnet in the VNet referenced by `vnet`.
	// If set to empty string at cluster creation, a new subnet will be created and this field will be updated to
	// the generated subnet's name. If no VNet is defined at cluster creation, this field should be empty as well.
	SubnetName string `json:"subnet,omitempty"`

	// SubscriptionID is the Azure Subscription used for this cluster.
	// Can be read from `credentialsReference` instead.
	SubscriptionID string `json:"subscriptionID,omitempty"`

	// TenantID is the Azure Active Directory Tenant used for this cluster.
	// Can be read from `credentialsReference` instead.
	TenantID string `json:"tenantID,omitempty"`

	// The name of the VNet resource used for setting up networking in.
	// If set to empty string at cluster creation, a new VNet will be created and this field will be updated to
	// the generated VNet's name.
	VNetName string `json:"vnet,omitempty"`

	// Optional: VNetResourceGroup optionally defines a second resource group that will be used for VNet related resources instead.
	// If left empty, NO additional resource group will be created and all VNet related resources use the resource group defined by `resourceGroup`.
	VNetResourceGroup string `json:"vnetResourceGroup,omitempty"`

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

	// load balancer s k u
	LoadBalancerSKU LBSKU `json:"loadBalancerSKU,omitempty"`

	// node ports allowed IP ranges
	NodePortsAllowedIPRanges *NetworkRanges `json:"nodePortsAllowedIPRanges,omitempty"`
}

AzureCloudSpec AzureCloudSpec defines cloud resource references for Microsoft Azure.

swagger:model AzureCloudSpec

func (*AzureCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *AzureCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure cloud spec based on the context it is used

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 AzureNodeSpec ¶

type AzureNodeSpec struct {

	// AssignAvailabilitySet is used to check if an availability set should be created and assigned to the cluster.
	AssignAvailabilitySet bool `json:"assignAvailabilitySet,omitempty"`

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

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

	// ImageID represents the ID of the image that should be used to run the node
	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) ContextValidate ¶ added in v2.18.0

func (m *AzureNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure node spec based on context it is used

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 AzureResourceGroupsList ¶

type AzureResourceGroupsList struct {

	// resource groups
	ResourceGroups []string `json:"resourceGroups"`
}

AzureResourceGroupsList AzureResourceGroupsList is the object representing the resource groups for vms in azure cloud provider

swagger:model AzureResourceGroupsList

func (*AzureResourceGroupsList) ContextValidate ¶ added in v2.18.0

func (m *AzureResourceGroupsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure resource groups list based on context it is used

func (*AzureResourceGroupsList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureResourceGroupsList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureResourceGroupsList) Validate ¶

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

Validate validates this azure resource groups list

type AzureRouteTablesList ¶

type AzureRouteTablesList struct {

	// route tables
	RouteTables []string `json:"routeTables"`
}

AzureRouteTablesList AzureRouteTablesList is the object representing the route tables for vms in azure cloud provider

swagger:model AzureRouteTablesList

func (*AzureRouteTablesList) ContextValidate ¶ added in v2.18.0

func (m *AzureRouteTablesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure route tables list based on context it is used

func (*AzureRouteTablesList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureRouteTablesList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureRouteTablesList) Validate ¶

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

Validate validates this azure route tables list

type AzureSecurityGroupsList ¶

type AzureSecurityGroupsList struct {

	// security groups
	SecurityGroups []string `json:"securityGroups"`
}

AzureSecurityGroupsList AzureSecurityGroupsList is the object representing the security groups for vms in azure cloud provider

swagger:model AzureSecurityGroupsList

func (*AzureSecurityGroupsList) ContextValidate ¶ added in v2.18.0

func (m *AzureSecurityGroupsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure security groups list based on context it is used

func (*AzureSecurityGroupsList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureSecurityGroupsList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureSecurityGroupsList) Validate ¶

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

Validate validates this azure security groups list

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"`

	// number of g p us
	NumberOfGPUs int32 `json:"numberOfGPUs,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) ContextValidate ¶ added in v2.18.0

func (m *AzureSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure size based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m AzureSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this azure size list based on the context it is used

func (AzureSizeList) Validate ¶

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

Validate validates this azure size list

type AzureSubnetsList ¶

type AzureSubnetsList struct {

	// subnets
	Subnets []string `json:"subnets"`
}

AzureSubnetsList AzureSubnetsList is the object representing the subnets for vms in azure cloud provider

swagger:model AzureSubnetsList

func (*AzureSubnetsList) ContextValidate ¶ added in v2.18.0

func (m *AzureSubnetsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure subnets list based on context it is used

func (*AzureSubnetsList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureSubnetsList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureSubnetsList) Validate ¶

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

Validate validates this azure subnets list

type AzureVirtualNetworksList ¶

type AzureVirtualNetworksList struct {

	// virtual networks
	VirtualNetworks []string `json:"virtualNetworks"`
}

AzureVirtualNetworksList AzureVirtualNetworksList is the object representing the virtual network for vms in azure cloud provider

swagger:model AzureVirtualNetworksList

func (*AzureVirtualNetworksList) ContextValidate ¶ added in v2.18.0

func (m *AzureVirtualNetworksList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this azure virtual networks list based on context it is used

func (*AzureVirtualNetworksList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureVirtualNetworksList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureVirtualNetworksList) Validate ¶

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

Validate validates this azure virtual networks list

type BackupCredentials ¶ added in v2.18.0

type BackupCredentials struct {

	// Destination corresponds to the Seeds Seed.Spec.EtcdBackupRestore.Destinations, it defines for which destination
	// the backup credentials will be created. If set, it updates the credentials ref in the related Seed BackupDestination
	Destination string `json:"destination,omitempty"`

	// s3
	S3 *S3BackupCredentials `json:"s3,omitempty"`
}

BackupCredentials BackupCredentials contains credentials for etcd backups

swagger:model BackupCredentials

func (*BackupCredentials) ContextValidate ¶ added in v2.18.0

func (m *BackupCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this backup credentials based on the context it is used

func (*BackupCredentials) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*BackupCredentials) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*BackupCredentials) Validate ¶ added in v2.18.0

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

Validate validates this backup credentials

type BackupDestination ¶ added in v2.19.0

type BackupDestination struct {

	// BucketName is the bucket name to use for backup and restore.
	BucketName string `json:"bucketName,omitempty"`

	// Endpoint is the API endpoint to use for backup and restore.
	Endpoint string `json:"endpoint,omitempty"`

	// credentials
	Credentials *SecretReference `json:"credentials,omitempty"`
}

BackupDestination BackupDestination defines the bucket name and endpoint as a backup destination, and holds reference to the credentials secret.

swagger:model BackupDestination

func (*BackupDestination) ContextValidate ¶ added in v2.19.0

func (m *BackupDestination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this backup destination based on the context it is used

func (*BackupDestination) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*BackupDestination) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*BackupDestination) Validate ¶ added in v2.19.0

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

Validate validates this backup destination

type BackupDestinationNames ¶ added in v2.19.0

type BackupDestinationNames []string

BackupDestinationNames BackupDestinationNames represents an list of backup destination names.

swagger:model BackupDestinationNames

func (BackupDestinationNames) ContextValidate ¶ added in v2.19.0

func (m BackupDestinationNames) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup destination names based on context it is used

func (BackupDestinationNames) Validate ¶ added in v2.19.0

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

Validate validates this backup destination names

type BackupStatus ¶ added in v2.18.0

type BackupStatus struct {

	// backup message
	BackupMessage string `json:"backupMessage,omitempty"`

	// backup name
	BackupName string `json:"backupName,omitempty"`

	// delete job name
	DeleteJobName string `json:"deleteJobName,omitempty"`

	// delete message
	DeleteMessage string `json:"deleteMessage,omitempty"`

	// job name
	JobName string `json:"jobName,omitempty"`

	// backup finished time
	// Format: date-time
	BackupFinishedTime Time `json:"backupFinishedTime,omitempty"`

	// backup phase
	BackupPhase BackupStatusPhase `json:"backupPhase,omitempty"`

	// backup start time
	// Format: date-time
	BackupStartTime Time `json:"backupStartTime,omitempty"`

	// delete finished time
	// Format: date-time
	DeleteFinishedTime Time `json:"deleteFinishedTime,omitempty"`

	// delete phase
	DeletePhase BackupStatusPhase `json:"deletePhase,omitempty"`

	// delete start time
	// Format: date-time
	DeleteStartTime Time `json:"deleteStartTime,omitempty"`

	// scheduled time
	// Format: date-time
	ScheduledTime Time `json:"scheduledTime,omitempty"`
}

BackupStatus backup status

swagger:model BackupStatus

func (*BackupStatus) ContextValidate ¶ added in v2.18.0

func (m *BackupStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this backup status based on the context it is used

func (*BackupStatus) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*BackupStatus) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*BackupStatus) Validate ¶ added in v2.18.0

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

Validate validates this backup status

type BackupStatusPhase ¶ added in v2.18.0

type BackupStatusPhase string

BackupStatusPhase backup status phase

swagger:model BackupStatusPhase

func (BackupStatusPhase) ContextValidate ¶ added in v2.18.0

func (m BackupStatusPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this backup status phase based on context it is used

func (BackupStatusPhase) Validate ¶ added in v2.18.0

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

Validate validates this backup status phase

type BcBody ¶ added in v2.18.0

type BcBody struct {

	// backup credentials
	BackupCredentials *BackupCredentials `json:"backup_credentials,omitempty"`
}

BcBody bc body

swagger:model bcBody

func (*BcBody) ContextValidate ¶ added in v2.18.0

func (m *BcBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bc body based on the context it is used

func (*BcBody) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*BcBody) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*BcBody) Validate ¶ added in v2.18.0

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

Validate validates this bc body

type Body ¶

type Body struct {

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

	// Name is human readable name for the external cluster
	Name string `json:"name,omitempty"`

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

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

Body body

swagger:model body

func (*Body) ContextValidate ¶ added in v2.18.0

func (m *Body) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this body based on the context it is used

func (*Body) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Body) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Body) Validate ¶

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

Validate validates this body

type BringYourOwnCloudSpec ¶

type BringYourOwnCloudSpec interface{}

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

swagger:model BringYourOwnCloudSpec

type BringYourOwnSpec ¶ added in v2.21.0

type BringYourOwnSpec interface{}

BringYourOwnSpec bring your own spec

swagger:model BringYourOwnSpec

type ByPodStatus ¶

type ByPodStatus struct {

	// errors
	Errors []*CreateCRDError `json:"errors"`

	// a unique identifier for the pod that wrote the status
	ID string `json:"id,omitempty"`

	// observed generation
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

ByPodStatus ByPodStatus defines the observed state of ConstraintTemplate as seen by an individual controller +kubebuilder:pruning:PreserveUnknownFields

swagger:model ByPodStatus

func (*ByPodStatus) ContextValidate ¶ added in v2.18.0

func (m *ByPodStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this by pod status based on the context it is used

func (*ByPodStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ByPodStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ByPodStatus) Validate ¶

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

Validate validates this by pod status

type CNIPluginSettings ¶ added in v2.19.0

type CNIPluginSettings struct {

	// Version defines the CNI plugin version to be used. This varies by chosen CNI plugin type.
	Version string `json:"version,omitempty"`

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

CNIPluginSettings CNIPluginSettings contains the spec of the CNI plugin used by the Cluster.

swagger:model CNIPluginSettings

func (*CNIPluginSettings) ContextValidate ¶ added in v2.19.0

func (m *CNIPluginSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c n i plugin settings based on the context it is used

func (*CNIPluginSettings) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*CNIPluginSettings) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*CNIPluginSettings) Validate ¶ added in v2.19.0

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

Validate validates this c n i plugin settings

type CNIPluginType ¶ added in v2.19.0

type CNIPluginType string

CNIPluginType CNIPluginType defines the type of CNI plugin installed.

Possible values are `canal`, `cilium` or `none`.

swagger:model CNIPluginType

func (CNIPluginType) ContextValidate ¶ added in v2.19.0

func (m CNIPluginType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c n i plugin type based on context it is used

func (CNIPluginType) Validate ¶ added in v2.19.0

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

Validate validates this c n i plugin type

type CNIVersions ¶ added in v2.19.0

type CNIVersions struct {

	// CNIPluginType represents the type of the CNI Plugin
	CNIPluginType string `json:"cniPluginType,omitempty"`

	// Versions represents the list of the CNI Plugin versions that are supported
	Versions []string `json:"versions"`
}

CNIVersions CNIVersions is a list of versions for a CNI Plugin

swagger:model CNIVersions

func (*CNIVersions) ContextValidate ¶ added in v2.19.0

func (m *CNIVersions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this c n i versions based on context it is used

func (*CNIVersions) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*CNIVersions) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*CNIVersions) Validate ¶ added in v2.19.0

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

Validate validates this c n i versions

type CRD ¶

type CRD struct {

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

CRD c r d

swagger:model CRD

func (*CRD) ContextValidate ¶ added in v2.18.0

func (m *CRD) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c r d based on the context it is used

func (*CRD) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CRD) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CRD) Validate ¶

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

Validate validates this c r d

type CRDSpec ¶

type CRDSpec struct {

	// names
	Names *Names `json:"names,omitempty"`

	// validation
	Validation *Validation `json:"validation,omitempty"`
}

CRDSpec c r d spec

swagger:model CRDSpec

func (*CRDSpec) ContextValidate ¶ added in v2.18.0

func (m *CRDSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this c r d spec based on the context it is used

func (*CRDSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CRDSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CRDSpec) Validate ¶

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

Validate validates this c r d spec

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) ContextValidate ¶ added in v2.18.0

func (m *CentOSSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cent o s spec based on context it is used

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 {

	// Enable checkboxes that allow the user to ask for LoadBalancers and PVCs
	// to be deleted in order to not leave potentially expensive resources behind.
	Enabled bool `json:"enabled,omitempty"`

	// If enforced is set to true, the cleanup of LoadBalancers and PVCs is
	// enforced.
	Enforced bool `json:"enforced,omitempty"`
}

CleanupOptions cleanup options

swagger:model CleanupOptions

func (*CleanupOptions) ContextValidate ¶ added in v2.18.0

func (m *CleanupOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cleanup options based on context it is used

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 states the name of a cloud provider "datacenter" (defined in `Seed` resources)
	// this cluster should be deployed into.
	DatacenterName string `json:"dc,omitempty"`

	// ProviderName is the name of the cloud provider used for this cluster.
	// This must match the given provider spec (e.g. if the providerName is
	// "aws", then the `aws` field must be set).
	ProviderName string `json:"providerName,omitempty"`

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

	// anexia
	Anexia *AnexiaCloudSpec `json:"anexia,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"`

	// nutanix
	Nutanix *NutanixCloudSpec `json:"nutanix,omitempty"`

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

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

	// vmwareclouddirector
	Vmwareclouddirector *VMwareCloudDirectorCloudSpec `json:"vmwareclouddirector,omitempty"`

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

CloudSpec CloudSpec stores configuration options for a given cloud provider. Provider specs are mutually exclusive.

swagger:model CloudSpec

func (*CloudSpec) ContextValidate ¶ added in v2.18.0

func (m *CloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cloud spec based on the context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,omitempty"`

	// 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"`

	// machine deployment count
	MachineDeploymentCount int64 `json:"machineDeploymentCount,omitempty"`

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

	// Type is deprecated and not used anymore.
	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) ContextValidate ¶ added in v2.18.0

func (m *Cluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster based on the context it is used

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 {

	// alertmanager config
	AlertmanagerConfig HealthStatus `json:"alertmanagerConfig,omitempty"`

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

	// application controller
	ApplicationController HealthStatus `json:"applicationController,omitempty"`

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

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

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

	// gatekeeper audit
	GatekeeperAudit HealthStatus `json:"gatekeeperAudit,omitempty"`

	// gatekeeper controller
	GatekeeperController HealthStatus `json:"gatekeeperController,omitempty"`

	// kubernetes dashboard
	KubernetesDashboard HealthStatus `json:"kubernetesDashboard,omitempty"`

	// logging
	Logging HealthStatus `json:"logging,omitempty"`

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

	// mla gateway
	MlaGateway HealthStatus `json:"mlaGateway,omitempty"`

	// monitoring
	Monitoring HealthStatus `json:"monitoring,omitempty"`

	// operating system manager
	OperatingSystemManager HealthStatus `json:"operatingSystemManager,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) ContextValidate ¶ added in v2.18.0

func (m *ClusterHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster health based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m ClusterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ClusterMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster metrics based on the context it is used

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 ClusterNetworkingConfig ¶ added in v2.18.0

type ClusterNetworkingConfig struct {

	// CoreDNSReplicas is the number of desired pods of user cluster coredns deployment.
	CoreDNSReplicas int32 `json:"coreDNSReplicas,omitempty"`

	// Domain name for services.
	DNSDomain string `json:"dnsDomain,omitempty"`

	// KonnectivityEnabled enables konnectivity for controlplane to node network communication.
	KonnectivityEnabled bool `json:"konnectivityEnabled,omitempty"`

	// NodeCIDRMaskSizeIPv4 is the mask size used to address the nodes within provided IPv4 Pods CIDR.
	// It has to be larger than the provided IPv4 Pods CIDR. Defaults to 24.
	// +optional
	NodeCIDRMaskSizeIPV4 int32 `json:"nodeCidrMaskSizeIPv4,omitempty"`

	// NodeCIDRMaskSizeIPv6 is the mask size used to address the nodes within provided IPv6 Pods CIDR.
	// It has to be larger than the provided IPv6 Pods CIDR. Defaults to 64.
	// +optional
	NodeCIDRMaskSizeIPV6 int32 `json:"nodeCidrMaskSizeIPv6,omitempty"`

	// NodeLocalDNSCacheEnabled controls whether the NodeLocal DNS Cache feature is enabled.
	// Defaults to true.
	NodeLocalDNSCacheEnabled bool `json:"nodeLocalDNSCacheEnabled,omitempty"`

	// ProxyMode defines the kube-proxy mode ("ipvs" / "iptables" / "ebpf").
	// Defaults to "ipvs". "ebpf" disables kube-proxy and requires CNI support.
	ProxyMode string `json:"proxyMode,omitempty"`

	// ip family
	IPFamily IPFamily `json:"ipFamily,omitempty"`

	// ipvs
	Ipvs *IPVSConfiguration `json:"ipvs,omitempty"`

	// pods
	Pods *NetworkRanges `json:"pods,omitempty"`

	// services
	Services *NetworkRanges `json:"services,omitempty"`
}

ClusterNetworkingConfig ClusterNetworkingConfig specifies the different networking parameters for a cluster.

swagger:model ClusterNetworkingConfig

func (*ClusterNetworkingConfig) ContextValidate ¶ added in v2.18.0

func (m *ClusterNetworkingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster networking config based on the context it is used

func (*ClusterNetworkingConfig) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ClusterNetworkingConfig) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ClusterNetworkingConfig) Validate ¶ added in v2.18.0

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

Validate validates this cluster networking config

type ClusterRole ¶

type ClusterRole struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *ClusterRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster role based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ClusterRoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster role binding based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ClusterRoleName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster role name based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ClusterRoleUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster role user based on context it is used

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"`

	// ContainerRuntime to use, i.e. Docker or containerd. By default containerd will be used.
	ContainerRuntime string `json:"containerRuntime,omitempty"`

	// EnableOperatingSystemManager enables OSM which in-turn is responsible for creating and managing worker node configuration.
	EnableOperatingSystemManager bool `json:"enableOperatingSystemManager,omitempty"`

	// EnableUserSSHKeyAgent control whether the UserSSHKeyAgent will be deployed in the user cluster or not.
	// If it was enabled, the agent will be deployed and used to sync the user ssh keys, that the user attach
	// to the created cluster. If the agent was disabled, it won't be deployed in the user cluster, thus after
	// the cluster creation any attached ssh keys won't be synced to the worker nodes. Once the agent is enabled/disabled
	// it cannot be changed after the cluster is being created.
	EnableUserSSHKeyAgent bool `json:"enableUserSSHKeyAgent,omitempty"`

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

	// PodNodeSelectorAdmissionPluginConfig provides the configuration for the PodNodeSelector.
	// It's used by the backend to create a configuration file for this plugin.
	// The key:value from the map is converted to the namespace:<node-selectors-labels> in the file.
	// The format in a file:
	// podNodeSelectorPluginConfig:
	// clusterDefaultNodeSelector: <node-selectors-labels>
	// namespace1: <node-selectors-labels>
	// namespace2: <node-selectors-labels>
	PodNodeSelectorAdmissionPluginConfig map[string]string `json:"podNodeSelectorAdmissionPluginConfig,omitempty"`

	// If active the EventRateLimit admission plugin is configured at the apiserver
	UseEventRateLimitAdmissionPlugin bool `json:"useEventRateLimitAdmissionPlugin,omitempty"`

	// 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"`

	// cluster network
	ClusterNetwork *ClusterNetworkingConfig `json:"clusterNetwork,omitempty"`

	// cni plugin
	CniPlugin *CNIPluginSettings `json:"cniPlugin,omitempty"`

	// event rate limit config
	EventRateLimitConfig *EventRateLimitConfig `json:"eventRateLimitConfig,omitempty"`

	// kubernetes dashboard
	KubernetesDashboard *KubernetesDashboard `json:"kubernetesDashboard,omitempty"`

	// mla
	Mla *MLASettings `json:"mla,omitempty"`

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

	// opa integration
	OpaIntegration *OPAIntegrationSettings `json:"opaIntegration,omitempty"`

	// service account
	ServiceAccount *ServiceAccountSettings `json:"serviceAccount,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) ContextValidate ¶ added in v2.18.0

func (m *ClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster spec based on the context it is used

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"`

	// external c c m migration
	ExternalCCMMigration ExternalCCMMigrationStatus `json:"externalCCMMigration,omitempty"`

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

ClusterStatus ClusterStatus defines the cluster status.

swagger:model ClusterStatus

func (*ClusterStatus) ContextValidate ¶ added in v2.18.0

func (m *ClusterStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster status based on the context it is used

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 ClusterTemplate ¶ added in v2.18.0

type ClusterTemplate struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,omitempty"`

	// applications
	Applications []*Application `json:"applications"`

	// 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"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// scope
	Scope string `json:"scope,omitempty"`

	// user
	User string `json:"user,omitempty"`

	// user SSH keys
	UserSSHKeys []*ClusterTemplateSSHKey `json:"userSshKeys"`

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

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

ClusterTemplate ClusterTemplate represents a ClusterTemplate object

swagger:model ClusterTemplate

func (*ClusterTemplate) ContextValidate ¶ added in v2.18.0

func (m *ClusterTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster template based on the context it is used

func (*ClusterTemplate) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ClusterTemplate) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplate) Validate ¶ added in v2.18.0

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

Validate validates this cluster template

type ClusterTemplateInfo ¶ added in v2.21.0

type ClusterTemplateInfo struct {

	// indicates the preset name
	Credential string `json:"credential,omitempty"`

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

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

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

ClusterTemplateInfo ClusterTemplateInfo represents a ClusterTemplateInfo object.

swagger:model ClusterTemplateInfo

func (*ClusterTemplateInfo) ContextValidate ¶ added in v2.21.0

func (m *ClusterTemplateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster template info based on the context it is used

func (*ClusterTemplateInfo) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ClusterTemplateInfo) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplateInfo) Validate ¶ added in v2.21.0

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

Validate validates this cluster template info

type ClusterTemplateInstance ¶ added in v2.18.0

type ClusterTemplateInstance struct {

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

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

ClusterTemplateInstance ClusterTemplateInstance represents a ClusterTemplateInstance object

swagger:model ClusterTemplateInstance

func (*ClusterTemplateInstance) ContextValidate ¶ added in v2.18.0

func (m *ClusterTemplateInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster template instance based on the context it is used

func (*ClusterTemplateInstance) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ClusterTemplateInstance) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplateInstance) Validate ¶ added in v2.18.0

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

Validate validates this cluster template instance

type ClusterTemplateInstanceSpec ¶ added in v2.18.0

type ClusterTemplateInstanceSpec struct {

	// cluster template ID
	ClusterTemplateID string `json:"clusterTemplateID,omitempty"`

	// cluster template name
	ClusterTemplateName string `json:"clusterTemplateName,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// replicas
	Replicas int64 `json:"replicas,omitempty"`
}

ClusterTemplateInstanceSpec ClusterTemplateInstanceSpec specifies the data for cluster instances.

swagger:model ClusterTemplateInstanceSpec

func (*ClusterTemplateInstanceSpec) ContextValidate ¶ added in v2.18.0

func (m *ClusterTemplateInstanceSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster template instance spec based on context it is used

func (*ClusterTemplateInstanceSpec) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ClusterTemplateInstanceSpec) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplateInstanceSpec) Validate ¶ added in v2.18.0

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

Validate validates this cluster template instance spec

type ClusterTemplateList ¶ added in v2.18.0

type ClusterTemplateList []*ClusterTemplate

ClusterTemplateList ClusterTemplateList represents a ClusterTemplate list

swagger:model ClusterTemplateList

func (ClusterTemplateList) ContextValidate ¶ added in v2.18.0

func (m ClusterTemplateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster template list based on the context it is used

func (ClusterTemplateList) Validate ¶ added in v2.18.0

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

Validate validates this cluster template list

type ClusterTemplateNodeDeployment ¶ added in v2.21.0

type ClusterTemplateNodeDeployment struct {

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

ClusterTemplateNodeDeployment cluster template node deployment

swagger:model ClusterTemplateNodeDeployment

func (*ClusterTemplateNodeDeployment) ContextValidate ¶ added in v2.21.0

func (m *ClusterTemplateNodeDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster template node deployment based on the context it is used

func (*ClusterTemplateNodeDeployment) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ClusterTemplateNodeDeployment) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplateNodeDeployment) Validate ¶ added in v2.21.0

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

Validate validates this cluster template node deployment

type ClusterTemplateSSHKey ¶ added in v2.18.0

type ClusterTemplateSSHKey struct {

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

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

ClusterTemplateSSHKey ClusterTemplateSSHKey represents SSH Key object for Cluster Template

swagger:model ClusterTemplateSSHKey

func (*ClusterTemplateSSHKey) ContextValidate ¶ added in v2.18.0

func (m *ClusterTemplateSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster template SSH key based on context it is used

func (*ClusterTemplateSSHKey) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ClusterTemplateSSHKey) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ClusterTemplateSSHKey) Validate ¶ added in v2.18.0

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

Validate validates this cluster template SSH key

type ConditionStatus ¶ added in v2.18.0

type ConditionStatus string

ConditionStatus condition status

swagger:model ConditionStatus

func (ConditionStatus) ContextValidate ¶ added in v2.18.0

func (m ConditionStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this condition status based on context it is used

func (ConditionStatus) Validate ¶ added in v2.18.0

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

Validate validates this condition status

type Constraint ¶

type Constraint struct {

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

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

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

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

Constraint Constraint represents a gatekeeper Constraint

swagger:model Constraint

func (*Constraint) ContextValidate ¶ added in v2.18.0

func (m *Constraint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint based on the context it is used

func (*Constraint) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Constraint) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Constraint) Validate ¶

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

Validate validates this constraint

type ConstraintBody ¶

type ConstraintBody struct {

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

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

ConstraintBody constraint body

swagger:model constraintBody

func (*ConstraintBody) ContextValidate ¶ added in v2.18.0

func (m *ConstraintBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint body based on the context it is used

func (*ConstraintBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintBody) Validate ¶

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

Validate validates this constraint body

type ConstraintSelector ¶ added in v2.18.0

type ConstraintSelector struct {

	// Providers is a list of cloud providers to which the Constraint applies to. Empty means all providers are selected.
	Providers []string `json:"providers"`

	// label selector
	LabelSelector *LabelSelector `json:"labelSelector,omitempty"`
}

ConstraintSelector ConstraintSelector is the object holding the cluster selection filters.

swagger:model ConstraintSelector

func (*ConstraintSelector) ContextValidate ¶ added in v2.18.0

func (m *ConstraintSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint selector based on the context it is used

func (*ConstraintSelector) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ConstraintSelector) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ConstraintSelector) Validate ¶ added in v2.18.0

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

Validate validates this constraint selector

type ConstraintSpec ¶

type ConstraintSpec struct {

	// ConstraintType specifies the type of gatekeeper constraint that the constraint applies to
	ConstraintType string `json:"constraintType,omitempty"`

	// Disabled  is the flag for disabling OPA constraints
	Disabled bool `json:"disabled,omitempty"`

	// match
	Match *Match `json:"match,omitempty"`

	// parameters
	Parameters Parameters `json:"parameters,omitempty"`

	// selector
	Selector *ConstraintSelector `json:"selector,omitempty"`
}

ConstraintSpec ConstraintSpec specifies the data for the constraint.

swagger:model ConstraintSpec

func (*ConstraintSpec) ContextValidate ¶ added in v2.18.0

func (m *ConstraintSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint spec based on the context it is used

func (*ConstraintSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintSpec) Validate ¶

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

Validate validates this constraint spec

type ConstraintStatus ¶

type ConstraintStatus struct {

	// audit timestamp
	AuditTimestamp string `json:"auditTimestamp,omitempty"`

	// enforcement
	Enforcement string `json:"enforcement,omitempty"`

	// synced
	Synced bool `json:"synced,omitempty"`

	// violations
	Violations []*Violation `json:"violations"`
}

ConstraintStatus ConstraintStatus represents a constraint status which holds audit info.

swagger:model ConstraintStatus

func (*ConstraintStatus) ContextValidate ¶ added in v2.18.0

func (m *ConstraintStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint status based on the context it is used

func (*ConstraintStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintStatus) Validate ¶

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

Validate validates this constraint status

type ConstraintTemplate ¶

type ConstraintTemplate struct {

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

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

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

ConstraintTemplate ConstraintTemplate represents a gatekeeper ConstraintTemplate

swagger:model ConstraintTemplate

func (*ConstraintTemplate) ContextValidate ¶ added in v2.18.0

func (m *ConstraintTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint template based on the context it is used

func (*ConstraintTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintTemplate) Validate ¶

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

Validate validates this constraint template

type ConstraintTemplateSelector ¶ added in v2.17.0

type ConstraintTemplateSelector struct {

	// Providers is a list of cloud providers to which the Constraint Template applies to. Empty means all providers are selected.
	Providers []string `json:"providers"`

	// label selector
	LabelSelector *LabelSelector `json:"labelSelector,omitempty"`
}

ConstraintTemplateSelector ConstraintTemplateSelector is the object holding the cluster selection filters.

swagger:model ConstraintTemplateSelector

func (*ConstraintTemplateSelector) ContextValidate ¶ added in v2.18.0

func (m *ConstraintTemplateSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint template selector based on the context it is used

func (*ConstraintTemplateSelector) MarshalBinary ¶ added in v2.17.0

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

MarshalBinary interface implementation

func (*ConstraintTemplateSelector) UnmarshalBinary ¶ added in v2.17.0

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

UnmarshalBinary interface implementation

func (*ConstraintTemplateSelector) Validate ¶ added in v2.17.0

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

Validate validates this constraint template selector

type ConstraintTemplateSpec ¶

type ConstraintTemplateSpec struct {

	// targets
	Targets []*Target `json:"targets"`

	// crd
	Crd *CRD `json:"crd,omitempty"`

	// selector
	Selector *ConstraintTemplateSelector `json:"selector,omitempty"`
}

ConstraintTemplateSpec ConstraintTemplateSpec is the object representing the gatekeeper constraint template spec and kubermatic related spec.

swagger:model ConstraintTemplateSpec

func (*ConstraintTemplateSpec) ContextValidate ¶ added in v2.18.0

func (m *ConstraintTemplateSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint template spec based on the context it is used

func (*ConstraintTemplateSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintTemplateSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintTemplateSpec) Validate ¶

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

Validate validates this constraint template spec

type ConstraintTemplateStatus ¶

type ConstraintTemplateStatus struct {

	// by pod
	ByPod []*ByPodStatus `json:"byPod"`

	// created
	Created bool `json:"created,omitempty"`
}

ConstraintTemplateStatus ConstraintTemplateStatus defines the observed state of ConstraintTemplate.

swagger:model ConstraintTemplateStatus

func (*ConstraintTemplateStatus) ContextValidate ¶ added in v2.18.0

func (m *ConstraintTemplateStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constraint template status based on the context it is used

func (*ConstraintTemplateStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConstraintTemplateStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConstraintTemplateStatus) Validate ¶

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

Validate validates this constraint template status

type ContainerRuntimeContainerd ¶ added in v2.20.4

type ContainerRuntimeContainerd struct {

	// A map of registries to use to render configs and mirrors for containerd registries
	Registries map[string]ContainerdRegistry `json:"registries,omitempty"`
}

ContainerRuntimeContainerd ContainerRuntimeContainerd defines containerd container runtime registries configs.

swagger:model ContainerRuntimeContainerd

func (*ContainerRuntimeContainerd) ContextValidate ¶ added in v2.20.4

func (m *ContainerRuntimeContainerd) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container runtime containerd based on the context it is used

func (*ContainerRuntimeContainerd) MarshalBinary ¶ added in v2.20.4

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

MarshalBinary interface implementation

func (*ContainerRuntimeContainerd) UnmarshalBinary ¶ added in v2.20.4

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

UnmarshalBinary interface implementation

func (*ContainerRuntimeContainerd) Validate ¶ added in v2.20.4

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

Validate validates this container runtime containerd

type ContainerdRegistry ¶ added in v2.20.4

type ContainerdRegistry struct {

	// List of registry mirrors to use
	Mirrors []string `json:"mirrors"`
}

ContainerdRegistry ContainerdRegistry defines endpoints and security for given container registry.

swagger:model ContainerdRegistry

func (*ContainerdRegistry) ContextValidate ¶ added in v2.20.4

func (m *ContainerdRegistry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this containerd registry based on context it is used

func (*ContainerdRegistry) MarshalBinary ¶ added in v2.20.4

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

MarshalBinary interface implementation

func (*ContainerdRegistry) UnmarshalBinary ¶ added in v2.20.4

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

UnmarshalBinary interface implementation

func (*ContainerdRegistry) Validate ¶ added in v2.20.4

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

Validate validates this containerd registry

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) ContextValidate ¶ added in v2.18.0

func (m *ControlPlaneMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this control plane metrics based on context it is used

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 CreateCRDError ¶

type CreateCRDError struct {

	// code
	Code string `json:"code,omitempty"`

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

	// message
	Message string `json:"message,omitempty"`
}

CreateCRDError CreateCRDError represents a single error caught during parsing, compiling, etc.

swagger:model CreateCRDError

func (*CreateCRDError) ContextValidate ¶ added in v2.18.0

func (m *CreateCRDError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create c r d error based on context it is used

func (*CreateCRDError) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateCRDError) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateCRDError) Validate ¶

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

Validate validates this create c r d error

type CreateClusterSpec ¶

type CreateClusterSpec struct {

	// applications
	Applications []*Application `json:"applications"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *CreateClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create cluster spec based on the context it is used

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 CreateSeedMLASettings ¶ added in v2.21.0

type CreateSeedMLASettings struct {

	// Optional: UserClusterMLAEnabled controls whether the user cluster MLA (Monitoring, Logging & Alerting) stack is enabled in the seed.
	UserClusterMLAEnabled bool `json:"userClusterMLAEnabled,omitempty"`
}

CreateSeedMLASettings create seed m l a settings

swagger:model CreateSeedMLASettings

func (*CreateSeedMLASettings) ContextValidate ¶ added in v2.21.0

func (m *CreateSeedMLASettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create seed m l a settings based on context it is used

func (*CreateSeedMLASettings) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*CreateSeedMLASettings) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*CreateSeedMLASettings) Validate ¶ added in v2.21.0

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

Validate validates this create seed m l a settings

type CreateSeedProxySettings ¶ added in v2.21.0

type CreateSeedProxySettings struct {

	// Optional: If set, this proxy will be configured for both HTTP and HTTPS.
	HTTPProxy string `json:"httpProxy,omitempty"`

	// Optional: If set this will be set as NO_PROXY environment variable on the node;
	// The value must be a comma-separated list of domains for which no proxy
	// should be used, e.g. "*.example.com,internal.dev".
	// Note that the in-cluster apiserver URL will be automatically prepended
	// to this value.
	NoProxy string `json:"noProxy,omitempty"`
}

CreateSeedProxySettings CreateSeedProxySettings allow configuring a HTTP proxy for the controlplanes and nodes.

swagger:model CreateSeedProxySettings

func (*CreateSeedProxySettings) ContextValidate ¶ added in v2.21.0

func (m *CreateSeedProxySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create seed proxy settings based on context it is used

func (*CreateSeedProxySettings) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*CreateSeedProxySettings) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*CreateSeedProxySettings) Validate ¶ added in v2.21.0

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

Validate validates this create seed proxy settings

type CreateSeedSpec ¶ added in v2.21.0

type CreateSeedSpec 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"`

	// DefaultClusterTemplate is the name of a cluster template of scope "seed" that is used
	// to default all new created clusters
	DefaultClusterTemplate string `json:"defaultClusterTemplate,omitempty"`

	// The raw Kubeconfig encoded to base64. This field is used for cluster creation or update.
	Kubeconfig string `json:"kubeconfig,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"`

	// expose strategy
	ExposeStrategy ExposeStrategy `json:"expose_strategy,omitempty"`

	// mla
	Mla *CreateSeedMLASettings `json:"mla,omitempty"`

	// proxy settings
	ProxySettings *CreateSeedProxySettings `json:"proxy_settings,omitempty"`
}

CreateSeedSpec CreateSeedSpec is the structure that is used to create seed.

swagger:model CreateSeedSpec

func (*CreateSeedSpec) ContextValidate ¶ added in v2.21.0

func (m *CreateSeedSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create seed spec based on the context it is used

func (*CreateSeedSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*CreateSeedSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*CreateSeedSpec) Validate ¶ added in v2.21.0

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

Validate validates this create seed 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) ContextValidate ¶ added in v2.18.0

func (m *CredentialList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credential list based on context it is used

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 CtBody ¶

type CtBody struct {

	// Name of the constraint template
	Name string `json:"name,omitempty"`

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

CtBody ct body

swagger:model ctBody

func (*CtBody) ContextValidate ¶ added in v2.18.0

func (m *CtBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ct body based on the context it is used

func (*CtBody) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CtBody) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CtBody) Validate ¶

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

Validate validates this ct body

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) ContextValidate ¶ added in v2.18.0

func (m *CustomLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this custom link based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m CustomLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom links based on the context it is used

func (CustomLinks) Validate ¶

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

Validate validates this custom links

type Datacenter ¶

type Datacenter struct {

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

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

Datacenter Datacenter is the object representing a Kubernetes infra datacenter.

swagger:model Datacenter

func (*Datacenter) ContextValidate ¶ added in v2.18.0

func (m *Datacenter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m DatacenterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter list based on the context it is used

func (DatacenterList) Validate ¶

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

Validate validates this datacenter list

type DatacenterMeta ¶

type DatacenterMeta struct {

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

DatacenterMeta DatacenterMeta holds datacenter metadata information.

swagger:model DatacenterMeta

func (*DatacenterMeta) ContextValidate ¶ added in v2.18.0

func (m *DatacenterMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter meta based on context it is used

func (*DatacenterMeta) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatacenterMeta) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatacenterMeta) Validate ¶

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

Validate validates this datacenter meta

type DatacenterSpec ¶

type DatacenterSpec struct {

	// Optional: Country of the seed as ISO-3166 two-letter code, e.g. DE or UK.
	// It is used for informational purposes.
	Country string `json:"country,omitempty"`

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

	// EnforcePodSecurityPolicy enforces pod security policy plugin on every clusters within the DC,
	// ignoring cluster-specific settings
	EnforcePodSecurityPolicy bool `json:"enforcePodSecurityPolicy,omitempty"`

	// IPv6Enabled is a flag to indicate if the ipv6 is enabled for the datacenter.
	IPV6Enabled bool `json:"ipv6Enabled,omitempty"`

	// Optional: Detailed location of the cluster, like "Hamburg" or "Datacenter 7".
	// It is used for informational purposes.
	Location string `json:"location,omitempty"`

	// Name of the datacenter provider. Extracted based on which provider is defined in the spec.
	// It is used for informational purposes.
	Provider string `json:"provider,omitempty"`

	// required emails
	RequiredEmails []string `json:"requiredEmails"`

	// Name of the seed this datacenter belongs to.
	Seed string `json:"seed,omitempty"`

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

	// anexia
	Anexia *DatacenterSpecAnexia `json:"anexia,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"`

	// node
	Node *NodeSettings `json:"node,omitempty"`

	// nutanix
	Nutanix *DatacenterSpecNutanix `json:"nutanix,omitempty"`

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

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

	// vmwareclouddirector
	Vmwareclouddirector *DatacenterSpecVMwareCloudDirector `json:"vmwareclouddirector,omitempty"`

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

DatacenterSpec DatacenterSpec specifies the data for a datacenter.

swagger:model DatacenterSpec

func (*DatacenterSpec) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecAWS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec a w s based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecAlibaba) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec alibaba based on context it is used

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 DatacenterSpecAnexia ¶

type DatacenterSpecAnexia struct {

	// LocationID the location of the region
	LocationID string `json:"locationID,omitempty"`
}

DatacenterSpecAnexia DatacenterSpecAnexia describes a anexia datacenter.

swagger:model DatacenterSpecAnexia

func (*DatacenterSpecAnexia) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecAnexia) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec anexia based on context it is used

func (*DatacenterSpecAnexia) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatacenterSpecAnexia) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatacenterSpecAnexia) Validate ¶

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

Validate validates this datacenter spec anexia

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) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecAzure) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec azure based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecDigitalocean) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec digitalocean based on context it is used

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:"fakeProperty,omitempty"`
}

DatacenterSpecFake DatacenterSpecFake describes a fake datacenter.

swagger:model DatacenterSpecFake

func (*DatacenterSpecFake) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecFake) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec fake based on context it is used

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:"zoneSuffixes"`
}

DatacenterSpecGCP DatacenterSpecGCP describes a GCP datacenter.

swagger:model DatacenterSpecGCP

func (*DatacenterSpecGCP) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecGCP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec g c p based on context it is used

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://docs.hetzner.com/general/others/data-centers-and-connection/
	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"`

	// Network is the pre-existing Hetzner network in which the machines are running.
	// While machines can be in multiple networks, a single one must be chosen for the
	// HCloud CCM to work.
	Network string `json:"network,omitempty"`
}

DatacenterSpecHetzner DatacenterSpecHetzner describes a Hetzner cloud datacenter.

swagger:model DatacenterSpecHetzner

func (*DatacenterSpecHetzner) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecHetzner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec hetzner based on context it is used

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 struct {

	// DNSPolicy represents the dns policy for the pod. Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst',
	// 'Default' or 'None'. Defaults to "ClusterFirst". DNS parameters given in DNSConfig will be merged with the
	// policy selected with DNSPolicy.
	DNSPolicy string `json:"dnsPolicy,omitempty"`

	// dns config
	DNSConfig *PodDNSConfig `json:"dnsConfig,omitempty"`
}

DatacenterSpecKubevirt DatacenterSpecKubevirt describes a kubevirt datacenter.

swagger:model DatacenterSpecKubevirt

func (*DatacenterSpecKubevirt) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecKubevirt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec kubevirt based on the context it is used

func (*DatacenterSpecKubevirt) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatacenterSpecKubevirt) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatacenterSpecKubevirt) Validate ¶

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

Validate validates this datacenter spec kubevirt

type DatacenterSpecNutanix ¶ added in v2.19.1

type DatacenterSpecNutanix struct {

	// Optional: AllowInsecure allows to disable the TLS certificate check against the endpoint (defaults to false)
	AllowInsecure bool `json:"allowInsecure,omitempty"`

	// Endpoint to use for accessing Nutanix Prism Central. No protocol or port should be passed,
	// for example "nutanix.example.com" or "10.0.0.1"
	Endpoint string `json:"endpoint,omitempty"`

	// Optional: Port to use when connecting to the Nutanix Prism Central endpoint (defaults to 9440)
	Port int32 `json:"port,omitempty"`

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

DatacenterSpecNutanix DatacenterSpecNutanix describes a Nutanix datacenter.

swagger:model DatacenterSpecNutanix

func (*DatacenterSpecNutanix) ContextValidate ¶ added in v2.19.1

func (m *DatacenterSpecNutanix) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec nutanix based on the context it is used

func (*DatacenterSpecNutanix) MarshalBinary ¶ added in v2.19.1

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

MarshalBinary interface implementation

func (*DatacenterSpecNutanix) UnmarshalBinary ¶ added in v2.19.1

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

UnmarshalBinary interface implementation

func (*DatacenterSpecNutanix) Validate ¶ added in v2.19.1

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

Validate validates this datacenter spec nutanix

type DatacenterSpecOpenstack ¶

type DatacenterSpecOpenstack struct {

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

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

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

	// Optional: List of enabled flavors for the given datacenter
	EnabledFlavors []string `json:"enabledFlavors"`

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

	// Optional: defines if the IPv6 is enabled for the datacenter
	IPV6Enabled bool `json:"ipv6Enabled,omitempty"`

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

	// Optional: Gets mapped to the "manage-security-groups" setting in the cloud config.
	// This setting defaults to true.
	ManageSecurityGroups bool `json:"manageSecurityGroups,omitempty"`

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

	// Optional: Gets mapped to the "trust-device-path" setting in the cloud config.
	// This setting defaults to false.
	TrustDevicePath bool `json:"trustDevicePath,omitempty"`

	// Optional: Gets mapped to the "use-octavia" setting in the cloud config.
	// use-octavia is enabled by default in CCM since v1.17.0, and disabled by
	// default with the in-tree cloud provider.
	UseOctavia bool `json:"useOctavia,omitempty"`

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

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

DatacenterSpecOpenstack DatacenterSpecOpenstack describes an OpenStack datacenter.

swagger:model DatacenterSpecOpenstack

func (*DatacenterSpecOpenstack) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecOpenstack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec openstack based on the context it is used

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://metal.equinix.com/developers/docs/locations/facilities/
	Facilities []string `json:"facilities"`

	// Metros are facilities that are grouped together geographically and share capacity
	// and networking features, see https://metal.equinix.com/developers/docs/locations/metros/
	Metro string `json:"metro,omitempty"`
}

DatacenterSpecPacket DatacenterSpecPacket describes a Packet datacenter.

swagger:model DatacenterSpecPacket

func (*DatacenterSpecPacket) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecPacket) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datacenter spec packet based on context it is used

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 DatacenterSpecVMwareCloudDirector ¶ added in v2.21.0

type DatacenterSpecVMwareCloudDirector struct {

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

	// The default catalog which contains the VM templates.
	DefaultCatalog string `json:"catalog,omitempty"`

	// The name of the storage profile to use for disks attached to the VMs.
	DefaultStorageProfile string `json:"storageProfile,omitempty"`

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

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

DatacenterSpecVMwareCloudDirector datacenter spec v mware cloud director

swagger:model DatacenterSpecVMwareCloudDirector

func (*DatacenterSpecVMwareCloudDirector) ContextValidate ¶ added in v2.21.0

func (m *DatacenterSpecVMwareCloudDirector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec v mware cloud director based on the context it is used

func (*DatacenterSpecVMwareCloudDirector) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*DatacenterSpecVMwareCloudDirector) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*DatacenterSpecVMwareCloudDirector) Validate ¶ added in v2.21.0

Validate validates this datacenter spec v mware cloud director

type DatacenterSpecVSphere ¶

type DatacenterSpecVSphere struct {

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

	// The name of the vSphere cluster to use. Used for out-of-tree CSI Driver.
	Cluster string `json:"cluster,omitempty"`

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

	// The default Datastore to be used for provisioning volumes using storage
	// classes/dynamic provisioning and for storing virtual machine files in
	// case no `Datastore` or `DatastoreCluster` is provided at Cluster level.
	DefaultDatastore string `json:"datastore,omitempty"`

	// The name of the storage policy to use for the storage class created in the user cluster.
	DefaultStoragePolicy string `json:"storagePolicy,omitempty"`

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

	// Optional: defines if the IPv6 is enabled for the datacenter
	IPV6Enabled bool `json:"ipv6Enabled,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:"rootPath,omitempty"`

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

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

DatacenterSpecVSphere DatacenterSpecVSphere describes a vSphere datacenter.

swagger:model DatacenterSpecVSphere

func (*DatacenterSpecVSphere) ContextValidate ¶ added in v2.18.0

func (m *DatacenterSpecVSphere) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datacenter spec v sphere based on the context it is used

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 Digitalocean ¶ added in v2.19.3

type Digitalocean struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// Token is used to authenticate with the DigitalOcean API.
	Token string `json:"token,omitempty"`
}

Digitalocean digitalocean

swagger:model Digitalocean

func (*Digitalocean) ContextValidate ¶ added in v2.19.3

func (m *Digitalocean) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digitalocean based on context it is used

func (*Digitalocean) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Digitalocean) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Digitalocean) Validate ¶ added in v2.19.3

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

Validate validates this digitalocean

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) ContextValidate ¶ added in v2.18.0

func (m *DigitaloceanCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this digitalocean cloud spec based on the context it is used

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"`

	// DEPRECATED
	// IPv6 is enabled automatically based on IP Family of the cluster so setting this field is not needed.
	// 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) ContextValidate ¶ added in v2.18.0

func (m *DigitaloceanNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digitalocean node spec based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *DigitaloceanSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this digitalocean size based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *DigitaloceanSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this digitalocean size list based on the context it is used

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 EKS ¶ added in v2.19.3

type EKS struct {

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

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

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

EKS e k s

swagger:model EKS

func (*EKS) ContextValidate ¶ added in v2.19.3

func (m *EKS) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s based on context it is used

func (*EKS) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*EKS) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*EKS) Validate ¶ added in v2.19.3

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

Validate validates this e k s

type EKSAMITypeList ¶ added in v2.21.0

type EKSAMITypeList []string

EKSAMITypeList EKSAMITypeList represents a list of EKS AMI Types for node group.

swagger:model EKSAMITypeList

func (EKSAMITypeList) ContextValidate ¶ added in v2.21.0

func (m EKSAMITypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s a m i type list based on context it is used

func (EKSAMITypeList) Validate ¶ added in v2.21.0

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

Validate validates this e k s a m i type list

type EKSCapacityTypeList ¶ added in v2.21.0

type EKSCapacityTypeList []string

EKSCapacityTypeList EKSCapacityTypeList represents a list of EKS Capacity Types for node group.

swagger:model EKSCapacityTypeList

func (EKSCapacityTypeList) ContextValidate ¶ added in v2.21.0

func (m EKSCapacityTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s capacity type list based on context it is used

func (EKSCapacityTypeList) Validate ¶ added in v2.21.0

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

Validate validates this e k s capacity type list

type EKSCloudSpec ¶ added in v2.19.0

type EKSCloudSpec struct {

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

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

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

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

EKSCloudSpec e k s cloud spec

swagger:model EKSCloudSpec

func (*EKSCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *EKSCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s cloud spec based on context it is used

func (*EKSCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*EKSCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*EKSCloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this e k s cloud spec

type EKSCluster ¶ added in v2.19.0

type EKSCluster struct {

	// is imported
	IsImported bool `json:"imported,omitempty"`

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

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

EKSCluster EKSCluster represents a object of EKS cluster.

swagger:model EKSCluster

func (*EKSCluster) ContextValidate ¶ added in v2.19.0

func (m *EKSCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s cluster based on context it is used

func (*EKSCluster) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*EKSCluster) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*EKSCluster) Validate ¶ added in v2.19.0

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

Validate validates this e k s cluster

type EKSClusterList ¶ added in v2.19.0

type EKSClusterList []*EKSCluster

EKSClusterList EKSClusterList represents a list of EKS clusters.

swagger:model EKSClusterList

func (EKSClusterList) ContextValidate ¶ added in v2.19.0

func (m EKSClusterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s cluster list based on the context it is used

func (EKSClusterList) Validate ¶ added in v2.19.0

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

Validate validates this e k s cluster list

type EKSClusterSpec ¶ added in v2.21.0

type EKSClusterSpec struct {

	// The Unix epoch timestamp in seconds for when the cluster was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role that provides permissions
	// for the Kubernetes control plane to make calls to AWS API operations on your
	// behalf. For more information, see Amazon EKS Service IAM Role (https://docs.aws.amazon.com/eks/latest/userguide/service_IAM_role.html)
	// in the Amazon EKS User Guide .
	//
	// RoleArn is a required field
	RoleArn string `json:"roleArn,omitempty"`

	// The metadata that you apply to the cluster to assist with categorization
	// and organization. Each tag consists of a key and an optional value. You define
	// both. Cluster tags do not propagate to any other resources associated with
	// the cluster.
	Tags map[string]string `json:"tags,omitempty"`

	// The desired Kubernetes version for your cluster. If you don't specify a value
	// here, the latest version available in Amazon EKS is used.
	Version string `json:"version,omitempty"`

	// kubernetes network config
	KubernetesNetworkConfig *EKSKubernetesNetworkConfigResponse `json:"kubernetesNetworkConfig,omitempty"`

	// vpc config request
	VpcConfigRequest *VpcConfigRequest `json:"vpcConfigRequest,omitempty"`
}

EKSClusterSpec e k s cluster spec

swagger:model EKSClusterSpec

func (*EKSClusterSpec) ContextValidate ¶ added in v2.21.0

func (m *EKSClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s cluster spec based on the context it is used

func (*EKSClusterSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSClusterSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSClusterSpec) Validate ¶ added in v2.21.0

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

Validate validates this e k s cluster spec

type EKSInstanceType ¶ added in v2.21.0

type EKSInstanceType struct {

	// g p us
	GPUs int64 `json:"gpus,omitempty"`

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

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

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

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

EKSInstanceType EKSInstanceType is the object representing EKS nodegroup instancetype..

swagger:model EKSInstanceType

func (*EKSInstanceType) ContextValidate ¶ added in v2.21.0

func (m *EKSInstanceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s instance type based on context it is used

func (*EKSInstanceType) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSInstanceType) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSInstanceType) Validate ¶ added in v2.21.0

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

Validate validates this e k s instance type

type EKSInstanceTypeList ¶ added in v2.21.0

type EKSInstanceTypeList []*EKSInstanceType

EKSInstanceTypeList EKSInstanceTypeList represents a list of EKS InstanceType object for node group.

swagger:model EKSInstanceTypeList

func (EKSInstanceTypeList) ContextValidate ¶ added in v2.21.0

func (m EKSInstanceTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s instance type list based on the context it is used

func (EKSInstanceTypeList) Validate ¶ added in v2.21.0

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

Validate validates this e k s instance type list

type EKSKubernetesNetworkConfigResponse ¶ added in v2.21.0

type EKSKubernetesNetworkConfigResponse struct {

	// The IP family used to assign Kubernetes pod and service IP addresses. The
	// IP family is always ipv4, unless you have a 1.21 or later cluster running
	// version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 when
	// you created the cluster.
	IPFamily string `json:"ipFamily,omitempty"`

	// The CIDR block that Kubernetes pod and service IP addresses are assigned
	// from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a
	// subnet that the node is in. If you didn't specify a CIDR block when you created
	// the cluster, then Kubernetes assigns addresses from either the 10.100.0.0/16
	// or 172.20.0.0/16 CIDR blocks. If this was specified, then it was specified
	// when the cluster was created and it can't be changed.
	ServiceIPV4Cidr string `json:"serviceIpv4Cidr,omitempty"`

	// The CIDR block that Kubernetes pod and service IP addresses are assigned
	// from if you created a 1.21 or later cluster with version 1.10.1 or later
	// of the Amazon VPC CNI add-on and specified ipv6 for ipFamily when you created
	// the cluster. Kubernetes assigns service addresses from the unique local address
	// range (fc00::/7) because you can't specify a custom IPv6 CIDR block when
	// you create the cluster.
	ServiceIPV6Cidr string `json:"serviceIpv6Cidr,omitempty"`
}

EKSKubernetesNetworkConfigResponse The Kubernetes network configuration for the cluster. The response contains a value for serviceIpv6Cidr or serviceIpv4Cidr, but not both.

swagger:model EKSKubernetesNetworkConfigResponse

func (*EKSKubernetesNetworkConfigResponse) ContextValidate ¶ added in v2.21.0

func (m *EKSKubernetesNetworkConfigResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s kubernetes network config response based on context it is used

func (*EKSKubernetesNetworkConfigResponse) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSKubernetesNetworkConfigResponse) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSKubernetesNetworkConfigResponse) Validate ¶ added in v2.21.0

Validate validates this e k s kubernetes network config response

type EKSMachineDeploymentCloudSpec ¶ added in v2.21.0

type EKSMachineDeploymentCloudSpec struct {

	// The AMI type for your node group. GPU instance types should use the AL2_x86_64_GPU
	// AMI type. Non-GPU instances should use the AL2_x86_64 AMI type. Arm instances
	// should use the AL2_ARM_64 AMI type. All types use the Amazon EKS optimized
	// Amazon Linux 2 AMI. If you specify launchTemplate, and your launch template
	// uses a custom AMI, then don't specify amiType, or the node group deployment
	// will fail. For more information about using launch templates with Amazon
	// EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	AmiType string `json:"amiType,omitempty"`

	// The capacity type for your node group. Possible values ON_DEMAND | SPOT
	CapacityType string `json:"capacityType,omitempty"`

	// The Unix epoch timestamp in seconds for when the managed node group was created.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The root device disk size (in GiB) for your node group instances. The default
	// disk size is 20 GiB. If you specify launchTemplate, then don't specify diskSize,
	// or the node group deployment will fail. For more information about using
	// launch templates with Amazon EKS, see Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	DiskSize int64 `json:"diskSize,omitempty"`

	// Specify the instance types for a node group. If you specify a GPU instance
	// type, be sure to specify AL2_x86_64_GPU with the amiType parameter. If you
	// specify launchTemplate, then you can specify zero or one instance type in
	// your launch template or you can specify 0-20 instance types for instanceTypes.
	// If however, you specify an instance type in your launch template and specify
	// any instanceTypes, the node group deployment will fail. If you don't specify
	// an instance type in a launch template or for instanceTypes, then t3.medium
	// is used, by default. If you specify Spot for capacityType, then we recommend
	// specifying multiple values for instanceTypes. For more information, see Managed
	// node group capacity types (https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html#managed-node-group-capacity-types)
	// and Launch template support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	InstanceTypes []string `json:"instanceTypes"`

	// The Kubernetes labels to be applied to the nodes in the node group when they
	// are created.
	Labels map[string]string `json:"labels,omitempty"`

	// The Amazon Resource Name (ARN) of the IAM role to associate with your node
	// group. The Amazon EKS worker node kubelet daemon makes calls to AWS APIs
	// on your behalf. Nodes receive permissions for these API calls through an
	// IAM instance profile and associated policies. Before you can launch nodes
	// and register them into a cluster, you must create an IAM role for those nodes
	// to use when they are launched. For more information, see Amazon EKS node
	// IAM role (https://docs.aws.amazon.com/eks/latest/userguide/worker_node_IAM_role.html)
	// in the Amazon EKS User Guide . If you specify launchTemplate, then don't
	// specify IamInstanceProfile (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_IamInstanceProfile.html)
	// in your launch template, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	//
	// NodeRole is a required field
	NodeRole string `json:"nodeRole,omitempty"`

	// The subnets to use for the Auto Scaling group that is created for your node
	// group. These subnets must have the tag key kubernetes.io/cluster/CLUSTER_NAME
	// with a value of shared, where CLUSTER_NAME is replaced with the name of your
	// cluster. If you specify launchTemplate, then don't specify SubnetId (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateNetworkInterface.html)
	// in your launch template, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	//
	// Subnets is a required field
	Subnets []string `json:"subnets"`

	// The metadata applied to the node group to assist with categorization and
	// organization. Each tag consists of a key and an optional value. You define
	// both. Node group tags do not propagate to any other resources associated
	// with the node group, such as the Amazon EC2 instances or subnets.
	Tags map[string]string `json:"tags,omitempty"`

	// The Kubernetes version to use for your managed nodes. By default, the Kubernetes
	// version of the cluster is used, and this is the only accepted specified value.
	// If you specify launchTemplate, and your launch template uses a custom AMI,
	// then don't specify version, or the node group deployment will fail. For more
	// information about using launch templates with Amazon EKS, see Launch template
	// support (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html)
	// in the Amazon EKS User Guide.
	Version string `json:"version,omitempty"`

	// scaling config
	ScalingConfig *EKSNodegroupScalingConfig `json:"scalingConfig,omitempty"`
}

EKSMachineDeploymentCloudSpec e k s machine deployment cloud spec

swagger:model EKSMachineDeploymentCloudSpec

func (*EKSMachineDeploymentCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *EKSMachineDeploymentCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s machine deployment cloud spec based on the context it is used

func (*EKSMachineDeploymentCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSMachineDeploymentCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSMachineDeploymentCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this e k s machine deployment cloud spec

type EKSNodegroupScalingConfig ¶ added in v2.21.0

type EKSNodegroupScalingConfig struct {

	// The current number of nodes that the managed node group should maintain.
	DesiredSize int64 `json:"desiredSize,omitempty"`

	// The maximum number of nodes that the managed node group can scale out to.
	// For information about the maximum number that you can specify, see Amazon
	// EKS service quotas (https://docs.aws.amazon.com/eks/latest/userguide/service-quotas.html)
	// in the Amazon EKS User Guide.
	MaxSize int64 `json:"maxSize,omitempty"`

	// The minimum number of nodes that the managed node group can scale in to.
	// This number must be greater than zero.
	MinSize int64 `json:"minSize,omitempty"`
}

EKSNodegroupScalingConfig e k s nodegroup scaling config

swagger:model EKSNodegroupScalingConfig

func (*EKSNodegroupScalingConfig) ContextValidate ¶ added in v2.21.0

func (m *EKSNodegroupScalingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s nodegroup scaling config based on context it is used

func (*EKSNodegroupScalingConfig) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSNodegroupScalingConfig) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSNodegroupScalingConfig) Validate ¶ added in v2.21.0

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

Validate validates this e k s nodegroup scaling config

type EKSRegionList ¶ added in v2.21.0

type EKSRegionList []string

EKSRegionList EKSRegionList represents a list of EKS regions.

swagger:model EKSRegionList

func (EKSRegionList) ContextValidate ¶ added in v2.21.0

func (m EKSRegionList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s region list based on context it is used

func (EKSRegionList) Validate ¶ added in v2.21.0

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

Validate validates this e k s region list

type EKSSecurityGroup ¶ added in v2.21.0

type EKSSecurityGroup struct {

	// The ID of the security group.
	GroupID string `json:"groupId,omitempty"`

	// [VPC only] The ID of the VPC for the security group.
	VpcID string `json:"vpcId,omitempty"`
}

EKSSecurityGroup EKSSecurityGroup represents a object of EKS securityGroup.

swagger:model EKSSecurityGroup

func (*EKSSecurityGroup) ContextValidate ¶ added in v2.21.0

func (m *EKSSecurityGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s security group based on context it is used

func (*EKSSecurityGroup) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSSecurityGroup) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSSecurityGroup) Validate ¶ added in v2.21.0

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

Validate validates this e k s security group

type EKSSecurityGroupList ¶ added in v2.21.0

type EKSSecurityGroupList []*EKSSecurityGroup

EKSSecurityGroupList EKSSecurityGroupList represents an array of EKS securityGroup.

swagger:model EKSSecurityGroupList

func (EKSSecurityGroupList) ContextValidate ¶ added in v2.21.0

func (m EKSSecurityGroupList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s security group list based on the context it is used

func (EKSSecurityGroupList) Validate ¶ added in v2.21.0

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

Validate validates this e k s security group list

type EKSSubnet ¶ added in v2.21.0

type EKSSubnet struct {

	// The Availability Zone of the subnet.
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// The ID of the subnet.
	SubnetID string `json:"subnetId,omitempty"`

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

EKSSubnet EKSSubnet represents a object of EKS subnet.

swagger:model EKSSubnet

func (*EKSSubnet) ContextValidate ¶ added in v2.21.0

func (m *EKSSubnet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s subnet based on context it is used

func (*EKSSubnet) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSSubnet) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSSubnet) Validate ¶ added in v2.21.0

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

Validate validates this e k s subnet

type EKSSubnetList ¶ added in v2.21.0

type EKSSubnetList []*EKSSubnet

EKSSubnetList EKSSubnetList represents an array of EKS subnet.

swagger:model EKSSubnetList

func (EKSSubnetList) ContextValidate ¶ added in v2.21.0

func (m EKSSubnetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s subnet list based on the context it is used

func (EKSSubnetList) Validate ¶ added in v2.21.0

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

Validate validates this e k s subnet list

type EKSVPC ¶ added in v2.21.0

type EKSVPC struct {

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

	// is default
	IsDefault bool `json:"default,omitempty"`
}

EKSVPC EKSVPC represents a object of EKS VpcId.

swagger:model EKSVPC

func (*EKSVPC) ContextValidate ¶ added in v2.21.0

func (m *EKSVPC) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e k s v p c based on context it is used

func (*EKSVPC) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*EKSVPC) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*EKSVPC) Validate ¶ added in v2.21.0

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

Validate validates this e k s v p c

type EKSVPCList ¶ added in v2.21.0

type EKSVPCList []*EKSVPC

EKSVPCList EKSVPCList represents an array of EKS VPC.

swagger:model EKSVPCList

func (EKSVPCList) ContextValidate ¶ added in v2.21.0

func (m EKSVPCList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e k s v p c list based on the context it is used

func (EKSVPCList) Validate ¶ added in v2.21.0

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

Validate validates this e k s v p c list

type EbcBody ¶ added in v2.18.0

type EbcBody struct {

	// Name of the etcd backup config
	Name string `json:"name,omitempty"`

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

EbcBody ebc body

swagger:model ebcBody

func (*EbcBody) ContextValidate ¶ added in v2.18.0

func (m *EbcBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ebc body based on the context it is used

func (*EbcBody) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EbcBody) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EbcBody) Validate ¶ added in v2.18.0

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

Validate validates this ebc body

type ErBody ¶ added in v2.18.0

type ErBody struct {

	// Name of the etcd backup restore. If not set, it will be generated
	Name string `json:"name,omitempty"`

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

ErBody er body

swagger:model erBody

func (*ErBody) ContextValidate ¶ added in v2.18.0

func (m *ErBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this er body based on the context it is used

func (*ErBody) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*ErBody) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*ErBody) Validate ¶ added in v2.18.0

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

Validate validates this er body

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) ContextValidate ¶ added in v2.18.0

func (m *ErrorDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error details based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ErrorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error response based on the context it is used

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 EtcdBackupConfig ¶ added in v2.18.0

type EtcdBackupConfig struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

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

EtcdBackupConfig EtcdBackupConfig represents an object holding the configuration for etcd backups

swagger:model EtcdBackupConfig

func (*EtcdBackupConfig) ContextValidate ¶ added in v2.18.0

func (m *EtcdBackupConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd backup config based on the context it is used

func (*EtcdBackupConfig) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdBackupConfig) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdBackupConfig) Validate ¶ added in v2.18.0

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

Validate validates this etcd backup config

type EtcdBackupConfigCondition ¶ added in v2.18.0

type EtcdBackupConfigCondition struct {

	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty"`

	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty"`

	// last heartbeat time
	// Format: date-time
	LastHeartbeatTime Time `json:"lastHeartbeatTime,omitempty"`

	// last transition time
	// Format: date-time
	LastTransitionTime Time `json:"lastTransitionTime,omitempty"`

	// status
	Status ConditionStatus `json:"status,omitempty"`

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

EtcdBackupConfigCondition etcd backup config condition

swagger:model EtcdBackupConfigCondition

func (*EtcdBackupConfigCondition) ContextValidate ¶ added in v2.18.0

func (m *EtcdBackupConfigCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd backup config condition based on the context it is used

func (*EtcdBackupConfigCondition) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdBackupConfigCondition) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdBackupConfigCondition) Validate ¶ added in v2.18.0

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

Validate validates this etcd backup config condition

type EtcdBackupConfigConditionType ¶ added in v2.18.0

type EtcdBackupConfigConditionType string

EtcdBackupConfigConditionType EtcdBackupConfigConditionType is used to indicate the type of a EtcdBackupConfig condition. For all condition types, the `true` value must indicate success. All condition types must be registered within the `AllClusterConditionTypes` variable.

swagger:model EtcdBackupConfigConditionType

func (EtcdBackupConfigConditionType) ContextValidate ¶ added in v2.18.0

func (m EtcdBackupConfigConditionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this etcd backup config condition type based on context it is used

func (EtcdBackupConfigConditionType) Validate ¶ added in v2.18.0

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

Validate validates this etcd backup config condition type

type EtcdBackupConfigSpec ¶ added in v2.18.0

type EtcdBackupConfigSpec struct {

	// ClusterID is the id of the cluster which will be backed up
	ClusterID string `json:"clusterId,omitempty"`

	// Destination indicates where the backup will be stored. The destination name should correspond to a destination in
	// the cluster's Seed.Spec.EtcdBackupRestore.
	Destination string `json:"destination,omitempty"`

	// Keep is the number of backups to keep around before deleting the oldest one
	// If not set, defaults to DefaultKeptBackupsCount. Only used if Schedule is set.
	Keep int64 `json:"keep,omitempty"`

	// Schedule is a cron expression defining when to perform
	// the backup. If not set, the backup is performed exactly
	// once, immediately.
	Schedule string `json:"schedule,omitempty"`
}

EtcdBackupConfigSpec EtcdBackupConfigSpec represents an object holding the etcd backup configuration specification

swagger:model EtcdBackupConfigSpec

func (*EtcdBackupConfigSpec) ContextValidate ¶ added in v2.18.0

func (m *EtcdBackupConfigSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this etcd backup config spec based on context it is used

func (*EtcdBackupConfigSpec) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdBackupConfigSpec) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdBackupConfigSpec) Validate ¶ added in v2.18.0

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

Validate validates this etcd backup config spec

type EtcdBackupConfigStatus ¶ added in v2.18.0

type EtcdBackupConfigStatus struct {

	// If the controller was configured with a cleanupContainer, CleanupRunning keeps track of the corresponding job
	CleanupRunning bool `json:"cleanupRunning,omitempty"`

	// Conditions contains conditions of the EtcdBackupConfig
	Conditions []*EtcdBackupConfigCondition `json:"conditions"`

	// CurrentBackups tracks the creation and deletion progress if all backups managed by the EtcdBackupConfig
	CurrentBackups []*BackupStatus `json:"lastBackups"`
}

EtcdBackupConfigStatus etcd backup config status

swagger:model EtcdBackupConfigStatus

func (*EtcdBackupConfigStatus) ContextValidate ¶ added in v2.18.0

func (m *EtcdBackupConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd backup config status based on the context it is used

func (*EtcdBackupConfigStatus) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdBackupConfigStatus) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdBackupConfigStatus) Validate ¶ added in v2.18.0

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

Validate validates this etcd backup config status

type EtcdBackupRestore ¶ added in v2.19.0

type EtcdBackupRestore struct {

	// DefaultDestination marks the default destination that will be used for the default etcd backup config which is
	// created for every user cluster. Has to correspond to a destination in Destinations.
	// If removed, it removes the related default etcd backup configs.
	DefaultDestination string `json:"defaultDestination,omitempty"`

	// Destinations stores all the possible destinations where the backups for the Seed can be stored. If not empty,
	// it enables automatic backup and restore for the seed.
	Destinations map[string]BackupDestination `json:"destinations,omitempty"`
}

EtcdBackupRestore EtcdBackupRestore holds the configuration of the automatic backup and restores.

swagger:model EtcdBackupRestore

func (*EtcdBackupRestore) ContextValidate ¶ added in v2.19.0

func (m *EtcdBackupRestore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd backup restore based on the context it is used

func (*EtcdBackupRestore) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*EtcdBackupRestore) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*EtcdBackupRestore) Validate ¶ added in v2.19.0

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

Validate validates this etcd backup restore

type EtcdRestore ¶ added in v2.18.0

type EtcdRestore struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

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

EtcdRestore EtcdRestore represents an object holding the configuration for etcd backup restore

swagger:model EtcdRestore

func (*EtcdRestore) ContextValidate ¶ added in v2.18.0

func (m *EtcdRestore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd restore based on the context it is used

func (*EtcdRestore) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdRestore) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdRestore) Validate ¶ added in v2.18.0

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

Validate validates this etcd restore

type EtcdRestorePhase ¶ added in v2.18.0

type EtcdRestorePhase string

EtcdRestorePhase EtcdRestorePhase represents the lifecycle phase of an EtcdRestore.

swagger:model EtcdRestorePhase

func (EtcdRestorePhase) ContextValidate ¶ added in v2.18.0

func (m EtcdRestorePhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this etcd restore phase based on context it is used

func (EtcdRestorePhase) Validate ¶ added in v2.18.0

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

Validate validates this etcd restore phase

type EtcdRestoreSpec ¶ added in v2.18.0

type EtcdRestoreSpec struct {

	// BackupDownloadCredentialsSecret is the name of a secret in the cluster-xxx namespace containing
	// credentials needed to download the backup
	BackupDownloadCredentialsSecret string `json:"backupDownloadCredentialsSecret,omitempty"`

	// BackupName is the name of the backup to restore from
	BackupName string `json:"backupName,omitempty"`

	// ClusterID is the id of the cluster which will be restored from the backup
	ClusterID string `json:"clusterId,omitempty"`

	// Destination indicates where the backup was stored. The destination name should correspond to a destination in
	// the cluster's Seed.Spec.EtcdBackupRestore.
	Destination string `json:"destination,omitempty"`
}

EtcdRestoreSpec EtcdRestoreSpec represents an object holding the etcd backup restore configuration specification

swagger:model EtcdRestoreSpec

func (*EtcdRestoreSpec) ContextValidate ¶ added in v2.18.0

func (m *EtcdRestoreSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this etcd restore spec based on context it is used

func (*EtcdRestoreSpec) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdRestoreSpec) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdRestoreSpec) Validate ¶ added in v2.18.0

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

Validate validates this etcd restore spec

type EtcdRestoreStatus ¶ added in v2.18.0

type EtcdRestoreStatus struct {

	// phase
	Phase EtcdRestorePhase `json:"phase,omitempty"`

	// restore time
	// Format: date-time
	RestoreTime Time `json:"restoreTime,omitempty"`
}

EtcdRestoreStatus etcd restore status

swagger:model EtcdRestoreStatus

func (*EtcdRestoreStatus) ContextValidate ¶ added in v2.18.0

func (m *EtcdRestoreStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this etcd restore status based on the context it is used

func (*EtcdRestoreStatus) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*EtcdRestoreStatus) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*EtcdRestoreStatus) Validate ¶ added in v2.18.0

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

Validate validates this etcd restore status

type Event ¶

type Event struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,omitempty"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *Event) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event based on the context it is used

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 EventRateLimitConfig ¶ added in v2.19.0

type EventRateLimitConfig struct {

	// namespace
	Namespace *EventRateLimitConfigItem `json:"namespace,omitempty"`

	// server
	Server *EventRateLimitConfigItem `json:"server,omitempty"`

	// source and object
	SourceAndObject *EventRateLimitConfigItem `json:"sourceAndObject,omitempty"`

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

EventRateLimitConfig EventRateLimitConfig configures the `EventRateLimit` admission plugin.

More info: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#eventratelimit

swagger:model EventRateLimitConfig

func (*EventRateLimitConfig) ContextValidate ¶ added in v2.19.0

func (m *EventRateLimitConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event rate limit config based on the context it is used

func (*EventRateLimitConfig) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*EventRateLimitConfig) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*EventRateLimitConfig) Validate ¶ added in v2.19.0

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

Validate validates this event rate limit config

type EventRateLimitConfigItem ¶ added in v2.19.0

type EventRateLimitConfigItem struct {

	// burst
	Burst int32 `json:"burst,omitempty"`

	// cache size
	CacheSize int32 `json:"cacheSize,omitempty"`

	// QPS
	QPS int32 `json:"qps,omitempty"`
}

EventRateLimitConfigItem event rate limit config item

swagger:model EventRateLimitConfigItem

func (*EventRateLimitConfigItem) ContextValidate ¶ added in v2.19.0

func (m *EventRateLimitConfigItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event rate limit config item based on context it is used

func (*EventRateLimitConfigItem) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*EventRateLimitConfigItem) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*EventRateLimitConfigItem) Validate ¶ added in v2.19.0

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

Validate validates this event rate limit config item

type ExposeStrategy ¶

type ExposeStrategy string

ExposeStrategy ExposeStrategy is the strategy used to expose a cluster control plane.

Possible values are `NodePort`, `LoadBalancer` or `Tunneling` (requires a feature gate).

swagger:model ExposeStrategy

func (ExposeStrategy) ContextValidate ¶ added in v2.18.0

func (m ExposeStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this expose strategy based on context it is used

func (ExposeStrategy) Validate ¶

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

Validate validates this expose strategy

type ExternalCCMMigrationStatus ¶ added in v2.18.0

type ExternalCCMMigrationStatus string

ExternalCCMMigrationStatus external c c m migration status

swagger:model ExternalCCMMigrationStatus

func (ExternalCCMMigrationStatus) ContextValidate ¶ added in v2.18.0

func (m ExternalCCMMigrationStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external c c m migration status based on context it is used

func (ExternalCCMMigrationStatus) Validate ¶ added in v2.18.0

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

Validate validates this external c c m migration status

type ExternalCluster ¶ added in v2.19.0

type ExternalCluster struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

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

ExternalCluster ExternalCluster represents an object holding cluster details

swagger:model ExternalCluster

func (*ExternalCluster) ContextValidate ¶ added in v2.19.0

func (m *ExternalCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster based on the context it is used

func (*ExternalCluster) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalCluster) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalCluster) Validate ¶ added in v2.19.0

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

Validate validates this external cluster

type ExternalClusterCloudSpec ¶ added in v2.19.0

type ExternalClusterCloudSpec struct {

	// aks
	Aks *AKSCloudSpec `json:"aks,omitempty"`

	// bring your own
	BringYourOwn BringYourOwnSpec `json:"bringYourOwn,omitempty"`

	// eks
	Eks *EKSCloudSpec `json:"eks,omitempty"`

	// gke
	Gke *GKECloudSpec `json:"gke,omitempty"`

	// kube one
	KubeOne *KubeOneSpec `json:"kubeOne,omitempty"`
}

ExternalClusterCloudSpec ExternalClusterCloudSpec represents an object holding cluster cloud details

swagger:model ExternalClusterCloudSpec

func (*ExternalClusterCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *ExternalClusterCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster cloud spec based on the context it is used

func (*ExternalClusterCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterCloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this external cluster cloud spec

type ExternalClusterMDPhase ¶ added in v2.21.0

type ExternalClusterMDPhase struct {

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// state
	State ExternalClusterMDState `json:"state,omitempty"`
}

ExternalClusterMDPhase ExternalClusterMDPhase defines the external cluster machinedeployment phase.

swagger:model ExternalClusterMDPhase

func (*ExternalClusterMDPhase) ContextValidate ¶ added in v2.21.0

func (m *ExternalClusterMDPhase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster m d phase based on the context it is used

func (*ExternalClusterMDPhase) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*ExternalClusterMDPhase) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterMDPhase) Validate ¶ added in v2.21.0

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

Validate validates this external cluster m d phase

type ExternalClusterMDState ¶ added in v2.21.0

type ExternalClusterMDState string

ExternalClusterMDState external cluster m d state

swagger:model ExternalClusterMDState

func (ExternalClusterMDState) ContextValidate ¶ added in v2.21.0

func (m ExternalClusterMDState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external cluster m d state based on context it is used

func (ExternalClusterMDState) Validate ¶ added in v2.21.0

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

Validate validates this external cluster m d state

type ExternalClusterMachineDeployment ¶ added in v2.19.0

type ExternalClusterMachineDeployment struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

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

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

	// phase
	Phase *ExternalClusterMDPhase `json:"phase,omitempty"`

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

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

ExternalClusterMachineDeployment ExternalClusterMachineDeployment represents an object holding external cluster machine deployment

swagger:model ExternalClusterMachineDeployment

func (*ExternalClusterMachineDeployment) ContextValidate ¶ added in v2.19.0

func (m *ExternalClusterMachineDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster machine deployment based on the context it is used

func (*ExternalClusterMachineDeployment) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterMachineDeployment) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterMachineDeployment) Validate ¶ added in v2.19.0

Validate validates this external cluster machine deployment

type ExternalClusterMachineDeploymentCloudSpec ¶ added in v2.19.0

type ExternalClusterMachineDeploymentCloudSpec struct {

	// aks
	Aks *AKSMachineDeploymentCloudSpec `json:"aks,omitempty"`

	// eks
	Eks *EKSMachineDeploymentCloudSpec `json:"eks,omitempty"`

	// gke
	Gke *GKEMachineDeploymentCloudSpec `json:"gke,omitempty"`
}

ExternalClusterMachineDeploymentCloudSpec ExternalClusterMachineDeploymentCloudSpec represents an object holding machine deployment cloud details.

swagger:model ExternalClusterMachineDeploymentCloudSpec

func (*ExternalClusterMachineDeploymentCloudSpec) ContextValidate ¶ added in v2.19.0

ContextValidate validate this external cluster machine deployment cloud spec based on the context it is used

func (*ExternalClusterMachineDeploymentCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterMachineDeploymentCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterMachineDeploymentCloudSpec) Validate ¶ added in v2.19.0

Validate validates this external cluster machine deployment cloud spec

type ExternalClusterNode ¶ added in v2.19.0

type ExternalClusterNode struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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"`
}

ExternalClusterNode ExternalClusterNode represents an object holding external cluster node

swagger:model ExternalClusterNode

func (*ExternalClusterNode) ContextValidate ¶ added in v2.19.0

func (m *ExternalClusterNode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster node based on the context it is used

func (*ExternalClusterNode) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterNode) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterNode) Validate ¶ added in v2.19.0

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

Validate validates this external cluster node

type ExternalClusterSpec ¶ added in v2.19.0

type ExternalClusterSpec struct {

	// akscluster spec
	AksclusterSpec *AKSClusterSpec `json:"aksclusterSpec,omitempty"`

	// ekscluster spec
	EksclusterSpec *EKSClusterSpec `json:"eksclusterSpec,omitempty"`

	// gkecluster spec
	GkeclusterSpec *GKEClusterSpec `json:"gkeclusterSpec,omitempty"`

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

ExternalClusterSpec ExternalClusterSpec defines the external cluster specification.

swagger:model ExternalClusterSpec

func (*ExternalClusterSpec) ContextValidate ¶ added in v2.19.0

func (m *ExternalClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster spec based on the context it is used

func (*ExternalClusterSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterSpec) Validate ¶ added in v2.19.0

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

Validate validates this external cluster spec

type ExternalClusterState ¶ added in v2.19.0

type ExternalClusterState string

ExternalClusterState external cluster state

swagger:model ExternalClusterState

func (ExternalClusterState) ContextValidate ¶ added in v2.19.0

func (m ExternalClusterState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external cluster state based on context it is used

func (ExternalClusterState) Validate ¶ added in v2.19.0

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

Validate validates this external cluster state

type ExternalClusterStatus ¶ added in v2.19.0

type ExternalClusterStatus struct {

	// status message
	StatusMessage string `json:"statusMessage,omitempty"`

	// state
	State ExternalClusterState `json:"state,omitempty"`
}

ExternalClusterStatus ExternalClusterStatus defines the external cluster status.

swagger:model ExternalClusterStatus

func (*ExternalClusterStatus) ContextValidate ¶ added in v2.19.0

func (m *ExternalClusterStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external cluster status based on the context it is used

func (*ExternalClusterStatus) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*ExternalClusterStatus) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*ExternalClusterStatus) Validate ¶ added in v2.19.0

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

Validate validates this external cluster status

type ExternalDocumentation ¶

type ExternalDocumentation struct {

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

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

ExternalDocumentation ExternalDocumentation allows referencing an external resource for extended documentation.

swagger:model ExternalDocumentation

func (*ExternalDocumentation) ContextValidate ¶ added in v2.18.0

func (m *ExternalDocumentation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external documentation based on context it is used

func (*ExternalDocumentation) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExternalDocumentation) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ExternalDocumentation) Validate ¶

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

Validate validates this external documentation

type Fake ¶ added in v2.19.3

type Fake struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

Fake fake

swagger:model Fake

func (*Fake) ContextValidate ¶ added in v2.19.3

func (m *Fake) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fake based on context it is used

func (*Fake) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Fake) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Fake) Validate ¶ added in v2.19.3

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

Validate validates this fake

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) ContextValidate ¶ added in v2.18.0

func (m *FakeCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fake cloud spec based on context it is used

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 FeatureGates ¶ added in v2.19.0

type FeatureGates struct {

	// konnectivity service
	KonnectivityService bool `json:"konnectivityService,omitempty"`

	// o ID c kube cfg endpoint
	OIDCKubeCfgEndpoint bool `json:"oidcKubeCfgEndpoint,omitempty"`

	// operating system manager
	OperatingSystemManager bool `json:"operatingSystemManager,omitempty"`
}

FeatureGates FeatureGates represents an object holding feature gate settings

swagger:model FeatureGates

func (*FeatureGates) ContextValidate ¶ added in v2.19.0

func (m *FeatureGates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this feature gates based on context it is used

func (*FeatureGates) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*FeatureGates) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*FeatureGates) Validate ¶ added in v2.19.0

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

Validate validates this feature gates

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) ContextValidate ¶ added in v2.18.0

func (m *FlatcarSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flatcar spec based on context it is used

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 GCP ¶ added in v2.19.3

type GCP struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

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

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

GCP g c p

swagger:model GCP

func (*GCP) ContextValidate ¶ added in v2.19.3

func (m *GCP) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p based on context it is used

func (*GCP) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*GCP) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*GCP) Validate ¶ added in v2.19.3

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

Validate validates this g c p

type GCPCloudSpec ¶

type GCPCloudSpec struct {

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

	// A CIDR range that will be used to allow access to the node port range in the firewall rules to.
	// If NodePortsAllowedIPRange nor NodePortsAllowedIPRanges is set, the node port range can be accessed from anywhere.
	NodePortsAllowedIPRange string `json:"nodePortsAllowedIPRange,omitempty"`

	// The Google Service Account (JSON format), encoded with base64.
	ServiceAccount string `json:"serviceAccount,omitempty"`

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

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

	// node ports allowed IP ranges
	NodePortsAllowedIPRanges *NetworkRanges `json:"nodePortsAllowedIPRanges,omitempty"`
}

GCPCloudSpec GCPCloudSpec specifies access data to GCP.

swagger:model GCPCloudSpec

func (*GCPCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *GCPCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p cloud spec based on the context it is used

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 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) ContextValidate ¶ added in v2.18.0

func (m *GCPDiskType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p disk type based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m GCPDiskTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p disk type list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GCPMachineSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p machine size based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m GCPMachineSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p machine size list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GCPNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p network based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m GCPNetworkList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p network list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GCPNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p node spec based on context it is used

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"`

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

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

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

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

	// ip family
	IPFamily IPFamily `json:"ipFamily,omitempty"`
}

GCPSubnetwork GCPSubnetwork represents a object of GCP subnetworks.

swagger:model GCPSubnetwork

func (*GCPSubnetwork) ContextValidate ¶ added in v2.18.0

func (m *GCPSubnetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p subnetwork based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m GCPSubnetworkList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p subnetwork list based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GCPZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g c p zone based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m GCPZoneList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g c p zone list based on the context it is used

func (GCPZoneList) Validate ¶

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

Validate validates this g c p zone list

type GKE ¶ added in v2.19.3

type GKE struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

GKE g k e

swagger:model GKE

func (*GKE) ContextValidate ¶ added in v2.19.3

func (m *GKE) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e based on context it is used

func (*GKE) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*GKE) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*GKE) Validate ¶ added in v2.19.3

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

Validate validates this g k e

type GKEAutoprovisioningNodePoolDefaults ¶ added in v2.19.0

type GKEAutoprovisioningNodePoolDefaults struct {

	// BootDiskKmsKey: The Customer Managed Encryption Key used to encrypt
	// the boot disk attached to each node in the node pool. This should be
	// of the form
	// projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cr
	// yptoKeys/[KEY_NAME]. For more information about protecting resources
	// with Cloud KMS Keys please see:
	// https://cloud.google.com/compute/docs/disks/customer-managed-encryption
	BootDiskKmsKey string `json:"bootDiskKmsKey,omitempty"`

	// DiskSizeGb: Size of the disk attached to each node, specified in GB.
	// The smallest allowed disk size is 10GB. If unspecified, the default
	// disk size is 100GB.
	DiskSizeGb int64 `json:"diskSizeGb,omitempty"`

	// DiskType: Type of the disk attached to each node (e.g. 'pd-standard',
	// 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is
	// 'pd-standard'
	DiskType string `json:"diskType,omitempty"`

	// MinCpuPlatform: Minimum CPU platform to be used for NAP created node
	// pools. The instance may be scheduled on the specified or newer CPU
	// platform. Applicable values are the friendly names of CPU platforms,
	// such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy
	// Bridge. For more information, read how to specify min CPU platform
	// (https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
	// To unset the min cpu platform field pass "automatic" as field value.
	MinCPUPlatform string `json:"minCpuPlatform,omitempty"`

	// OauthScopes: Scopes that are used by NAP when creating node pools.
	OauthScopes []string `json:"oauthScopes"`

	// ServiceAccount: The Google Cloud Platform Service Account to be used
	// by the node VMs.
	ServiceAccount string `json:"serviceAccount,omitempty"`

	// management
	Management *GKENodeManagement `json:"management,omitempty"`

	// shielded instance config
	ShieldedInstanceConfig *GKEShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"`

	// upgrade settings
	UpgradeSettings *GKEUpgradeSettings `json:"upgradeSettings,omitempty"`
}

GKEAutoprovisioningNodePoolDefaults GKEAutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

swagger:model GKEAutoprovisioningNodePoolDefaults

func (*GKEAutoprovisioningNodePoolDefaults) ContextValidate ¶ added in v2.19.0

func (m *GKEAutoprovisioningNodePoolDefaults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e autoprovisioning node pool defaults based on the context it is used

func (*GKEAutoprovisioningNodePoolDefaults) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEAutoprovisioningNodePoolDefaults) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEAutoprovisioningNodePoolDefaults) Validate ¶ added in v2.19.0

Validate validates this g k e autoprovisioning node pool defaults

type GKECloudSpec ¶ added in v2.19.0

type GKECloudSpec struct {

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

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

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

GKECloudSpec g k e cloud spec

swagger:model GKECloudSpec

func (*GKECloudSpec) ContextValidate ¶ added in v2.19.0

func (m *GKECloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e cloud spec based on context it is used

func (*GKECloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKECloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKECloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this g k e cloud spec

type GKECluster ¶ added in v2.19.0

type GKECluster struct {

	// is imported
	IsImported bool `json:"imported,omitempty"`

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

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

GKECluster GKECluster represents a object of GKE cluster.

swagger:model GKECluster

func (*GKECluster) ContextValidate ¶ added in v2.19.0

func (m *GKECluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e cluster based on context it is used

func (*GKECluster) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKECluster) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKECluster) Validate ¶ added in v2.19.0

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

Validate validates this g k e cluster

type GKEClusterAutoscaling ¶ added in v2.19.0

type GKEClusterAutoscaling struct {

	// AutoprovisioningLocations: The list of Google Compute Engine zones
	// (https://cloud.google.com/compute/docs/zones#available) in which the
	// NodePool's nodes can be created by NAP.
	AutoprovisioningLocations []string `json:"autoprovisioningLocations"`

	// EnableNodeAutoprovisioning: Enables automatic node pool creation and
	// deletion.
	EnableNodeAutoprovisioning bool `json:"enableNodeAutoprovisioning,omitempty"`

	// ResourceLimits: Contains global constraints regarding minimum and
	// maximum amount of resources in the cluster.
	ResourceLimits []*GKEResourceLimit `json:"resourceLimits"`

	// autoprovisioning node pool defaults
	AutoprovisioningNodePoolDefaults *GKEAutoprovisioningNodePoolDefaults `json:"autoprovisioningNodePoolDefaults,omitempty"`
}

GKEClusterAutoscaling GKEClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.

swagger:model GKEClusterAutoscaling

func (*GKEClusterAutoscaling) ContextValidate ¶ added in v2.19.0

func (m *GKEClusterAutoscaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e cluster autoscaling based on the context it is used

func (*GKEClusterAutoscaling) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEClusterAutoscaling) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEClusterAutoscaling) Validate ¶ added in v2.19.0

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

Validate validates this g k e cluster autoscaling

type GKEClusterList ¶ added in v2.19.0

type GKEClusterList []*GKECluster

GKEClusterList GKEClusterList represents an array of GKE clusters.

swagger:model GKEClusterList

func (GKEClusterList) ContextValidate ¶ added in v2.19.0

func (m GKEClusterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e cluster list based on the context it is used

func (GKEClusterList) Validate ¶ added in v2.19.0

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

Validate validates this g k e cluster list

type GKEClusterSpec ¶ added in v2.19.0

type GKEClusterSpec struct {

	// Autopilot: Autopilot configuration for the cluster.
	Autopilot bool `json:"autopilot,omitempty"`

	// ClusterIpv4Cidr: The IP address range of the container pods in this
	// cluster, in CIDR
	// (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically
	// chosen or specify a `/14` block in `10.0.0.0/8`.
	ClusterIPV4Cidr string `json:"clusterIpv4Cidr,omitempty"`

	// CreateTime: [Output only] The time the cluster was created, in
	// RFC3339 (https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreateTime string `json:"createTime,omitempty"`

	// DefaultMaxPodsConstraint: The default constraint on the maximum
	// number of pods that can be run simultaneously on a node in the node
	// pool of this cluster. Only honored if cluster created with IP Alias
	// support.
	DefaultMaxPodsConstraint int64 `json:"defaultMaxPodsConstraint,omitempty"`

	// EnableKubernetesAlpha: Kubernetes alpha features are enabled on this
	// cluster. This includes alpha API groups (e.g. v1alpha1) and features
	// that may not be production ready in the kubernetes version of the
	// master and nodes. The cluster has no SLA for uptime and master/node
	// upgrades are disabled. Alpha enabled clusters are automatically
	// deleted thirty days after creation.
	EnableKubernetesAlpha bool `json:"enableKubernetesAlpha,omitempty"`

	// EnableTpu: Enable the ability to use Cloud TPUs in this cluster.
	EnableTpu bool `json:"enableTpu,omitempty"`

	// InitialClusterVersion: The initial Kubernetes version for this
	// cluster. Valid versions are those found in validMasterVersions
	// returned by getServerConfig. The version can be upgraded over time;
	// such upgrades are reflected in currentMasterVersion and
	// currentNodeVersion. Users may specify either explicit versions
	// offered by Kubernetes Engine or version aliases, which have the
	// following behavior: - "latest": picks the highest valid Kubernetes
	// version - "1.X": picks the highest valid patch+gke.N patch in the 1.X
	// version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y
	// version - "1.X.Y-gke.N": picks an explicit Kubernetes version -
	// "","-": picks the default Kubernetes version
	InitialClusterVersion string `json:"initialClusterVersion,omitempty"`

	// InitialNodeCount: The number of nodes to create in this cluster. You
	// must ensure that your Compute Engine resource quota
	// (https://cloud.google.com/compute/quotas) is sufficient for this
	// number of instances. You must also have available firewall and routes
	// quota. For requests, this field should only be used in lieu of a
	// "node_pool" object, since this configuration (along with the
	// "node_config") will be used to create a "NodePool" object with an
	// auto-generated name. Do not use this and a node_pool at the same
	// time. This field is deprecated, use node_pool.initial_node_count
	// instead.
	InitialNodeCount int64 `json:"initialNodeCount,omitempty"`

	// Locations: The list of Google Compute Engine zones
	// (https://cloud.google.com/compute/docs/zones#available) in which the
	// cluster's nodes should be located. This field provides a default
	// value if NodePool.Locations
	// (https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
	// are not specified during node pool creation. Warning: changing
	// cluster locations will update the NodePool.Locations
	// (https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations)
	// of all node pools and will result in nodes being added and/or
	// removed.
	Locations []string `json:"locations"`

	// Network: The name of the Google Compute Engine network
	// (https://cloud.google.com/compute/docs/networks-and-firewalls#networks)
	// to which the cluster is connected. If left unspecified, the `default`
	// network will be used.
	Network string `json:"network,omitempty"`

	// ReleaseChannel: channel specifies which release channel the cluster is
	// subscribed to.
	//
	// Possible values:
	// "UNSPECIFIED" - No channel specified.
	// "RAPID" - RAPID channel is offered on an early access basis for
	// customers who want to test new releases. WARNING: Versions available
	// in the RAPID Channel may be subject to unresolved issues with no
	// known workaround and are not subject to any SLAs.
	// "REGULAR" - Clusters subscribed to REGULAR receive versions that
	// are considered GA quality. REGULAR is intended for production users
	// who want to take advantage of new features.
	// "STABLE" - Clusters subscribed to STABLE receive versions that are
	// known to be stable and reliable in production.
	ReleaseChannel string `json:"releaseChannel,omitempty"`

	// Subnetwork: The name of the Google Compute Engine subnetwork
	// (https://cloud.google.com/compute/docs/subnetworks) to which the
	// cluster is connected.
	Subnetwork string `json:"subnetwork,omitempty"`

	// TpuIpv4CidrBlock: [Output only] The IP address range of the Cloud
	// TPUs in this cluster, in CIDR
	// (http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)
	// notation (e.g. `1.2.3.4/29`).
	TpuIPV4CidrBlock string `json:"tpuIpv4CidrBlock,omitempty"`

	// VerticalPodAutoscaling: Cluster-level Vertical Pod Autoscaling
	// configuration.
	VerticalPodAutoscaling bool `json:"verticalPodAutoscaling,omitempty"`

	// autoscaling
	Autoscaling *GKEClusterAutoscaling `json:"autoscaling,omitempty"`

	// node config
	NodeConfig *GKENodeConfig `json:"nodeConfig,omitempty"`
}

GKEClusterSpec GKEClusterSpec A Google Kubernetes Engine cluster.

swagger:model GKEClusterSpec

func (*GKEClusterSpec) ContextValidate ¶ added in v2.19.0

func (m *GKEClusterSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e cluster spec based on the context it is used

func (*GKEClusterSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEClusterSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEClusterSpec) Validate ¶ added in v2.19.0

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

Validate validates this g k e cluster spec

type GKEDiskType ¶ added in v2.21.0

type GKEDiskType struct {

	// DefaultDiskSizeGb: Server-defined default disk size in GB.
	DefaultDiskSizeGb int64 `json:"defaultDiskSizeGb,omitempty"`

	// Description: An optional description of this resource.
	Description string `json:"description,omitempty"`

	// Kind: Type of the resource. Always compute#diskType for
	// disk types.
	Kind string `json:"kind,omitempty"`

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

GKEDiskType GKEDiskType represents a object of GKE disk type.

swagger:model GKEDiskType

func (*GKEDiskType) ContextValidate ¶ added in v2.21.0

func (m *GKEDiskType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e disk type based on context it is used

func (*GKEDiskType) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GKEDiskType) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GKEDiskType) Validate ¶ added in v2.21.0

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

Validate validates this g k e disk type

type GKEDiskTypeList ¶ added in v2.21.0

type GKEDiskTypeList []*GKEDiskType

GKEDiskTypeList GKEDiskTypeList represents an array of GKE disk types.

swagger:model GKEDiskTypeList

func (GKEDiskTypeList) ContextValidate ¶ added in v2.21.0

func (m GKEDiskTypeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e disk type list based on the context it is used

func (GKEDiskTypeList) Validate ¶ added in v2.21.0

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

Validate validates this g k e disk type list

type GKEImage ¶ added in v2.19.0

type GKEImage struct {

	// is default
	IsDefault bool `json:"default,omitempty"`

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

GKEImage GKEImage represents an object of GKE image.

swagger:model GKEImage

func (*GKEImage) ContextValidate ¶ added in v2.19.0

func (m *GKEImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e image based on context it is used

func (*GKEImage) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEImage) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEImage) Validate ¶ added in v2.19.0

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

Validate validates this g k e image

type GKEImageList ¶ added in v2.19.0

type GKEImageList []*GKEImage

GKEImageList GKEImageList represents an array of GKE images.

swagger:model GKEImageList

func (GKEImageList) ContextValidate ¶ added in v2.19.0

func (m GKEImageList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e image list based on the context it is used

func (GKEImageList) Validate ¶ added in v2.19.0

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

Validate validates this g k e image list

type GKEMachineDeploymentCloudSpec ¶ added in v2.19.0

type GKEMachineDeploymentCloudSpec struct {

	// Locations: The list of Google Compute Engine zones
	// (https://cloud.google.com/compute/docs/zones#available) in which the
	// NodePool's nodes should be located. If this value is unspecified
	// during node pool creation, the Cluster.Locations
	// (https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations)
	// value will be used, instead. Warning: changing node pool locations
	// will result in nodes being added and/or removed.
	Locations []string `json:"locations"`

	// autoscaling
	Autoscaling *GKENodePoolAutoscaling `json:"autoscaling,omitempty"`

	// config
	Config *GKENodeConfig `json:"config,omitempty"`

	// management
	Management *GKENodeManagement `json:"management,omitempty"`
}

GKEMachineDeploymentCloudSpec GKEMachineDeploymentCloudSpec represents an object holding GKE machine deployment cloud details.

swagger:model GKEMachineDeploymentCloudSpec

func (*GKEMachineDeploymentCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *GKEMachineDeploymentCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e machine deployment cloud spec based on the context it is used

func (*GKEMachineDeploymentCloudSpec) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEMachineDeploymentCloudSpec) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEMachineDeploymentCloudSpec) Validate ¶ added in v2.19.0

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

Validate validates this g k e machine deployment cloud spec

type GKENodeConfig ¶ added in v2.19.0

type GKENodeConfig struct {

	// DiskSizeGb: Size of the disk attached to each node, specified in GB.
	// The smallest allowed disk size is 10GB. If unspecified, the default
	// disk size is 100GB.
	DiskSizeGb int64 `json:"diskSizeGb,omitempty"`

	// DiskType: Type of the disk attached to each node (e.g. 'pd-standard',
	// 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is
	// 'pd-standard'
	DiskType string `json:"diskType,omitempty"`

	// ImageType: The image type to use for this node. Note that for a given
	// image type, the latest version of it will be used.
	ImageType string `json:"imageType,omitempty"`

	// Labels: The map of Kubernetes labels (key/value pairs) to be applied
	// to each node. These will added in addition to any default label(s)
	// that Kubernetes may apply to the node. In case of conflict in label
	// keys, the applied set may differ depending on the Kubernetes version
	// it's best to assume the behavior is undefined and conflicts should
	// be avoided. For more information, including usage and the valid
	// values, see:
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
	Labels map[string]string `json:"labels,omitempty"`

	// LocalSsdCount: The number of local SSD disks to be attached to the
	// node. The limit for this value is dependent upon the maximum number
	// of disks available on a machine per zone. See:
	// https://cloud.google.com/compute/docs/disks/local-ssd for more
	// information.
	LocalSsdCount int64 `json:"localSsdCount,omitempty"`

	// MachineType: The name of a Google Compute Engine machine type
	// (https://cloud.google.com/compute/docs/machine-types) If unspecified,
	// the default machine type is `e2-medium`.
	MachineType string `json:"machineType,omitempty"`

	// Preemptible: Whether the nodes are created as preemptible VM
	// instances. See:
	// https://cloud.google.com/compute/docs/instances/preemptible for more
	// information about preemptible VM instances.
	Preemptible bool `json:"preemptible,omitempty"`
}

GKENodeConfig GKENodeConfig Parameters that describe the nodes in a cluster.

swagger:model GKENodeConfig

func (*GKENodeConfig) ContextValidate ¶ added in v2.19.0

func (m *GKENodeConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e node config based on context it is used

func (*GKENodeConfig) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKENodeConfig) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKENodeConfig) Validate ¶ added in v2.19.0

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

Validate validates this g k e node config

type GKENodeManagement ¶ added in v2.19.0

type GKENodeManagement struct {

	// AutoRepair: A flag that specifies whether the node auto-repair is
	// enabled for the node pool. If enabled, the nodes in this node pool
	// will be monitored and, if they fail health checks too many times, an
	// automatic repair action will be triggered.
	AutoRepair bool `json:"autoRepair,omitempty"`

	// AutoUpgrade: A flag that specifies whether node auto-upgrade is
	// enabled for the node pool. If enabled, node auto-upgrade helps keep
	// the nodes in your node pool up to date with the latest release
	// version of Kubernetes.
	AutoUpgrade bool `json:"autoUpgrade,omitempty"`
}

GKENodeManagement GKENodeManagement defines the set of node management services turned on for the node pool.

swagger:model GKENodeManagement

func (*GKENodeManagement) ContextValidate ¶ added in v2.19.0

func (m *GKENodeManagement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e node management based on context it is used

func (*GKENodeManagement) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKENodeManagement) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKENodeManagement) Validate ¶ added in v2.19.0

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

Validate validates this g k e node management

type GKENodePoolAutoscaling ¶ added in v2.19.0

type GKENodePoolAutoscaling struct {

	// Autoprovisioned: Can this node pool be deleted automatically.
	Autoprovisioned bool `json:"autoprovisioned,omitempty"`

	// Enabled: Is autoscaling enabled for this node pool.
	Enabled bool `json:"enabled,omitempty"`

	// MaxNodeCount: Maximum number of nodes in the NodePool. Must be >=
	// min_node_count. There has to enough quota to scale up the cluster.
	MaxNodeCount int64 `json:"maxNodeCount,omitempty"`

	// MinNodeCount: Minimum number of nodes in the NodePool. Must be >= 1
	// and <= max_node_count.
	MinNodeCount int64 `json:"minNodeCount,omitempty"`
}

GKENodePoolAutoscaling GKENodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.

swagger:model GKENodePoolAutoscaling

func (*GKENodePoolAutoscaling) ContextValidate ¶ added in v2.19.0

func (m *GKENodePoolAutoscaling) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e node pool autoscaling based on context it is used

func (*GKENodePoolAutoscaling) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKENodePoolAutoscaling) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKENodePoolAutoscaling) Validate ¶ added in v2.19.0

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

Validate validates this g k e node pool autoscaling

type GKEResourceLimit ¶ added in v2.19.0

type GKEResourceLimit struct {

	// Maximum: Maximum amount of the resource in the cluster.
	Maximum string `json:"maximum,omitempty"`

	// Minimum: Minimum amount of the resource in the cluster.
	Minimum string `json:"minimum,omitempty"`

	// ResourceType: Resource name "cpu", "memory" or gpu-specific string.
	ResourceType string `json:"resourceType,omitempty"`
}

GKEResourceLimit GKEResourceLimit Contains information about amount of some resource in the cluster. For memory, value should be in GB.

swagger:model GKEResourceLimit

func (*GKEResourceLimit) ContextValidate ¶ added in v2.19.0

func (m *GKEResourceLimit) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e resource limit based on context it is used

func (*GKEResourceLimit) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEResourceLimit) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEResourceLimit) Validate ¶ added in v2.19.0

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

Validate validates this g k e resource limit

type GKEShieldedInstanceConfig ¶ added in v2.19.0

type GKEShieldedInstanceConfig struct {

	// EnableIntegrityMonitoring: Defines whether the instance has integrity
	// monitoring enabled. Enables monitoring and attestation of the boot
	// integrity of the instance. The attestation is performed against the
	// integrity policy baseline. This baseline is initially derived from
	// the implicitly trusted boot image when the instance is created.
	EnableIntegrityMonitoring bool `json:"enableIntegrityMonitoring,omitempty"`

	// EnableSecureBoot: Defines whether the instance has Secure Boot
	// enabled. Secure Boot helps ensure that the system only runs authentic
	// software by verifying the digital signature of all boot components,
	// and halting the boot process if signature verification fails.
	EnableSecureBoot bool `json:"enableSecureBoot,omitempty"`
}

GKEShieldedInstanceConfig GKEShieldedInstanceConfig a set of Shielded Instance options.

swagger:model GKEShieldedInstanceConfig

func (*GKEShieldedInstanceConfig) ContextValidate ¶ added in v2.19.0

func (m *GKEShieldedInstanceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e shielded instance config based on context it is used

func (*GKEShieldedInstanceConfig) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEShieldedInstanceConfig) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEShieldedInstanceConfig) Validate ¶ added in v2.19.0

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

Validate validates this g k e shielded instance config

type GKEUpgradeSettings ¶ added in v2.19.0

type GKEUpgradeSettings struct {

	// MaxSurge: The maximum number of nodes that can be created beyond the
	// current size of the node pool during the upgrade process.
	MaxSurge int64 `json:"maxSurge,omitempty"`

	// MaxUnavailable: The maximum number of nodes that can be
	// simultaneously unavailable during the upgrade process. A node is
	// considered available if its status is Ready.
	MaxUnavailable int64 `json:"maxUnavailable,omitempty"`
}

GKEUpgradeSettings GKEUpgradeSettings These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.

swagger:model GKEUpgradeSettings

func (*GKEUpgradeSettings) ContextValidate ¶ added in v2.19.0

func (m *GKEUpgradeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e upgrade settings based on context it is used

func (*GKEUpgradeSettings) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEUpgradeSettings) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEUpgradeSettings) Validate ¶ added in v2.19.0

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

Validate validates this g k e upgrade settings

type GKEZone ¶ added in v2.19.0

type GKEZone struct {

	// is default
	IsDefault bool `json:"default,omitempty"`

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

GKEZone GKEZone represents a object of GKE zone.

swagger:model GKEZone

func (*GKEZone) ContextValidate ¶ added in v2.19.0

func (m *GKEZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g k e zone based on context it is used

func (*GKEZone) MarshalBinary ¶ added in v2.19.0

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

MarshalBinary interface implementation

func (*GKEZone) UnmarshalBinary ¶ added in v2.19.0

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

UnmarshalBinary interface implementation

func (*GKEZone) Validate ¶ added in v2.19.0

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

Validate validates this g k e zone

type GKEZoneList ¶ added in v2.19.0

type GKEZoneList []*GKEZone

GKEZoneList GKEZoneList represents an array of GKE zones.

swagger:model GKEZoneList

func (GKEZoneList) ContextValidate ¶ added in v2.19.0

func (m GKEZoneList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this g k e zone list based on the context it is used

func (GKEZoneList) Validate ¶ added in v2.19.0

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

Validate validates this g k e zone list

type GVK ¶

type GVK struct {

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

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

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

GVK GVK group version kind of a resource.

swagger:model GVK

func (*GVK) ContextValidate ¶ added in v2.18.0

func (m *GVK) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g v k based on context it is used

func (*GVK) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GVK) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GVK) Validate ¶

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

Validate validates this g v k

type GatekeeperConfig ¶

type GatekeeperConfig struct {

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

GatekeeperConfig GatekeeperConfig represents a gatekeeper config

swagger:model GatekeeperConfig

func (*GatekeeperConfig) ContextValidate ¶ added in v2.18.0

func (m *GatekeeperConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gatekeeper config based on the context it is used

func (*GatekeeperConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GatekeeperConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GatekeeperConfig) Validate ¶

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

Validate validates this gatekeeper config

type GatekeeperConfigSpec ¶

type GatekeeperConfigSpec struct {

	// Configuration for namespace exclusion
	Match []*MatchEntry `json:"match"`

	// readiness
	Readiness *ReadinessSpec `json:"readiness,omitempty"`

	// sync
	Sync *Sync `json:"sync,omitempty"`

	// validation
	Validation *Validation `json:"validation,omitempty"`
}

GatekeeperConfigSpec gatekeeper config spec

swagger:model GatekeeperConfigSpec

func (*GatekeeperConfigSpec) ContextValidate ¶ added in v2.18.0

func (m *GatekeeperConfigSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gatekeeper config spec based on the context it is used

func (*GatekeeperConfigSpec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GatekeeperConfigSpec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GatekeeperConfigSpec) Validate ¶

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

Validate validates this gatekeeper config spec

type GitAuthMethod ¶ added in v2.21.0

type GitAuthMethod string

GitAuthMethod +kubebuilder:validation:Enum=password;token;ssh-key

swagger:model GitAuthMethod

func (GitAuthMethod) ContextValidate ¶ added in v2.21.0

func (m GitAuthMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this git auth method based on context it is used

func (GitAuthMethod) Validate ¶ added in v2.21.0

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

Validate validates this git auth method

type GitCredentials ¶ added in v2.21.0

type GitCredentials struct {

	// method
	Method GitAuthMethod `json:"method,omitempty"`

	// password
	Password *SecretKeySelector `json:"password,omitempty"`

	// ssh key
	SSHKey *SecretKeySelector `json:"sshKey,omitempty"`

	// token
	Token *SecretKeySelector `json:"token,omitempty"`

	// username
	Username *SecretKeySelector `json:"username,omitempty"`
}

GitCredentials git credentials

swagger:model GitCredentials

func (*GitCredentials) ContextValidate ¶ added in v2.21.0

func (m *GitCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git credentials based on the context it is used

func (*GitCredentials) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GitCredentials) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GitCredentials) Validate ¶ added in v2.21.0

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

Validate validates this git credentials

type GitReference ¶ added in v2.21.0

type GitReference struct {

	// Branch to checkout. Only the last commit of the branch will be checkout in order to reduce the amount of data to download.
	// +optional
	Branch string `json:"branch,omitempty"`

	// Commit SHA in a Branch to checkout.
	//
	// It must be used in conjunction with branch field.
	// Pattern: =`^[a-f0-9]{40}$`
	Commit string `json:"commit,omitempty"`

	// Tag to check out.
	// It can not be used in conjunction with commit or branch.
	// +kubebuilder:validation:Type=string
	// +optional
	Tag string `json:"tag,omitempty"`
}

GitReference git reference

swagger:model GitReference

func (*GitReference) ContextValidate ¶ added in v2.21.0

func (m *GitReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this git reference based on context it is used

func (*GitReference) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GitReference) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GitReference) Validate ¶ added in v2.21.0

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

Validate validates this git reference

type GitSource ¶ added in v2.21.0

type GitSource struct {

	// Path of the "source" in the repository. default is repository root
	Path string `json:"path,omitempty"`

	// URL to the repository. Can be HTTP(s) (e.g. https://example.com/myrepo) or SSH (e.g. git://example.com[:port]/path/to/repo.git/)
	// +kubebuilder:validation:MinLength=1
	Remote string `json:"remote,omitempty"`

	// credentials
	Credentials *GitCredentials `json:"credentials,omitempty"`

	// ref
	Ref *GitReference `json:"ref,omitempty"`
}

GitSource git source

swagger:model GitSource

func (*GitSource) ContextValidate ¶ added in v2.21.0

func (m *GitSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this git source based on the context it is used

func (*GitSource) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GitSource) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GitSource) Validate ¶ added in v2.21.0

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

Validate validates this git source

type GlobalCustomLinks []*CustomLink

GlobalCustomLinks GlobalCustomLinks defines custom links for global settings

swagger:model GlobalCustomLinks

func (GlobalCustomLinks) ContextValidate ¶ added in v2.18.0

func (m GlobalCustomLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global custom links based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GlobalObjectKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global object key selector based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GlobalSecretKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global secret key selector based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *GlobalSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global settings based on the context it is used

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 GroupProjectBinding ¶ added in v2.21.0

type GroupProjectBinding struct {

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

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

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// role
	Role string `json:"role,omitempty"`
}

GroupProjectBinding group project binding

swagger:model GroupProjectBinding

func (*GroupProjectBinding) ContextValidate ¶ added in v2.21.0

func (m *GroupProjectBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group project binding based on context it is used

func (*GroupProjectBinding) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GroupProjectBinding) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GroupProjectBinding) Validate ¶ added in v2.21.0

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

Validate validates this group project binding

type GroupProjectBindingBody ¶ added in v2.21.0

type GroupProjectBindingBody struct {

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

	// role
	Role string `json:"role,omitempty"`
}

GroupProjectBindingBody group project binding body

swagger:model groupProjectBindingBody

func (*GroupProjectBindingBody) ContextValidate ¶ added in v2.21.0

func (m *GroupProjectBindingBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group project binding body based on context it is used

func (*GroupProjectBindingBody) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*GroupProjectBindingBody) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*GroupProjectBindingBody) Validate ¶ added in v2.21.0

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

Validate validates this group project binding body

type HealthStatus ¶

type HealthStatus string

HealthStatus health status

swagger:model HealthStatus

func (HealthStatus) ContextValidate ¶ added in v2.18.0

func (m HealthStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this health status based on context it is used

func (HealthStatus) Validate ¶

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

Validate validates this health status

type HelmCredentials ¶ added in v2.21.0

type HelmCredentials struct {

	// password
	Password *SecretKeySelector `json:"password,omitempty"`

	// registry config file
	RegistryConfigFile *SecretKeySelector `json:"registryConfigFile,omitempty"`

	// username
	Username *SecretKeySelector `json:"username,omitempty"`
}

HelmCredentials helm credentials

swagger:model HelmCredentials

func (*HelmCredentials) ContextValidate ¶ added in v2.21.0

func (m *HelmCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm credentials based on the context it is used

func (*HelmCredentials) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*HelmCredentials) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*HelmCredentials) Validate ¶ added in v2.21.0

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

Validate validates this helm credentials

type HelmSource ¶ added in v2.21.0

type HelmSource struct {

	// Name of the Chart.
	// +kubebuilder:validation:MinLength=1
	ChartName string `json:"chartName,omitempty"`

	// Version of the Chart.
	// +kubebuilder:validation:MinLength=1
	ChartVersion string `json:"chartVersion,omitempty"`

	// URl of the helm repository.
	// It can be an HTTP(s) repository (e.g. https://localhost/myrepo) or on OCI repository (e.g. oci://localhost:5000/myrepo).
	// +kubebuilder:validation:Pattern="^(http|https|oci)://.+"
	URL string `json:"url,omitempty"`

	// credentials
	Credentials *HelmCredentials `json:"credentials,omitempty"`
}

HelmSource helm source

swagger:model HelmSource

func (*HelmSource) ContextValidate ¶ added in v2.21.0

func (m *HelmSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this helm source based on the context it is used

func (*HelmSource) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*HelmSource) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*HelmSource) Validate ¶ added in v2.21.0

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

Validate validates this helm source

type Hetzner ¶ added in v2.19.3

type Hetzner struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// Network is the pre-existing Hetzner network in which the machines are running.
	// While machines can be in multiple networks, a single one must be chosen for the
	// HCloud CCM to work.
	// If this is empty, the network configured on the datacenter will be used.
	Network string `json:"network,omitempty"`

	// Token is used to authenticate with the Hetzner API.
	Token string `json:"token,omitempty"`
}

Hetzner hetzner

swagger:model Hetzner

func (*Hetzner) ContextValidate ¶ added in v2.19.3

func (m *Hetzner) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hetzner based on context it is used

func (*Hetzner) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Hetzner) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Hetzner) Validate ¶ added in v2.19.3

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

Validate validates this hetzner

type HetznerCloudSpec ¶

type HetznerCloudSpec struct {

	// Network is the pre-existing Hetzner network in which the machines are running.
	// While machines can be in multiple networks, a single one must be chosen for the
	// HCloud CCM to work.
	// If this is empty, the network configured on the datacenter will be used.
	Network string `json:"network,omitempty"`

	// Token is used to authenticate with the Hetzner cloud API.
	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) ContextValidate ¶ added in v2.18.0

func (m *HetznerCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hetzner cloud spec based on the context it is used

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 HetznerNodeSpec ¶

type HetznerNodeSpec struct {

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

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

HetznerNodeSpec HetznerNodeSpec Hetzner node settings

swagger:model HetznerNodeSpec

func (*HetznerNodeSpec) ContextValidate ¶ added in v2.18.0

func (m *HetznerNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hetzner node spec based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *HetznerSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hetzner size based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *HetznerSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this hetzner size list based on the context it is used

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 IPAMPool ¶ added in v2.21.0

type IPAMPool struct {

	// datacenters
	Datacenters map[string]IPAMPoolDatacenterSettings `json:"datacenters,omitempty"`

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

IPAMPool IP a m pool

swagger:model IPAMPool

func (*IPAMPool) ContextValidate ¶ added in v2.21.0

func (m *IPAMPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this IP a m pool based on the context it is used

func (*IPAMPool) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*IPAMPool) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*IPAMPool) Validate ¶ added in v2.21.0

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

Validate validates this IP a m pool

type IPAMPoolAllocationType ¶ added in v2.21.0

type IPAMPoolAllocationType string

IPAMPoolAllocationType +kubebuilder:validation:Enum=prefix;range IPAMPoolAllocationType defines the type of allocation to be used. Possible values are `prefix` and `range`.

swagger:model IPAMPoolAllocationType

func (IPAMPoolAllocationType) ContextValidate ¶ added in v2.21.0

func (m IPAMPoolAllocationType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP a m pool allocation type based on context it is used

func (IPAMPoolAllocationType) Validate ¶ added in v2.21.0

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

Validate validates this IP a m pool allocation type

type IPAMPoolDatacenterSettings ¶ added in v2.21.0

type IPAMPoolDatacenterSettings struct {

	// allocation prefix
	AllocationPrefix int64 `json:"allocationPrefix,omitempty"`

	// allocation range
	AllocationRange int64 `json:"allocationRange,omitempty"`

	// pool cidr
	PoolCidr SubnetCIDR `json:"poolCidr,omitempty"`

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

IPAMPoolDatacenterSettings IP a m pool datacenter settings

swagger:model IPAMPoolDatacenterSettings

func (*IPAMPoolDatacenterSettings) ContextValidate ¶ added in v2.21.0

func (m *IPAMPoolDatacenterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this IP a m pool datacenter settings based on the context it is used

func (*IPAMPoolDatacenterSettings) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*IPAMPoolDatacenterSettings) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*IPAMPoolDatacenterSettings) Validate ¶ added in v2.21.0

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

Validate validates this IP a m pool datacenter settings

type IPAllocationMode ¶ added in v2.21.0

type IPAllocationMode string

IPAllocationMode IP allocation mode

swagger:model IPAllocationMode

func (IPAllocationMode) ContextValidate ¶ added in v2.21.0

func (m IPAllocationMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP allocation mode based on context it is used

func (IPAllocationMode) Validate ¶ added in v2.21.0

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

Validate validates this IP allocation mode

type IPFamily ¶ added in v2.21.0

type IPFamily string

IPFamily +kubebuilder:validation:Enum="";IPv4;IPv4+IPv6

swagger:model IPFamily

func (IPFamily) ContextValidate ¶ added in v2.21.0

func (m IPFamily) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP family based on context it is used

func (IPFamily) Validate ¶ added in v2.21.0

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

Validate validates this IP family

type IPVSConfiguration ¶ added in v2.18.0

type IPVSConfiguration struct {

	// StrictArp configure arp_ignore and arp_announce to avoid answering ARP queries from kube-ipvs0 interface.
	// defaults to true.
	StrictArp bool `json:"strictArp,omitempty"`
}

IPVSConfiguration IPVSConfiguration contains ipvs-related configuration details for kube-proxy.

swagger:model IPVSConfiguration

func (*IPVSConfiguration) ContextValidate ¶ added in v2.18.0

func (m *IPVSConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP v s configuration based on context it is used

func (*IPVSConfiguration) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*IPVSConfiguration) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*IPVSConfiguration) Validate ¶ added in v2.18.0

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

Validate validates this IP v s configuration

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) ContextValidate ¶ added in v2.18.0

func (m ImageList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image list based on context it is used

func (ImageList) Validate ¶

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

Validate validates this image list

type JSON ¶

type JSON struct {

	// raw
	Raw []uint8 `json:"Raw"`
}

JSON JSON represents any valid JSON value.

These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil.

swagger:model JSON

func (*JSON) ContextValidate ¶ added in v2.18.0

func (m *JSON) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this JSON based on context it is used

func (*JSON) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JSON) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JSON) Validate ¶

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

Validate validates this JSON

type JSONSchemaDefinitions ¶

type JSONSchemaDefinitions map[string]JSONSchemaProps

JSONSchemaDefinitions JSONSchemaDefinitions contains the models explicitly defined in this spec.

swagger:model JSONSchemaDefinitions

func (JSONSchemaDefinitions) ContextValidate ¶ added in v2.18.0

func (m JSONSchemaDefinitions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema definitions based on the context it is used

func (JSONSchemaDefinitions) Validate ¶

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

Validate validates this JSON schema definitions

type JSONSchemaDependencies ¶

type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray

JSONSchemaDependencies JSONSchemaDependencies represent a dependencies property.

swagger:model JSONSchemaDependencies

func (JSONSchemaDependencies) ContextValidate ¶ added in v2.18.0

func (m JSONSchemaDependencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema dependencies based on the context it is used

func (JSONSchemaDependencies) Validate ¶

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

Validate validates this JSON schema dependencies

type JSONSchemaProps ¶

type JSONSchemaProps struct {

	// dollar schema
	DollarSchema JSONSchemaURL `json:"$schema,omitempty"`

	// all of
	AllOf []*JSONSchemaProps `json:"allOf"`

	// any of
	AnyOf []*JSONSchemaProps `json:"anyOf"`

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

	// enum
	Enum []*JSON `json:"enum"`

	// exclusive maximum
	ExclusiveMaximum bool `json:"exclusiveMaximum,omitempty"`

	// exclusive minimum
	ExclusiveMinimum bool `json:"exclusiveMinimum,omitempty"`

	// format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:
	//
	// bsonobjectid: a bson object ID, i.e. a 24 characters hex string
	// uri: an URI as parsed by Golang net/url.ParseRequestURI
	// email: an email address as parsed by Golang net/mail.ParseAddress
	// hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].
	// ipv4: an IPv4 IP as parsed by Golang net.ParseIP
	// ipv6: an IPv6 IP as parsed by Golang net.ParseIP
	// cidr: a CIDR as parsed by Golang net.ParseCIDR
	// mac: a MAC address as parsed by Golang net.ParseMAC
	// uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$
	// uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$
	// uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$
	// uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$
	// isbn: an ISBN10 or ISBN13 number string like "0321751043" or "978-0321751041"
	// isbn10: an ISBN10 number string like "0321751043"
	// isbn13: an ISBN13 number string like "978-0321751041"
	// creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in
	// ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$
	// hexcolor: an hexadecimal color code like "#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$
	// rgbcolor: an RGB color code like rgb like "rgb(255,255,2559"
	// byte: base64 encoded binary data
	// password: any kind of string
	// date: a date string like "2006-01-02" as defined by full-date in RFC3339
	// duration: a duration string like "22 ns" as parsed by Golang time.ParseDuration or compatible with Scala duration format
	// datetime: a date time string like "2014-12-15T19:30:20.000Z" as defined by date-time in RFC3339.
	Format string `json:"format,omitempty"`

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

	// max items
	MaxItems int64 `json:"maxItems,omitempty"`

	// max length
	MaxLength int64 `json:"maxLength,omitempty"`

	// max properties
	MaxProperties int64 `json:"maxProperties,omitempty"`

	// maximum
	Maximum float64 `json:"maximum,omitempty"`

	// min items
	MinItems int64 `json:"minItems,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty"`

	// min properties
	MinProperties int64 `json:"minProperties,omitempty"`

	// minimum
	Minimum float64 `json:"minimum,omitempty"`

	// multiple of
	MultipleOf float64 `json:"multipleOf,omitempty"`

	// nullable
	Nullable bool `json:"nullable,omitempty"`

	// one of
	OneOf []*JSONSchemaProps `json:"oneOf"`

	// pattern
	Pattern string `json:"pattern,omitempty"`

	// pattern properties
	PatternProperties map[string]JSONSchemaProps `json:"patternProperties,omitempty"`

	// properties
	Properties map[string]JSONSchemaProps `json:"properties,omitempty"`

	// ref
	Ref string `json:"$ref,omitempty"`

	// required
	Required []string `json:"required"`

	// title
	Title string `json:"title,omitempty"`

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

	// unique items
	UniqueItems bool `json:"uniqueItems,omitempty"`

	// x-kubernetes-embedded-resource defines that the value is an
	// embedded Kubernetes runtime.Object, with TypeMeta and
	// ObjectMeta. The type must be object. It is allowed to further
	// restrict the embedded object. kind, apiVersion and metadata
	// are validated automatically. x-kubernetes-preserve-unknown-fields
	// is allowed to be true, but does not have to be if the object
	// is fully specified (up to kind, apiVersion, metadata).
	XEmbeddedResource bool `json:"x-kubernetes-embedded-resource,omitempty"`

	// x-kubernetes-int-or-string specifies that this value is
	// either an integer or a string. If this is true, an empty
	// type is allowed and type as child of anyOf is permitted
	// if following one of the following patterns:
	//
	// 1) anyOf:
	// type: integer
	// type: string
	// 2) allOf:
	// anyOf:
	// type: integer
	// type: string
	// ... zero or more
	XIntOrString bool `json:"x-kubernetes-int-or-string,omitempty"`

	// x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used
	// as the index of the map.
	//
	// This tag MUST only be used on lists that have the "x-kubernetes-list-type"
	// extension set to "map". Also, the values specified for this attribute must
	// be a scalar typed field of the child structure (no nesting is supported).
	//
	// The properties specified must either be required or have a default value,
	// to ensure those properties are present for all list items.
	//
	// +optional
	XListMapKeys []string `json:"x-kubernetes-list-map-keys"`

	// x-kubernetes-list-type annotates an array to further describe its topology.
	// This extension must only be used on lists and may have 3 possible values:
	//
	// 1) `atomic`: the list is treated as a single entity, like a scalar.
	// Atomic lists will be entirely replaced when updated. This extension
	// may be used on any type of list (struct, scalar, ...).
	// 2) `set`:
	// Sets are lists that must not have multiple items with the same value. Each
	// value must be a scalar, an object with x-kubernetes-map-type `atomic` or an
	// array with x-kubernetes-list-type `atomic`.
	// 3) `map`:
	// These lists are like maps in that their elements have a non-index key
	// used to identify them. Order is preserved upon merge. The map tag
	// must only be used on a list with elements of type object.
	// Defaults to atomic for arrays.
	// +optional
	XListType string `json:"x-kubernetes-list-type,omitempty"`

	// x-kubernetes-map-type annotates an object to further describe its topology.
	// This extension must only be used when type is object and may have 2 possible values:
	//
	// 1) `granular`:
	// These maps are actual maps (key-value pairs) and each fields are independent
	// from each other (they can each be manipulated by separate actors). This is
	// the default behaviour for all maps.
	// 2) `atomic`: the list is treated as a single entity, like a scalar.
	// Atomic maps will be entirely replaced when updated.
	// +optional
	XMapType string `json:"x-kubernetes-map-type,omitempty"`

	// x-kubernetes-preserve-unknown-fields stops the API server
	// decoding step from pruning fields which are not specified
	// in the validation schema. This affects fields recursively,
	// but switches back to normal pruning behaviour if nested
	// properties or additionalProperties are specified in the schema.
	// This can either be true or undefined. False is forbidden.
	XPreserveUnknownFields bool `json:"x-kubernetes-preserve-unknown-fields,omitempty"`

	// additional items
	AdditionalItems *JSONSchemaPropsOrBool `json:"additionalItems,omitempty"`

	// additional properties
	AdditionalProperties *JSONSchemaPropsOrBool `json:"additionalProperties,omitempty"`

	// default
	Default *JSON `json:"default,omitempty"`

	// definitions
	Definitions JSONSchemaDefinitions `json:"definitions,omitempty"`

	// dependencies
	Dependencies JSONSchemaDependencies `json:"dependencies,omitempty"`

	// example
	Example *JSON `json:"example,omitempty"`

	// external docs
	ExternalDocs *ExternalDocumentation `json:"externalDocs,omitempty"`

	// items
	Items *JSONSchemaPropsOrArray `json:"items,omitempty"`

	// not
	Not *JSONSchemaProps `json:"not,omitempty"`

	// x kubernetes validations
	XKubernetesValidations ValidationRules `json:"x-kubernetes-validations,omitempty"`
}

JSONSchemaProps JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).

swagger:model JSONSchemaProps

func (*JSONSchemaProps) ContextValidate ¶ added in v2.18.0

func (m *JSONSchemaProps) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema props based on the context it is used

func (*JSONSchemaProps) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JSONSchemaProps) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JSONSchemaProps) Validate ¶

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

Validate validates this JSON schema props

type JSONSchemaPropsOrArray ¶

type JSONSchemaPropsOrArray struct {

	// JSON schemas
	JSONSchemas []*JSONSchemaProps `json:"JSONSchemas"`

	// schema
	Schema *JSONSchemaProps `json:"Schema,omitempty"`
}

JSONSchemaPropsOrArray JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes.

swagger:model JSONSchemaPropsOrArray

func (*JSONSchemaPropsOrArray) ContextValidate ¶ added in v2.18.0

func (m *JSONSchemaPropsOrArray) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema props or array based on the context it is used

func (*JSONSchemaPropsOrArray) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JSONSchemaPropsOrArray) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JSONSchemaPropsOrArray) Validate ¶

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

Validate validates this JSON schema props or array

type JSONSchemaPropsOrBool ¶

type JSONSchemaPropsOrBool struct {

	// allows
	Allows bool `json:"Allows,omitempty"`

	// schema
	Schema *JSONSchemaProps `json:"Schema,omitempty"`
}

JSONSchemaPropsOrBool JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value.

Defaults to true for the boolean property.

swagger:model JSONSchemaPropsOrBool

func (*JSONSchemaPropsOrBool) ContextValidate ¶ added in v2.18.0

func (m *JSONSchemaPropsOrBool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema props or bool based on the context it is used

func (*JSONSchemaPropsOrBool) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JSONSchemaPropsOrBool) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JSONSchemaPropsOrBool) Validate ¶

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

Validate validates this JSON schema props or bool

type JSONSchemaPropsOrStringArray ¶

type JSONSchemaPropsOrStringArray struct {

	// property
	Property []string `json:"Property"`

	// schema
	Schema *JSONSchemaProps `json:"Schema,omitempty"`
}

JSONSchemaPropsOrStringArray JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.

swagger:model JSONSchemaPropsOrStringArray

func (*JSONSchemaPropsOrStringArray) ContextValidate ¶ added in v2.18.0

func (m *JSONSchemaPropsOrStringArray) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this JSON schema props or string array based on the context it is used

func (*JSONSchemaPropsOrStringArray) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*JSONSchemaPropsOrStringArray) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*JSONSchemaPropsOrStringArray) Validate ¶

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

Validate validates this JSON schema props or string array

type JSONSchemaURL ¶

type JSONSchemaURL string

JSONSchemaURL JSONSchemaURL represents a schema url.

swagger:model JSONSchemaURL

func (JSONSchemaURL) ContextValidate ¶ added in v2.18.0

func (m JSONSchemaURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this JSON schema URL based on context it is used

func (JSONSchemaURL) Validate ¶

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

Validate validates this JSON schema URL

type Kind ¶

type Kind struct {

	// APIGroups specifies the APIGroups of the resources
	APIGroups []string `json:"apiGroups"`

	// Kinds specifies the kinds of the resources
	Kinds []string `json:"kinds"`
}

Kind Kind specifies the resource Kind and APIGroup.

swagger:model Kind

func (*Kind) ContextValidate ¶ added in v2.18.0

func (m *Kind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kind based on context it is used

func (*Kind) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Kind) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Kind) Validate ¶

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

Validate validates this kind

type KubeOneAWSCloudSpec ¶ added in v2.21.0

type KubeOneAWSCloudSpec struct {

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

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

KubeOneAWSCloudSpec KubeOneAWSCloudSpec specifies access data to Amazon Web Services.

swagger:model KubeOneAWSCloudSpec

func (*KubeOneAWSCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneAWSCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one a w s cloud spec based on context it is used

func (*KubeOneAWSCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneAWSCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneAWSCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one a w s cloud spec

type KubeOneAzureCloudSpec ¶ added in v2.21.0

type KubeOneAzureCloudSpec struct {

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

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

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

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

KubeOneAzureCloudSpec KubeOneAzureCloudSpec specifies access credentials to Azure cloud.

swagger:model KubeOneAzureCloudSpec

func (*KubeOneAzureCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneAzureCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one azure cloud spec based on context it is used

func (*KubeOneAzureCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneAzureCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneAzureCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one azure cloud spec

type KubeOneCloudSpec ¶ added in v2.21.0

type KubeOneCloudSpec struct {

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

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

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

	// equinix
	Equinix *KubeOneEquinixCloudSpec `json:"equinix,omitempty"`

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

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

	// nutanix
	Nutanix *KubeOneNutanixCloudSpec `json:"nutanix,omitempty"`

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

	// vmwareclouddirector
	Vmwareclouddirector *KubeOneVMwareCloudDirectorCloudSpec `json:"vmwareclouddirector,omitempty"`

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

KubeOneCloudSpec kube one cloud spec

swagger:model KubeOneCloudSpec

func (*KubeOneCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kube one cloud spec based on the context it is used

func (*KubeOneCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one cloud spec

type KubeOneDigitalOceanCloudSpec ¶ added in v2.21.0

type KubeOneDigitalOceanCloudSpec struct {

	// Token is used to authenticate with the DigitalOcean API.
	Token string `json:"token,omitempty"`
}

KubeOneDigitalOceanCloudSpec KubeOneDigitalOceanCloudSpec specifies access data to DigitalOcean.

swagger:model KubeOneDigitalOceanCloudSpec

func (*KubeOneDigitalOceanCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneDigitalOceanCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one digital ocean cloud spec based on context it is used

func (*KubeOneDigitalOceanCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneDigitalOceanCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneDigitalOceanCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one digital ocean cloud spec

type KubeOneEquinixCloudSpec ¶ added in v2.21.0

type KubeOneEquinixCloudSpec struct {

	// API key
	APIKey string `json:"apiKey,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`
}

KubeOneEquinixCloudSpec KubeOneEquinixCloudSpec specifies access data to a Equinix cloud.

swagger:model KubeOneEquinixCloudSpec

func (*KubeOneEquinixCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneEquinixCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one equinix cloud spec based on context it is used

func (*KubeOneEquinixCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneEquinixCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneEquinixCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one equinix cloud spec

type KubeOneGCPCloudSpec ¶ added in v2.21.0

type KubeOneGCPCloudSpec struct {

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

KubeOneGCPCloudSpec KubeOneGCPCloudSpec specifies access data to GCP.

swagger:model KubeOneGCPCloudSpec

func (*KubeOneGCPCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneGCPCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one g c p cloud spec based on context it is used

func (*KubeOneGCPCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneGCPCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneGCPCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one g c p cloud spec

type KubeOneHetznerCloudSpec ¶ added in v2.21.0

type KubeOneHetznerCloudSpec struct {

	// Token is used to authenticate with the Hetzner cloud API.
	Token string `json:"token,omitempty"`
}

KubeOneHetznerCloudSpec KubeOneHetznerCloudSpec specifies access data to hetzner cloud.

swagger:model KubeOneHetznerCloudSpec

func (*KubeOneHetznerCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneHetznerCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one hetzner cloud spec based on context it is used

func (*KubeOneHetznerCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneHetznerCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneHetznerCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one hetzner cloud spec

type KubeOneNutanixCloudSpec ¶ added in v2.21.0

type KubeOneNutanixCloudSpec struct {

	// allow insecure
	AllowInsecure bool `json:"allowInsecure,omitempty"`

	// ClusterName is the Nutanix cluster that this user cluster will be deployed to.
	// +optional
	ClusterName string `json:"clusterName,omitempty"`

	// Endpoint is the Nutanix API (Prism Central) endpoint
	Endpoint string `json:"endpoint,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// Port is the Nutanix API (Prism Central) port
	Port string `json:"port,omitempty"`

	// PrismElementEndpoint to access Nutanix Prism Element for the CSI driver
	PrismElementEndpoint string `json:"elementEndpoint,omitempty"`

	// PrismElementPassword to be used for the CSI driver
	PrismElementPassword string `json:"elementPassword,omitempty"`

	// PrismElementUsername to be used for the CSI driver
	PrismElementUsername string `json:"elementUsername,omitempty"`

	// proxy URL
	ProxyURL string `json:"proxyURL,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

KubeOneNutanixCloudSpec KubeOneNutanixCloudSpec specifies the access data to Nutanix.

swagger:model KubeOneNutanixCloudSpec

func (*KubeOneNutanixCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneNutanixCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one nutanix cloud spec based on context it is used

func (*KubeOneNutanixCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneNutanixCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneNutanixCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one nutanix cloud spec

type KubeOneOpenStackCloudSpec ¶ added in v2.21.0

type KubeOneOpenStackCloudSpec struct {

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

	// domain
	Domain string `json:"domain,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// Project, formally known as tenant.
	Project string `json:"project,omitempty"`

	// ProjectID, formally known as tenantID.
	ProjectID string `json:"projectID,omitempty"`

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

	// username
	Username string `json:"username,omitempty"`
}

KubeOneOpenStackCloudSpec KubeOneOpenStackCloudSpec specifies access data to an OpenStack cloud.

swagger:model KubeOneOpenStackCloudSpec

func (*KubeOneOpenStackCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneOpenStackCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one open stack cloud spec based on context it is used

func (*KubeOneOpenStackCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneOpenStackCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneOpenStackCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one open stack cloud spec

type KubeOneSSHKey ¶ added in v2.21.0

type KubeOneSSHKey struct {

	// passphrase
	Passphrase string `json:"passphrase,omitempty"`

	// PrivateKey Base64 encoded privateKey
	PrivateKey string `json:"privateKey,omitempty"`
}

KubeOneSSHKey SSHKeySpec represents the details of a ssh key.

swagger:model KubeOneSSHKey

func (*KubeOneSSHKey) ContextValidate ¶ added in v2.21.0

func (m *KubeOneSSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one SSH key based on context it is used

func (*KubeOneSSHKey) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneSSHKey) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneSSHKey) Validate ¶ added in v2.21.0

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

Validate validates this kube one SSH key

type KubeOneSpec ¶ added in v2.21.0

type KubeOneSpec struct {

	// container runtime
	ContainerRuntime string `json:"containerRuntime,omitempty"`

	// Manifest Base64 encoded manifest
	Manifest string `json:"manifest,omitempty"`

	// cloud spec
	CloudSpec *KubeOneCloudSpec `json:"cloudSpec,omitempty"`

	// ssh key
	SSHKey *KubeOneSSHKey `json:"sshKey,omitempty"`
}

KubeOneSpec kube one spec

swagger:model KubeOneSpec

func (*KubeOneSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kube one spec based on the context it is used

func (*KubeOneSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one spec

type KubeOneVMwareCloudDirectorCloudSpec ¶ added in v2.21.0

type KubeOneVMwareCloudDirectorCloudSpec struct {

	// organization
	Organization string `json:"organization,omitempty"`

	// password
	Password string `json:"password,omitempty"`

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

	// username
	Username string `json:"username,omitempty"`

	// v d c
	VDC string `json:"vdc,omitempty"`
}

KubeOneVMwareCloudDirectorCloudSpec KubeOneVMwareCloudDirectorCloudSpec represents credentials for accessing VMWare Cloud Director.

swagger:model KubeOneVMwareCloudDirectorCloudSpec

func (*KubeOneVMwareCloudDirectorCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneVMwareCloudDirectorCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one v mware cloud director cloud spec based on context it is used

func (*KubeOneVMwareCloudDirectorCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneVMwareCloudDirectorCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneVMwareCloudDirectorCloudSpec) Validate ¶ added in v2.21.0

Validate validates this kube one v mware cloud director cloud spec

type KubeOneVSphereCloudSpec ¶ added in v2.21.0

type KubeOneVSphereCloudSpec struct {

	// password
	Password string `json:"password,omitempty"`

	// server
	Server string `json:"server,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

KubeOneVSphereCloudSpec KubeOneVSphereCloudSpec credentials represents a credential for accessing vSphere.

swagger:model KubeOneVSphereCloudSpec

func (*KubeOneVSphereCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *KubeOneVSphereCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kube one v sphere cloud spec based on context it is used

func (*KubeOneVSphereCloudSpec) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubeOneVSphereCloudSpec) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubeOneVSphereCloudSpec) Validate ¶ added in v2.21.0

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

Validate validates this kube one v sphere cloud spec

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) ContextValidate ¶ added in v2.18.0

func (m *KubermaticVersions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubermatic versions based on context it is used

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 KubernetesDashboard ¶ added in v2.21.0

type KubernetesDashboard struct {

	// Controls whether kubernetes-dashboard is deployed to the user cluster or not.
	// Enabled by default.
	Enabled bool `json:"enabled,omitempty"`
}

KubernetesDashboard KubernetesDashboard contains settings for the kubernetes-dashboard component as part of the cluster control plane.

swagger:model KubernetesDashboard

func (*KubernetesDashboard) ContextValidate ¶ added in v2.21.0

func (m *KubernetesDashboard) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubernetes dashboard based on context it is used

func (*KubernetesDashboard) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*KubernetesDashboard) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*KubernetesDashboard) Validate ¶ added in v2.21.0

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

Validate validates this kubernetes dashboard

type Kubevirt ¶ added in v2.19.3

type Kubevirt struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

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

Kubevirt kubevirt

swagger:model Kubevirt

func (*Kubevirt) ContextValidate ¶ added in v2.19.3

func (m *Kubevirt) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kubevirt based on context it is used

func (*Kubevirt) MarshalBinary ¶ added in v2.19.3

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

MarshalBinary interface implementation

func (*Kubevirt) UnmarshalBinary ¶ added in v2.19.3

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

UnmarshalBinary interface implementation

func (*Kubevirt) Validate ¶ added in v2.19.3

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

Validate validates this kubevirt

type KubevirtCloudSpec ¶

type KubevirtCloudSpec struct {

	// c s i kubeconfig
	CSIKubeconfig string `json:"csiKubeconfig,omitempty"`

	// InfraStorageClasses is a list of storage classes from KubeVirt infra cluster that are used for
	// initialization of user cluster storage classes by the CSI driver kubevirt (hot pluggable disks)
	InfraStorageClasses []string `json:"infraStorageClasses"`

	// The cluster's kubeconfig file, encoded with base64.
	Kubeconfig string `json:"kubeconfig,omitempty"`

	// PreAllocatedDataVolumes holds list of preallocated DataVolumes which can be used as reference for DataVolume cloning.
	PreAllocatedDataVolumes []*PreAllocatedDataVolume `json:"preAllocatedDataVolumes"`

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

KubevirtCloudSpec KubevirtCloudSpec specifies the access data to Kubevirt.

swagger:model KubevirtCloudSpec

func (*KubevirtCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *KubevirtCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubevirt cloud spec based on the context it is used

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 KubevirtNodeSpec ¶

type KubevirtNodeSpec struct {

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

	// FlavorName states name of the virtual-machine flavor.
	FlavorName string `json:"flavorName,omitempty"`

	// FlavorProfile states name of virtual-machine profile.
	FlavorProfile string `json:"flavorProfile,omitempty"`

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

	// PodAffinityPreset describes pod affinity scheduling rules
	PodAffinityPreset string `json:"podAffinityPreset,omitempty"`

	// PodAntiAffinityPreset describes pod anti-affinity scheduling rules
	PodAntiAffinityPreset string `json:"podAntiAffinityPreset,omitempty"`

	// PrimaryDiskOSImage states the source from which the imported image will be downloaded.
	// This field contains:
	// a URL to download an Os Image from a HTTP source.
	// a DataVolume Name as source for DataVolume cloning.
	// Required: true
	PrimaryDiskOSImage *string `json:"primaryDiskOSImage"`

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

	// PrimaryDiskStorageClassName states the storage class name for the provisioned PVCs.
	// Required: true
	PrimaryDiskStorageClassName *string `json:"primaryDiskStorageClassName"`

	// SecondaryDisks contains list of secondary-disks
	SecondaryDisks []*SecondaryDisks `json:"secondaryDisks"`

	// node affinity preset
	NodeAffinityPreset *NodeAffinityPreset `json:"nodeAffinityPreset,omitempty"`
}

KubevirtNodeSpec KubevirtNodeSpec kubevirt specific node settings

swagger:model KubevirtNodeSpec

func (*KubevirtNodeSpec) ContextValidate ¶ added in v2.18.0

func (m *KubevirtNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kubevirt node spec based on the context it is used

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 LBSKU ¶ added in v2.17.2

type LBSKU string

LBSKU Azure SKU for Load Balancers. Possible values are `basic` and `standard`.

swagger:model LBSKU

func (LBSKU) ContextValidate ¶ added in v2.18.0

func (m LBSKU) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this l b s k u based on context it is used

func (LBSKU) Validate ¶ added in v2.17.2

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

Validate validates this l b s k u

type LabelKeyList ¶

type LabelKeyList []string

LabelKeyList label key list

swagger:model LabelKeyList

func (LabelKeyList) ContextValidate ¶ added in v2.18.0

func (m LabelKeyList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this label key list based on context it is used

func (LabelKeyList) Validate ¶

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

Validate validates this label key list

type LabelSelector ¶

type LabelSelector struct {

	// matchExpressions is a list of label selector requirements. The requirements are ANDed.
	// +optional
	MatchExpressions []*LabelSelectorRequirement `json:"matchExpressions"`

	// matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels
	// map is equivalent to an element of matchExpressions, whose key field is "key", the
	// operator is "In", and the values array contains only "value". The requirements are ANDed.
	// +optional
	MatchLabels map[string]string `json:"matchLabels,omitempty"`
}

LabelSelector A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects. +structType=atomic

swagger:model LabelSelector

func (*LabelSelector) ContextValidate ¶ added in v2.18.0

func (m *LabelSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this label selector based on the context it is used

func (*LabelSelector) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*LabelSelector) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*LabelSelector) Validate ¶

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

Validate validates this label selector

type LabelSelectorOperator ¶

type LabelSelectorOperator string

LabelSelectorOperator A label selector operator is the set of operators that can be used in a selector requirement.

swagger:model LabelSelectorOperator

func (LabelSelectorOperator) ContextValidate ¶ added in v2.18.0

func (m LabelSelectorOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this label selector operator based on context it is used

func (LabelSelectorOperator) Validate ¶

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

Validate validates this label selector operator

type LabelSelectorRequirement ¶

type LabelSelectorRequirement struct {

	// key is the label key that the selector applies to.
	// +patchMergeKey=key
	// +patchStrategy=merge
	Key string `json:"key,omitempty"`

	// values is an array of string values. If the operator is In or NotIn,
	// the values array must be non-empty. If the operator is Exists or DoesNotExist,
	// the values array must be empty. This array is replaced during a strategic
	// merge patch.
	// +optional
	Values []string `json:"values"`

	// operator
	Operator LabelSelectorOperator `json:"operator,omitempty"`
}

LabelSelectorRequirement A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.

swagger:model LabelSelectorRequirement

func (*LabelSelectorRequirement) ContextValidate ¶ added in v2.18.0

func (m *LabelSelectorRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this label selector requirement based on the context it is used

func (*LabelSelectorRequirement) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*LabelSelectorRequirement) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*LabelSelectorRequirement) Validate ¶

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

Validate validates this label selector requirement

type LocalObjectReference ¶ added in v2.21.0

type LocalObjectReference struct {

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	// +optional
	Name string `json:"name,omitempty"`
}

LocalObjectReference LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace. +structType=atomic

swagger:model LocalObjectReference

func (*LocalObjectReference) ContextValidate ¶ added in v2.21.0

func (m *LocalObjectReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this local object reference based on context it is used

func (*LocalObjectReference) MarshalBinary ¶ added in v2.21.0

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

MarshalBinary interface implementation

func (*LocalObjectReference) UnmarshalBinary ¶ added in v2.21.0

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

UnmarshalBinary interface implementation

func (*LocalObjectReference) Validate ¶ added in v2.21.0

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

Validate validates this local object reference

type LoggingRateLimitSettings ¶ added in v2.18.0

type LoggingRateLimitSettings struct {

	// IngestionBurstSize represents ingestion burst size in number of requests (nginx `burst`).
	IngestionBurstSize int32 `json:"ingestionBurstSize,omitempty"`

	// IngestionRate represents ingestion rate limit in requests per second (nginx `rate` in `r/s`).
	IngestionRate int32 `json:"ingestionRate,omitempty"`

	// QueryBurstSize represents query burst size in number of requests (nginx `burst`).
	QueryBurstSize int32 `json:"queryBurstSize,omitempty"`

	// QueryRate represents query request rate limit per second (nginx `rate` in `r/s`).
	QueryRate int32 `json:"queryRate,omitempty"`
}

LoggingRateLimitSettings LoggingRateLimitSettings contains rate-limiting configuration for logging in the user cluster.

swagger:model LoggingRateLimitSettings

func (*LoggingRateLimitSettings) ContextValidate ¶ added in v2.18.0

func (m *LoggingRateLimitSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this logging rate limit settings based on context it is used

func (*LoggingRateLimitSettings) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*LoggingRateLimitSettings) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*LoggingRateLimitSettings) Validate ¶ added in v2.18.0

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

Validate validates this logging rate limit settings

type MLA ¶ added in v2.18.0

type MLA struct {

	// whether the user cluster MLA (Monitoring, Logging & Alerting) stack is enabled in the seed
	UserClusterMLAEnabled bool `json:"user_cluster_mla_enabled,omitempty"`
}

MLA m l a

swagger:model MLA

func (*MLA) ContextValidate ¶ added in v2.18.0

func (m *MLA) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this m l a based on context it is used

func (*MLA) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*MLA) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*MLA) Validate ¶ added in v2.18.0

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

Validate validates this m l a

type MLAAdminSetting ¶ added in v2.18.0

type MLAAdminSetting struct {

	// logging rate limits
	LoggingRateLimits *LoggingRateLimitSettings `json:"loggingRateLimits,omitempty"`

	// monitoring rate limits
	MonitoringRateLimits *MonitoringRateLimitSettings `json:"monitoringRateLimits,omitempty"`
}

MLAAdminSetting MLAAdminSetting represents an object holding admin setting options for user cluster MLA (Monitoring, Logging and Alerting).

swagger:model MLAAdminSetting

func (*MLAAdminSetting) ContextValidate ¶ added in v2.18.0

func (m *MLAAdminSetting) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this m l a admin setting based on the context it is used

func (*MLAAdminSetting) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*MLAAdminSetting) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*MLAAdminSetting) Validate ¶ added in v2.18.0

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

Validate validates this m l a admin setting

type MLASettings ¶ added in v2.17.0

type MLASettings struct {

	// LoggingEnabled is the flag for enabling logging in user cluster.
	LoggingEnabled bool `json:"loggingEnabled,omitempty"`

	// MonitoringEnabled is the flag for enabling monitoring in user cluster.
	MonitoringEnabled bool `json:"monitoringEnabled,omitempty"`

	// MonitoringReplicas is the number of desired pods of user cluster prometheus deployment.
	MonitoringReplicas int32 `json:"monitoringReplicas,omitempty"`

	// logging resources
	LoggingResources *ResourceRequirements `json:"loggingResources,omitempty"`

	// monitoring resources
	MonitoringResources *ResourceRequirements `json:"monitoringResources,omitempty"`
}

MLASettings m l a settings

swagger:model MLASettings

func (*MLASettings) ContextValidate ¶ added in v2.18.0

func (m *MLASettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this m l a settings based on the context it is used

func (*MLASettings) MarshalBinary ¶ added in v2.17.0

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

MarshalBinary interface implementation

func (*MLASettings) UnmarshalBinary ¶ added in v2.17.0

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

UnmarshalBinary interface implementation

func (*MLASettings) Validate ¶ added in v2.17.0

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

Validate validates this m l a settings

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) ContextValidate ¶ added in v2.18.0

func (m *MachineDeploymentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine deployment status based on context it is used

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 MachineDeploymentVMResourceQuota ¶

type MachineDeploymentVMResourceQuota struct {

	// enable g p u
	EnableGPU bool `json:"enableGPU,omitempty"`

	// Maximal number of vCPU
	MaxCPU int64 `json:"maxCPU,omitempty"`

	// Maximum RAM size in GB
	MaxRAM int64 `json:"maxRAM,omitempty"`

	// Minimal number of vCPU
	MinCPU int64 `json:"minCPU,omitempty"`

	// Minimal RAM size in GB
	MinRAM int64 `json:"minRAM,omitempty"`
}

MachineDeploymentVMResourceQuota machine deployment VM resource quota

swagger:model MachineDeploymentVMResourceQuota

func (*MachineDeploymentVMResourceQuota) ContextValidate ¶ added in v2.18.0

func (m *MachineDeploymentVMResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine deployment VM resource quota based on context it is used

func (*MachineDeploymentVMResourceQuota) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*MachineDeploymentVMResourceQuota) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*MachineDeploymentVMResourceQuota) Validate ¶

Validate validates this machine deployment VM resource quota

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) ContextValidate ¶ added in v2.18.0

func (m *MachineNetworkingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this machine networking config based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *MasterVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this master version based on context it is used

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 Match ¶

type Match struct {

	// ExcludedNamespaces is a list of namespace names. If defined, a constraint will only apply to resources not in a listed namespace.
	ExcludedNamespaces []string `json:"excludedNamespaces"`

	// Kinds accepts a list of objects with apiGroups and kinds fields that list the groups/kinds of objects to which
	// the constraint will apply. If multiple groups/kinds objects are specified, only one match is needed for the resource to be in scope
	Kinds []*Kind `json:"kinds"`

	// Namespaces is a list of namespace names. If defined, a constraint will only apply to resources in a listed namespace.
	Namespaces []string `json:"namespaces"`

	// Scope accepts *, Cluster, or Namespaced which determines if cluster-scoped and/or namesapced-scoped resources are selected. (defaults to *)
	Scope string `json:"scope,omitempty"`

	// label selector
	LabelSelector *LabelSelector `json:"labelSelector,omitempty"`

	// namespace selector
	NamespaceSelector *LabelSelector `json:"namespaceSelector,omitempty"`
}

Match Match contains the constraint to resource matching data.

swagger:model Match

func (*Match) ContextValidate ¶ added in v2.18.0

func (m *Match) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this match based on the context it is used

func (*Match) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Match) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Match) Validate ¶

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

Validate validates this match

type MatchEntry ¶

type MatchEntry struct {

	// Namespaces which will be excluded
	ExcludedNamespaces []string `json:"excludedNamespaces"`

	// Processes which will be excluded in the given namespaces (sync, webhook, audit, *)
	Processes []string `json:"processes"`
}

MatchEntry match entry

swagger:model MatchEntry

func (*MatchEntry) ContextValidate ¶ added in v2.18.0

func (m *MatchEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this match entry based on context it is used

func (*MatchEntry) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*MatchEntry) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*MatchEntry) Validate ¶

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

Validate validates this match entry

type MeteringConfiguration ¶ added in v2.20.0

type MeteringConfiguration struct {

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

	// ReportConfigurations is a map of report configuration definitions.
	ReportConfigurations map[string]MeteringReportConfiguration `json:"reports,omitempty"`

	// StorageClassName is the name of the storage class that the metering prometheus instance uses to store metric data for reporting.
	StorageClassName string `json:"storageClassName,omitempty"`

	// StorageSize is the size of the storage class. Default value is 100Gi.
	StorageSize string `json:"storageSize,omitempty"`
}

MeteringConfiguration MeteringConfiguration contains all the configuration for the metering tool.

swagger:model MeteringConfiguration

func (*MeteringConfiguration) ContextValidate ¶ added in v2.20.0

func (m *MeteringConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metering configuration based on the context it is used

func (*MeteringConfiguration) MarshalBinary ¶ added in v2.20.0

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

MarshalBinary interface implementation

func (*MeteringConfiguration) UnmarshalBinary ¶ added in v2.20.0

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

UnmarshalBinary interface implementation

func (*MeteringConfiguration) Validate ¶ added in v2.20.0

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

Validate validates this metering configuration

type MeteringReport ¶ added in v2.18.0

type MeteringReport struct {

	// last modified
	// Format: date-time
	LastModified strfmt.DateTime `json:"lastModified,omitempty"`

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

	// size
	Size int64 `json:"size,omitempty"`
}

MeteringReport MeteringReport holds objects names and metadata for available reports

swagger:model MeteringReport

func (*MeteringReport) ContextValidate ¶ added in v2.18.0

func (m *MeteringReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering report based on context it is used

func (*MeteringReport) MarshalBinary ¶ added in v2.18.0

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

MarshalBinary interface implementation

func (*MeteringReport) UnmarshalBinary ¶ added in v2.18.0

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

UnmarshalBinary interface implementation

func (*MeteringReport) Validate ¶ added in v2.18.0

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

Validate validates this metering report

type MeteringReportConfiguration ¶ added in v2.21.0

type MeteringReportConfiguration struct {

	// Interval defines the number of days consulted in the metering report.
	Interval uint32 `json:"interval,omitempty"`

	// Retention defines a number of days after which reports are queued for removal. If not set, reports are kept forever.
	// Please note that this functionality works only for object storage that supports an object lifecycle management mechanism.
	Retention uint32 `json:"retention,omitempty"`

	// Schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. Please take a note that Schedule is responsible
	// only for setting the time when a report generation mechanism kicks off. The Interval MUST be set independently.
	Schedule string `json:"schedule,omitempty"`

	// Types of reports to generate. Available report types are cluster and namespace. By default, all types of reports are generated.
	Types []string `json:"type"`
}

MeteringReportConfiguration MeteringReportConfiguration holds report configuration

swagger:model MeteringReportConfiguration

func (*MeteringReportConfiguration) ContextValidate ¶ added in v2.21.0

func (m *MeteringReportConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metering report configuration based on context it is used

func (*MeteringReportConfiguration) MarshalBinary ¶ added in v2.21.0

func (m *MeteringReportConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MeteringReportConfiguration) UnmarshalBinary ¶ added in v2.21.0

func (m *MeteringReportConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MeteringReportConfiguration) Validate ¶ added in v2.21.0

func (m *MeteringReportConfiguration) Validate(formats strfmt.Registry) error

Validate validates this metering report configuration

type MlaOptions ¶ added in v2.18.0

type MlaOptions struct {

	// logging enabled
	LoggingEnabled bool `json:"loggingEnabled,omitempty"`

	// logging enforced
	LoggingEnforced bool `json:"loggingEnforced,omitempty"`

	// monitoring enabled
	MonitoringEnabled bool `json:"monitoringEnabled,omitempty"`

	// monitoring enforced
	MonitoringEnforced bool `json:"monitoringEnforced,omitempty"`
}

MlaOptions mla options

swagger:model MlaOptions

func (*MlaOptions) ContextValidate ¶ added in v2.18.0

func (m *MlaOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mla options based on context it is used

func (*MlaOptions) MarshalBinary ¶ added in v2.18.0

func (m *MlaOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MlaOptions) UnmarshalBinary ¶ added in v2.18.0

func (m *MlaOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MlaOptions) Validate ¶ added in v2.18.0

func (m *MlaOptions) Validate(formats strfmt.Registry) error

Validate validates this mla options

type MonitoringRateLimitSettings ¶ added in v2.18.0

type MonitoringRateLimitSettings struct {

	// IngestionBurstSize represents ingestion burst size in samples per second (Cortex `ingestion_burst_size`).
	IngestionBurstSize int32 `json:"ingestionBurstSize,omitempty"`

	// IngestionRate represents the ingestion rate limit in samples per second (Cortex `ingestion_rate`).
	IngestionRate int32 `json:"ingestionRate,omitempty"`

	// MaxSamplesPerQuery represents maximum number of samples during a query (Cortex `max_samples_per_query`).
	MaxSamplesPerQuery int32 `json:"maxSamplesPerQuery,omitempty"`

	// MaxSeriesPerMetric represents maximum number of series per metric (Cortex `max_series_per_metric`).
	MaxSeriesPerMetric int32 `json:"maxSeriesPerMetric,omitempty"`

	// MaxSeriesPerQuery represents maximum number of timeseries during a query (Cortex `max_series_per_query`).
	MaxSeriesPerQuery int32 `json:"maxSeriesPerQuery,omitempty"`

	// MaxSeriesTotal represents maximum number of series per this user cluster (Cortex `max_series_per_user`).
	MaxSeriesTotal int32 `json:"maxSeriesTotal,omitempty"`

	// QueryBurstSize represents query burst size in number of requests (nginx `burst`).
	QueryBurstSize int32 `json:"queryBurstSize,omitempty"`

	// QueryRate represents  query request rate limit per second (nginx `rate` in `r/s`).
	QueryRate int32 `json:"queryRate,omitempty"`
}

MonitoringRateLimitSettings MonitoringRateLimitSettings contains rate-limiting configuration for monitoring in the user cluster.

swagger:model MonitoringRateLimitSettings

func (*MonitoringRateLimitSettings) ContextValidate ¶ added in v2.18.0

func (m *MonitoringRateLimitSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this monitoring rate limit settings based on context it is used

func (*MonitoringRateLimitSettings) MarshalBinary ¶ added in v2.18.0

func (m *MonitoringRateLimitSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MonitoringRateLimitSettings) UnmarshalBinary ¶ added in v2.18.0

func (m *MonitoringRateLimitSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MonitoringRateLimitSettings) Validate ¶ added in v2.18.0

func (m *MonitoringRateLimitSettings) Validate(formats strfmt.Registry) error

Validate validates this monitoring rate limit settings

type Names ¶

type Names struct {

	// kind
	Kind string `json:"kind,omitempty"`

	// short names
	ShortNames []string `json:"shortNames"`
}

Names names

swagger:model Names

func (*Names) ContextValidate ¶ added in v2.18.0

func (m *Names) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this names based on context it is used

func (*Names) MarshalBinary ¶

func (m *Names) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Names) UnmarshalBinary ¶

func (m *Names) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Names) Validate ¶

func (m *Names) Validate(formats strfmt.Registry) error

Validate validates this names

type Namespace ¶

type Namespace struct {

	// name
	Name string `json:"name,omitempty"`
}

Namespace Namespace defines namespace

swagger:model Namespace

func (*Namespace) ContextValidate ¶ added in v2.18.0

func (m *Namespace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this namespace based on context it is used

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 NamespaceSpec ¶ added in v2.21.0

type NamespaceSpec struct {

	// Annotations of the namespace
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// Create defines whether the namespace should be created if it does not exist. Defaults to true
	Create bool `json:"create,omitempty"`

	// Labels of the namespace
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Name is the namespace to deploy the Application into.
	// Should be a valid lowercase RFC1123 domain name
	// Pattern: =`^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$`
	Name string `json:"name,omitempty"`
}

NamespaceSpec NamespaceSpec describe the desired state of the namespace where application will be created.

swagger:model NamespaceSpec

func (*NamespaceSpec) ContextValidate ¶ added in v2.21.0

func (m *NamespaceSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this namespace spec based on context it is used

func (*NamespaceSpec) MarshalBinary ¶ added in v2.21.0

func (m *NamespaceSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamespaceSpec) UnmarshalBinary ¶ added in v2.21.0

func (m *NamespaceSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamespaceSpec) Validate ¶ added in v2.21.0

func (m *NamespaceSpec) Validate(formats strfmt.Registry) error

Validate validates this namespace spec

type NetworkDefaults ¶ added in v2.21.0

type NetworkDefaults struct {

	// NodeLocalDNSCacheEnabled controls whether the NodeLocal DNS Cache feature is enabled.
	NodeLocalDNSCacheEnabled bool `json:"nodeLocalDNSCacheEnabled,omitempty"`

	// ProxyMode defines the default kube-proxy mode ("ipvs" / "iptables" / "ebpf").
	ProxyMode string `json:"proxyMode,omitempty"`

	// ipv4
	IPV4 *NetworkDefaultsIPFamily `json:"ipv4,omitempty"`

	// ipv6
	IPV6 *NetworkDefaultsIPFamily `json:"ipv6,omitempty"`
}

NetworkDefaults NetworkDefaults contains cluster network default settings.

swagger:model NetworkDefaults

func (*NetworkDefaults) ContextValidate ¶ added in v2.21.0

func (m *NetworkDefaults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network defaults based on the context it is used

func (*NetworkDefaults) MarshalBinary ¶ added in v2.21.0

func (m *NetworkDefaults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkDefaults) UnmarshalBinary ¶ added in v2.21.0

func (m *NetworkDefaults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkDefaults) Validate ¶ added in v2.21.0

func (m *NetworkDefaults) Validate(formats strfmt.Registry) error

Validate validates this network defaults

type NetworkDefaultsIPFamily ¶ added in v2.21.0

type NetworkDefaultsIPFamily struct {

	// NodeCIDRMaskSize contains the default mask size used to address the nodes within provided Pods CIDR.
	NodeCIDRMaskSize int32 `json:"nodeCidrMaskSize,omitempty"`

	// NodePortsAllowedIPRange defines the default IP range from which access to NodePort services is allowed for applicable cloud providers.
	NodePortsAllowedIPRange string `json:"nodePortsAllowedIPRange,omitempty"`

	// PodsCIDR contains the default network range from which POD networks are allocated.
	PodsCIDR string `json:"podsCidr,omitempty"`

	// ServicesCIDR contains the default network range from which service VIPs are allocated.
	ServicesCIDR string `json:"servicesCidr,omitempty"`
}

NetworkDefaultsIPFamily NetworkDefaultsIPFamily contains cluster network default settings for an IP family.

swagger:model NetworkDefaultsIPFamily

func (*NetworkDefaultsIPFamily) ContextValidate ¶ added in v2.21.0

func (m *NetworkDefaultsIPFamily) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network defaults IP family based on context it is used

func (*NetworkDefaultsIPFamily) MarshalBinary ¶ added in v2.21.0

func (m *NetworkDefaultsIPFamily) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkDefaultsIPFamily) UnmarshalBinary ¶ added in v2.21.0

func (m *NetworkDefaultsIPFamily) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkDefaultsIPFamily) Validate ¶ added in v2.21.0

func (m *NetworkDefaultsIPFamily) Validate(formats strfmt.Registry) error

Validate validates this network defaults IP family

type NetworkRanges ¶ added in v2.18.0

type NetworkRanges struct {

	// c ID r blocks
	CIDRBlocks []string `json:"cidrBlocks"`
}

NetworkRanges NetworkRanges represents ranges of network addresses.

swagger:model NetworkRanges

func (*NetworkRanges) ContextValidate ¶ added in v2.18.0

func (m *NetworkRanges) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network ranges based on context it is used

func (*NetworkRanges) MarshalBinary ¶ added in v2.18.0

func (m *NetworkRanges) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkRanges) UnmarshalBinary ¶ added in v2.18.0

func (m *NetworkRanges) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkRanges) Validate ¶ added in v2.18.0

func (m *NetworkRanges) Validate(formats strfmt.Registry) error

Validate validates this network ranges

type Node ¶

type Node struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *Node) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node based on the context it is used

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
	// Example: 192.168.1.1, node1.my.dns
	Address string `json:"address,omitempty"`

	// type
	// Example: ExternalIP, InternalIP, InternalDNS, ExternalDNS
	Type string `json:"type,omitempty"`
}

NodeAddress NodeAddress contains information for the node's address.

swagger:model NodeAddress

func (*NodeAddress) ContextValidate ¶ added in v2.18.0

func (m *NodeAddress) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node address based on context it is used

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 NodeAffinityPreset ¶ added in v2.21.0

type NodeAffinityPreset struct {

	// key
	Key string `json:"Key,omitempty"`

	// type
	Type string `json:"Type,omitempty"`

	// values
	Values []string `json:"Values"`
}

NodeAffinityPreset node affinity preset

swagger:model NodeAffinityPreset

func (*NodeAffinityPreset) ContextValidate ¶ added in v2.21.0

func (m *NodeAffinityPreset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node affinity preset based on context it is used

func (*NodeAffinityPreset) MarshalBinary ¶ added in v2.21.0

func (m *NodeAffinityPreset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodeAffinityPreset) UnmarshalBinary ¶ added in v2.21.0

func (m *NodeAffinityPreset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodeAffinityPreset) Validate ¶ added in v2.21.0

func (m *NodeAffinityPreset) Validate(formats strfmt.Registry) error

Validate validates this node affinity preset

type NodeCloudSpec ¶

type NodeCloudSpec struct {

	// alibaba
	Alibaba *AlibabaNodeSpec `json:"alibaba,omitempty"`

	// anexia
	Anexia *AnexiaNodeSpec `json:"anexia,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"`

	// nutanix
	Nutanix *NutanixNodeSpec `json:"nutanix,omitempty"`

	// openstack
	Openstack *OpenstackNodeSpec `json:"openstack,omitempty"`

	// packet
	Packet *PacketNodeSpec `json:"packet,omitempty"`

	// vmwareclouddirector
	Vmwareclouddirector *VMwareCloudDirectorNodeSpec `json:"vmwareclouddirector,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) ContextValidate ¶ added in v2.18.0

func (m *NodeCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node cloud spec based on the context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *NodeDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node deployment based on the context it is used

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 {

	// Only supported for nodes with Kubernetes 1.23 or less.
	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) ContextValidate ¶ added in v2.18.0

func (m *NodeDeploymentSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node deployment spec based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node metric based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node resources based on context it is used

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: These image registries will be configured as insecure
	// on the container runtime.
	InsecureRegistries []string `json:"insecureRegistries"`

	// Optional: Translates to --pod-infra-container-image on the kubelet.
	// If not set, the kubelet will default it.
	PauseImage string `json:"pauseImage,omitempty"`

	// Optional: These image registries will be configured as registry mirrors
	// on the container runtime.
	RegistryMirrors []string `json:"registryMirrors"`

	// containerd registry mirrors
	ContainerdRegistryMirrors *ContainerRuntimeContainerd `json:"containerdRegistryMirrors,omitempty"`

	// http proxy
	HTTPProxy ProxyValue `json:"httpProxy,omitempty"`

	// no proxy
	NoProxy ProxyValue `json:"noProxy,omitempty"`
}

NodeSettings NodeSettings are node specific flags which can be configured on datacenter level.

swagger:model NodeSettings

func (*NodeSettings) ContextValidate ¶ added in v2.18.0

func (m *NodeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node settings based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node spec based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this node status based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeSystemInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node system info based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodeVersionInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node version info based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *NodesMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nodes metric based on context it is used

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 Nutanix ¶ added in v2.19.3

type Nutanix struct {

	// CSIEndpoint to access Nutanix Prism Element for csi driver
	CSIEndpoint string `json:"csiEndpoint,omitempty"`

	// Prism Element Password for csi driver
	CSIPassword string `json:"csiPassword,omitempty"`

	// CSIPort to use when connecting to the Nutanix Prism Element endpoint (defaults to 9440)
	CSIPort int32 `json:"csiPort,omitempty"`

	// Prism Element Username for csi driver
	CSIUsername string `json:"csiUsername,omitempty"`

	// ClusterName is the Nutanix cluster to deploy resources and nodes to.
	ClusterName string `json:"clusterName,omitempty"`

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// Password is the password corresponding to the provided user.
	Password string `json:"password,omitempty"`

	// ProjectName is the optional Nutanix project to use. If none is given,
	// no project will be used.
	ProjectName string `json:"projectName,omitempty"`

	// ProxyURL is used to optionally configure a HTTP proxy to access Nutanix Prism Central.
	ProxyURL string `json:"proxyURL,omitempty"`

	// Username is the username to access the Nutanix Prism Central API.
	Username string `json:"username,omitempty"`
}

Nutanix nutanix

swagger:model Nutanix

func (*Nutanix) ContextValidate ¶ added in v2.19.3

func (m *Nutanix) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix based on context it is used

func (*Nutanix) MarshalBinary ¶ added in v2.19.3

func (m *Nutanix) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Nutanix) UnmarshalBinary ¶ added in v2.19.3

func (m *Nutanix) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Nutanix) Validate ¶ added in v2.19.3

func (m *Nutanix) Validate(formats strfmt.Registry) error

Validate validates this nutanix

type NutanixCSIConfig ¶ added in v2.20.0

type NutanixCSIConfig struct {

	// Prism Element Endpoint to access Nutanix Prism Element for csi driver
	Endpoint string `json:"endpoint,omitempty"`

	// Optional: defaults to "xfs"
	// +optional
	Fstype string `json:"fstype,omitempty"`

	// Prism Element Password for csi driver
	Password string `json:"password,omitempty"`

	// Optional: Port to use when connecting to the Nutanix Prism Element endpoint (defaults to 9440)
	// +optional
	Port int32 `json:"port,omitempty"`

	// Optional: defaults to "false"
	// +optional
	SsSegmentedIscsiNetwork bool `json:"ssSegmentedIscsiNetwork,omitempty"`

	// Optional: defaults to "SelfServiceContainer"
	// +optional
	StorageContainer string `json:"storageContainer,omitempty"`

	// Prism Element Username for csi driver
	Username string `json:"username,omitempty"`
}

NutanixCSIConfig NutanixCSIConfig contains credentials and the endpoint for the Nutanix Prism Element to which the CSI driver connects.

swagger:model NutanixCSIConfig

func (*NutanixCSIConfig) ContextValidate ¶ added in v2.20.0

func (m *NutanixCSIConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix c s i config based on context it is used

func (*NutanixCSIConfig) MarshalBinary ¶ added in v2.20.0

func (m *NutanixCSIConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixCSIConfig) UnmarshalBinary ¶ added in v2.20.0

func (m *NutanixCSIConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixCSIConfig) Validate ¶ added in v2.20.0

func (m *NutanixCSIConfig) Validate(formats strfmt.Registry) error

Validate validates this nutanix c s i config

type NutanixCategory ¶ added in v2.21.0

type NutanixCategory struct {

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// system defined
	SystemDefined bool `json:"systemDefined,omitempty"`
}

NutanixCategory NutanixCategory represents a Nutanix category.

swagger:model NutanixCategory

func (*NutanixCategory) ContextValidate ¶ added in v2.21.0

func (m *NutanixCategory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix category based on context it is used

func (*NutanixCategory) MarshalBinary ¶ added in v2.21.0

func (m *NutanixCategory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixCategory) UnmarshalBinary ¶ added in v2.21.0

func (m *NutanixCategory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixCategory) Validate ¶ added in v2.21.0

func (m *NutanixCategory) Validate(formats strfmt.Registry) error

Validate validates this nutanix category

type NutanixCategoryList ¶ added in v2.21.0

type NutanixCategoryList []*NutanixCategory

NutanixCategoryList NutanixCategoryList represents an array of Nutanix categories.

swagger:model NutanixCategoryList

func (NutanixCategoryList) ContextValidate ¶ added in v2.21.0

func (m NutanixCategoryList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix category list based on the context it is used

func (NutanixCategoryList) Validate ¶ added in v2.21.0

func (m NutanixCategoryList) Validate(formats strfmt.Registry) error

Validate validates this nutanix category list

type NutanixCategoryValue ¶ added in v2.21.0

type NutanixCategoryValue struct {

	// value
	Value string `json:"value,omitempty"`
}

NutanixCategoryValue NutanixCategoryValue represents a Nutanix category value.

swagger:model NutanixCategoryValue

func (*NutanixCategoryValue) ContextValidate ¶ added in v2.21.0

func (m *NutanixCategoryValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix category value based on context it is used

func (*NutanixCategoryValue) MarshalBinary ¶ added in v2.21.0

func (m *NutanixCategoryValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixCategoryValue) UnmarshalBinary ¶ added in v2.21.0

func (m *NutanixCategoryValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixCategoryValue) Validate ¶ added in v2.21.0

func (m *NutanixCategoryValue) Validate(formats strfmt.Registry) error

Validate validates this nutanix category value

type NutanixCategoryValueList ¶ added in v2.21.0

type NutanixCategoryValueList []*NutanixCategoryValue

NutanixCategoryValueList NutanixCategoryValueList represents an array of Nutanix category values.

swagger:model NutanixCategoryValueList

func (NutanixCategoryValueList) ContextValidate ¶ added in v2.21.0

func (m NutanixCategoryValueList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix category value list based on the context it is used

func (NutanixCategoryValueList) Validate ¶ added in v2.21.0

func (m NutanixCategoryValueList) Validate(formats strfmt.Registry) error

Validate validates this nutanix category value list

type NutanixCloudSpec ¶ added in v2.19.0

type NutanixCloudSpec struct {

	// ClusterName is the Nutanix cluster that this user cluster will be deployed to.
	ClusterName string `json:"clusterName,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// ProjectName is the project that this cluster is deployed into. If none is given, no project will be used.
	// +optional
	ProjectName string `json:"projectName,omitempty"`

	// proxy URL
	ProxyURL string `json:"proxyURL,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// credentials reference
	CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"`

	// csi
	Csi *NutanixCSIConfig `json:"csi,omitempty"`
}

NutanixCloudSpec NutanixCloudSpec specifies the access data to Nutanix.

swagger:model NutanixCloudSpec

func (*NutanixCloudSpec) ContextValidate ¶ added in v2.19.0

func (m *NutanixCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix cloud spec based on the context it is used

func (*NutanixCloudSpec) MarshalBinary ¶ added in v2.19.0

func (m *NutanixCloudSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixCloudSpec) UnmarshalBinary ¶ added in v2.19.0

func (m *NutanixCloudSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixCloudSpec) Validate ¶ added in v2.19.0

func (m *NutanixCloudSpec) Validate(formats strfmt.Registry) error

Validate validates this nutanix cloud spec

type NutanixCluster ¶ added in v2.19.1

type NutanixCluster struct {

	// name
	Name string `json:"name,omitempty"`
}

NutanixCluster NutanixCluster represents a Nutanix cluster.

swagger:model NutanixCluster

func (*NutanixCluster) ContextValidate ¶ added in v2.19.1

func (m *NutanixCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix cluster based on context it is used

func (*NutanixCluster) MarshalBinary ¶ added in v2.19.1

func (m *NutanixCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixCluster) UnmarshalBinary ¶ added in v2.19.1

func (m *NutanixCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixCluster) Validate ¶ added in v2.19.1

func (m *NutanixCluster) Validate(formats strfmt.Registry) error

Validate validates this nutanix cluster

type NutanixClusterList ¶ added in v2.19.1

type NutanixClusterList []*NutanixCluster

NutanixClusterList NutanixClusterList represents an array of Nutanix clusters.

swagger:model NutanixClusterList

func (NutanixClusterList) ContextValidate ¶ added in v2.19.1

func (m NutanixClusterList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix cluster list based on the context it is used

func (NutanixClusterList) Validate ¶ added in v2.19.1

func (m NutanixClusterList) Validate(formats strfmt.Registry) error

Validate validates this nutanix cluster list

type NutanixNodeSpec ¶ added in v2.19.0

type NutanixNodeSpec struct {

	// CPU cores
	CPUCores int64 `json:"cpuCores,omitempty"`

	// CPU passthrough
	CPUPassthrough bool `json:"cpuPassthrough,omitempty"`

	// c p us
	CPUs int64 `json:"cpus,omitempty"`

	// categories
	Categories map[string]string `json:"categories,omitempty"`

	// disk size
	DiskSize int64 `json:"diskSize,omitempty"`

	// image name
	ImageName string `json:"imageName,omitempty"`

	// memory m b
	MemoryMB int64 `json:"memoryMB,omitempty"`

	// subnet name
	SubnetName string `json:"subnetName,omitempty"`
}

NutanixNodeSpec NutanixNodeSpec nutanix specific node settings

swagger:model NutanixNodeSpec

func (*NutanixNodeSpec) ContextValidate ¶ added in v2.19.0

func (m *NutanixNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix node spec based on context it is used

func (*NutanixNodeSpec) MarshalBinary ¶ added in v2.19.0

func (m *NutanixNodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixNodeSpec) UnmarshalBinary ¶ added in v2.19.0

func (m *NutanixNodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixNodeSpec) Validate ¶ added in v2.19.0

func (m *NutanixNodeSpec) Validate(formats strfmt.Registry) error

Validate validates this nutanix node spec

type NutanixProject ¶ added in v2.19.1

type NutanixProject struct {

	// name
	Name string `json:"name,omitempty"`
}

NutanixProject NutanixProject represents a Nutanix project.

swagger:model NutanixProject

func (*NutanixProject) ContextValidate ¶ added in v2.19.1

func (m *NutanixProject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix project based on context it is used

func (*NutanixProject) MarshalBinary ¶ added in v2.19.1

func (m *NutanixProject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixProject) UnmarshalBinary ¶ added in v2.19.1

func (m *NutanixProject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixProject) Validate ¶ added in v2.19.1

func (m *NutanixProject) Validate(formats strfmt.Registry) error

Validate validates this nutanix project

type NutanixProjectList ¶ added in v2.19.1

type NutanixProjectList []*NutanixProject

NutanixProjectList NutanixProjectList represents an array of Nutanix projects.

swagger:model NutanixProjectList

func (NutanixProjectList) ContextValidate ¶ added in v2.19.1

func (m NutanixProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix project list based on the context it is used

func (NutanixProjectList) Validate ¶ added in v2.19.1

func (m NutanixProjectList) Validate(formats strfmt.Registry) error

Validate validates this nutanix project list

type NutanixSubnet ¶ added in v2.19.1

type NutanixSubnet struct {

	// name
	Name string `json:"name,omitempty"`

	// type
	Type string `json:"type,omitempty"`

	// vlan ID
	VlanID int64 `json:"vlanID,omitempty"`
}

NutanixSubnet NutanixSubnet represents a Nutanix subnet.

swagger:model NutanixSubnet

func (*NutanixSubnet) ContextValidate ¶ added in v2.19.1

func (m *NutanixSubnet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this nutanix subnet based on context it is used

func (*NutanixSubnet) MarshalBinary ¶ added in v2.19.1

func (m *NutanixSubnet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NutanixSubnet) UnmarshalBinary ¶ added in v2.19.1

func (m *NutanixSubnet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NutanixSubnet) Validate ¶ added in v2.19.1

func (m *NutanixSubnet) Validate(formats strfmt.Registry) error

Validate validates this nutanix subnet

type NutanixSubnetList ¶ added in v2.19.1

type NutanixSubnetList []*NutanixSubnet

NutanixSubnetList NutanixSubnetList represents an array of Nutanix subnets.

swagger:model NutanixSubnetList

func (NutanixSubnetList) ContextValidate ¶ added in v2.19.1

func (m NutanixSubnetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nutanix subnet list based on the context it is used

func (NutanixSubnetList) Validate ¶ added in v2.19.1

func (m NutanixSubnetList) Validate(formats strfmt.Registry) error

Validate validates this nutanix subnet list

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) ContextValidate ¶ added in v2.18.0

func (m *OIDCSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o ID c settings based on context it is used

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 OIDCSpec ¶ added in v2.18.0

type OIDCSpec struct {

	// client ID
	ClientID string `json:"clientId,omitempty"`

	// client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// issuer URL
	IssuerURL string `json:"issuerUrl,omitempty"`
}

OIDCSpec OIDCSpec contains OIDC params that can be used to access user cluster.

swagger:model OIDCSpec

func (*OIDCSpec) ContextValidate ¶ added in v2.18.0

func (m *OIDCSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this o ID c spec based on context it is used

func (*OIDCSpec) MarshalBinary ¶ added in v2.18.0

func (m *OIDCSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OIDCSpec) UnmarshalBinary ¶ added in v2.18.0

func (m *OIDCSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OIDCSpec) Validate ¶ added in v2.18.0

func (m *OIDCSpec) Validate(formats strfmt.Registry) error

Validate validates this o ID c spec

type OPAIntegrationSettings ¶

type OPAIntegrationSettings struct {

	// Enables OPA Gatekeeper integration.
	Enabled bool `json:"enabled,omitempty"`

	// Optional: Enables experimental mutation in Gatekeeper.
	ExperimentalEnableMutation bool `json:"experimentalEnableMutation,omitempty"`

	// The timeout in seconds that is set for the Gatekeeper validating webhook admission review calls.
	// Defaults to `10` (seconds).
	WebhookTimeoutSeconds int32 `json:"webhookTimeoutSeconds,omitempty"`

	// audit resources
	AuditResources *ResourceRequirements `json:"auditResources,omitempty"`

	// controller resources
	ControllerResources *ResourceRequirements `json:"controllerResources,omitempty"`
}

OPAIntegrationSettings OPAIntegrationSettings configures the usage of OPA (Open Policy Agent) Gatekeeper inside the user cluster.

swagger:model OPAIntegrationSettings

func (*OPAIntegrationSettings) ContextValidate ¶ added in v2.18.0

func (m *OPAIntegrationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o p a integration settings based on the context it is used

func (*OPAIntegrationSettings) MarshalBinary ¶

func (m *OPAIntegrationSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OPAIntegrationSettings) UnmarshalBinary ¶

func (m *OPAIntegrationSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OPAIntegrationSettings) Validate ¶

func (m *OPAIntegrationSettings) Validate(formats strfmt.Registry) error

Validate validates this o p a integration settings

type ObjectMeta ¶

type ObjectMeta struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *ObjectMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object meta based on context it is used

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.

New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs. 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage. 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular restrictions like, "must refer only to types A and B" or "UID not honored" or "name must be restricted". Those cannot be well described when embedded. 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen. 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple and the version of the actual struct is irrelevant. 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control. Instead of using this type, create a locally provided and used type that is well-focused on your reference. For example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 . +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +structType=atomic

swagger:model ObjectReference

func (*ObjectReference) ContextValidate ¶ added in v2.18.0

func (m *ObjectReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this object reference based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ObjectReferenceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object reference resource based on context it is used

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 OpaOptions ¶ added in v2.17.0

type OpaOptions struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// enforced
	Enforced bool `json:"enforced,omitempty"`
}

OpaOptions opa options

swagger:model OpaOptions

func (*OpaOptions) ContextValidate ¶ added in v2.18.0

func (m *OpaOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opa options based on context it is used

func (*OpaOptions) MarshalBinary ¶ added in v2.17.0

func (m *OpaOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpaOptions) UnmarshalBinary ¶ added in v2.17.0

func (m *OpaOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpaOptions) Validate ¶ added in v2.17.0

func (m *OpaOptions) Validate(formats strfmt.Registry) error

Validate validates this opa options

type Openstack ¶ added in v2.19.3

type Openstack struct {

	// application credential ID
	ApplicationCredentialID string `json:"applicationCredentialID,omitempty"`

	// application credential secret
	ApplicationCredentialSecret string `json:"applicationCredentialSecret,omitempty"`

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// floating IP pool
	FloatingIPPool string `json:"floatingIPPool,omitempty"`

	// network
	Network string `json:"network,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// project
	Project string `json:"project,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// router ID
	RouterID string `json:"routerID,omitempty"`

	// security groups
	SecurityGroups string `json:"securityGroups,omitempty"`

	// subnet ID
	SubnetID string `json:"subnetID,omitempty"`

	// use token
	UseToken bool `json:"useToken,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

Openstack openstack

swagger:model Openstack

func (*Openstack) ContextValidate ¶ added in v2.19.3

func (m *Openstack) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack based on context it is used

func (*Openstack) MarshalBinary ¶ added in v2.19.3

func (m *Openstack) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Openstack) UnmarshalBinary ¶ added in v2.19.3

func (m *Openstack) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Openstack) Validate ¶ added in v2.19.3

func (m *Openstack) Validate(formats strfmt.Registry) error

Validate validates this openstack

type OpenstackAvailabilityZone ¶

type OpenstackAvailabilityZone struct {

	// Name is the name of the availability zone
	Name string `json:"name,omitempty"`
}

OpenstackAvailabilityZone OpenstackAvailabilityZone is the object representing a openstack availability zone.

swagger:model OpenstackAvailabilityZone

func (*OpenstackAvailabilityZone) ContextValidate ¶ added in v2.18.0

func (m *OpenstackAvailabilityZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack availability zone based on context it is used

func (*OpenstackAvailabilityZone) MarshalBinary ¶

func (m *OpenstackAvailabilityZone) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenstackAvailabilityZone) UnmarshalBinary ¶

func (m *OpenstackAvailabilityZone) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenstackAvailabilityZone) Validate ¶

func (m *OpenstackAvailabilityZone) Validate(formats strfmt.Registry) error

Validate validates this openstack availability zone

type OpenstackCloudSpec ¶

type OpenstackCloudSpec struct {

	// application credential ID
	ApplicationCredentialID string `json:"applicationCredentialID,omitempty"`

	// application credential secret
	ApplicationCredentialSecret string `json:"applicationCredentialSecret,omitempty"`

	// domain
	Domain string `json:"domain,omitempty"`

	// Enable the `enable-ingress-hostname` cloud provider option on the Openstack CCM. Can only be used with the
	// external CCM and might be deprecated and removed in future versions as it is considered a workaround for the PROXY
	// protocol to preserve client IPs.
	// +optional
	EnableIngressHostname bool `json:"enableIngressHostname,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"`

	// IPv6SubnetID holds the ID of the subnet used for IPv6 networking.
	// If not provided, a new subnet will be created if IPv6 is enabled.
	// +optional
	IPV6SubnetID string `json:"ipv6SubnetID,omitempty"`

	// IPv6SubnetPool holds the name of the subnet pool used for creating new IPv6 subnets.
	// If not provided, the default IPv6 subnet pool will be used.
	// +optional
	IPV6SubnetPool string `json:"ipv6SubnetPool,omitempty"`

	// Set a specific suffix for the hostnames used for the PROXY protocol workaround that is enabled by EnableIngressHostname.
	// The suffix is set to `nip.io` by default. Can only be used with the external CCM and might be deprecated and removed in
	// future versions as it is considered a workaround only.
	IngressHostnameSuffix string `json:"ingressHostnameSuffix,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"`

	// A CIDR range that will be used to allow access to the node port range in the security group to. Only applies if
	// the security group is generated by KKP and not preexisting.
	// If NodePortsAllowedIPRange nor NodePortsAllowedIPRanges is set, the node port range can be accessed from anywhere.
	NodePortsAllowedIPRange string `json:"nodePortsAllowedIPRange,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// project, formally known as tenant.
	Project string `json:"project,omitempty"`

	// project id, formally known as tenantID.
	ProjectID string `json:"projectID,omitempty"`

	// router ID
	RouterID string `json:"routerID,omitempty"`

	// security groups
	SecurityGroups string `json:"securityGroups,omitempty"`

	// subnet ID
	SubnetID string `json:"subnetID,omitempty"`

	// Used internally during cluster creation
	Token string `json:"token,omitempty"`

	// Whether or not to use Octavia for LoadBalancer type of Service
	// implementation instead of using Neutron-LBaaS.
	// Attention:Openstack CCM use Octavia as default load balancer
	// implementation since v1.17.0
	//
	// Takes precedence over the 'use_octavia' flag provided at datacenter
	// level if both are specified.
	// +optional
	UseOctavia bool `json:"useOctavia,omitempty"`

	// use token
	UseToken bool `json:"useToken,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// credentials reference
	CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"`

	// node ports allowed IP ranges
	NodePortsAllowedIPRanges *NetworkRanges `json:"nodePortsAllowedIPRanges,omitempty"`
}

OpenstackCloudSpec OpenstackCloudSpec specifies access data to an OpenStack cloud.

swagger:model OpenstackCloudSpec

func (*OpenstackCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *OpenstackCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this openstack cloud spec based on the context it is used

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 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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack network based on context it is used

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:"minimumMemory,omitempty"`

	// VCPUs is the minimum required amount of (virtual) CPUs
	MinimumVCPUs int64 `json:"minimumVCPUs,omitempty"`
}

OpenstackNodeSizeRequirements openstack node size requirements

swagger:model OpenstackNodeSizeRequirements

func (*OpenstackNodeSizeRequirements) ContextValidate ¶ added in v2.18.0

func (m *OpenstackNodeSizeRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack node size requirements based on context it is used

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"`

	// Period of time to check for instance ready status, i.e. 10s/1m
	InstanceReadyCheckPeriod string `json:"instanceReadyCheckPeriod,omitempty"`

	// Max time to wait for the instance to be ready, i.e. 10s/1m
	InstanceReadyCheckTimeout string `json:"instanceReadyCheckTimeout,omitempty"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack node spec based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackSecurityGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack security group based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack size based on context it is used

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"`

	// IPversion is the IP protocol version (4 or 6)
	IPVersion int64 `json:"ipVersion,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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackSubnet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack subnet based on context it is used

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 OpenstackSubnetPool ¶ added in v2.21.0

type OpenstackSubnetPool struct {

	// Id uniquely identifies the subnet pool
	ID string `json:"id,omitempty"`

	// IPversion is the IP protocol version (4 or 6)
	IPversion int64 `json:"ipVersion,omitempty"`

	// IsDefault indicates if the subnetpool is default pool or not
	IsDefault bool `json:"isDefault,omitempty"`

	// Name is the name of the subnet pool
	Name string `json:"name,omitempty"`

	// Prefixes is the list of subnet prefixes
	Prefixes []string `json:"prefixes"`
}

OpenstackSubnetPool OpenstackSubnetPool is the object representing a openstack subnet pool.

swagger:model OpenstackSubnetPool

func (*OpenstackSubnetPool) ContextValidate ¶ added in v2.21.0

func (m *OpenstackSubnetPool) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack subnet pool based on context it is used

func (*OpenstackSubnetPool) MarshalBinary ¶ added in v2.21.0

func (m *OpenstackSubnetPool) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpenstackSubnetPool) UnmarshalBinary ¶ added in v2.21.0

func (m *OpenstackSubnetPool) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpenstackSubnetPool) Validate ¶ added in v2.21.0

func (m *OpenstackSubnetPool) Validate(formats strfmt.Registry) error

Validate validates this openstack subnet pool

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) ContextValidate ¶ added in v2.18.0

func (m *OpenstackTenant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this openstack tenant based on context it is used

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 OperatingSystemProfile ¶ added in v2.21.0

type OperatingSystemProfile struct {

	// name
	Name string `json:"name,omitempty"`

	// operating system
	OperatingSystem string `json:"operatingSystem,omitempty"`

	// supported cloud providers
	SupportedCloudProviders []string `json:"supportedCloudProviders"`
}

OperatingSystemProfile operating system profile

swagger:model OperatingSystemProfile

func (*OperatingSystemProfile) ContextValidate ¶ added in v2.21.0

func (m *OperatingSystemProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operating system profile based on context it is used

func (*OperatingSystemProfile) MarshalBinary ¶ added in v2.21.0

func (m *OperatingSystemProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemProfile) UnmarshalBinary ¶ added in v2.21.0

func (m *OperatingSystemProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemProfile) Validate ¶ added in v2.21.0

func (m *OperatingSystemProfile) Validate(formats strfmt.Registry) error

Validate validates this operating system profile

type OperatingSystemSpec ¶

type OperatingSystemSpec struct {

	// amzn2
	Amzn2 *AmazonLinuxSpec `json:"amzn2,omitempty"`

	// centos
	Centos *CentOSSpec `json:"centos,omitempty"`

	// flatcar
	Flatcar *FlatcarSpec `json:"flatcar,omitempty"`

	// rhel
	Rhel *RHELSpec `json:"rhel,omitempty"`

	// rockylinux
	Rockylinux *RockyLinuxSpec `json:"rockylinux,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) ContextValidate ¶ added in v2.18.0

func (m *OperatingSystemSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system spec based on the context it is used

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 Packet ¶ added in v2.19.3

type Packet struct {

	// API key
	APIKey string `json:"apiKey,omitempty"`

	// billing cycle
	BillingCycle string `json:"billingCycle,omitempty"`

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`
}

Packet packet

swagger:model Packet

func (*Packet) ContextValidate ¶ added in v2.19.3

func (m *Packet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet based on context it is used

func (*Packet) MarshalBinary ¶ added in v2.19.3

func (m *Packet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Packet) UnmarshalBinary ¶ added in v2.19.3

func (m *Packet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Packet) Validate ¶ added in v2.19.3

func (m *Packet) Validate(formats strfmt.Registry) error

Validate validates this packet

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) ContextValidate ¶ added in v2.18.0

func (m *PacketCPU) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet CPU based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *PacketCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet cloud spec based on the context it is used

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 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) ContextValidate ¶ added in v2.18.0

func (m *PacketDrive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet drive based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *PacketNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this packet node spec based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *PacketSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet size based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m PacketSizeList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this packet size list based on the context it is used

func (PacketSizeList) Validate ¶

func (m PacketSizeList) Validate(formats strfmt.Registry) error

Validate validates this packet size list

type Parameters ¶

type Parameters map[string]interface{}

Parameters parameters

swagger:model Parameters

func (Parameters) ContextValidate ¶ added in v2.18.0

func (m Parameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this parameters based on context it is used

func (Parameters) Validate ¶

func (m Parameters) Validate(formats strfmt.Registry) error

Validate validates this parameters

type PodDNSConfig ¶

type PodDNSConfig struct {

	// A list of DNS name server IP addresses.
	// This will be appended to the base nameservers generated from DNSPolicy.
	// Duplicated nameservers will be removed.
	// +optional
	Nameservers []string `json:"nameservers"`

	// A list of DNS resolver options.
	// This will be merged with the base options generated from DNSPolicy.
	// Duplicated entries will be removed. Resolution options given in Options
	// will override those that appear in the base DNSPolicy.
	// +optional
	Options []*PodDNSConfigOption `json:"options"`

	// A list of DNS search domains for host-name lookup.
	// This will be appended to the base search paths generated from DNSPolicy.
	// Duplicated search paths will be removed.
	// +optional
	Searches []string `json:"searches"`
}

PodDNSConfig PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.

swagger:model PodDNSConfig

func (*PodDNSConfig) ContextValidate ¶ added in v2.18.0

func (m *PodDNSConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pod DNS config based on the context it is used

func (*PodDNSConfig) MarshalBinary ¶

func (m *PodDNSConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodDNSConfig) UnmarshalBinary ¶

func (m *PodDNSConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodDNSConfig) Validate ¶

func (m *PodDNSConfig) Validate(formats strfmt.Registry) error

Validate validates this pod DNS config

type PodDNSConfigOption ¶

type PodDNSConfigOption struct {

	// Required.
	Name string `json:"name,omitempty"`

	// +optional
	Value string `json:"value,omitempty"`
}

PodDNSConfigOption PodDNSConfigOption defines DNS resolver options of a pod.

swagger:model PodDNSConfigOption

func (*PodDNSConfigOption) ContextValidate ¶ added in v2.18.0

func (m *PodDNSConfigOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pod DNS config option based on context it is used

func (*PodDNSConfigOption) MarshalBinary ¶

func (m *PodDNSConfigOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PodDNSConfigOption) UnmarshalBinary ¶

func (m *PodDNSConfigOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PodDNSConfigOption) Validate ¶

func (m *PodDNSConfigOption) Validate(formats strfmt.Registry) error

Validate validates this pod DNS config option

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. '*' represents all resources.
	// +optional
	Resources []string `json:"resources"`

	// Verbs is a list of Verbs that apply to ALL the ResourceKinds contained in this rule. '*' represents all verbs.
	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) ContextValidate ¶ added in v2.18.0

func (m *PolicyRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy rule based on context it is used

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 PreAllocatedDataVolume ¶ added in v2.21.0

type PreAllocatedDataVolume struct {

	// name
	Name string `json:"name,omitempty"`

	// size
	Size string `json:"size,omitempty"`

	// storage class
	StorageClass string `json:"storageClass,omitempty"`

	// URL
	URL string `json:"url,omitempty"`
}

PreAllocatedDataVolume pre allocated data volume

swagger:model PreAllocatedDataVolume

func (*PreAllocatedDataVolume) ContextValidate ¶ added in v2.21.0

func (m *PreAllocatedDataVolume) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pre allocated data volume based on context it is used

func (*PreAllocatedDataVolume) MarshalBinary ¶ added in v2.21.0

func (m *PreAllocatedDataVolume) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PreAllocatedDataVolume) UnmarshalBinary ¶ added in v2.21.0

func (m *PreAllocatedDataVolume) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PreAllocatedDataVolume) Validate ¶ added in v2.21.0

func (m *PreAllocatedDataVolume) Validate(formats strfmt.Registry) error

Validate validates this pre allocated data volume

type Preset ¶

type Preset struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// providers
	Providers []*PresetProvider `json:"providers"`
}

Preset Preset represents a preset

swagger:model Preset

func (*Preset) ContextValidate ¶ added in v2.18.0

func (m *Preset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this preset based on the context it is used

func (*Preset) MarshalBinary ¶

func (m *Preset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Preset) UnmarshalBinary ¶

func (m *Preset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Preset) Validate ¶

func (m *Preset) Validate(formats strfmt.Registry) error

Validate validates this preset

type PresetBody ¶ added in v2.19.3

type PresetBody struct {

	// name
	Name string `json:"name,omitempty"`

	// spec
	Spec *PresetSpec `json:"spec,omitempty"`
}

PresetBody PresetBody represents the body of a created preset

swagger:model PresetBody

func (*PresetBody) ContextValidate ¶ added in v2.19.3

func (m *PresetBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this preset body based on the context it is used

func (*PresetBody) MarshalBinary ¶ added in v2.19.3

func (m *PresetBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetBody) UnmarshalBinary ¶ added in v2.19.3

func (m *PresetBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetBody) Validate ¶ added in v2.19.3

func (m *PresetBody) Validate(formats strfmt.Registry) error

Validate validates this preset body

type PresetBodyMetadata ¶ added in v2.19.3

type PresetBodyMetadata struct {

	// name
	Name string `json:"name,omitempty"`
}

PresetBodyMetadata PresetBodyMetadata represents metadata within the body of a created preset

swagger:model PresetBodyMetadata

func (*PresetBodyMetadata) ContextValidate ¶ added in v2.19.3

func (m *PresetBodyMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this preset body metadata based on context it is used

func (*PresetBodyMetadata) MarshalBinary ¶ added in v2.19.3

func (m *PresetBodyMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetBodyMetadata) UnmarshalBinary ¶ added in v2.19.3

func (m *PresetBodyMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetBodyMetadata) Validate ¶ added in v2.19.3

func (m *PresetBodyMetadata) Validate(formats strfmt.Registry) error

Validate validates this preset body metadata

type PresetList ¶

type PresetList struct {

	// items
	Items []*Preset `json:"items"`
}

PresetList PresetList represents a list of presets

swagger:model PresetList

func (*PresetList) ContextValidate ¶ added in v2.18.0

func (m *PresetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this preset list based on the context it is used

func (*PresetList) MarshalBinary ¶

func (m *PresetList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetList) UnmarshalBinary ¶

func (m *PresetList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetList) Validate ¶

func (m *PresetList) Validate(formats strfmt.Registry) error

Validate validates this preset list

type PresetProvider ¶

type PresetProvider struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// name
	Name ProviderType `json:"name,omitempty"`
}

PresetProvider PresetProvider represents a preset provider

swagger:model PresetProvider

func (*PresetProvider) ContextValidate ¶ added in v2.18.0

func (m *PresetProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this preset provider based on the context it is used

func (*PresetProvider) MarshalBinary ¶

func (m *PresetProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetProvider) UnmarshalBinary ¶

func (m *PresetProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetProvider) Validate ¶

func (m *PresetProvider) Validate(formats strfmt.Registry) error

Validate validates this preset provider

type PresetSpec ¶ added in v2.19.3

type PresetSpec struct {

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// RequiredEmails is a list of e-mail addresses that this presets should
	// be restricted to. Each item in the list can be either a full e-mail
	// address or just a domain name. This restriction is only enforced in the
	// KKP API.
	RequiredEmails []string `json:"requiredEmails"`

	// aks
	Aks *AKS `json:"aks,omitempty"`

	// alibaba
	Alibaba *Alibaba `json:"alibaba,omitempty"`

	// anexia
	Anexia *Anexia `json:"anexia,omitempty"`

	// aws
	Aws *AWS `json:"aws,omitempty"`

	// azure
	Azure *Azure `json:"azure,omitempty"`

	// digitalocean
	Digitalocean *Digitalocean `json:"digitalocean,omitempty"`

	// eks
	Eks *EKS `json:"eks,omitempty"`

	// fake
	Fake *Fake `json:"fake,omitempty"`

	// gcp
	Gcp *GCP `json:"gcp,omitempty"`

	// gke
	Gke *GKE `json:"gke,omitempty"`

	// hetzner
	Hetzner *Hetzner `json:"hetzner,omitempty"`

	// kubevirt
	Kubevirt *Kubevirt `json:"kubevirt,omitempty"`

	// nutanix
	Nutanix *Nutanix `json:"nutanix,omitempty"`

	// openstack
	Openstack *Openstack `json:"openstack,omitempty"`

	// packet
	Packet *Packet `json:"packet,omitempty"`

	// vmwareclouddirector
	Vmwareclouddirector *VMwareCloudDirector `json:"vmwareclouddirector,omitempty"`

	// vsphere
	Vsphere *VSphere `json:"vsphere,omitempty"`
}

PresetSpec Presets specifies default presets for supported providers.

swagger:model PresetSpec

func (*PresetSpec) ContextValidate ¶ added in v2.19.3

func (m *PresetSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this preset spec based on the context it is used

func (*PresetSpec) MarshalBinary ¶ added in v2.19.3

func (m *PresetSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetSpec) UnmarshalBinary ¶ added in v2.19.3

func (m *PresetSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetSpec) Validate ¶ added in v2.19.3

func (m *PresetSpec) Validate(formats strfmt.Registry) error

Validate validates this preset spec

type PresetStats ¶ added in v2.21.0

type PresetStats struct {

	// associated cluster templates
	AssociatedClusterTemplates int64 `json:"associatedClusterTemplates,omitempty"`

	// associated clusters
	AssociatedClusters int64 `json:"associatedClusters,omitempty"`
}

PresetStats PresetStats represents a preset statistics

swagger:model PresetStats

func (*PresetStats) ContextValidate ¶ added in v2.21.0

func (m *PresetStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this preset stats based on context it is used

func (*PresetStats) MarshalBinary ¶ added in v2.21.0

func (m *PresetStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PresetStats) UnmarshalBinary ¶ added in v2.21.0

func (m *PresetStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PresetStats) Validate ¶ added in v2.21.0

func (m *PresetStats) Validate(formats strfmt.Registry) error

Validate validates this preset stats

type Project ¶

type Project struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,omitempty"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *Project) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *ProjectGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this project group based on context it is used

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 ProviderPreset ¶ added in v2.19.3

type ProviderPreset struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`
}

ProviderPreset provider preset

swagger:model ProviderPreset

func (*ProviderPreset) ContextValidate ¶ added in v2.19.3

func (m *ProviderPreset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this provider preset based on context it is used

func (*ProviderPreset) MarshalBinary ¶ added in v2.19.3

func (m *ProviderPreset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProviderPreset) UnmarshalBinary ¶ added in v2.19.3

func (m *ProviderPreset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProviderPreset) Validate ¶ added in v2.19.3

func (m *ProviderPreset) Validate(formats strfmt.Registry) error

Validate validates this provider preset

type ProviderType ¶

type ProviderType string

ProviderType provider type

swagger:model ProviderType

func (ProviderType) ContextValidate ¶ added in v2.18.0

func (m ProviderType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this provider type based on context it is used

func (ProviderType) Validate ¶

func (m ProviderType) Validate(formats strfmt.Registry) error

Validate validates this provider type

type ProxySettings ¶

type ProxySettings struct {

	// http proxy
	HTTPProxy ProxyValue `json:"httpProxy,omitempty"`

	// no proxy
	NoProxy ProxyValue `json:"noProxy,omitempty"`
}

ProxySettings ProxySettings allow configuring a HTTP proxy for the controlplanes and nodes.

swagger:model ProxySettings

func (*ProxySettings) ContextValidate ¶ added in v2.18.0

func (m *ProxySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxy settings based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m ProxyValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxy value based on context it is used

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 PublicAnexiaCloudSpec ¶

type PublicAnexiaCloudSpec interface{}

PublicAnexiaCloudSpec PublicAnexiaCloudSpec is a public counterpart of apiv1.AnexiaCloudSpec.

swagger:model PublicAnexiaCloudSpec

type PublicAzureCloudSpec ¶

type PublicAzureCloudSpec struct {

	// assign availability set
	AssignAvailabilitySet bool `json:"assignAvailabilitySet,omitempty"`
}

PublicAzureCloudSpec PublicAzureCloudSpec is a public counterpart of apiv1.AzureCloudSpec.

swagger:model PublicAzureCloudSpec

func (*PublicAzureCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *PublicAzureCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public azure cloud spec based on context it is used

func (*PublicAzureCloudSpec) MarshalBinary ¶ added in v2.18.0

func (m *PublicAzureCloudSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicAzureCloudSpec) UnmarshalBinary ¶ added in v2.18.0

func (m *PublicAzureCloudSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicAzureCloudSpec) Validate ¶ added in v2.18.0

func (m *PublicAzureCloudSpec) Validate(formats strfmt.Registry) error

Validate validates this public azure cloud spec

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"`

	// anexia
	Anexia PublicAnexiaCloudSpec `json:"anexia,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"`

	// nutanix
	Nutanix PublicNutanixCloudSpec `json:"nutanix,omitempty"`

	// openstack
	Openstack *PublicOpenstackCloudSpec `json:"openstack,omitempty"`

	// packet
	Packet PublicPacketCloudSpec `json:"packet,omitempty"`

	// vmwareclouddirector
	Vmwareclouddirector PublicVMwareCloudDirectorCloudSpec `json:"vmwareclouddirector,omitempty"`

	// vsphere
	Vsphere PublicVSphereCloudSpec `json:"vsphere,omitempty"`
}

PublicCloudSpec PublicCloudSpec is a public counterpart of apiv1.CloudSpec.

swagger:model PublicCloudSpec

func (*PublicCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *PublicCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public cloud spec based on the context it is used

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 struct {

	// pre allocated data volumes
	PreAllocatedDataVolumes []*PreAllocatedDataVolume `json:"preAllocatedDataVolumes"`
}

PublicKubevirtCloudSpec PublicKubevirtCloudSpec is a public counterpart of apiv1.KubevirtCloudSpec.

swagger:model PublicKubevirtCloudSpec

func (*PublicKubevirtCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *PublicKubevirtCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public kubevirt cloud spec based on the context it is used

func (*PublicKubevirtCloudSpec) MarshalBinary ¶ added in v2.21.0

func (m *PublicKubevirtCloudSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicKubevirtCloudSpec) UnmarshalBinary ¶ added in v2.21.0

func (m *PublicKubevirtCloudSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicKubevirtCloudSpec) Validate ¶ added in v2.21.0

func (m *PublicKubevirtCloudSpec) Validate(formats strfmt.Registry) error

Validate validates this public kubevirt cloud spec

type PublicNutanixCloudSpec ¶ added in v2.19.0

type PublicNutanixCloudSpec interface{}

PublicNutanixCloudSpec PublicNutanixCloudSpec is a public counterpart of apiv1.NutanixCloudSpec.

swagger:model PublicNutanixCloudSpec

type PublicOpenstackCloudSpec ¶

type PublicOpenstackCloudSpec struct {

	// domain
	Domain string `json:"domain,omitempty"`

	// floating IP pool
	FloatingIPPool string `json:"floatingIPPool,omitempty"`

	// network
	Network string `json:"network,omitempty"`

	// project
	Project string `json:"project,omitempty"`

	// project ID
	ProjectID string `json:"projectID,omitempty"`

	// router ID
	RouterID string `json:"routerID,omitempty"`

	// security groups
	SecurityGroups string `json:"securityGroups,omitempty"`

	// subnet ID
	SubnetID string `json:"subnetID,omitempty"`
}

PublicOpenstackCloudSpec PublicOpenstackCloudSpec is a public counterpart of apiv1.OpenstackCloudSpec.

swagger:model PublicOpenstackCloudSpec

func (*PublicOpenstackCloudSpec) ContextValidate ¶ added in v2.18.0

func (m *PublicOpenstackCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public openstack cloud spec based on context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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"`

	// Invalidated indicates if the token must be regenerated
	Invalidated bool `json:"invalidated,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) ContextValidate ¶ added in v2.18.0

func (m *PublicServiceAccountToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public service account token based on context it is used

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 PublicVMwareCloudDirectorCloudSpec ¶ added in v2.21.0

type PublicVMwareCloudDirectorCloudSpec interface{}

PublicVMwareCloudDirectorCloudSpec PublicVMwareCloudDirectorCloudSpec is a public counterpart of apiv1.VMwareCloudDirectorCloudSpec.

swagger:model PublicVMwareCloudDirectorCloudSpec

type PublicVSphereCloudSpec ¶

type PublicVSphereCloudSpec interface{}

PublicVSphereCloudSpec PublicVSphereCloudSpec is a public counterpart of apiv1.VSphereCloudSpec.

swagger:model PublicVSphereCloudSpec

type Quantity ¶ added in v2.18.0

type Quantity interface{}

Quantity Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.

The serialization format is:

<quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the "" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ::= <digit> | <digit><digits> <number> ::= <digits> | <digits>.<digits> | <digits>. | .<digits> <sign> ::= "+" | "-" <signedNumber> ::= <number> | <sign><number> <suffix> ::= <binarySI> | <decimalExponent> | <decimalSI> <binarySI> ::= Ki | Mi | Gi | Ti | Pi | Ei (International System of units; See: http://physics.nist.gov/cuu/Units/binary.html) <decimalSI> ::= m | "" | k | M | G | T | P | E (Note that 1024 = 1Ki but 1000 = 1k; I didn't choose the capitalization.) <decimalExponent> ::= "e" <signedNumber> | "E" <signedNumber>

No matter which of the three exponent forms is used, no quantity may represent a number greater than 2^63-1 in magnitude, nor may it have more than 3 decimal places. Numbers larger or more precise will be capped or rounded up. (E.g.: 0.1m will rounded up to 1m.) This may be extended in the future if we require larger or smaller quantities.

When a Quantity is parsed from a string, it will remember the type of suffix it had, and will use the same type again when it is serialized.

Before serializing, Quantity will be put in "canonical form". This means that Exponent/suffix will be adjusted up or down (with a corresponding increase or decrease in Mantissa) such that: a. No precision is lost b. No fractional digits will be emitted c. The exponent (or suffix) is as large as possible. The sign will be omitted unless the number is negative.

Examples: 1.5 will be serialized as "1500m" 1.5Gi will be serialized as "1536Mi"

Note that the quantity will NEVER be internally represented by a floating point number. That is the whole point of this exercise.

Non-canonical values will still parse as long as they are well formed, but will be re-emitted in their canonical form. (So always use canonical form, or don't diff.)

This format is intended to make it difficult to use these numbers without writing some sort of special handling code in the hopes that that will cause implementors to also use a fixed point implementation.

+protobuf=true +protobuf.embed=string +protobuf.options.marshal=false +protobuf.options.(gogoproto.goproto_stringer)=false +k8s:deepcopy-gen=true +k8s:openapi-gen=true

swagger:model Quantity

type Quota ¶ added in v2.21.0

type Quota struct {

	// CPU holds the quantity of CPU.
	CPU int64 `json:"cpu,omitempty"`

	// Memory represents the RAM amount. Denoted in GB, rounded to 2 decimal places.
	Memory float64 `json:"memory,omitempty"`

	// Storage represents the disk size. Denoted in GB, rounded to 2 decimal places.
	Storage float64 `json:"storage,omitempty"`
}

Quota quota

swagger:model Quota

func (*Quota) ContextValidate ¶ added in v2.21.0

func (m *Quota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this quota based on context it is used

func (*Quota) MarshalBinary ¶ added in v2.21.0

func (m *Quota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Quota) UnmarshalBinary ¶ added in v2.21.0

func (m *Quota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Quota) Validate ¶ added in v2.21.0

func (m *Quota) Validate(formats strfmt.Registry) error

Validate validates this quota

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) ContextValidate ¶ added in v2.18.0

func (m *RHELSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this r h e l spec based on context it is used

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 ¶ added in v2.21.0

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 ReadinessSpec ¶

type ReadinessSpec struct {

	// enables stats for gatekeeper audit
	StatsEnabled bool `json:"statsEnabled,omitempty"`
}

ReadinessSpec readiness spec

swagger:model ReadinessSpec

func (*ReadinessSpec) ContextValidate ¶ added in v2.18.0

func (m *ReadinessSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this readiness spec based on context it is used

func (*ReadinessSpec) MarshalBinary ¶

func (m *ReadinessSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReadinessSpec) UnmarshalBinary ¶

func (m *ReadinessSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReadinessSpec) Validate ¶

func (m *ReadinessSpec) Validate(formats strfmt.Registry) error

Validate validates this readiness spec

type ReportURL ¶ added in v2.18.0

type ReportURL string

ReportURL ReportURL represent an S3 pre signed URL to download a report

swagger:model ReportURL

func (ReportURL) ContextValidate ¶ added in v2.18.0

func (m ReportURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this report URL based on context it is used

func (ReportURL) Validate ¶ added in v2.18.0

func (m ReportURL) Validate(formats strfmt.Registry) error

Validate validates this report URL

type ResourceLabelMap ¶

type ResourceLabelMap map[string]LabelKeyList

ResourceLabelMap ResourceLabelMap defines list of labels grouped by specific resource types.

swagger:model ResourceLabelMap

func (ResourceLabelMap) ContextValidate ¶ added in v2.18.0

func (m ResourceLabelMap) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource label map based on the context it is used

func (ResourceLabelMap) Validate ¶

func (m ResourceLabelMap) Validate(formats strfmt.Registry) error

Validate validates this resource label map

type ResourceList ¶ added in v2.18.0

type ResourceList map[string]Quantity

ResourceList ResourceList is a set of (resource name, quantity) pairs.

swagger:model ResourceList

func (ResourceList) ContextValidate ¶ added in v2.18.0

func (m ResourceList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource list based on context it is used

func (ResourceList) Validate ¶ added in v2.18.0

func (m ResourceList) Validate(formats strfmt.Registry) error

Validate validates this resource list

type ResourceQuota ¶ added in v2.21.0

type ResourceQuota struct {

	// name
	Name string `json:"name,omitempty"`

	// SubjectHumanReadableName contains the human-readable name for the subject(if applicable). Just filled as information in get/list.
	SubjectHumanReadableName string `json:"subjectHumanReadableName,omitempty"`

	// subject kind
	SubjectKind string `json:"subjectKind,omitempty"`

	// subject name
	SubjectName string `json:"subjectName,omitempty"`

	// quota
	Quota *Quota `json:"quota,omitempty"`

	// status
	Status *ResourceQuotaStatus `json:"status,omitempty"`
}

ResourceQuota resource quota

swagger:model ResourceQuota

func (*ResourceQuota) ContextValidate ¶ added in v2.21.0

func (m *ResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource quota based on the context it is used

func (*ResourceQuota) MarshalBinary ¶ added in v2.21.0

func (m *ResourceQuota) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceQuota) UnmarshalBinary ¶ added in v2.21.0

func (m *ResourceQuota) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceQuota) Validate ¶ added in v2.21.0

func (m *ResourceQuota) Validate(formats strfmt.Registry) error

Validate validates this resource quota

type ResourceQuotaStatus ¶ added in v2.21.0

type ResourceQuotaStatus struct {

	// global usage
	GlobalUsage *Quota `json:"globalUsage,omitempty"`

	// local usage
	LocalUsage *Quota `json:"localUsage,omitempty"`
}

ResourceQuotaStatus resource quota status

swagger:model ResourceQuotaStatus

func (*ResourceQuotaStatus) ContextValidate ¶ added in v2.21.0

func (m *ResourceQuotaStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource quota status based on the context it is used

func (*ResourceQuotaStatus) MarshalBinary ¶ added in v2.21.0

func (m *ResourceQuotaStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceQuotaStatus) UnmarshalBinary ¶ added in v2.21.0

func (m *ResourceQuotaStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceQuotaStatus) Validate ¶ added in v2.21.0

func (m *ResourceQuotaStatus) Validate(formats strfmt.Registry) error

Validate validates this resource quota status

type ResourceRequirements ¶ added in v2.18.0

type ResourceRequirements struct {

	// limits
	Limits ResourceList `json:"limits,omitempty"`

	// requests
	Requests ResourceList `json:"requests,omitempty"`
}

ResourceRequirements ResourceRequirements describes the compute resource requirements.

swagger:model ResourceRequirements

func (*ResourceRequirements) ContextValidate ¶ added in v2.18.0

func (m *ResourceRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource requirements based on the context it is used

func (*ResourceRequirements) MarshalBinary ¶ added in v2.18.0

func (m *ResourceRequirements) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceRequirements) UnmarshalBinary ¶ added in v2.18.0

func (m *ResourceRequirements) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceRequirements) Validate ¶ added in v2.18.0

func (m *ResourceRequirements) Validate(formats strfmt.Registry) error

Validate validates this resource requirements

type ResourceType ¶

type ResourceType string

ResourceType resource type

swagger:model ResourceType

func (ResourceType) ContextValidate ¶ added in v2.18.0

func (m ResourceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource type based on context it is used

func (ResourceType) Validate ¶

func (m ResourceType) Validate(formats strfmt.Registry) error

Validate validates this resource type

type RockyLinuxSpec ¶ added in v2.21.0

type RockyLinuxSpec struct {

	// do a dist-upgrade on boot and reboot it required afterwards
	DistUpgradeOnBoot bool `json:"distUpgradeOnBoot,omitempty"`
}

RockyLinuxSpec RockyLinuxSpec contains rocky-linux specific settings

swagger:model RockyLinuxSpec

func (*RockyLinuxSpec) ContextValidate ¶ added in v2.21.0

func (m *RockyLinuxSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rocky linux spec based on context it is used

func (*RockyLinuxSpec) MarshalBinary ¶ added in v2.21.0

func (m *RockyLinuxSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RockyLinuxSpec) UnmarshalBinary ¶ added in v2.21.0

func (m *RockyLinuxSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RockyLinuxSpec) Validate ¶ added in v2.21.0

func (m *RockyLinuxSpec) Validate(formats strfmt.Registry) error

Validate validates this rocky linux spec

type Role ¶

type Role struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *RoleBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role binding based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *RoleName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role name based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *RoleUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role user based on context it is used

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 RuleGroup ¶ added in v2.18.0

type RuleGroup struct {

	// contains the RuleGroup data. Ref: https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#rule_group
	Data []uint8 `json:"data"`

	// IsDefault indicates whether the ruleGroup is default
	IsDefault bool `json:"isDefault,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// type
	Type RuleGroupType `json:"type,omitempty"`
}

RuleGroup RuleGroup represents a rule group of recording and alerting rules.

swagger:model RuleGroup

func (*RuleGroup) ContextValidate ¶ added in v2.18.0

func (m *RuleGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rule group based on the context it is used

func (*RuleGroup) MarshalBinary ¶ added in v2.18.0

func (m *RuleGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RuleGroup) UnmarshalBinary ¶ added in v2.18.0

func (m *RuleGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RuleGroup) Validate ¶ added in v2.18.0

func (m *RuleGroup) Validate(formats strfmt.Registry) error

Validate validates this rule group

type RuleGroupType ¶ added in v2.18.0

type RuleGroupType string

RuleGroupType rule group type

swagger:model RuleGroupType

func (RuleGroupType) ContextValidate ¶ added in v2.18.0

func (m RuleGroupType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rule group type based on context it is used

func (RuleGroupType) Validate ¶ added in v2.18.0

func (m RuleGroupType) Validate(formats strfmt.Registry) error

Validate validates this rule group type

type S3BackupCredentials ¶ added in v2.18.0

type S3BackupCredentials struct {

	// access key ID
	AccessKeyID string `json:"accessKeyId,omitempty"`

	// secret access key
	SecretAccessKey string `json:"secretAccessKey,omitempty"`
}

S3BackupCredentials S3BackupCredentials contains credentials for S3 etcd backups

swagger:model S3BackupCredentials

func (*S3BackupCredentials) ContextValidate ¶ added in v2.18.0

func (m *S3BackupCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s3 backup credentials based on context it is used

func (*S3BackupCredentials) MarshalBinary ¶ added in v2.18.0

func (m *S3BackupCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*S3BackupCredentials) UnmarshalBinary ¶ added in v2.18.0

func (m *S3BackupCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*S3BackupCredentials) Validate ¶ added in v2.18.0

func (m *S3BackupCredentials) Validate(formats strfmt.Registry) error

Validate validates this s3 backup credentials

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) ContextValidate ¶ added in v2.18.0

func (m *SLESSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s l e s spec based on context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *SSHKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this SSH key based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *SSHKeySpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this SSH key spec based on context it is used

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 SecondaryDisks ¶ added in v2.21.0

type SecondaryDisks struct {

	// size
	Size string `json:"size,omitempty"`

	// storage class name
	StorageClassName string `json:"storageClassName,omitempty"`
}

SecondaryDisks secondary disks

swagger:model SecondaryDisks

func (*SecondaryDisks) ContextValidate ¶ added in v2.21.0

func (m *SecondaryDisks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secondary disks based on context it is used

func (*SecondaryDisks) MarshalBinary ¶ added in v2.21.0

func (m *SecondaryDisks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecondaryDisks) UnmarshalBinary ¶ added in v2.21.0

func (m *SecondaryDisks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecondaryDisks) Validate ¶ added in v2.21.0

func (m *SecondaryDisks) Validate(formats strfmt.Registry) error

Validate validates this secondary disks

type SecretKeySelector ¶ added in v2.21.0

type SecretKeySelector struct {

	// The key of the secret to select from.  Must be a valid secret key.
	Key string `json:"key,omitempty"`

	// Name of the referent.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// TODO: Add other useful fields. apiVersion, kind, uid?
	// +optional
	Name string `json:"name,omitempty"`

	// Specify whether the Secret or its key must be defined
	// +optional
	Optional bool `json:"optional,omitempty"`
}

SecretKeySelector SecretKeySelector selects a key of a Secret.

+structType=atomic

swagger:model SecretKeySelector

func (*SecretKeySelector) ContextValidate ¶ added in v2.21.0

func (m *SecretKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret key selector based on context it is used

func (*SecretKeySelector) MarshalBinary ¶ added in v2.21.0

func (m *SecretKeySelector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretKeySelector) UnmarshalBinary ¶ added in v2.21.0

func (m *SecretKeySelector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretKeySelector) Validate ¶ added in v2.21.0

func (m *SecretKeySelector) Validate(formats strfmt.Registry) error

Validate validates this secret key selector

type SecretReference ¶ added in v2.19.0

type SecretReference struct {

	// name is unique within a namespace to reference a secret resource.
	// +optional
	Name string `json:"name,omitempty"`

	// namespace defines the space within which the secret name must be unique.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

SecretReference SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace +structType=atomic

swagger:model SecretReference

func (*SecretReference) ContextValidate ¶ added in v2.19.0

func (m *SecretReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this secret reference based on context it is used

func (*SecretReference) MarshalBinary ¶ added in v2.19.0

func (m *SecretReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecretReference) UnmarshalBinary ¶ added in v2.19.0

func (m *SecretReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecretReference) Validate ¶ added in v2.19.0

func (m *SecretReference) Validate(formats strfmt.Registry) error

Validate validates this secret reference

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]Datacenter `json:"datacenters,omitempty"`

	// etcd backup restore
	EtcdBackupRestore *EtcdBackupRestore `json:"etcdBackupRestore,omitempty"`

	// expose strategy
	ExposeStrategy ExposeStrategy `json:"expose_strategy,omitempty"`

	// kubeconfig
	Kubeconfig *ObjectReference `json:"kubeconfig,omitempty"`

	// mla
	Mla *SeedMLASettings `json:"mla,omitempty"`

	// proxy settings
	ProxySettings *ProxySettings `json:"proxy_settings,omitempty"`
}

Seed Seed represents a seed object

swagger:model Seed

func (*Seed) ContextValidate ¶ added in v2.18.0

func (m *Seed) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this seed based on the context it is used

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 SeedMLASettings ¶ added in v2.18.0

type SeedMLASettings struct {

	// Optional: UserClusterMLAEnabled controls whether the user cluster MLA (Monitoring, Logging & Alerting) stack is enabled in the seed.
	UserClusterMLAEnabled bool `json:"userClusterMLAEnabled,omitempty"`
}

SeedMLASettings SeedMLASettings allow configuring seed level MLA (Monitoring, Logging & Alerting) stack settings.

swagger:model SeedMLASettings

func (*SeedMLASettings) ContextValidate ¶ added in v2.18.0

func (m *SeedMLASettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this seed m l a settings based on context it is used

func (*SeedMLASettings) MarshalBinary ¶ added in v2.18.0

func (m *SeedMLASettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeedMLASettings) UnmarshalBinary ¶ added in v2.18.0

func (m *SeedMLASettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeedMLASettings) Validate ¶ added in v2.18.0

func (m *SeedMLASettings) Validate(formats strfmt.Registry) error

Validate validates this seed m l a settings

type SeedNamesList ¶

type SeedNamesList []string

SeedNamesList seed names list

swagger:model SeedNamesList

func (SeedNamesList) ContextValidate ¶ added in v2.18.0

func (m SeedNamesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this seed names list based on context it is used

func (SeedNamesList) Validate ¶

func (m SeedNamesList) Validate(formats strfmt.Registry) error

Validate validates this seed names list

type SeedSettings ¶ added in v2.18.0

type SeedSettings struct {

	// the Seed level seed dns overwrite
	SeedDNSOverwrite string `json:"seedDNSOverwrite,omitempty"`

	// metering
	Metering *MeteringConfiguration `json:"metering,omitempty"`

	// mla
	Mla *MLA `json:"mla,omitempty"`
}

SeedSettings SeedSettings represents settings for a Seed cluster

swagger:model SeedSettings

func (*SeedSettings) ContextValidate ¶ added in v2.18.0

func (m *SeedSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this seed settings based on the context it is used

func (*SeedSettings) MarshalBinary ¶ added in v2.18.0

func (m *SeedSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SeedSettings) UnmarshalBinary ¶ added in v2.18.0

func (m *SeedSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SeedSettings) Validate ¶ added in v2.18.0

func (m *SeedSettings) Validate(formats strfmt.Registry) error

Validate validates this seed settings

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]Datacenter `json:"datacenters,omitempty"`

	// etcd backup restore
	EtcdBackupRestore *EtcdBackupRestore `json:"etcdBackupRestore,omitempty"`

	// expose strategy
	ExposeStrategy ExposeStrategy `json:"expose_strategy,omitempty"`

	// kubeconfig
	Kubeconfig *ObjectReference `json:"kubeconfig,omitempty"`

	// mla
	Mla *SeedMLASettings `json:"mla,omitempty"`

	// proxy settings
	ProxySettings *ProxySettings `json:"proxy_settings,omitempty"`
}

SeedSpec The spec for a seed data.

swagger:model SeedSpec

func (*SeedSpec) ContextValidate ¶ added in v2.18.0

func (m *SeedSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this seed spec based on the context it is used

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 string

Semver Semver is a type that encapsulates github.com/Masterminds/semver/v3.Version struct so it can be used in our API.

swagger:model Semver

func (Semver) ContextValidate ¶ added in v2.19.0

func (m Semver) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this semver based on context it is used

func (Semver) Validate ¶ added in v2.19.0

func (m Semver) Validate(formats strfmt.Registry) error

Validate validates this semver

type ServiceAccount ¶

type ServiceAccount struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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) ContextValidate ¶ added in v2.18.0

func (m *ServiceAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service account based on context it is used

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 ServiceAccountSettings ¶

type ServiceAccountSettings struct {

	// APIAudiences are the Identifiers of the API
	// If this is not specified, it will be set to a single element list containing the issuer URL
	APIAudiences []string `json:"apiAudiences"`

	// Issuer is the identifier of the service account token issuer
	// If this is not specified, it will be set to the URL of apiserver by default
	Issuer string `json:"issuer,omitempty"`

	// token volume projection enabled
	TokenVolumeProjectionEnabled bool `json:"tokenVolumeProjectionEnabled,omitempty"`
}

ServiceAccountSettings service account settings

swagger:model ServiceAccountSettings

func (*ServiceAccountSettings) ContextValidate ¶ added in v2.18.0

func (m *ServiceAccountSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service account settings based on context it is used

func (*ServiceAccountSettings) MarshalBinary ¶

func (m *ServiceAccountSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceAccountSettings) UnmarshalBinary ¶

func (m *ServiceAccountSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceAccountSettings) Validate ¶

func (m *ServiceAccountSettings) Validate(formats strfmt.Registry) error

Validate validates this service account settings

type ServiceAccountToken ¶

type ServiceAccountToken struct {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// 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"`

	// Invalidated indicates if the token must be regenerated
	Invalidated bool `json:"invalidated,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) ContextValidate ¶ added in v2.18.0

func (m *ServiceAccountToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service account token based on context it is used

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 SettingSpec ¶

type SettingSpec struct {

	// DefaultNodeCount is the default number of replicas for the initial MachineDeployment.
	DefaultNodeCount int8 `json:"defaultNodeCount,omitempty"`

	// DisplayDemoInfo controls whether a a link to the KKP API documentation is shown in the footer.
	DisplayAPIDocs bool `json:"displayAPIDocs,omitempty"`

	// DisplayDemoInfo controls whether a "Demo System" hint is shown in the footer.
	DisplayDemoInfo bool `json:"displayDemoInfo,omitempty"`

	// DisplayDemoInfo controls whether a a link to TOS is shown in the footer.
	DisplayTermsOfService bool `json:"displayTermsOfService,omitempty"`

	// EnableDashboard enables the link to the Kubernetes dashboard for a user cluster.
	EnableDashboard bool `json:"enableDashboard,omitempty"`

	// enable external cluster import
	EnableExternalClusterImport bool `json:"enableExternalClusterImport,omitempty"`

	// enable o ID c kubeconfig
	EnableOIDCKubeconfig bool `json:"enableOIDCKubeconfig,omitempty"`

	// mla alertmanager prefix
	MlaAlertmanagerPrefix string `json:"mlaAlertmanagerPrefix,omitempty"`

	// mla grafana prefix
	MlaGrafanaPrefix string `json:"mlaGrafanaPrefix,omitempty"`

	// restrict project creation
	RestrictProjectCreation bool `json:"restrictProjectCreation,omitempty"`

	// UserProjectsLimit is the maximum number of projects a user can create.
	UserProjectsLimit int64 `json:"userProjectsLimit,omitempty"`

	// cleanup options
	CleanupOptions *CleanupOptions `json:"cleanupOptions,omitempty"`

	// custom links
	CustomLinks CustomLinks `json:"customLinks,omitempty"`

	// machine deployment VM resource quota
	MachineDeploymentVMResourceQuota *MachineDeploymentVMResourceQuota `json:"machineDeploymentVMResourceQuota,omitempty"`

	// mla options
	MlaOptions *MlaOptions `json:"mlaOptions,omitempty"`

	// opa options
	OpaOptions *OpaOptions `json:"opaOptions,omitempty"`
}

SettingSpec setting spec

swagger:model SettingSpec

func (*SettingSpec) ContextValidate ¶ added in v2.18.0

func (m *SettingSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this setting spec based on the context it is used

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 StorageClass ¶ added in v2.19.0

type StorageClass struct {

	// name
	Name string `json:"name,omitempty"`
}

StorageClass StorageClass represents a Kubernetes StorageClass

swagger:model StorageClass

func (*StorageClass) ContextValidate ¶ added in v2.19.0

func (m *StorageClass) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage class based on context it is used

func (*StorageClass) MarshalBinary ¶ added in v2.19.0

func (m *StorageClass) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageClass) UnmarshalBinary ¶ added in v2.19.0

func (m *StorageClass) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageClass) Validate ¶ added in v2.19.0

func (m *StorageClass) Validate(formats strfmt.Registry) error

Validate validates this storage class

type StorageClassList ¶ added in v2.19.0

type StorageClassList []*StorageClass

StorageClassList StorageClassList represents a list of Kubernetes StorageClass.

swagger:model StorageClassList

func (StorageClassList) ContextValidate ¶ added in v2.19.0

func (m StorageClassList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this storage class list based on the context it is used

func (StorageClassList) Validate ¶ added in v2.19.0

func (m StorageClassList) Validate(formats strfmt.Registry) error

Validate validates this storage class list

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. +structType=atomic

swagger:model Subject

func (*Subject) ContextValidate ¶ added in v2.18.0

func (m *Subject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this subject based on context it is used

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 SubnetCIDR ¶ added in v2.21.0

type SubnetCIDR string

SubnetCIDR +kubebuilder:validation:Pattern="((^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))/([0-9]|[1-2][0-9]|3[0-2])$)|(^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/([0-9]|[0-9][0-9]|1[0-1][0-9]|12[0-8])$))"

SubnetCIDR is used to store IPv4/IPv6 CIDR.

swagger:model SubnetCIDR

func (SubnetCIDR) ContextValidate ¶ added in v2.21.0

func (m SubnetCIDR) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this subnet c ID r based on context it is used

func (SubnetCIDR) Validate ¶ added in v2.21.0

func (m SubnetCIDR) Validate(formats strfmt.Registry) error

Validate validates this subnet c ID r

type Sync ¶

type Sync struct {

	// If non-empty, entries on this list will be replicated into OPA
	SyncOnly []*GVK `json:"syncOnly"`
}

Sync sync

swagger:model Sync

func (*Sync) ContextValidate ¶ added in v2.18.0

func (m *Sync) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sync based on the context it is used

func (*Sync) MarshalBinary ¶

func (m *Sync) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Sync) UnmarshalBinary ¶

func (m *Sync) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Sync) Validate ¶

func (m *Sync) Validate(formats strfmt.Registry) error

Validate validates this sync

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) ContextValidate ¶ added in v2.18.0

func (m *TaintSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this taint spec based on context it is used

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 Target ¶

type Target struct {

	// libs
	Libs []string `json:"libs"`

	// rego
	Rego string `json:"rego,omitempty"`

	// target
	Target string `json:"target,omitempty"`
}

Target target

swagger:model Target

func (*Target) ContextValidate ¶ added in v2.18.0

func (m *Target) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this target based on context it is used

func (*Target) MarshalBinary ¶

func (m *Target) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Target) UnmarshalBinary ¶

func (m *Target) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Target) Validate ¶

func (m *Target) Validate(formats strfmt.Registry) error

Validate validates this target

type TemplateMethod ¶ added in v2.21.0

type TemplateMethod string

TemplateMethod +kubebuilder:validation:Enum=helm

swagger:model TemplateMethod

func (TemplateMethod) ContextValidate ¶ added in v2.21.0

func (m TemplateMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this template method based on context it is used

func (TemplateMethod) Validate ¶ added in v2.21.0

func (m TemplateMethod) Validate(formats strfmt.Registry) error

Validate validates this template method

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) ContextValidate ¶ added in v2.18.0

func (m Time) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this time based on context it is used

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 Trace ¶

type Trace struct {

	// Also dump the state of OPA with the trace. Set to `All` to dump everything.
	Dump string `json:"dump,omitempty"`

	// Only trace requests from the specified user
	User string `json:"user,omitempty"`

	// kind
	Kind *GVK `json:"kind,omitempty"`
}

Trace trace

swagger:model Trace

func (*Trace) ContextValidate ¶ added in v2.18.0

func (m *Trace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trace based on the context it is used

func (*Trace) MarshalBinary ¶

func (m *Trace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Trace) UnmarshalBinary ¶

func (m *Trace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Trace) Validate ¶

func (m *Trace) Validate(formats strfmt.Registry) error

Validate validates this trace

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) ContextValidate ¶ added in v2.18.0

func (m UID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this UID based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *UbuntuSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ubuntu spec based on context it is used

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 {

	// Sets the length of the update window beginning with the start time. This needs to be a valid duration
	// as parsed by Go's time.ParseDuration (https://pkg.go.dev/time#ParseDuration), e.g. `2h`.
	Length string `json:"length,omitempty"`

	// Sets the start time of the update window. This can be a time of day in 24h format, e.g. `22:30`,
	// or a day of week plus a time of day, for example `Mon 21:00`. Only short names for week days are supported,
	// i.e. `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat` and `Sun`.
	Start string `json:"start,omitempty"`
}

UpdateWindow UpdateWindow allows defining windows for maintenance tasks related to OS updates.

This is only applied to cluster nodes using Flatcar Linux. The reference time for this is the node system time and might differ from the user's timezone, which needs to be considered when configuring a window.

swagger:model UpdateWindow

func (*UpdateWindow) ContextValidate ¶ added in v2.18.0

func (m *UpdateWindow) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update window based on context it is used

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 {

	// Annotations that can be added to the resource
	Annotations map[string]string `json:"annotations,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"`

	// Email an email address of the user
	Email string `json:"email,omitempty"`

	// Groups holds the list of groups that the user belongs to
	Groups []string `json:"groups"`

	// 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"`

	// last seen
	// Format: date-time
	LastSeen Time `json:"lastSeen,omitempty"`

	// user settings
	UserSettings *UserSettings `json:"userSettings,omitempty"`
}

User User represent an API user

swagger:model User

func (*User) ContextValidate ¶ added in v2.18.0

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

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"`

	// last seen changelog version
	LastSeenChangelogVersion string `json:"lastSeenChangelogVersion,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"`

	// use clusters view
	UseClustersView bool `json:"useClustersView,omitempty"`
}

UserSettings UserSettings represent an user settings.

swagger:model UserSettings

func (*UserSettings) ContextValidate ¶ added in v2.18.0

func (m *UserSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user settings based on context it is used

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 VMwareCloudDirector ¶ added in v2.21.0

type VMwareCloudDirector struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// o v d c network
	OVDCNetwork string `json:"ovdcNetwork,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// v d c
	VDC string `json:"vdc,omitempty"`
}

VMwareCloudDirector v mware cloud director

swagger:model VMwareCloudDirector

func (*VMwareCloudDirector) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director based on context it is used

func (*VMwareCloudDirector) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirector) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirector) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirector) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director

type VMwareCloudDirectorCSIConfig ¶ added in v2.21.0

type VMwareCloudDirectorCSIConfig struct {

	// Filesystem to use for named disks, defaults to "ext4"
	// +optional
	Filesystem string `json:"filesystem,omitempty"`

	// The name of the storage profile to use for disks created by CSI driver
	StorageProfile string `json:"storageProfile,omitempty"`
}

VMwareCloudDirectorCSIConfig v mware cloud director c s i config

swagger:model VMwareCloudDirectorCSIConfig

func (*VMwareCloudDirectorCSIConfig) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCSIConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director c s i config based on context it is used

func (*VMwareCloudDirectorCSIConfig) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCSIConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorCSIConfig) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCSIConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorCSIConfig) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCSIConfig) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director c s i config

type VMwareCloudDirectorCatalog ¶ added in v2.21.0

type VMwareCloudDirectorCatalog struct {

	// name
	Name string `json:"name,omitempty"`
}

VMwareCloudDirectorCatalog VMwareCloudDirectorCatalog represents a VMware Cloud Director catalog.

swagger:model VMwareCloudDirectorCatalog

func (*VMwareCloudDirectorCatalog) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCatalog) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director catalog based on context it is used

func (*VMwareCloudDirectorCatalog) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCatalog) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorCatalog) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCatalog) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorCatalog) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCatalog) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director catalog

type VMwareCloudDirectorCatalogList ¶ added in v2.21.0

type VMwareCloudDirectorCatalogList []*VMwareCloudDirectorCatalog

VMwareCloudDirectorCatalogList VMwareCloudDirectorCatalogList represents an array of VMware Cloud Director catalogs.

swagger:model VMwareCloudDirectorCatalogList

func (VMwareCloudDirectorCatalogList) ContextValidate ¶ added in v2.21.0

func (m VMwareCloudDirectorCatalogList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v mware cloud director catalog list based on the context it is used

func (VMwareCloudDirectorCatalogList) Validate ¶ added in v2.21.0

Validate validates this v mware cloud director catalog list

type VMwareCloudDirectorCloudSpec ¶ added in v2.21.0

type VMwareCloudDirectorCloudSpec struct {

	// Network is the name of organizational virtual data center network that will be associated with the VMs and vApp.
	OVDCNetwork string `json:"ovdcNetwork,omitempty"`

	// Organization is the name of organization to use.
	// +optional
	Organization string `json:"organization,omitempty"`

	// Password is the VMware Cloud Director user password.
	// +optional
	Password string `json:"password,omitempty"`

	// Username is the VMware Cloud Director user name.
	// +optional
	Username string `json:"username,omitempty"`

	// VApp used for isolation of VMs and their associated network
	// +optional
	VApp string `json:"vapp,omitempty"`

	// VDC is the organizational virtual data center.
	// +optional
	VDC string `json:"vdc,omitempty"`

	// credentials reference
	CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"`

	// csi
	Csi *VMwareCloudDirectorCSIConfig `json:"csi,omitempty"`
}

VMwareCloudDirectorCloudSpec VMwareCloudDirectorCloudSpec specifies access data to VMware Cloud Director cloud.

swagger:model VMwareCloudDirectorCloudSpec

func (*VMwareCloudDirectorCloudSpec) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v mware cloud director cloud spec based on the context it is used

func (*VMwareCloudDirectorCloudSpec) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCloudSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorCloudSpec) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorCloudSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorCloudSpec) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorCloudSpec) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director cloud spec

type VMwareCloudDirectorNetwork ¶ added in v2.21.0

type VMwareCloudDirectorNetwork struct {

	// name
	Name string `json:"name,omitempty"`
}

VMwareCloudDirectorNetwork VMwareCloudDirectorNetwork represents a VMware Cloud Director network.

swagger:model VMwareCloudDirectorNetwork

func (*VMwareCloudDirectorNetwork) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director network based on context it is used

func (*VMwareCloudDirectorNetwork) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorNetwork) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorNetwork) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorNetwork) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorNetwork) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorNetwork) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director network

type VMwareCloudDirectorNetworkList ¶ added in v2.21.0

type VMwareCloudDirectorNetworkList []*VMwareCloudDirectorNetwork

VMwareCloudDirectorNetworkList VMwareCloudDirectorNetworkList represents an array of VMware Cloud Director networks.

swagger:model VMwareCloudDirectorNetworkList

func (VMwareCloudDirectorNetworkList) ContextValidate ¶ added in v2.21.0

func (m VMwareCloudDirectorNetworkList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v mware cloud director network list based on the context it is used

func (VMwareCloudDirectorNetworkList) Validate ¶ added in v2.21.0

Validate validates this v mware cloud director network list

type VMwareCloudDirectorNodeSpec ¶ added in v2.21.0

type VMwareCloudDirectorNodeSpec struct {

	// CPU cores
	CPUCores int64 `json:"cpuCores,omitempty"`

	// c p us
	CPUs int64 `json:"cpus,omitempty"`

	// catalog
	Catalog string `json:"catalog,omitempty"`

	// disk i o p s
	DiskIOPS int64 `json:"diskIOPS,omitempty"`

	// disk size g b
	DiskSizeGB int64 `json:"diskSizeGB,omitempty"`

	// memory m b
	MemoryMB int64 `json:"memoryMB,omitempty"`

	// Additional metadata to set
	Metadata map[string]string `json:"metadata,omitempty"`

	// network
	Network string `json:"network,omitempty"`

	// storage profile
	StorageProfile string `json:"storageProfile,omitempty"`

	// template
	Template string `json:"template,omitempty"`

	// v app
	VApp string `json:"vapp,omitempty"`

	// ip allocation mode
	IPAllocationMode IPAllocationMode `json:"ipAllocationMode,omitempty"`
}

VMwareCloudDirectorNodeSpec VMwareCloudDirectorNodeSpec VMware Cloud Director node settings

swagger:model VMwareCloudDirectorNodeSpec

func (*VMwareCloudDirectorNodeSpec) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v mware cloud director node spec based on the context it is used

func (*VMwareCloudDirectorNodeSpec) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorNodeSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorNodeSpec) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorNodeSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorNodeSpec) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorNodeSpec) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director node spec

type VMwareCloudDirectorStorageProfile ¶ added in v2.21.0

type VMwareCloudDirectorStorageProfile struct {

	// name
	Name string `json:"name,omitempty"`
}

VMwareCloudDirectorStorageProfile VMwareCloudDirectorStorageProfile represents a VMware Cloud Director storage profile.

swagger:model VMwareCloudDirectorStorageProfile

func (*VMwareCloudDirectorStorageProfile) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorStorageProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director storage profile based on context it is used

func (*VMwareCloudDirectorStorageProfile) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorStorageProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorStorageProfile) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorStorageProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorStorageProfile) Validate ¶ added in v2.21.0

Validate validates this v mware cloud director storage profile

type VMwareCloudDirectorStorageProfileList ¶ added in v2.21.0

type VMwareCloudDirectorStorageProfileList []*VMwareCloudDirectorStorageProfile

VMwareCloudDirectorStorageProfileList VMwareCloudDirectorStorageProfileList represents an array of VMware Cloud Director storage profiles.

swagger:model VMwareCloudDirectorStorageProfileList

func (VMwareCloudDirectorStorageProfileList) ContextValidate ¶ added in v2.21.0

ContextValidate validate this v mware cloud director storage profile list based on the context it is used

func (VMwareCloudDirectorStorageProfileList) Validate ¶ added in v2.21.0

Validate validates this v mware cloud director storage profile list

type VMwareCloudDirectorTemplate ¶ added in v2.21.0

type VMwareCloudDirectorTemplate struct {

	// name
	Name string `json:"name,omitempty"`
}

VMwareCloudDirectorTemplate VMwareCloudDirectorTemplate represents a VMware Cloud Director template.

swagger:model VMwareCloudDirectorTemplate

func (*VMwareCloudDirectorTemplate) ContextValidate ¶ added in v2.21.0

func (m *VMwareCloudDirectorTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v mware cloud director template based on context it is used

func (*VMwareCloudDirectorTemplate) MarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMwareCloudDirectorTemplate) UnmarshalBinary ¶ added in v2.21.0

func (m *VMwareCloudDirectorTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMwareCloudDirectorTemplate) Validate ¶ added in v2.21.0

func (m *VMwareCloudDirectorTemplate) Validate(formats strfmt.Registry) error

Validate validates this v mware cloud director template

type VMwareCloudDirectorTemplateList ¶ added in v2.21.0

type VMwareCloudDirectorTemplateList []*VMwareCloudDirectorTemplate

VMwareCloudDirectorTemplateList VMwareCloudDirectorTemplateList represents an array of VMware Cloud Director templates.

swagger:model VMwareCloudDirectorTemplateList

func (VMwareCloudDirectorTemplateList) ContextValidate ¶ added in v2.21.0

func (m VMwareCloudDirectorTemplateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v mware cloud director template list based on the context it is used

func (VMwareCloudDirectorTemplateList) Validate ¶ added in v2.21.0

Validate validates this v mware cloud director template list

type VSphere ¶ added in v2.19.3

type VSphere struct {

	// If datacenter is set, this preset is only applicable to the
	// configured datacenter.
	Datacenter string `json:"datacenter,omitempty"`

	// datastore
	Datastore string `json:"datastore,omitempty"`

	// datastore cluster
	DatastoreCluster string `json:"datastoreCluster,omitempty"`

	// Only enabled presets will be available in the KKP dashboard.
	Enabled bool `json:"enabled,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// resource pool
	ResourcePool string `json:"resourcePool,omitempty"`

	// username
	Username string `json:"username,omitempty"`

	// VM net name
	VMNetName string `json:"vmNetName,omitempty"`
}

VSphere v sphere

swagger:model VSphere

func (*VSphere) ContextValidate ¶ added in v2.19.3

func (m *VSphere) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere based on context it is used

func (*VSphere) MarshalBinary ¶ added in v2.19.3

func (m *VSphere) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VSphere) UnmarshalBinary ¶ added in v2.19.3

func (m *VSphere) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VSphere) Validate ¶ added in v2.19.3

func (m *VSphere) Validate(formats strfmt.Registry) error

Validate validates this v sphere

type VSphereCloudSpec ¶

type VSphereCloudSpec struct {

	// Datastore to be used for storing virtual machines and as a default for
	// dynamic volume provisioning, it is mutually exclusive with
	// DatastoreCluster.
	// +optional
	Datastore string `json:"datastore,omitempty"`

	// DatastoreCluster to be used for storing virtual machines, it is mutually
	// exclusive with Datastore.
	// +optional
	DatastoreCluster string `json:"datastoreCluster,omitempty"`

	// Folder is the folder to be used to group the provisioned virtual
	// machines.
	// +optional
	Folder string `json:"folder,omitempty"`

	// Password is the vSphere user password.
	// +optional
	Password string `json:"password,omitempty"`

	// ResourcePool is used to manage resources such as cpu and memory for vSphere virtual machines. The resource pool
	// should be defined on vSphere cluster level.
	// +optional
	ResourcePool string `json:"resourcePool,omitempty"`

	// StoragePolicy to be used for storage provisioning
	StoragePolicy string `json:"storagePolicy,omitempty"`

	// This is category for the machine deployment tags
	TagCategoryID string `json:"tagCategoryID,omitempty"`

	// Username is the vSphere user name.
	// +optional
	Username string `json:"username,omitempty"`

	// VMNetName is the name of the vSphere network.
	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) ContextValidate ¶ added in v2.18.0

func (m *VSphereCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v sphere cloud spec based on the context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *VSphereCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere credentials based on context it is used

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 VSphereDatastoreList ¶ added in v2.17.0

type VSphereDatastoreList struct {

	// datastores
	Datastores []string `json:"datastores"`
}

VSphereDatastoreList VSphereDatastoreList is the object representing a vsphere datastores.

swagger:model VSphereDatastoreList

func (*VSphereDatastoreList) ContextValidate ¶ added in v2.18.0

func (m *VSphereDatastoreList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere datastore list based on context it is used

func (*VSphereDatastoreList) MarshalBinary ¶ added in v2.17.0

func (m *VSphereDatastoreList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VSphereDatastoreList) UnmarshalBinary ¶ added in v2.17.0

func (m *VSphereDatastoreList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VSphereDatastoreList) Validate ¶ added in v2.17.0

func (m *VSphereDatastoreList) Validate(formats strfmt.Registry) error

Validate validates this v sphere datastore list

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) ContextValidate ¶ added in v2.18.0

func (m *VSphereFolder) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere folder based on context it is used

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) ContextValidate ¶ added in v2.18.0

func (m *VSphereNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere network based on context it is used

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"`

	// Additional metadata to set
	Tags []*VSphereTag `json:"tags"`

	// template
	Template string `json:"template,omitempty"`
}

VSphereNodeSpec VSphereNodeSpec VSphere node settings

swagger:model VSphereNodeSpec

func (*VSphereNodeSpec) ContextValidate ¶ added in v2.18.0

func (m *VSphereNodeSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v sphere node spec based on the context it is used

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 VSphereTag ¶ added in v2.21.0

type VSphereTag struct {

	// CategoryID when empty the default category will be used.
	CategoryID string `json:"categoryID,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

VSphereTag VSphereTag represents vsphere tag.

swagger:model VSphereTag

func (*VSphereTag) ContextValidate ¶ added in v2.21.0

func (m *VSphereTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v sphere tag based on context it is used

func (*VSphereTag) MarshalBinary ¶ added in v2.21.0

func (m *VSphereTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VSphereTag) UnmarshalBinary ¶ added in v2.21.0

func (m *VSphereTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VSphereTag) Validate ¶ added in v2.21.0

func (m *VSphereTag) Validate(formats strfmt.Registry) error

Validate validates this v sphere tag

type Validation ¶

type Validation struct {

	// +kubebuilder:default=false
	LegacySchema bool `json:"legacySchema,omitempty"`

	// open API v3 schema
	OpenAPIV3Schema *JSONSchemaProps `json:"openAPIV3Schema,omitempty"`
}

Validation validation

swagger:model Validation

func (*Validation) ContextValidate ¶ added in v2.18.0

func (m *Validation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validation based on the context it is used

func (*Validation) MarshalBinary ¶

func (m *Validation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Validation) UnmarshalBinary ¶

func (m *Validation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Validation) Validate ¶

func (m *Validation) Validate(formats strfmt.Registry) error

Validate validates this validation

type ValidationRule ¶ added in v2.19.0

type ValidationRule struct {

	// Message represents the message displayed when validation fails. The message is required if the Rule contains
	// line breaks. The message must not contain line breaks.
	// If unset, the message is "failed rule: {Rule}".
	// e.g. "must be a URL with the host matching spec.host"
	Message string `json:"message,omitempty"`

	// Rule represents the expression which will be evaluated by CEL.
	// ref: https://github.com/google/cel-spec
	// The Rule is scoped to the location of the x-kubernetes-validations extension in the schema.
	// The `self` variable in the CEL expression is bound to the scoped value.
	Rule string `json:"rule,omitempty"`
}

ValidationRule ValidationRule describes a validation rule written in the CEL expression language.

swagger:model ValidationRule

func (*ValidationRule) ContextValidate ¶ added in v2.19.0

func (m *ValidationRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this validation rule based on context it is used

func (*ValidationRule) MarshalBinary ¶ added in v2.19.0

func (m *ValidationRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ValidationRule) UnmarshalBinary ¶ added in v2.19.0

func (m *ValidationRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ValidationRule) Validate ¶ added in v2.19.0

func (m *ValidationRule) Validate(formats strfmt.Registry) error

Validate validates this validation rule

type ValidationRules ¶ added in v2.19.0

type ValidationRules []*ValidationRule

ValidationRules ValidationRules describes a list of validation rules written in the CEL expression language.

swagger:model ValidationRules

func (ValidationRules) ContextValidate ¶ added in v2.19.0

func (m ValidationRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this validation rules based on the context it is used

func (ValidationRules) Validate ¶ added in v2.19.0

func (m ValidationRules) Validate(formats strfmt.Registry) error

Validate validates this validation rules

type Version ¶

type Version interface{}

Version Version wraps semverlib.Version. It is needed because kubebuilder does not accept structs with non-tagged fields, even if they have custom marshallers With this the CRD resource will have Version as string but operator code can work directly with the semverlib.Version struct (taken from https://github.com/kubernetes-sigs/controller-tools/blob/master/pkg/crd/testdata/cronjob_types.go#L283)

swagger:model Version

type VersionList ¶ added in v2.18.0

type VersionList []*MasterVersion

VersionList VersionList represents a list of versions

swagger:model VersionList

func (VersionList) ContextValidate ¶ added in v2.18.0

func (m VersionList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this version list based on the context it is used

func (VersionList) Validate ¶ added in v2.18.0

func (m VersionList) Validate(formats strfmt.Registry) error

Validate validates this version list

type Violation ¶

type Violation struct {

	// enforcement action
	EnforcementAction string `json:"enforcementAction,omitempty"`

	// kind
	Kind string `json:"kind,omitempty"`

	// message
	Message string `json:"message,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`
}

Violation Violation represents a gatekeeper constraint violation.

swagger:model Violation

func (*Violation) ContextValidate ¶ added in v2.18.0

func (m *Violation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this violation based on context it is used

func (*Violation) MarshalBinary ¶

func (m *Violation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Violation) UnmarshalBinary ¶

func (m *Violation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Violation) Validate ¶

func (m *Violation) Validate(formats strfmt.Registry) error

Validate validates this violation

type VirtualMachineInstancePreset ¶ added in v2.19.0

type VirtualMachineInstancePreset struct {

	// name
	Name string `json:"name,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// Spec contains the kubevirtv1.VirtualMachineInstancePreset.Spec object marshalled
	Spec string `json:"spec,omitempty"`
}

VirtualMachineInstancePreset VirtualMachineInstancePreset represents a KubeVirt Virtual Machine Instance Preset

swagger:model VirtualMachineInstancePreset

func (*VirtualMachineInstancePreset) ContextValidate ¶ added in v2.19.0

func (m *VirtualMachineInstancePreset) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this virtual machine instance preset based on context it is used

func (*VirtualMachineInstancePreset) MarshalBinary ¶ added in v2.19.0

func (m *VirtualMachineInstancePreset) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VirtualMachineInstancePreset) UnmarshalBinary ¶ added in v2.19.0

func (m *VirtualMachineInstancePreset) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VirtualMachineInstancePreset) Validate ¶ added in v2.19.0

func (m *VirtualMachineInstancePreset) Validate(formats strfmt.Registry) error

Validate validates this virtual machine instance preset

type VirtualMachineInstancePresetList ¶ added in v2.19.0

type VirtualMachineInstancePresetList []*VirtualMachineInstancePreset

VirtualMachineInstancePresetList VirtualMachineInstancePresetList represents a list of VirtualMachineInstancePreset.

swagger:model VirtualMachineInstancePresetList

func (VirtualMachineInstancePresetList) ContextValidate ¶ added in v2.19.0

func (m VirtualMachineInstancePresetList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this virtual machine instance preset list based on the context it is used

func (VirtualMachineInstancePresetList) Validate ¶ added in v2.19.0

Validate validates this virtual machine instance preset list

type VpcConfigRequest ¶ added in v2.21.0

type VpcConfigRequest struct {

	// Specify one or more security groups for the cross-account elastic network
	// interfaces that Amazon EKS creates to use to allow communication between
	// your nodes and the Kubernetes control plane.
	// For more information, see Amazon EKS security group considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html)
	// in the Amazon EKS User Guide .
	SecurityGroupIds []string `json:"securityGroupIds"`

	// Specify subnets for your Amazon EKS nodes. Amazon EKS creates cross-account
	// elastic network interfaces in these subnets to allow communication between
	// your nodes and the Kubernetes control plane.
	SubnetIds []string `json:"subnetIds"`

	// The VPC associated with your cluster.
	VpcID string `json:"vpcId,omitempty"`
}

VpcConfigRequest vpc config request

swagger:model VpcConfigRequest

func (*VpcConfigRequest) ContextValidate ¶ added in v2.21.0

func (m *VpcConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vpc config request based on context it is used

func (*VpcConfigRequest) MarshalBinary ¶ added in v2.21.0

func (m *VpcConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VpcConfigRequest) UnmarshalBinary ¶ added in v2.21.0

func (m *VpcConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VpcConfigRequest) Validate ¶ added in v2.21.0

func (m *VpcConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this vpc config request

type WrBody ¶ added in v2.18.0

type WrBody struct {

	// Name of the allowed registry
	Name string `json:"name,omitempty"`

	// spec
	Spec *AllowedRegistrySpec `json:"spec,omitempty"`
}

WrBody wr body

swagger:model wrBody

func (*WrBody) ContextValidate ¶ added in v2.18.0

func (m *WrBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wr body based on the context it is used

func (*WrBody) MarshalBinary ¶ added in v2.18.0

func (m *WrBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WrBody) UnmarshalBinary ¶ added in v2.18.0

func (m *WrBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WrBody) Validate ¶ added in v2.18.0

func (m *WrBody) Validate(formats strfmt.Registry) error

Validate validates this wr body

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL