Documentation
¶
Index ¶
- type AWSCloudSpec
- type AWSNodeSpec
- type AWSSecurityGroupList
- type AWSSize
- type AWSSizeList
- type AWSSubnet
- type AWSSubnetList
- type AWSTag
- type AWSVPC
- type AWSVPCList
- type AWSVpcCidrBlockAssociation
- func (m *AWSVpcCidrBlockAssociation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AWSVpcCidrBlockAssociation) MarshalBinary() ([]byte, error)
- func (m *AWSVpcCidrBlockAssociation) UnmarshalBinary(b []byte) error
- func (m *AWSVpcCidrBlockAssociation) Validate(formats strfmt.Registry) error
- type AWSVpcIPV6CidrBlockAssociation
- func (m *AWSVpcIPV6CidrBlockAssociation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AWSVpcIPV6CidrBlockAssociation) MarshalBinary() ([]byte, error)
- func (m *AWSVpcIPV6CidrBlockAssociation) UnmarshalBinary(b []byte) error
- func (m *AWSVpcIPV6CidrBlockAssociation) Validate(formats strfmt.Registry) error
- type Absolute
- type AccessibleAddons
- type Addon
- type AddonConfig
- type AddonConfigSpec
- type AddonFormControl
- type AddonSpec
- type Admin
- type AdmissionPlugin
- type AdmissionPluginList
- type Alertmanager
- type AlertmanagerSpec
- type AlibabaCloudSpec
- type AlibabaInstanceType
- type AlibabaInstanceTypeList
- type AlibabaNodeSpec
- type AlibabaVSwitch
- type AlibabaVSwitchList
- type AlibabaZone
- type AlibabaZoneList
- type AllowedRegistry
- type AllowedRegistrySpec
- type AnexiaCloudSpec
- type AnexiaNodeSpec
- type AnexiaTemplate
- type AnexiaTemplateList
- type AnexiaVlan
- type AnexiaVlanList
- type AuditLoggingSettings
- type AzureAvailabilityZonesList
- func (m *AzureAvailabilityZonesList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureAvailabilityZonesList) MarshalBinary() ([]byte, error)
- func (m *AzureAvailabilityZonesList) UnmarshalBinary(b []byte) error
- func (m *AzureAvailabilityZonesList) Validate(formats strfmt.Registry) error
- type AzureCloudSpec
- type AzureNodeSpec
- type AzureResourceGroupsList
- func (m *AzureResourceGroupsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureResourceGroupsList) MarshalBinary() ([]byte, error)
- func (m *AzureResourceGroupsList) UnmarshalBinary(b []byte) error
- func (m *AzureResourceGroupsList) Validate(formats strfmt.Registry) error
- type AzureRouteTablesList
- type AzureSecurityGroupsList
- func (m *AzureSecurityGroupsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureSecurityGroupsList) MarshalBinary() ([]byte, error)
- func (m *AzureSecurityGroupsList) UnmarshalBinary(b []byte) error
- func (m *AzureSecurityGroupsList) Validate(formats strfmt.Registry) error
- type AzureSize
- type AzureSizeList
- type AzureSubnetsList
- type AzureVirtualNetworksList
- func (m *AzureVirtualNetworksList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AzureVirtualNetworksList) MarshalBinary() ([]byte, error)
- func (m *AzureVirtualNetworksList) UnmarshalBinary(b []byte) error
- func (m *AzureVirtualNetworksList) Validate(formats strfmt.Registry) error
- type BackupCredentials
- type BackupStatus
- type BackupStatusPhase
- type BcBody
- type Body
- type BringYourOwnCloudSpec
- type ByPodStatus
- type CRD
- type CRDSpec
- type CentOSSpec
- type CleanupOptions
- type CloudSpec
- type Cluster
- type ClusterHealth
- type ClusterList
- type ClusterMetrics
- type ClusterNetworkingConfig
- func (m *ClusterNetworkingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClusterNetworkingConfig) MarshalBinary() ([]byte, error)
- func (m *ClusterNetworkingConfig) UnmarshalBinary(b []byte) error
- func (m *ClusterNetworkingConfig) Validate(formats strfmt.Registry) error
- type ClusterRole
- type ClusterRoleBinding
- type ClusterRoleName
- type ClusterRoleUser
- type ClusterSpec
- type ClusterStatus
- type ClusterTemplate
- type ClusterTemplateInstance
- func (m *ClusterTemplateInstance) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClusterTemplateInstance) MarshalBinary() ([]byte, error)
- func (m *ClusterTemplateInstance) UnmarshalBinary(b []byte) error
- func (m *ClusterTemplateInstance) Validate(formats strfmt.Registry) error
- type ClusterTemplateInstanceSpec
- func (m *ClusterTemplateInstanceSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClusterTemplateInstanceSpec) MarshalBinary() ([]byte, error)
- func (m *ClusterTemplateInstanceSpec) UnmarshalBinary(b []byte) error
- func (m *ClusterTemplateInstanceSpec) Validate(formats strfmt.Registry) error
- type ClusterTemplateList
- type ClusterTemplateSSHKey
- type ClusterType
- type ConditionStatus
- type Constraint
- type ConstraintBody
- type ConstraintSelector
- type ConstraintSpec
- type ConstraintStatus
- type ConstraintTemplate
- type ConstraintTemplateSelector
- func (m *ConstraintTemplateSelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConstraintTemplateSelector) MarshalBinary() ([]byte, error)
- func (m *ConstraintTemplateSelector) UnmarshalBinary(b []byte) error
- func (m *ConstraintTemplateSelector) Validate(formats strfmt.Registry) error
- type ConstraintTemplateSpec
- func (m *ConstraintTemplateSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConstraintTemplateSpec) MarshalBinary() ([]byte, error)
- func (m *ConstraintTemplateSpec) UnmarshalBinary(b []byte) error
- func (m *ConstraintTemplateSpec) Validate(formats strfmt.Registry) error
- type ConstraintTemplateStatus
- func (m *ConstraintTemplateStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConstraintTemplateStatus) MarshalBinary() ([]byte, error)
- func (m *ConstraintTemplateStatus) UnmarshalBinary(b []byte) error
- func (m *ConstraintTemplateStatus) Validate(formats strfmt.Registry) error
- type ControlPlaneMetrics
- type CreateCRDError
- type CreateClusterSpec
- type CredentialList
- type CtBody
- type CustomLink
- type CustomLinks
- type Datacenter
- type DatacenterList
- type DatacenterMeta
- type DatacenterSpec
- type DatacenterSpecAWS
- type DatacenterSpecAlibaba
- type DatacenterSpecAnexia
- type DatacenterSpecAzure
- type DatacenterSpecBringYourOwn
- type DatacenterSpecDigitalocean
- func (m *DatacenterSpecDigitalocean) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatacenterSpecDigitalocean) MarshalBinary() ([]byte, error)
- func (m *DatacenterSpecDigitalocean) UnmarshalBinary(b []byte) error
- func (m *DatacenterSpecDigitalocean) Validate(formats strfmt.Registry) error
- type DatacenterSpecFake
- type DatacenterSpecGCP
- type DatacenterSpecHetzner
- type DatacenterSpecKubevirt
- func (m *DatacenterSpecKubevirt) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatacenterSpecKubevirt) MarshalBinary() ([]byte, error)
- func (m *DatacenterSpecKubevirt) UnmarshalBinary(b []byte) error
- func (m *DatacenterSpecKubevirt) Validate(formats strfmt.Registry) error
- type DatacenterSpecOpenstack
- func (m *DatacenterSpecOpenstack) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DatacenterSpecOpenstack) MarshalBinary() ([]byte, error)
- func (m *DatacenterSpecOpenstack) UnmarshalBinary(b []byte) error
- func (m *DatacenterSpecOpenstack) Validate(formats strfmt.Registry) error
- type DatacenterSpecPacket
- type DatacenterSpecVSphere
- type DigitaloceanCloudSpec
- type DigitaloceanNodeSpec
- type DigitaloceanSize
- type DigitaloceanSizeList
- type EbcBody
- type ErBody
- type ErrorDetails
- type ErrorResponse
- type EtcdBackupConfig
- type EtcdBackupConfigCondition
- func (m *EtcdBackupConfigCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EtcdBackupConfigCondition) MarshalBinary() ([]byte, error)
- func (m *EtcdBackupConfigCondition) UnmarshalBinary(b []byte) error
- func (m *EtcdBackupConfigCondition) Validate(formats strfmt.Registry) error
- type EtcdBackupConfigConditionType
- type EtcdBackupConfigSpec
- type EtcdBackupConfigStatus
- func (m *EtcdBackupConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *EtcdBackupConfigStatus) MarshalBinary() ([]byte, error)
- func (m *EtcdBackupConfigStatus) UnmarshalBinary(b []byte) error
- func (m *EtcdBackupConfigStatus) Validate(formats strfmt.Registry) error
- type EtcdRestore
- type EtcdRestorePhase
- type EtcdRestoreSpec
- type EtcdRestoreStatus
- type Event
- type ExposeStrategy
- type ExternalCCMMigrationStatus
- type ExternalDocumentation
- type FakeCloudSpec
- type FlatcarSpec
- type GCPCloudSpec
- type GCPDiskType
- type GCPDiskTypeList
- type GCPMachineSize
- type GCPMachineSizeList
- type GCPNetwork
- type GCPNetworkList
- type GCPNodeSpec
- type GCPSubnetwork
- type GCPSubnetworkList
- type GCPZone
- type GCPZoneList
- type GVK
- type GatekeeperConfig
- type GatekeeperConfigSpec
- type GlobalCustomLinks
- type GlobalObjectKeySelector
- func (m *GlobalObjectKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GlobalObjectKeySelector) MarshalBinary() ([]byte, error)
- func (m *GlobalObjectKeySelector) UnmarshalBinary(b []byte) error
- func (m *GlobalObjectKeySelector) Validate(formats strfmt.Registry) error
- type GlobalSecretKeySelector
- func (m *GlobalSecretKeySelector) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m GlobalSecretKeySelector) MarshalJSON() ([]byte, error)
- func (m *GlobalSecretKeySelector) UnmarshalJSON(raw []byte) error
- func (m *GlobalSecretKeySelector) Validate(formats strfmt.Registry) error
- type GlobalSettings
- type HealthStatus
- type HetznerCloudSpec
- type HetznerNodeSpec
- type HetznerSize
- type HetznerSizeList
- type IPVSConfiguration
- type Image
- type ImageList
- type JSON
- type JSONSchemaDefinitions
- type JSONSchemaDependencies
- type JSONSchemaProps
- type JSONSchemaPropsOrArray
- func (m *JSONSchemaPropsOrArray) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JSONSchemaPropsOrArray) MarshalBinary() ([]byte, error)
- func (m *JSONSchemaPropsOrArray) UnmarshalBinary(b []byte) error
- func (m *JSONSchemaPropsOrArray) Validate(formats strfmt.Registry) error
- type JSONSchemaPropsOrBool
- type JSONSchemaPropsOrStringArray
- func (m *JSONSchemaPropsOrStringArray) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *JSONSchemaPropsOrStringArray) MarshalBinary() ([]byte, error)
- func (m *JSONSchemaPropsOrStringArray) UnmarshalBinary(b []byte) error
- func (m *JSONSchemaPropsOrStringArray) Validate(formats strfmt.Registry) error
- type JSONSchemaURL
- type Kind
- type KubermaticVersions
- type KubevirtCloudSpec
- type KubevirtNodeSpec
- type LBSKU
- type LabelKeyList
- type LabelSelector
- type LabelSelectorOperator
- type LabelSelectorRequirement
- func (m *LabelSelectorRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LabelSelectorRequirement) MarshalBinary() ([]byte, error)
- func (m *LabelSelectorRequirement) UnmarshalBinary(b []byte) error
- func (m *LabelSelectorRequirement) Validate(formats strfmt.Registry) error
- type Limits
- type LoggingRateLimitSettings
- func (m *LoggingRateLimitSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *LoggingRateLimitSettings) MarshalBinary() ([]byte, error)
- func (m *LoggingRateLimitSettings) UnmarshalBinary(b []byte) error
- func (m *LoggingRateLimitSettings) Validate(formats strfmt.Registry) error
- type MLA
- type MLAAdminSetting
- type MLASettings
- type MachineDeploymentStatus
- func (m *MachineDeploymentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MachineDeploymentStatus) MarshalBinary() ([]byte, error)
- func (m *MachineDeploymentStatus) UnmarshalBinary(b []byte) error
- func (m *MachineDeploymentStatus) Validate(formats strfmt.Registry) error
- type MachineDeploymentVMResourceQuota
- func (m *MachineDeploymentVMResourceQuota) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MachineDeploymentVMResourceQuota) MarshalBinary() ([]byte, error)
- func (m *MachineDeploymentVMResourceQuota) UnmarshalBinary(b []byte) error
- func (m *MachineDeploymentVMResourceQuota) Validate(formats strfmt.Registry) error
- type MachineNetworkingConfig
- func (m *MachineNetworkingConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MachineNetworkingConfig) MarshalBinary() ([]byte, error)
- func (m *MachineNetworkingConfig) UnmarshalBinary(b []byte) error
- func (m *MachineNetworkingConfig) Validate(formats strfmt.Registry) error
- type MasterVersion
- type Match
- type MatchEntry
- type MeteringConfigurations
- func (m *MeteringConfigurations) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MeteringConfigurations) MarshalBinary() ([]byte, error)
- func (m *MeteringConfigurations) UnmarshalBinary(b []byte) error
- func (m *MeteringConfigurations) Validate(formats strfmt.Registry) error
- type MeteringReport
- type MlaOptions
- type MonitoringRateLimitSettings
- func (m *MonitoringRateLimitSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MonitoringRateLimitSettings) MarshalBinary() ([]byte, error)
- func (m *MonitoringRateLimitSettings) UnmarshalBinary(b []byte) error
- func (m *MonitoringRateLimitSettings) Validate(formats strfmt.Registry) error
- type Names
- type Namespace
- type NetworkRanges
- type Node
- type NodeAddress
- type NodeCloudSpec
- type NodeDeployment
- type NodeDeploymentRequest
- type NodeDeploymentRequestSpec
- func (m *NodeDeploymentRequestSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *NodeDeploymentRequestSpec) MarshalBinary() ([]byte, error)
- func (m *NodeDeploymentRequestSpec) UnmarshalBinary(b []byte) error
- func (m *NodeDeploymentRequestSpec) Validate(formats strfmt.Registry) error
- type NodeDeploymentSpec
- type NodeMetric
- type NodeResources
- type NodeSettings
- type NodeSpec
- type NodeStatus
- type NodeSystemInfo
- type NodeVersionInfo
- type NodesMetric
- type OIDCSettings
- type OIDCSpec
- type OPAIntegrationSettings
- func (m *OPAIntegrationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OPAIntegrationSettings) MarshalBinary() ([]byte, error)
- func (m *OPAIntegrationSettings) UnmarshalBinary(b []byte) error
- func (m *OPAIntegrationSettings) Validate(formats strfmt.Registry) error
- type ObjectMeta
- type ObjectReference
- type ObjectReferenceResource
- func (m *ObjectReferenceResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ObjectReferenceResource) MarshalBinary() ([]byte, error)
- func (m *ObjectReferenceResource) UnmarshalBinary(b []byte) error
- func (m *ObjectReferenceResource) Validate(formats strfmt.Registry) error
- type OpaOptions
- type OpenstackAvailabilityZone
- func (m *OpenstackAvailabilityZone) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OpenstackAvailabilityZone) MarshalBinary() ([]byte, error)
- func (m *OpenstackAvailabilityZone) UnmarshalBinary(b []byte) error
- func (m *OpenstackAvailabilityZone) Validate(formats strfmt.Registry) error
- type OpenstackCloudSpec
- type OpenstackNetwork
- type OpenstackNodeSizeRequirements
- func (m *OpenstackNodeSizeRequirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OpenstackNodeSizeRequirements) MarshalBinary() ([]byte, error)
- func (m *OpenstackNodeSizeRequirements) UnmarshalBinary(b []byte) error
- func (m *OpenstackNodeSizeRequirements) Validate(formats strfmt.Registry) error
- type OpenstackNodeSpec
- type OpenstackSecurityGroup
- func (m *OpenstackSecurityGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OpenstackSecurityGroup) MarshalBinary() ([]byte, error)
- func (m *OpenstackSecurityGroup) UnmarshalBinary(b []byte) error
- func (m *OpenstackSecurityGroup) Validate(formats strfmt.Registry) error
- type OpenstackSize
- type OpenstackSubnet
- type OpenstackTenant
- type OperatingSystemSpec
- type PacketCPU
- type PacketCloudSpec
- type PacketDrive
- type PacketNodeSpec
- type PacketSize
- type PacketSizeList
- type Parameters
- type PodDNSConfig
- type PodDNSConfigOption
- type PolicyRule
- type Preset
- type PresetList
- type PresetProvider
- type Project
- type ProjectGroup
- type ProviderType
- type ProxySettings
- type ProxyValue
- type PublicAWSCloudSpec
- type PublicAlibabaCloudSpec
- type PublicAnexiaCloudSpec
- type PublicAzureCloudSpec
- type PublicBringYourOwnCloudSpec
- type PublicCloudSpec
- type PublicDigitaloceanCloudSpec
- type PublicFakeCloudSpec
- type PublicGCPCloudSpec
- type PublicHetznerCloudSpec
- type PublicKubevirtCloudSpec
- type PublicOpenstackCloudSpec
- func (m *PublicOpenstackCloudSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicOpenstackCloudSpec) MarshalBinary() ([]byte, error)
- func (m *PublicOpenstackCloudSpec) UnmarshalBinary(b []byte) error
- func (m *PublicOpenstackCloudSpec) Validate(formats strfmt.Registry) error
- type PublicPacketCloudSpec
- type PublicServiceAccountToken
- func (m *PublicServiceAccountToken) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PublicServiceAccountToken) MarshalBinary() ([]byte, error)
- func (m *PublicServiceAccountToken) UnmarshalBinary(b []byte) error
- func (m *PublicServiceAccountToken) Validate(formats strfmt.Registry) error
- type PublicVSphereCloudSpec
- type Quantity
- type Quotas
- type RHELSpec
- type ReadinessSpec
- type ReportURL
- type ResourceLabelMap
- type ResourceList
- type ResourceRequirements
- type ResourceType
- type Role
- type RoleBinding
- type RoleName
- type RoleUser
- type RuleGroup
- type RuleGroupType
- type S3BackupCredentials
- type SLESSpec
- type SSHKey
- type SSHKeySpec
- type Seed
- type SeedBackupRestoreConfiguration
- func (m *SeedBackupRestoreConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SeedBackupRestoreConfiguration) MarshalBinary() ([]byte, error)
- func (m *SeedBackupRestoreConfiguration) UnmarshalBinary(b []byte) error
- func (m *SeedBackupRestoreConfiguration) Validate(formats strfmt.Registry) error
- type SeedMLASettings
- type SeedNamesList
- type SeedSettings
- type SeedSpec
- type Semver
- type ServiceAccount
- type ServiceAccountSettings
- func (m *ServiceAccountSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ServiceAccountSettings) MarshalBinary() ([]byte, error)
- func (m *ServiceAccountSettings) UnmarshalBinary(b []byte) error
- func (m *ServiceAccountSettings) Validate(formats strfmt.Registry) error
- type ServiceAccountToken
- type SettingSpec
- type Subject
- type Sync
- type Sys11AuthSettings
- type TaintSpec
- type Target
- type Time
- func (m Time) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *Time) MarshalBinary() ([]byte, error)
- func (m Time) MarshalJSON() ([]byte, error)
- func (m *Time) UnmarshalBinary(b []byte) error
- func (m *Time) UnmarshalJSON(b []byte) error
- func (m Time) Validate(formats strfmt.Registry) error
- type Trace
- type UID
- type UbuntuSpec
- type UnsealKeys
- type UpdateWindow
- type User
- type UserSettings
- type VSphereCloudSpec
- type VSphereCredentials
- type VSphereDatastoreList
- type VSphereFolder
- type VSphereNetwork
- type VSphereNodeSpec
- type Validation
- type Version
- type VersionList
- type Violation
- type WrBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCloudSpec ¶
type AWSCloudSpec struct { // access key ID AccessKeyID string `json:"accessKeyId,omitempty"` // The IAM role, the control plane will use. The control plane will perform an assume-role ControlPlaneRoleARN string `json:"roleARN,omitempty"` // instance profile name InstanceProfileName string `json:"instanceProfileName,omitempty"` // openstack billing tenant OpenstackBillingTenant string `json:"openstackBillingTenant,omitempty"` // DEPRECATED. Don't care for the role name. We only require the ControlPlaneRoleARN to be set so the control plane // can perform the assume-role. // We keep it for backwards compatibility (We use this name for cleanup purpose). RoleName string `json:"roleName,omitempty"` // route table ID RouteTableID string `json:"routeTableId,omitempty"` // secret access key SecretAccessKey string `json:"secretAccessKey,omitempty"` // security group ID SecurityGroupID string `json:"securityGroupID,omitempty"` // v p c ID VPCID string `json:"vpcId,omitempty"` // credentials reference CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"` }
AWSCloudSpec AWSCloudSpec specifies access data to Amazon Web Services.
swagger:model AWSCloudSpec
func (*AWSCloudSpec) ContextValidate ¶
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
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"` // 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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this a w s size based on context it is used
func (*AWSSize) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSSize) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSSizeList ¶
type AWSSizeList []*AWSSize
AWSSizeList AWSSizeList represents an array of AWS sizes.
swagger:model AWSSizeList
func (AWSSizeList) ContextValidate ¶
ContextValidate validate this a w s size list based on the context it is used
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 ¶
ContextValidate validate this a w s subnet based on the context it is used
func (*AWSSubnet) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSSubnet) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSSubnetList ¶
type AWSSubnetList []*AWSSubnet
AWSSubnetList AWSSubnetList represents an array of AWS availability subnets.
swagger:model AWSSubnetList
func (AWSSubnetList) ContextValidate ¶
ContextValidate validate this a w s subnet list based on the context it is used
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 ¶
ContextValidate validates this a w s tag based on context it is used
func (*AWSTag) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSTag) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this a w s v p c based on the context it is used
func (*AWSVPC) MarshalBinary ¶
MarshalBinary interface implementation
func (*AWSVPC) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AWSVPCList ¶
type AWSVPCList []*AWSVPC
AWSVPCList AWSVPCList represents an array of AWS VPC's.
swagger:model AWSVPCList
func (AWSVPCList) ContextValidate ¶
ContextValidate validate this a w s v p c list based on the context it is used
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 ¶
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
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 ¶
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
type Absolute ¶
type Absolute struct { // MaxImageMeta is the amount of image metadata available to a tenant. MaxImageMeta int64 `json:"maxImageMeta,omitempty"` // MaxPersonality is the amount of personality/files available to a tenant. MaxPersonality int64 `json:"maxPersonality,omitempty"` // MaxPersonalitySize is the personality file size available to a tenant. MaxPersonalitySize int64 `json:"maxPersonalitySize,omitempty"` // MaxSecurityGroupRules is the number of security group rules available to // a tenant. MaxSecurityGroupRules int64 `json:"maxSecurityGroupRules,omitempty"` // MaxSecurityGroups is the number of security groups available to a tenant. MaxSecurityGroups int64 `json:"maxSecurityGroups,omitempty"` // MaxServerGroupMembers is the number of server group members available // to a tenant. MaxServerGroupMembers int64 `json:"maxServerGroupMembers,omitempty"` // MaxServerGroups is the number of server groups available to a tenant. MaxServerGroups int64 `json:"maxServerGroups,omitempty"` // MaxServerMeta is the amount of server metadata available to a tenant. MaxServerMeta int64 `json:"maxServerMeta,omitempty"` // MaxTotalCores is the number of cores available to a tenant. MaxTotalCores int64 `json:"maxTotalCores,omitempty"` // MaxTotalFloatingIps is the number of floating IPs available to a tenant. MaxTotalFloatingIps int64 `json:"maxTotalFloatingIps,omitempty"` // MaxTotalInstances is the number of instances/servers available to a tenant. MaxTotalInstances int64 `json:"maxTotalInstances,omitempty"` // MaxTotalKeypairs is the total keypairs available to a tenant. MaxTotalKeypairs int64 `json:"maxTotalKeypairs,omitempty"` // MaxTotalRAMSize is the total amount of RAM available to a tenant measured // in megabytes (MB). MaxTotalRAMSize int64 `json:"maxTotalRAMSize,omitempty"` // TotalCoresUsed is the number of cores currently in use. TotalCoresUsed int64 `json:"totalCoresUsed,omitempty"` // TotalFloatingIpsUsed is the number of floating IPs in use. TotalFloatingIpsUsed int64 `json:"totalFloatingIpsUsed,omitempty"` // TotalInstancesUsed is the number of instances/servers in use. TotalInstancesUsed int64 `json:"totalInstancesUsed,omitempty"` // TotalRAMUsed is the total RAM/memory in use measured in megabytes (MB). TotalRAMUsed int64 `json:"totalRAMUsed,omitempty"` // TotalSecurityGroupsUsed is the total number of security groups in use. TotalSecurityGroupsUsed int64 `json:"totalSecurityGroupsUsed,omitempty"` // TotalServerGroupsUsed is the total number of server groups in use. TotalServerGroupsUsed int64 `json:"totalServerGroupsUsed,omitempty"` }
Absolute Usage is a struct that contains the current resource usage and limits of a tenant.
swagger:model Absolute
func (*Absolute) ContextValidate ¶
ContextValidate validates this absolute based on context it is used
func (*Absolute) MarshalBinary ¶
MarshalBinary interface implementation
func (*Absolute) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this accessible addons based on context it is used
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 ¶
ContextValidate validate this addon based on the context it is used
func (*Addon) MarshalBinary ¶
MarshalBinary interface implementation
func (*Addon) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 of the configured addon, encoded in base64 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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this addon spec based on context it is used
func (*AddonSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*AddonSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this admin based on context it is used
func (*Admin) MarshalBinary ¶
MarshalBinary interface implementation
func (*Admin) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this admission plugin based on 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
type AdmissionPluginList ¶
type AdmissionPluginList []string
AdmissionPluginList AdmissionPluginList represents a list of admission plugins
swagger:model AdmissionPluginList
func (AdmissionPluginList) ContextValidate ¶
ContextValidate validates this admission plugin list based on context it is used
type Alertmanager ¶
type Alertmanager struct { // spec Spec *AlertmanagerSpec `json:"spec,omitempty"` }
Alertmanager Alertmanager represents an Alertmanager Configuration
swagger:model Alertmanager
func (*Alertmanager) ContextValidate ¶
ContextValidate validate this alertmanager based on the context it is used
func (*Alertmanager) MarshalBinary ¶
func (m *Alertmanager) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Alertmanager) UnmarshalBinary ¶
func (m *Alertmanager) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlertmanagerSpec ¶
type AlertmanagerSpec struct { // Config contains the alertmanager configuration in YAML Config []uint8 `json:"config"` }
AlertmanagerSpec alertmanager spec
swagger:model AlertmanagerSpec
func (*AlertmanagerSpec) ContextValidate ¶
ContextValidate validates this alertmanager spec based on context it is used
func (*AlertmanagerSpec) MarshalBinary ¶
func (m *AlertmanagerSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlertmanagerSpec) UnmarshalBinary ¶
func (m *AlertmanagerSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
type AlibabaInstanceTypeList ¶
type AlibabaInstanceTypeList []*AlibabaInstanceType
AlibabaInstanceTypeList AlibabaInstanceTypeList represents an array of Alibaba instance types.
swagger:model AlibabaInstanceTypeList
func (AlibabaInstanceTypeList) ContextValidate ¶
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
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 ¶
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
type AlibabaVSwitch ¶
type AlibabaVSwitch struct { // ID ID string `json:"id,omitempty"` }
AlibabaVSwitch AlibabaVSwitch represents a object of Alibaba vSwitch.
swagger:model AlibabaVSwitch
func (*AlibabaVSwitch) ContextValidate ¶
ContextValidate validates this alibaba v switch based on context it is used
func (*AlibabaVSwitch) MarshalBinary ¶
func (m *AlibabaVSwitch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AlibabaVSwitch) UnmarshalBinary ¶
func (m *AlibabaVSwitch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AlibabaVSwitchList ¶
type AlibabaVSwitchList []*AlibabaVSwitch
AlibabaVSwitchList AlibabaVSwitchList represents an array of Alibaba vSwitches.
swagger:model AlibabaVSwitchList
func (AlibabaVSwitchList) ContextValidate ¶
ContextValidate validate this alibaba v switch list based on the context it is used
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 ¶
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
type AlibabaZoneList ¶
type AlibabaZoneList []*AlibabaZone
AlibabaZoneList AlibabaZoneList represents an array of Alibaba zones.
swagger:model AlibabaZoneList
func (AlibabaZoneList) ContextValidate ¶
ContextValidate validate this alibaba zone list based on the context it is used
type AllowedRegistry ¶
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 ¶
ContextValidate validate this allowed registry based on the context it is used
func (*AllowedRegistry) MarshalBinary ¶
func (m *AllowedRegistry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AllowedRegistry) UnmarshalBinary ¶
func (m *AllowedRegistry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AllowedRegistrySpec ¶
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 ¶
ContextValidate validates this allowed registry spec based on context it is used
func (*AllowedRegistrySpec) MarshalBinary ¶
func (m *AllowedRegistrySpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AllowedRegistrySpec) UnmarshalBinary ¶
func (m *AllowedRegistrySpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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. // Required: true DiskSize *int64 `json:"diskSize"` // 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 ¶
ContextValidate validates this anexia node spec based on 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
type AnexiaTemplate ¶
type AnexiaTemplate struct { // ID ID string `json:"id,omitempty"` }
AnexiaTemplate AnexiaTemplate represents a object of Anexia template.
swagger:model AnexiaTemplate
func (*AnexiaTemplate) ContextValidate ¶
ContextValidate validates this anexia template based on context it is used
func (*AnexiaTemplate) MarshalBinary ¶
func (m *AnexiaTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnexiaTemplate) UnmarshalBinary ¶
func (m *AnexiaTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnexiaTemplateList ¶
type AnexiaTemplateList []*AnexiaTemplate
AnexiaTemplateList AnexiaTemplateList represents an array of Anexia templates.
swagger:model AnexiaTemplateList
func (AnexiaTemplateList) ContextValidate ¶
ContextValidate validate this anexia template list based on the context it is used
type AnexiaVlan ¶
type AnexiaVlan struct { // ID ID string `json:"id,omitempty"` }
AnexiaVlan AnexiaVlan represents a object of Anexia Vlan.
swagger:model AnexiaVlan
func (*AnexiaVlan) ContextValidate ¶
ContextValidate validates this anexia vlan based on context it is used
func (*AnexiaVlan) MarshalBinary ¶
func (m *AnexiaVlan) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AnexiaVlan) UnmarshalBinary ¶
func (m *AnexiaVlan) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AnexiaVlanList ¶
type AnexiaVlanList []*AnexiaVlan
AnexiaVlanList AnexiaVlanList represents an array of Anexia Vlans.
swagger:model AnexiaVlanList
func (AnexiaVlanList) ContextValidate ¶
ContextValidate validate this anexia vlan list based on the context it is used
type AuditLoggingSettings ¶
type AuditLoggingSettings struct { // enabled Enabled bool `json:"enabled,omitempty"` }
AuditLoggingSettings audit logging settings
swagger:model AuditLoggingSettings
func (*AuditLoggingSettings) ContextValidate ¶
ContextValidate validates this audit logging settings based on 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
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 ¶
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
type AzureCloudSpec ¶
type AzureCloudSpec struct { // assign availability set AssignAvailabilitySet bool `json:"assignAvailabilitySet,omitempty"` // availability set AvailabilitySet string `json:"availabilitySet,omitempty"` // client ID ClientID string `json:"clientID,omitempty"` // client secret ClientSecret string `json:"clientSecret,omitempty"` // openstack billing tenant OpenstackBillingTenant string `json:"openstackBillingTenant,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"` // credentials reference CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"` // load balancer s k u LoadBalancerSKU LBSKU `json:"loadBalancerSKU,omitempty"` }
AzureCloudSpec AzureCloudSpec specifies access credentials to Azure cloud.
swagger:model AzureCloudSpec
func (*AzureCloudSpec) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this azure size based on context it is used
func (*AzureSize) MarshalBinary ¶
MarshalBinary interface implementation
func (*AzureSize) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AzureSizeList ¶
type AzureSizeList []*AzureSize
AzureSizeList AzureSizeList represents an array of Azure VM sizes.
swagger:model AzureSizeList
func (AzureSizeList) ContextValidate ¶
ContextValidate validate this azure size list based on the context it is used
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 ¶
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
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 ¶
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
type BackupCredentials ¶
type BackupCredentials struct { // s3 S3 *S3BackupCredentials `json:"s3,omitempty"` }
BackupCredentials BackupCredentials contains credentials for etcd backups
swagger:model BackupCredentials
func (*BackupCredentials) ContextValidate ¶
ContextValidate validate this backup credentials based on the context it is used
func (*BackupCredentials) MarshalBinary ¶
func (m *BackupCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupCredentials) UnmarshalBinary ¶
func (m *BackupCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupStatus ¶
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 ¶
ContextValidate validate this backup status based on the context it is used
func (*BackupStatus) MarshalBinary ¶
func (m *BackupStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BackupStatus) UnmarshalBinary ¶
func (m *BackupStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BackupStatusPhase ¶
type BackupStatusPhase string
BackupStatusPhase backup status phase
swagger:model BackupStatusPhase
func (BackupStatusPhase) ContextValidate ¶
ContextValidate validates this backup status phase based on context it is used
type BcBody ¶
type BcBody struct { // backup credentials BackupCredentials *BackupCredentials `json:"backup_credentials,omitempty"` }
BcBody bc body
swagger:model bcBody
func (*BcBody) ContextValidate ¶
ContextValidate validate this bc body based on the context it is used
func (*BcBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*BcBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` }
Body body
swagger:model body
func (*Body) ContextValidate ¶
ContextValidate validates this body based on context it is used
func (*Body) MarshalBinary ¶
MarshalBinary interface implementation
func (*Body) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BringYourOwnCloudSpec ¶
type BringYourOwnCloudSpec interface{}
BringYourOwnCloudSpec BringYourOwnCloudSpec specifies access data for a bring your own cluster.
swagger:model BringYourOwnCloudSpec
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 ¶
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
type CRD ¶
type CRD struct { // spec Spec *CRDSpec `json:"spec,omitempty"` }
CRD c r d
swagger:model CRD
func (*CRD) ContextValidate ¶
ContextValidate validate this c r d based on the context it is used
func (*CRD) MarshalBinary ¶
MarshalBinary interface implementation
func (*CRD) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this c r d spec based on the context it is used
func (*CRDSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*CRDSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type CleanupOptions ¶
type CleanupOptions struct { // enabled Enabled bool `json:"Enabled,omitempty"` // enforced Enforced bool `json:"Enforced,omitempty"` }
CleanupOptions cleanup options
swagger:model CleanupOptions
func (*CleanupOptions) ContextValidate ¶
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
type CloudSpec ¶
type CloudSpec struct { // DatacenterName where the users 'cloud' lives in. DatacenterName string `json:"dc,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"` // openstack Openstack *OpenstackCloudSpec `json:"openstack,omitempty"` // packet Packet *PacketCloudSpec `json:"packet,omitempty"` // vsphere Vsphere *VSphereCloudSpec `json:"vsphere,omitempty"` }
CloudSpec CloudSpec mutually stores access data to a cloud provider.
swagger:model CloudSpec
func (*CloudSpec) ContextValidate ¶
ContextValidate validate this cloud spec based on the context it is used
func (*CloudSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*CloudSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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"` // Name represents human readable name for the resource Name string `json:"name,omitempty"` // type Type string `json:"type,omitempty"` // spec Spec *ClusterSpec `json:"spec,omitempty"` // status Status *ClusterStatus `json:"status,omitempty"` }
Cluster Cluster defines the cluster resource
Note: Cluster has a custom MarshalJSON method defined and thus the output may vary
swagger:model Cluster
func (*Cluster) ContextValidate ¶
ContextValidate validate this cluster based on the context it is used
func (*Cluster) MarshalBinary ¶
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ClusterHealth ¶
type ClusterHealth struct { // apiserver Apiserver HealthStatus `json:"apiserver,omitempty"` // cloud provider infrastructure CloudProviderInfrastructure HealthStatus `json:"cloudProviderInfrastructure,omitempty"` // controller Controller HealthStatus `json:"controller,omitempty"` // etcd Etcd HealthStatus `json:"etcd,omitempty"` // gatekeeper audit GatekeeperAudit HealthStatus `json:"gatekeeperAudit,omitempty"` // gatekeeper controller GatekeeperController HealthStatus `json:"gatekeeperController,omitempty"` // machine controller MachineController HealthStatus `json:"machineController,omitempty"` // scheduler Scheduler HealthStatus `json:"scheduler,omitempty"` // user cluster controller manager UserClusterControllerManager HealthStatus `json:"userClusterControllerManager,omitempty"` }
ClusterHealth ClusterHealth stores health information about the cluster's components.
swagger:model ClusterHealth
func (*ClusterHealth) ContextValidate ¶
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
type ClusterList ¶
type ClusterList []*Cluster
ClusterList ClusterList represents a list of clusters
swagger:model ClusterList
func (ClusterList) ContextValidate ¶
ContextValidate validate this cluster list based on the context it is used
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 ¶
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
type ClusterNetworkingConfig ¶
type ClusterNetworkingConfig struct { // Domain name for services. DNSDomain string `json:"dnsDomain,omitempty"` // KonnectivityEnabled enables konnectivity for controlplane to node network communication. KonnectivityEnabled bool `json:"konnectivityEnabled,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). // Defaults to ipvs. ProxyMode string `json:"proxyMode,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 ¶
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 ¶
func (m *ClusterNetworkingConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterNetworkingConfig) UnmarshalBinary ¶
func (m *ClusterNetworkingConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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"` // 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 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"` // 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"` // sys11auth Sys11auth *Sys11AuthSettings `json:"sys11auth,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 ¶
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
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 ¶
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
type ClusterTemplate ¶
type ClusterTemplate struct { // ID ID string `json:"id,omitempty"` // name 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 *Cluster `json:"cluster,omitempty"` // node deployment NodeDeployment *NodeDeployment `json:"nodeDeployment,omitempty"` }
ClusterTemplate ClusterTemplate represents a ClusterTemplate object
swagger:model ClusterTemplate
func (*ClusterTemplate) ContextValidate ¶
ContextValidate validate this cluster template based on the context it is used
func (*ClusterTemplate) MarshalBinary ¶
func (m *ClusterTemplate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplate) UnmarshalBinary ¶
func (m *ClusterTemplate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTemplateInstance ¶
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 ¶
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 ¶
func (m *ClusterTemplateInstance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplateInstance) UnmarshalBinary ¶
func (m *ClusterTemplateInstance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTemplateInstanceSpec ¶
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 ¶
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 ¶
func (m *ClusterTemplateInstanceSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplateInstanceSpec) UnmarshalBinary ¶
func (m *ClusterTemplateInstanceSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTemplateList ¶
type ClusterTemplateList []*ClusterTemplate
ClusterTemplateList ClusterTemplateList represents a ClusterTemplate list
swagger:model ClusterTemplateList
func (ClusterTemplateList) ContextValidate ¶
ContextValidate validate this cluster template list based on the context it is used
type ClusterTemplateSSHKey ¶
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 ¶
ContextValidate validates this cluster template SSH key based on context it is used
func (*ClusterTemplateSSHKey) MarshalBinary ¶
func (m *ClusterTemplateSSHKey) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTemplateSSHKey) UnmarshalBinary ¶
func (m *ClusterTemplateSSHKey) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterType ¶
type ClusterType int8
ClusterType cluster type
swagger:model ClusterType
func (ClusterType) ContextValidate ¶
ContextValidate validates this cluster type based on context it is used
type ConditionStatus ¶
type ConditionStatus string
ConditionStatus condition status
swagger:model ConditionStatus
func (ConditionStatus) ContextValidate ¶
ContextValidate validates this condition status based on context it is used
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 ¶
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
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 ¶
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
type ConstraintSelector ¶
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 ¶
ContextValidate validate this constraint selector based on the context it is used
func (*ConstraintSelector) MarshalBinary ¶
func (m *ConstraintSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConstraintSelector) UnmarshalBinary ¶
func (m *ConstraintSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
type ConstraintTemplateSelector ¶
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 ¶
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 ¶
func (m *ConstraintTemplateSelector) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConstraintTemplateSelector) UnmarshalBinary ¶
func (m *ConstraintTemplateSelector) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type CreateClusterSpec ¶
type CreateClusterSpec struct { // DNS domain DNSDomain string `json:"dnsDomain,omitempty"` // pods c ID r PodsCIDR string `json:"podsCIDR,omitempty"` // services c ID r ServicesCIDR string `json:"servicesCIDR,omitempty"` // 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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this ct body based on the context it is used
func (*CtBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*CtBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type CustomLink ¶
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 ¶
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
type CustomLinks ¶
type CustomLinks []*CustomLink
CustomLinks custom links
swagger:model CustomLinks
func (CustomLinks) ContextValidate ¶
ContextValidate validate this custom links based on the context it is used
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 ¶
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
type DatacenterList ¶
type DatacenterList []*Datacenter
DatacenterList DatacenterList represents a list of datacenters
swagger:model DatacenterList
func (DatacenterList) ContextValidate ¶
ContextValidate validate this datacenter list based on the context it is used
type DatacenterMeta ¶
type DatacenterMeta struct { // name Name string `json:"name,omitempty"` }
DatacenterMeta DatacenterMeta holds datacenter metadata information.
swagger:model DatacenterMeta
func (*DatacenterMeta) ContextValidate ¶
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
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"` // 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"` // Deprecated. Automatically migrated to the RequiredEmailDomains field. RequiredEmailDomain string `json:"requiredEmailDomain,omitempty"` // required email domains RequiredEmailDomains []string `json:"requiredEmailDomains"` // 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"` // openstack Openstack *DatacenterSpecOpenstack `json:"openstack,omitempty"` // packet Packet *DatacenterSpecPacket `json:"packet,omitempty"` // vsphere Vsphere *DatacenterSpecVSphere `json:"vsphere,omitempty"` }
DatacenterSpec DatacenterSpec specifies the data for a datacenter.
swagger:model DatacenterSpec
func (*DatacenterSpec) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type DatacenterSpecAnexia ¶
type DatacenterSpecAnexia struct { // LocationID the location of the region LocationID string `json:"location_id,omitempty"` }
DatacenterSpecAnexia DatacenterSpecAnexia describes a anexia datacenter.
swagger:model DatacenterSpecAnexia
func (*DatacenterSpecAnexia) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type DatacenterSpecFake ¶
type DatacenterSpecFake struct { // fake property FakeProperty string `json:"fake_property,omitempty"` }
DatacenterSpecFake DatacenterSpecFake describes a fake datacenter
swagger:model DatacenterSpecFake
func (*DatacenterSpecFake) ContextValidate ¶
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
type DatacenterSpecGCP ¶
type DatacenterSpecGCP struct { // Region to use, for example "europe-west3", for a full list of regions see // https://cloud.google.com/compute/docs/regions-zones/ Region string `json:"region,omitempty"` // Optional: Regional clusters spread their resources across multiple availability zones. // Refer to the official documentation for more details on this: // https://cloud.google.com/kubernetes-engine/docs/concepts/regional-clusters Regional bool `json:"regional,omitempty"` // List of enabled zones, for example [a, c]. See the link above for the available // zones in your chosen region. ZoneSuffixes []string `json:"zone_suffixes"` }
DatacenterSpecGCP DatacenterSpecGCP describes a GCP datacenter
swagger:model DatacenterSpecGCP
func (*DatacenterSpecGCP) ContextValidate ¶
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
type DatacenterSpecHetzner ¶
type DatacenterSpecHetzner struct { // Datacenter location, e.g. "nbg1-dc3". A list of existing datacenters can be found // at https://wiki.hetzner.de/index.php/Rechenzentren_und_Anbindung/en Datacenter string `json:"datacenter,omitempty"` // Optional: Detailed location of the datacenter, like "Hamburg" or "Datacenter 7". // For informational purposes only. Location string `json:"location,omitempty"` // 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 ¶
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
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:"dns_policy,omitempty"` // dns config DNSConfig *PodDNSConfig `json:"dns_config,omitempty"` }
DatacenterSpecKubevirt DatacenterSpecKubevirt describes a kubevirt datacenter.
swagger:model DatacenterSpecKubevirt
func (*DatacenterSpecKubevirt) ContextValidate ¶
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
type DatacenterSpecOpenstack ¶
type DatacenterSpecOpenstack struct { // auth URL AuthURL string `json:"auth_url,omitempty"` // availability zone AvailabilityZone string `json:"availability_zone,omitempty"` // Used for automatic network creation DNSServers []string `json:"dns_servers"` // Optional: List of enabled flavors for the given datacenter EnabledFlavors []string `json:"enabled_flavors"` // Optional EnforceFloatingIP bool `json:"enforce_floating_ip,omitempty"` // Optional IgnoreVolumeAZ bool `json:"ignore_volume_az,omitempty"` // Optional: Gets mapped to the "manage-security-groups" setting in the cloud config. // See https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#load-balancer // This setting defaults to true. ManageSecurityGroups bool `json:"manage_security_groups,omitempty"` // node volume attach limit NodeVolumeAttachLimit uint64 `json:"node_volume_attach_limit,omitempty"` // region Region string `json:"region,omitempty"` // Optional: Gets mapped to the "trust-device-path" setting in the cloud config. // See https://kubernetes.io/docs/concepts/cluster-administration/cloud-providers/#block-storage // This setting defaults to false. TrustDevicePath bool `json:"trust_device_path,omitempty"` // 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:"use_octavia,omitempty"` // images Images ImageList `json:"images,omitempty"` // node size requirements NodeSizeRequirements *OpenstackNodeSizeRequirements `json:"node_size_requirements,omitempty"` }
DatacenterSpecOpenstack DatacenterSpecOpenstack describes an OpenStack datacenter
swagger:model DatacenterSpecOpenstack
func (*DatacenterSpecOpenstack) ContextValidate ¶
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
type DatacenterSpecPacket ¶
type DatacenterSpecPacket struct { // The list of enabled facilities, for example "ams1", for a full list of available // facilities see https://support.packet.com/kb/articles/data-centers Facilities []string `json:"facilities"` }
DatacenterSpecPacket DatacenterSpecPacket describes a Packet datacenter
swagger:model DatacenterSpecPacket
func (*DatacenterSpecPacket) ContextValidate ¶
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
type DatacenterSpecVSphere ¶
type DatacenterSpecVSphere struct { // If set to true, disables the TLS certificate check against the endpoint. AllowInsecure bool `json:"allow_insecure,omitempty"` // Optional: The name of the vSphere cluster to use. // Cluster is deprecated and may be removed in future releases as it is // currently ignored. // The cluster hosting the VMs will be the same VM used as a template is // located. 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:"storage_policy,omitempty"` // Endpoint URL to use, including protocol, for example "https://vcenter.example.com". Endpoint string `json:"endpoint,omitempty"` // Optional: The root path for cluster specific VM folders. Each cluster gets its own // folder below the root folder. Must be the FQDN (for example // "/datacenter-1/vm/all-kubermatic-vms-in-here") and defaults to the root VM // folder: "/datacenter-1/vm" RootPath string `json:"root_path,omitempty"` // infra management user InfraManagementUser *VSphereCredentials `json:"infra_management_user,omitempty"` // templates Templates ImageList `json:"templates,omitempty"` }
DatacenterSpecVSphere DatacenterSpecVSphere describes a vSphere datacenter
swagger:model DatacenterSpecVSphere
func (*DatacenterSpecVSphere) ContextValidate ¶
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
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 ¶
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
type DigitaloceanNodeSpec ¶
type DigitaloceanNodeSpec struct { // enable backups for the droplet Backups bool `json:"backups,omitempty"` // enable ipv6 for the droplet IPV6 bool `json:"ipv6,omitempty"` // enable monitoring for the droplet Monitoring bool `json:"monitoring,omitempty"` // droplet size slug // Required: true Size *string `json:"size"` // additional droplet tags Tags []string `json:"tags"` }
DigitaloceanNodeSpec DigitaloceanNodeSpec digitalocean node settings
swagger:model DigitaloceanNodeSpec
func (*DigitaloceanNodeSpec) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type EbcBody ¶
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 ¶
ContextValidate validate this ebc body based on the context it is used
func (*EbcBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*EbcBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErBody ¶
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 ¶
ContextValidate validate this er body based on the context it is used
func (*ErBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*ErBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
type EtcdBackupConfig ¶
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 ¶
ContextValidate validate this etcd backup config based on the context it is used
func (*EtcdBackupConfig) MarshalBinary ¶
func (m *EtcdBackupConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdBackupConfig) UnmarshalBinary ¶
func (m *EtcdBackupConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdBackupConfigCondition ¶
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 ¶
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 ¶
func (m *EtcdBackupConfigCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdBackupConfigCondition) UnmarshalBinary ¶
func (m *EtcdBackupConfigCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdBackupConfigConditionType ¶
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 ¶
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
type EtcdBackupConfigSpec ¶
type EtcdBackupConfigSpec struct { // ClusterID is the id of the cluster which will be backed up ClusterID string `json:"clusterId,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 ¶
ContextValidate validates this etcd backup config spec based on context it is used
func (*EtcdBackupConfigSpec) MarshalBinary ¶
func (m *EtcdBackupConfigSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdBackupConfigSpec) UnmarshalBinary ¶
func (m *EtcdBackupConfigSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdBackupConfigStatus ¶
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 ¶
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 ¶
func (m *EtcdBackupConfigStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdBackupConfigStatus) UnmarshalBinary ¶
func (m *EtcdBackupConfigStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdRestore ¶
type EtcdRestore struct { // name 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 ¶
ContextValidate validate this etcd restore based on the context it is used
func (*EtcdRestore) MarshalBinary ¶
func (m *EtcdRestore) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdRestore) UnmarshalBinary ¶
func (m *EtcdRestore) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdRestorePhase ¶
type EtcdRestorePhase string
EtcdRestorePhase EtcdRestorePhase represents the lifecycle phase of an EtcdRestore.
swagger:model EtcdRestorePhase
func (EtcdRestorePhase) ContextValidate ¶
ContextValidate validates this etcd restore phase based on context it is used
type EtcdRestoreSpec ¶
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"` }
EtcdRestoreSpec EtcdRestoreSpec represents an object holding the etcd backup restore configuration specification
swagger:model EtcdRestoreSpec
func (*EtcdRestoreSpec) ContextValidate ¶
ContextValidate validates this etcd restore spec based on context it is used
func (*EtcdRestoreSpec) MarshalBinary ¶
func (m *EtcdRestoreSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdRestoreSpec) UnmarshalBinary ¶
func (m *EtcdRestoreSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EtcdRestoreStatus ¶
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 ¶
ContextValidate validate this etcd restore status based on the context it is used
func (*EtcdRestoreStatus) MarshalBinary ¶
func (m *EtcdRestoreStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EtcdRestoreStatus) UnmarshalBinary ¶
func (m *EtcdRestoreStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this event based on the context it is used
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ExposeStrategy ¶
type ExposeStrategy string
ExposeStrategy ExposeStrategy is the strategy to expose the cluster with.
swagger:model ExposeStrategy
func (ExposeStrategy) ContextValidate ¶
ContextValidate validates this expose strategy based on context it is used
type ExternalCCMMigrationStatus ¶
type ExternalCCMMigrationStatus string
ExternalCCMMigrationStatus external c c m migration status
swagger:model ExternalCCMMigrationStatus
func (ExternalCCMMigrationStatus) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type GCPCloudSpec ¶
type GCPCloudSpec struct { // network Network string `json:"network,omitempty"` // service account ServiceAccount string `json:"serviceAccount,omitempty"` // subnetwork Subnetwork string `json:"subnetwork,omitempty"` // credentials reference CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"` }
GCPCloudSpec GCPCloudSpec specifies access data to GCP.
swagger:model GCPCloudSpec
func (*GCPCloudSpec) ContextValidate ¶
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
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 ¶
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
type GCPDiskTypeList ¶
type GCPDiskTypeList []*GCPDiskType
GCPDiskTypeList GCPDiskTypeList represents an array of GCP disk types.
swagger:model GCPDiskTypeList
func (GCPDiskTypeList) ContextValidate ¶
ContextValidate validate this g c p disk type list based on the context it is used
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 ¶
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
type GCPMachineSizeList ¶
type GCPMachineSizeList []*GCPMachineSize
GCPMachineSizeList GCPMachineSizeList represents an array of GCP machine sizes.
swagger:model GCPMachineSizeList
func (GCPMachineSizeList) ContextValidate ¶
ContextValidate validate this g c p machine size list based on the context it is used
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 ¶
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
type GCPNetworkList ¶
type GCPNetworkList []*GCPNetwork
GCPNetworkList GCPNetworkList represents an array of GCP networks.
swagger:model GCPNetworkList
func (GCPNetworkList) ContextValidate ¶
ContextValidate validate this g c p network list based on the context it is used
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 ¶
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
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"` }
GCPSubnetwork GCPSubnetwork represents a object of GCP subnetworks.
swagger:model GCPSubnetwork
func (*GCPSubnetwork) ContextValidate ¶
ContextValidate validates this g c p subnetwork based on 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
type GCPSubnetworkList ¶
type GCPSubnetworkList []*GCPSubnetwork
GCPSubnetworkList GCPSubnetworkList represents an array of GCP subnetworks.
swagger:model GCPSubnetworkList
func (GCPSubnetworkList) ContextValidate ¶
ContextValidate validate this g c p subnetwork list based on the context it is used
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 ¶
ContextValidate validates this g c p zone based on context it is used
func (*GCPZone) MarshalBinary ¶
MarshalBinary interface implementation
func (*GCPZone) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GCPZoneList ¶
type GCPZoneList []*GCPZone
GCPZoneList GCPZoneList represents an array of GCP zones.
swagger:model GCPZoneList
func (GCPZoneList) ContextValidate ¶
ContextValidate validate this g c p zone list based on the context it is used
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 ¶
ContextValidate validates this g v k based on context it is used
func (*GVK) MarshalBinary ¶
MarshalBinary interface implementation
func (*GVK) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GatekeeperConfig ¶
type GatekeeperConfig struct { // spec Spec *GatekeeperConfigSpec `json:"spec,omitempty"` }
GatekeeperConfig GatekeeperConfig represents a gatekeeper config
swagger:model GatekeeperConfig
func (*GatekeeperConfig) ContextValidate ¶
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
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 ¶
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
type GlobalCustomLinks ¶
type GlobalCustomLinks []*CustomLink
GlobalCustomLinks GlobalCustomLinks defines custom links for global settings
swagger:model GlobalCustomLinks
func (GlobalCustomLinks) ContextValidate ¶
ContextValidate validate this global custom links based on the context it is used
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 ¶
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
type GlobalSecretKeySelector ¶
type GlobalSecretKeySelector struct {
GlobalObjectKeySelector
}
GlobalSecretKeySelector global secret key selector
swagger:model GlobalSecretKeySelector
func (*GlobalSecretKeySelector) ContextValidate ¶
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
type GlobalSettings ¶
type GlobalSettings struct {
SettingSpec
}
GlobalSettings GlobalSettings defines global settings
swagger:model GlobalSettings
func (*GlobalSettings) ContextValidate ¶
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
type HealthStatus ¶
type HealthStatus int64
HealthStatus health status
swagger:model HealthStatus
func (HealthStatus) ContextValidate ¶
ContextValidate validates this health status based on context it is used
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type IPVSConfiguration ¶
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 ¶
ContextValidate validates this IP v s configuration based on context it is used
func (*IPVSConfiguration) MarshalBinary ¶
func (m *IPVSConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IPVSConfiguration) UnmarshalBinary ¶
func (m *IPVSConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Image ¶
type Image struct { // Created is the date when the image was created. Created string `json:"Created,omitempty"` // ID is the unique ID of an image. ID string `json:"ID,omitempty"` // Metadata provides free-form key/value pairs that further describe the // image. Metadata map[string]interface{} `json:"Metadata,omitempty"` // MinDisk is the minimum amount of disk a flavor must have to be able // to create a server based on the image, measured in GB. MinDisk int64 `json:"MinDisk,omitempty"` // MinRAM is the minimum amount of RAM a flavor must have to be able // to create a server based on the image, measured in MB. MinRAM int64 `json:"MinRAM,omitempty"` // Name provides a human-readable moniker for the OS image. Name string `json:"Name,omitempty"` // The Progress and Status fields indicate image-creation status. Progress int64 `json:"Progress,omitempty"` // Status is the current status of the image. Status string `json:"Status,omitempty"` // Update is the date when the image was updated. Updated string `json:"Updated,omitempty"` }
Image Image represents an Image returned by the Compute API.
swagger:model Image
func (*Image) ContextValidate ¶
ContextValidate validates this image based on context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ImageList ¶
ImageList ImageList defines a map of operating system and the image to use
swagger:model ImageList
func (ImageList) ContextValidate ¶
ContextValidate validates this image list based on context it is used
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 ¶
ContextValidate validates this JSON based on context it is used
func (*JSON) MarshalBinary ¶
MarshalBinary interface implementation
func (*JSON) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type JSONSchemaDefinitions ¶
type JSONSchemaDefinitions map[string]JSONSchemaProps
JSONSchemaDefinitions JSONSchemaDefinitions contains the models explicitly defined in this spec.
swagger:model JSONSchemaDefinitions
func (JSONSchemaDefinitions) ContextValidate ¶
ContextValidate validate this JSON schema definitions based on the context it is used
type JSONSchemaDependencies ¶
type JSONSchemaDependencies map[string]JSONSchemaPropsOrStringArray
JSONSchemaDependencies JSONSchemaDependencies represent a dependencies property.
swagger:model JSONSchemaDependencies
func (JSONSchemaDependencies) ContextValidate ¶
ContextValidate validate this JSON schema dependencies based on the context it is used
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"` }
JSONSchemaProps JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).
swagger:model JSONSchemaProps
func (*JSONSchemaProps) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type JSONSchemaURL ¶
type JSONSchemaURL string
JSONSchemaURL JSONSchemaURL represents a schema url.
swagger:model JSONSchemaURL
func (JSONSchemaURL) ContextValidate ¶
ContextValidate validates this JSON schema URL based on context it is used
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 ¶
ContextValidate validates this kind based on context it is used
func (*Kind) MarshalBinary ¶
MarshalBinary interface implementation
func (*Kind) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type KubermaticVersions ¶
type KubermaticVersions struct { // Version of the Kubermatic API server. API string `json:"api,omitempty"` }
KubermaticVersions MetaKubeVersions describes the versions of running MetaKube components.
swagger:model KubermaticVersions
func (*KubermaticVersions) ContextValidate ¶
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
type KubevirtCloudSpec ¶
type KubevirtCloudSpec struct { // kubeconfig Kubeconfig string `json:"kubeconfig,omitempty"` // credentials reference CredentialsReference *GlobalSecretKeySelector `json:"credentialsReference,omitempty"` }
KubevirtCloudSpec KubevirtCloudSpec specifies the access data to Kubevirt.
swagger:model KubevirtCloudSpec
func (*KubevirtCloudSpec) ContextValidate ¶
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
type KubevirtNodeSpec ¶
type KubevirtNodeSpec struct { // CPUs states how many cpus the kubevirt node will have. // Required: true CPUs *string `json:"cpus"` // Memory states the memory that kubevirt node will have. // Required: true Memory *string `json:"memory"` // Namespace states in which namespace kubevirt node will be provisioned. // Required: true Namespace *string `json:"namespace"` // PVCSize states the size of the provisioned pvc per node. // Required: true PVCSize *string `json:"pvcSize"` // SourceURL states the url from which the imported image will be downloaded. // Required: true SourceURL *string `json:"sourceURL"` // StorageClassName states the storage class name for the provisioned PVCs. // Required: true StorageClassName *string `json:"storageClassName"` }
KubevirtNodeSpec KubevirtNodeSpec kubevirt specific node settings
swagger:model KubevirtNodeSpec
func (*KubevirtNodeSpec) ContextValidate ¶
ContextValidate validates this kubevirt node spec based on 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
type LBSKU ¶
type LBSKU string
LBSKU l b s k u
swagger:model LBSKU
func (LBSKU) ContextValidate ¶
ContextValidate validates this l b s k u based on context it is used
type LabelKeyList ¶
type LabelKeyList []string
LabelKeyList label key list
swagger:model LabelKeyList
func (LabelKeyList) ContextValidate ¶
ContextValidate validates this label key list based on context it is used
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 ¶
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
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 ¶
ContextValidate validates this label selector operator based on context it is used
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 ¶
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
type Limits ¶
type Limits struct { // absolute Absolute *Absolute `json:"absolute,omitempty"` }
Limits Limits is a struct that contains the response of a limit query.
swagger:model Limits
func (*Limits) ContextValidate ¶
ContextValidate validate this limits based on the context it is used
func (*Limits) MarshalBinary ¶
MarshalBinary interface implementation
func (*Limits) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type LoggingRateLimitSettings ¶
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 ¶
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 ¶
func (m *LoggingRateLimitSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*LoggingRateLimitSettings) UnmarshalBinary ¶
func (m *LoggingRateLimitSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MLA ¶
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 ¶
ContextValidate validates this m l a based on context it is used
func (*MLA) MarshalBinary ¶
MarshalBinary interface implementation
func (*MLA) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MLAAdminSetting ¶
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 ¶
ContextValidate validate this m l a admin setting based on the context it is used
func (*MLAAdminSetting) MarshalBinary ¶
func (m *MLAAdminSetting) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MLAAdminSetting) UnmarshalBinary ¶
func (m *MLAAdminSetting) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MLASettings ¶
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"` // 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 ¶
ContextValidate validate this m l a settings based on the context it is used
func (*MLASettings) MarshalBinary ¶
func (m *MLASettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MLASettings) UnmarshalBinary ¶
func (m *MLASettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // 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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validate this match based on the context it is used
func (*Match) MarshalBinary ¶
MarshalBinary interface implementation
func (*Match) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type MeteringConfigurations ¶
type MeteringConfigurations struct { // enabled Enabled bool `json:"enabled,omitempty"` // StorageClassName is the name of the storage class that the metering tool uses to save processed files before // exporting it to s3 bucket. Default value is kubermatic-fast. StorageClassName string `json:"storageClassName,omitempty"` // StorageSize is the size of the storage class. Default value is 100Gi. StorageSize string `json:"storageSize,omitempty"` }
MeteringConfigurations MeteringConfigurations contains all the configurations for the metering tool.
swagger:model MeteringConfigurations
func (*MeteringConfigurations) ContextValidate ¶
func (m *MeteringConfigurations) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this metering configurations based on context it is used
func (*MeteringConfigurations) MarshalBinary ¶
func (m *MeteringConfigurations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeteringConfigurations) UnmarshalBinary ¶
func (m *MeteringConfigurations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MeteringReport ¶
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 ¶
ContextValidate validates this metering report based on context it is used
func (*MeteringReport) MarshalBinary ¶
func (m *MeteringReport) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MeteringReport) UnmarshalBinary ¶
func (m *MeteringReport) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MlaOptions ¶
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 ¶
ContextValidate validates this mla options based on context it is used
func (*MlaOptions) MarshalBinary ¶
func (m *MlaOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MlaOptions) UnmarshalBinary ¶
func (m *MlaOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MonitoringRateLimitSettings ¶
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 ¶
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 ¶
func (m *MonitoringRateLimitSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MonitoringRateLimitSettings) UnmarshalBinary ¶
func (m *MonitoringRateLimitSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this names based on context it is used
func (*Names) MarshalBinary ¶
MarshalBinary interface implementation
func (*Names) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Namespace ¶
type Namespace struct { // name Name string `json:"name,omitempty"` }
Namespace Namespace defines namespace
swagger:model Namespace
func (*Namespace) ContextValidate ¶
ContextValidate validates this namespace based on context it is used
func (*Namespace) MarshalBinary ¶
MarshalBinary interface implementation
func (*Namespace) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NetworkRanges ¶
type NetworkRanges struct { // c ID r blocks CIDRBlocks []string `json:"cidrBlocks"` }
NetworkRanges NetworkRanges represents ranges of network addresses.
swagger:model NetworkRanges
func (*NetworkRanges) ContextValidate ¶
ContextValidate validates this network ranges based on context it is used
func (*NetworkRanges) MarshalBinary ¶
func (m *NetworkRanges) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NetworkRanges) UnmarshalBinary ¶
func (m *NetworkRanges) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this node based on the context it is used
func (*Node) MarshalBinary ¶
MarshalBinary interface implementation
func (*Node) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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"` // openstack Openstack *OpenstackNodeSpec `json:"openstack,omitempty"` // packet Packet *PacketNodeSpec `json:"packet,omitempty"` // vsphere Vsphere *VSphereNodeSpec `json:"vsphere,omitempty"` }
NodeCloudSpec NodeCloudSpec represents the collection of cloud provider specific settings. Only one must be set at a time.
swagger:model NodeCloudSpec
func (*NodeCloudSpec) ContextValidate ¶
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
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 ¶
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
type NodeDeploymentRequest ¶
type NodeDeploymentRequest 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 *NodeDeploymentRequestSpec `json:"spec,omitempty"` }
NodeDeploymentRequest NodeDeploymentRequest represents an asynchronous request to create a NodeDeployment in a user cluster
swagger:model NodeDeploymentRequest
func (*NodeDeploymentRequest) ContextValidate ¶
ContextValidate validate this node deployment request based on the context it is used
func (*NodeDeploymentRequest) MarshalBinary ¶
func (m *NodeDeploymentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeDeploymentRequest) UnmarshalBinary ¶
func (m *NodeDeploymentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeDeploymentRequestSpec ¶
type NodeDeploymentRequestSpec struct { // nd Nd *NodeDeployment `json:"nd,omitempty"` }
NodeDeploymentRequestSpec NodeDeploymentRequestSpec node deployment request specification
swagger:model NodeDeploymentRequestSpec
func (*NodeDeploymentRequestSpec) ContextValidate ¶
func (m *NodeDeploymentRequestSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this node deployment request spec based on the context it is used
func (*NodeDeploymentRequestSpec) MarshalBinary ¶
func (m *NodeDeploymentRequestSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NodeDeploymentRequestSpec) UnmarshalBinary ¶
func (m *NodeDeploymentRequestSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NodeDeploymentSpec ¶
type NodeDeploymentSpec struct { // dynamic config DynamicConfig bool `json:"dynamicConfig,omitempty"` // max replicas MaxReplicas int32 `json:"maxReplicas,omitempty"` // min replicas MinReplicas int32 `json:"minReplicas,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 ¶
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
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 ¶
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
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 ¶
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
type NodeSettings ¶
type NodeSettings struct { // Optional: The hyperkube image to use. Currently only Flatcar // makes use of this option. HyperkubeImage string `json:"hyperkube_image,omitempty"` // Optional: These image registries will be configured as insecure // on the container runtime. InsecureRegistries []string `json:"insecure_registries"` // Optional: Translates to --pod-infra-container-image on the kubelet. // If not set, the kubelet will default it. PauseImage string `json:"pause_image,omitempty"` // Optional: These image registries will be configured as registry mirrors // on the container runtime. RegistryMirrors []string `json:"registry_mirrors"` // http proxy HTTPProxy ProxyValue `json:"http_proxy,omitempty"` // no proxy NoProxy ProxyValue `json:"no_proxy,omitempty"` }
NodeSettings NodeSettings are node specific flags which can be configured on datacenter level
swagger:model NodeSettings
func (*NodeSettings) ContextValidate ¶
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
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 ¶
ContextValidate validate this node spec based on the context it is used
func (*NodeSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*NodeSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
type NodeVersionInfo ¶
type NodeVersionInfo struct { // kubelet Kubelet string `json:"kubelet,omitempty"` }
NodeVersionInfo NodeVersionInfo node version information
swagger:model NodeVersionInfo
func (*NodeVersionInfo) ContextValidate ¶
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
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 ¶
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
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 ¶
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
type OIDCSpec ¶
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 ¶
ContextValidate validates this o ID c spec based on context it is used
func (*OIDCSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*OIDCSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OPAIntegrationSettings ¶
type OPAIntegrationSettings struct { // Enabled is the flag for enabling OPA integration Enabled bool `json:"enabled,omitempty"` // Enable mutation ExperimentalEnableMutation bool `json:"experimentalEnableMutation,omitempty"` // WebhookTimeout is the timeout that is set for the gatekeeper validating webhook admission review calls. // By default 10 seconds. WebhookTimeoutSeconds int32 `json:"webhookTimeoutSeconds,omitempty"` }
OPAIntegrationSettings o p a integration settings
swagger:model OPAIntegrationSettings
func (*OPAIntegrationSettings) ContextValidate ¶
func (m *OPAIntegrationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this o p a integration settings based on 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
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 ¶
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
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 ¶
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
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 ¶
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
type OpaOptions ¶
type OpaOptions struct { // enabled Enabled bool `json:"enabled,omitempty"` // enforced Enforced bool `json:"enforced,omitempty"` }
OpaOptions opa options
swagger:model OpaOptions
func (*OpaOptions) ContextValidate ¶
ContextValidate validates this opa options based on context it is used
func (*OpaOptions) MarshalBinary ¶
func (m *OpaOptions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OpaOptions) UnmarshalBinary ¶
func (m *OpaOptions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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"` // FloatingIPPool holds the name of the public network // The public network is reachable from the outside world // and should provide the pool of IP addresses to choose from. // // When specified, all worker nodes will receive a public ip from this floating ip pool // // Note that the network is external if the "External" field is set to true FloatingIPPool string `json:"floatingIpPool,omitempty"` // Network holds the name of the internal network // When specified, all worker nodes will be attached to this network. If not specified, a network, subnet & router will be created // // Note that the network is internal if the "External" field is set to false Network string `json:"network,omitempty"` // password Password string `json:"password,omitempty"` // router ID RouterID string `json:"routerID,omitempty"` // security groups SecurityGroups string `json:"securityGroups,omitempty"` // ServerGroupID used as schedule hint shared between all machines in the cluster, // When not specified, soft-anti-affinity server group will be automatically created ServerGroupID string `json:"serverGroupID,omitempty"` // subnet c ID r SubnetCIDR string `json:"subnetCIDR,omitempty"` // subnet ID SubnetID string `json:"subnetID,omitempty"` // tenant Tenant string `json:"tenant,omitempty"` // tenant ID TenantID string `json:"tenantID,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"` }
OpenstackCloudSpec OpenstackCloudSpec specifies access data to an OpenStack cloud.
swagger:model OpenstackCloudSpec
func (*OpenstackCloudSpec) ContextValidate ¶
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
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 ¶
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
type OpenstackNodeSizeRequirements ¶
type OpenstackNodeSizeRequirements struct { // MinimumMemory is the minimum required amount of memory, measured in MB MinimumMemory int64 `json:"minimum_memory,omitempty"` // VCPUs is the minimum required amount of (virtual) CPUs MinimumVCPUs int64 `json:"minimum_vcpus,omitempty"` }
OpenstackNodeSizeRequirements openstack node size requirements
swagger:model OpenstackNodeSizeRequirements
func (*OpenstackNodeSizeRequirements) ContextValidate ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type OpenstackSubnet ¶
type OpenstackSubnet struct { // Id uniquely identifies the subnet ID string `json:"id,omitempty"` // Name is human-readable name for the subnet Name string `json:"name,omitempty"` }
OpenstackSubnet OpenstackSubnet is the object representing a openstack subnet.
swagger:model OpenstackSubnet
func (*OpenstackSubnet) ContextValidate ¶
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
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 ¶
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
type OperatingSystemSpec ¶
type OperatingSystemSpec struct { // centos Centos *CentOSSpec `json:"centos,omitempty"` // flatcar Flatcar *FlatcarSpec `json:"flatcar,omitempty"` // rhel Rhel *RHELSpec `json:"rhel,omitempty"` // sles Sles *SLESSpec `json:"sles,omitempty"` // ubuntu Ubuntu *UbuntuSpec `json:"ubuntu,omitempty"` }
OperatingSystemSpec OperatingSystemSpec represents the collection of os specific settings. Only one must be set at a time.
swagger:model OperatingSystemSpec
func (*OperatingSystemSpec) ContextValidate ¶
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
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 ¶
ContextValidate validates this packet CPU based on context it is used
func (*PacketCPU) MarshalBinary ¶
MarshalBinary interface implementation
func (*PacketCPU) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
type PacketSizeList ¶
type PacketSizeList []*PacketSize
PacketSizeList PacketSizeList represents an array of Packet VM sizes.
swagger:model PacketSizeList
func (PacketSizeList) ContextValidate ¶
ContextValidate validate this packet size list based on the context it is used
type Parameters ¶
type Parameters map[string]interface{}
Parameters parameters
swagger:model Parameters
func (Parameters) ContextValidate ¶
ContextValidate validates this parameters based on context it is used
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 ¶
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
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 ¶
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
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 and AttributeRestrictions 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 ¶
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
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 ¶
ContextValidate validate this preset based on the context it is used
func (*Preset) MarshalBinary ¶
MarshalBinary interface implementation
func (*Preset) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PresetList ¶
type PresetList struct { // items Items []*Preset `json:"items"` }
PresetList PresetList represents a list of presets
swagger:model PresetList
func (*PresetList) ContextValidate ¶
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
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 ¶
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
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 ¶
ContextValidate validate this project based on the context it is used
func (*Project) MarshalBinary ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
type ProviderType ¶
type ProviderType string
ProviderType provider type
swagger:model ProviderType
func (ProviderType) ContextValidate ¶
ContextValidate validates this provider type based on context it is used
type ProxySettings ¶
type ProxySettings struct { // http proxy HTTPProxy ProxyValue `json:"http_proxy,omitempty"` // no proxy NoProxy ProxyValue `json:"no_proxy,omitempty"` }
ProxySettings ProxySettings allow configuring a HTTP proxy for the controlplanes and nodes
swagger:model ProxySettings
func (*ProxySettings) ContextValidate ¶
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
type ProxyValue ¶
type ProxyValue string
ProxyValue proxy value
swagger:model ProxyValue
func (ProxyValue) ContextValidate ¶
ContextValidate validates this proxy value based on context it is used
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 ¶
ContextValidate validates this public azure cloud spec based on context it is used
func (*PublicAzureCloudSpec) MarshalBinary ¶
func (m *PublicAzureCloudSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PublicAzureCloudSpec) UnmarshalBinary ¶
func (m *PublicAzureCloudSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // openstack Openstack *PublicOpenstackCloudSpec `json:"openstack,omitempty"` // packet Packet PublicPacketCloudSpec `json:"packet,omitempty"` // vsphere Vsphere PublicVSphereCloudSpec `json:"vsphere,omitempty"` }
PublicCloudSpec PublicCloudSpec is a public counterpart of apiv1.CloudSpec.
swagger:model PublicCloudSpec
func (*PublicCloudSpec) ContextValidate ¶
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
type PublicDigitaloceanCloudSpec ¶
type PublicDigitaloceanCloudSpec interface{}
PublicDigitaloceanCloudSpec PublicDigitaloceanCloudSpec is a public counterpart of apiv1.DigitaloceanCloudSpec.
swagger:model PublicDigitaloceanCloudSpec
type PublicFakeCloudSpec ¶
type PublicFakeCloudSpec interface{}
PublicFakeCloudSpec PublicFakeCloudSpec is a public counterpart of apiv1.FakeCloudSpec.
swagger:model PublicFakeCloudSpec
type PublicGCPCloudSpec ¶
type PublicGCPCloudSpec interface{}
PublicGCPCloudSpec PublicGCPCloudSpec is a public counterpart of apiv1.GCPCloudSpec.
swagger:model PublicGCPCloudSpec
type PublicHetznerCloudSpec ¶
type PublicHetznerCloudSpec interface{}
PublicHetznerCloudSpec PublicHetznerCloudSpec is a public counterpart of apiv1.HetznerCloudSpec.
swagger:model PublicHetznerCloudSpec
type PublicKubevirtCloudSpec ¶
type PublicKubevirtCloudSpec interface{}
PublicKubevirtCloudSpec PublicKubevirtCloudSpec is a public counterpart of apiv1.KubevirtCloudSpec.
swagger:model PublicKubevirtCloudSpec
type PublicOpenstackCloudSpec ¶
type PublicOpenstackCloudSpec struct { // domain Domain string `json:"domain,omitempty"` // floating IP pool FloatingIPPool string `json:"floatingIpPool,omitempty"` // network Network string `json:"network,omitempty"` // router ID RouterID string `json:"routerID,omitempty"` // security groups SecurityGroups string `json:"securityGroups,omitempty"` // subnet c ID r SubnetCIDR string `json:"subnetCIDR,omitempty"` // subnet ID SubnetID string `json:"subnetID,omitempty"` // tenant Tenant string `json:"tenant,omitempty"` // tenant ID TenantID string `json:"tenantID,omitempty"` }
PublicOpenstackCloudSpec PublicOpenstackCloudSpec is a public counterpart of apiv1.OpenstackCloudSpec.
swagger:model PublicOpenstackCloudSpec
func (*PublicOpenstackCloudSpec) ContextValidate ¶
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
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"` // 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 ¶
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
type PublicVSphereCloudSpec ¶
type PublicVSphereCloudSpec interface{}
PublicVSphereCloudSpec PublicVSphereCloudSpec is a public counterpart of apiv1.VSphereCloudSpec.
swagger:model PublicVSphereCloudSpec
type Quantity ¶
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 Quotas ¶
type Quotas struct { // FloatingIpQuota Sys11 addition with the amount of used and attached floating ips FloatingIPQuota int64 `json:"floatingIpQuota,omitempty"` // UsedFloatingIpCount is the floating IP quota UsedFloatingIPCount int64 `json:"usedFloatingIpCount,omitempty"` // limits Limits *Limits `json:"limits,omitempty"` }
Quotas Quotas is a struct that contains the response of a Quotas query.
swagger:model Quotas
func (*Quotas) ContextValidate ¶
ContextValidate validate this quotas based on the context it is used
func (*Quotas) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quotas) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this r h e l spec based on context it is used
func (*RHELSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*RHELSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ReadinessSpec ¶
type ReadinessSpec struct { // enables stats for gatekeeper audit StatsEnabled bool `json:"statsEnabled,omitempty"` }
ReadinessSpec readiness spec
swagger:model ReadinessSpec
func (*ReadinessSpec) ContextValidate ¶
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
type ReportURL ¶
type ReportURL string
ReportURL ReportURL represent an S3 pre signed URL to download a report
swagger:model ReportURL
func (ReportURL) ContextValidate ¶
ContextValidate validates this report URL based on context it is used
type ResourceLabelMap ¶
type ResourceLabelMap map[string]LabelKeyList
ResourceLabelMap ResourceLabelMap defines list of labels grouped by specific resource types.
swagger:model ResourceLabelMap
func (ResourceLabelMap) ContextValidate ¶
ContextValidate validate this resource label map based on the context it is used
type ResourceList ¶
ResourceList ResourceList is a set of (resource name, quantity) pairs.
swagger:model ResourceList
func (ResourceList) ContextValidate ¶
ContextValidate validates this resource list based on context it is used
type ResourceRequirements ¶
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 ¶
ContextValidate validate this resource requirements based on the context it is used
func (*ResourceRequirements) MarshalBinary ¶
func (m *ResourceRequirements) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceRequirements) UnmarshalBinary ¶
func (m *ResourceRequirements) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceType ¶
type ResourceType string
ResourceType resource type
swagger:model ResourceType
func (ResourceType) ContextValidate ¶
ContextValidate validates this resource type based on context it is used
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 ¶
ContextValidate validate this role based on the context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
ContextValidate validates this role name based on context it is used
func (*RoleName) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleName) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this role user based on context it is used
func (*RoleUser) MarshalBinary ¶
MarshalBinary interface implementation
func (*RoleUser) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RuleGroup ¶
type RuleGroup struct { // contains the RuleGroup data. Ref: https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#rule_group Data []uint8 `json:"data"` // type Type RuleGroupType `json:"type,omitempty"` }
RuleGroup RuleGroup represents a rule group of recording and alerting rules.
swagger:model RuleGroup
func (*RuleGroup) ContextValidate ¶
ContextValidate validate this rule group based on the context it is used
func (*RuleGroup) MarshalBinary ¶
MarshalBinary interface implementation
func (*RuleGroup) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RuleGroupType ¶
type RuleGroupType string
RuleGroupType rule group type
swagger:model RuleGroupType
func (RuleGroupType) ContextValidate ¶
ContextValidate validates this rule group type based on context it is used
type S3BackupCredentials ¶
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 ¶
ContextValidate validates this s3 backup credentials based on context it is used
func (*S3BackupCredentials) MarshalBinary ¶
func (m *S3BackupCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*S3BackupCredentials) UnmarshalBinary ¶
func (m *S3BackupCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this s l e s spec based on context it is used
func (*SLESSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*SLESSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this SSH key based on the context it is used
func (*SSHKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*SSHKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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
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"` // backup restore BackupRestore *SeedBackupRestoreConfiguration `json:"backupRestore,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 ¶
ContextValidate validate this seed based on the context it is used
func (*Seed) MarshalBinary ¶
MarshalBinary interface implementation
func (*Seed) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SeedBackupRestoreConfiguration ¶
type SeedBackupRestoreConfiguration struct { // S3BucketName is the S3 bucket name to use for backup and restore. S3BucketName string `json:"s3BucketName,omitempty"` // S3Endpoint is the S3 API endpoint to use for backup and restore. Defaults to s3.amazonaws.com. S3Endpoint string `json:"s3Endpoint,omitempty"` }
SeedBackupRestoreConfiguration SeedBackupRestoreConfiguration are s3 settings used for backups and restores of user cluster etcds.
swagger:model SeedBackupRestoreConfiguration
func (*SeedBackupRestoreConfiguration) ContextValidate ¶
func (m *SeedBackupRestoreConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this seed backup restore configuration based on context it is used
func (*SeedBackupRestoreConfiguration) MarshalBinary ¶
func (m *SeedBackupRestoreConfiguration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SeedBackupRestoreConfiguration) UnmarshalBinary ¶
func (m *SeedBackupRestoreConfiguration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SeedMLASettings ¶
type SeedMLASettings struct { // Optional: UserClusterMLAEnabled controls whether the user cluster MLA (Monitoring, Logging & Alerting) stack is enabled in the seed. UserClusterMLAEnabled bool `json:"user_cluster_mla_enabled,omitempty"` }
SeedMLASettings SeedMLASettings allow configuring seed level MLA (Monitoring, Logging & Alerting) stack settings.
swagger:model SeedMLASettings
func (*SeedMLASettings) ContextValidate ¶
ContextValidate validates this seed m l a settings based on context it is used
func (*SeedMLASettings) MarshalBinary ¶
func (m *SeedMLASettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SeedMLASettings) UnmarshalBinary ¶
func (m *SeedMLASettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SeedNamesList ¶
type SeedNamesList []string
SeedNamesList seed names list
swagger:model SeedNamesList
func (SeedNamesList) ContextValidate ¶
ContextValidate validates this seed names list based on context it is used
type SeedSettings ¶
type SeedSettings struct { // the Seed level seed dns overwrite SeedDNSOverwrite string `json:"seedDNSOverwrite,omitempty"` // metering Metering *MeteringConfigurations `json:"metering,omitempty"` // mla Mla *MLA `json:"mla,omitempty"` }
SeedSettings SeedSettings represents settings for a Seed cluster
swagger:model SeedSettings
func (*SeedSettings) ContextValidate ¶
ContextValidate validate this seed settings based on the context it is used
func (*SeedSettings) MarshalBinary ¶
func (m *SeedSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SeedSettings) UnmarshalBinary ¶
func (m *SeedSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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"` // backup restore BackupRestore *SeedBackupRestoreConfiguration `json:"backupRestore,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 ¶
ContextValidate validate this seed spec based on the context it is used
func (*SeedSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*SeedSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Semver ¶
type Semver interface{}
Semver Semver is struct that encapsulates semver.Semver struct so we can use it in API +k8s:deepcopy-gen=true
swagger:model Semver
type ServiceAccount ¶
type ServiceAccount struct { // 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 ¶
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
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 ¶
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
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"` // 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 ¶
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
type SettingSpec ¶
type SettingSpec struct { // default node count DefaultNodeCount int8 `json:"defaultNodeCount,omitempty"` // display API docs DisplayAPIDocs bool `json:"displayAPIDocs,omitempty"` // display demo info DisplayDemoInfo bool `json:"displayDemoInfo,omitempty"` // display terms of service DisplayTermsOfService bool `json:"displayTermsOfService,omitempty"` // enable dashboard EnableDashboard bool `json:"enableDashboard,omitempty"` // enable 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"` // user projects limit UserProjectsLimit int64 `json:"userProjectsLimit,omitempty"` // cleanup options CleanupOptions *CleanupOptions `json:"cleanupOptions,omitempty"` // cluster type options ClusterTypeOptions ClusterType `json:"clusterTypeOptions,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 ¶
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
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 ¶
ContextValidate validates this subject based on context it is used
func (*Subject) MarshalBinary ¶
MarshalBinary interface implementation
func (*Subject) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validate this sync based on the context it is used
func (*Sync) MarshalBinary ¶
MarshalBinary interface implementation
func (*Sync) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Sys11AuthSettings ¶
type Sys11AuthSettings struct { // realm Realm string `json:"realm,omitempty"` }
Sys11AuthSettings sys11 auth settings
swagger:model Sys11AuthSettings
func (*Sys11AuthSettings) ContextValidate ¶
ContextValidate validates this sys11 auth settings based on context it is used
func (*Sys11AuthSettings) MarshalBinary ¶
func (m *Sys11AuthSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Sys11AuthSettings) UnmarshalBinary ¶
func (m *Sys11AuthSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this taint spec based on context it is used
func (*TaintSpec) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaintSpec) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this target based on context it is used
func (*Target) MarshalBinary ¶
MarshalBinary interface implementation
func (*Target) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Time ¶
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 ¶
ContextValidate validates this time based on context it is used
func (*Time) MarshalBinary ¶
MarshalBinary interface implementation
func (Time) MarshalJSON ¶
MarshalJSON retrieves a Time value as JSON output
func (*Time) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Time) UnmarshalJSON ¶
UnmarshalJSON sets a Time value from JSON input
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 ¶
ContextValidate validate this trace based on the context it is used
func (*Trace) MarshalBinary ¶
MarshalBinary interface implementation
func (*Trace) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this UID based on context it is used
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 ¶
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
type UnsealKeys ¶
type UnsealKeys struct { // keys Keys []string `json:"keys"` }
UnsealKeys unseal keys
swagger:model unsealKeys
func (*UnsealKeys) ContextValidate ¶
ContextValidate validates this unseal keys based on context it is used
func (*UnsealKeys) MarshalBinary ¶
func (m *UnsealKeys) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UnsealKeys) UnmarshalBinary ¶
func (m *UnsealKeys) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateWindow ¶
type UpdateWindow struct { // length Length string `json:"length,omitempty"` // start Start string `json:"start,omitempty"` }
UpdateWindow update window
swagger:model UpdateWindow
func (*UpdateWindow) ContextValidate ¶
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
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"` // ID unique value that identifies the resource generated by the server. Read-Only. ID string `json:"id,omitempty"` // IsAdmin indicates admin role IsAdmin bool `json:"isAdmin,omitempty"` // Name represents human readable name for the resource Name string `json:"name,omitempty"` // Projects holds the list of project the user belongs to // along with the group names Projects []*ProjectGroup `json:"projects"` // user settings UserSettings *UserSettings `json:"userSettings,omitempty"` }
User User represent an API user
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserSettings ¶
type UserSettings struct { 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"` }CollapseSidenav
UserSettings UserSettings represent an user settings
swagger:model UserSettings
func (*UserSettings) ContextValidate ¶
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
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"` // 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 ¶
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
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 ¶
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
type VSphereDatastoreList ¶
type VSphereDatastoreList struct { // datastores Datastores []string `json:"datastores"` }
VSphereDatastoreList VSphereDatastoreList is the object representing a vsphere datastores.
swagger:model VSphereDatastoreList
func (*VSphereDatastoreList) ContextValidate ¶
ContextValidate validates this v sphere datastore list based on context it is used
func (*VSphereDatastoreList) MarshalBinary ¶
func (m *VSphereDatastoreList) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VSphereDatastoreList) UnmarshalBinary ¶
func (m *VSphereDatastoreList) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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
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 ¶
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
type VSphereNodeSpec ¶
type VSphereNodeSpec struct { // c p us CPUs int64 `json:"cpus,omitempty"` // disk size g b DiskSizeGB int64 `json:"diskSizeGB,omitempty"` // memory Memory int64 `json:"memory,omitempty"` // template Template string `json:"template,omitempty"` }
VSphereNodeSpec VSphereNodeSpec VSphere node settings
swagger:model VSphereNodeSpec
func (*VSphereNodeSpec) ContextValidate ¶
ContextValidate validates this v sphere node spec based on 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
type Validation ¶
type Validation struct { // +kubebuilder:default=true LegacySchema bool `json:"legacySchema,omitempty"` // open API v3 schema OpenAPIV3Schema *JSONSchemaProps `json:"openAPIV3Schema,omitempty"` }
Validation validation
swagger:model Validation
func (*Validation) ContextValidate ¶
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
type Version ¶
type Version interface{}
Version Version represents a single semantic version.
swagger:model Version
type VersionList ¶
type VersionList []*MasterVersion
VersionList VersionList represents a list of versions
swagger:model VersionList
func (VersionList) ContextValidate ¶
ContextValidate validate this version list based on the context it is used
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 ¶
ContextValidate validates this violation based on context it is used
func (*Violation) MarshalBinary ¶
MarshalBinary interface implementation
func (*Violation) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type WrBody ¶
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 ¶
ContextValidate validate this wr body based on the context it is used
func (*WrBody) MarshalBinary ¶
MarshalBinary interface implementation
func (*WrBody) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files
¶
- a_w_s_cloud_spec.go
- a_w_s_node_spec.go
- a_w_s_security_group_list.go
- a_w_s_size.go
- a_w_s_size_list.go
- a_w_s_subnet.go
- a_w_s_subnet_list.go
- a_w_s_tag.go
- a_w_s_v_p_c.go
- a_w_s_v_p_c_list.go
- a_w_s_vpc_cidr_block_association.go
- a_w_s_vpc_ip_v6_cidr_block_association.go
- absolute.go
- accessible_addons.go
- addon.go
- addon_config.go
- addon_config_spec.go
- addon_form_control.go
- addon_spec.go
- admin.go
- admission_plugin.go
- admission_plugin_list.go
- alertmanager.go
- alertmanager_spec.go
- alibaba_cloud_spec.go
- alibaba_instance_type.go
- alibaba_instance_type_list.go
- alibaba_node_spec.go
- alibaba_v_switch.go
- alibaba_v_switch_list.go
- alibaba_zone.go
- alibaba_zone_list.go
- allowed_registry.go
- allowed_registry_spec.go
- anexia_cloud_spec.go
- anexia_node_spec.go
- anexia_template.go
- anexia_template_list.go
- anexia_vlan.go
- anexia_vlan_list.go
- audit_logging_settings.go
- azure_availability_zones_list.go
- azure_cloud_spec.go
- azure_node_spec.go
- azure_resource_groups_list.go
- azure_route_tables_list.go
- azure_security_groups_list.go
- azure_size.go
- azure_size_list.go
- azure_subnets_list.go
- azure_virtual_networks_list.go
- backup_credentials.go
- backup_status.go
- backup_status_phase.go
- bc_body.go
- body.go
- bring_your_own_cloud_spec.go
- by_pod_status.go
- c_r_d.go
- c_r_d_spec.go
- cent_o_s_spec.go
- cleanup_options.go
- cloud_spec.go
- cluster.go
- cluster_health.go
- cluster_list.go
- cluster_metrics.go
- cluster_networking_config.go
- cluster_role.go
- cluster_role_binding.go
- cluster_role_name.go
- cluster_role_user.go
- cluster_spec.go
- cluster_status.go
- cluster_template.go
- cluster_template_instance.go
- cluster_template_instance_spec.go
- cluster_template_list.go
- cluster_template_ssh_key.go
- cluster_type.go
- condition_status.go
- constraint.go
- constraint_body.go
- constraint_selector.go
- constraint_spec.go
- constraint_status.go
- constraint_template.go
- constraint_template_selector.go
- constraint_template_spec.go
- constraint_template_status.go
- control_plane_metrics.go
- create_c_r_d_error.go
- create_cluster_spec.go
- credential_list.go
- ct_body.go
- custom_link.go
- custom_links.go
- datacenter.go
- datacenter_list.go
- datacenter_meta.go
- datacenter_spec.go
- datacenter_spec_a_w_s.go
- datacenter_spec_alibaba.go
- datacenter_spec_anexia.go
- datacenter_spec_azure.go
- datacenter_spec_bring_your_own.go
- datacenter_spec_digitalocean.go
- datacenter_spec_fake.go
- datacenter_spec_g_c_p.go
- datacenter_spec_hetzner.go
- datacenter_spec_kubevirt.go
- datacenter_spec_openstack.go
- datacenter_spec_packet.go
- datacenter_spec_v_sphere.go
- digitalocean_cloud_spec.go
- digitalocean_node_spec.go
- digitalocean_size.go
- digitalocean_size_list.go
- ebc_body.go
- er_body.go
- error_details.go
- error_response.go
- etcd_backup_config.go
- etcd_backup_config_condition.go
- etcd_backup_config_condition_type.go
- etcd_backup_config_spec.go
- etcd_backup_config_status.go
- etcd_restore.go
- etcd_restore_phase.go
- etcd_restore_spec.go
- etcd_restore_status.go
- event.go
- expose_strategy.go
- external_c_c_m_migration_status.go
- external_documentation.go
- fake_cloud_spec.go
- flatcar_spec.go
- g_c_p_cloud_spec.go
- g_c_p_disk_type.go
- g_c_p_disk_type_list.go
- g_c_p_machine_size.go
- g_c_p_machine_size_list.go
- g_c_p_network.go
- g_c_p_network_list.go
- g_c_p_node_spec.go
- g_c_p_subnetwork.go
- g_c_p_subnetwork_list.go
- g_c_p_zone.go
- g_c_p_zone_list.go
- g_v_k.go
- gatekeeper_config.go
- gatekeeper_config_spec.go
- global_custom_links.go
- global_object_key_selector.go
- global_secret_key_selector.go
- global_settings.go
- health_status.go
- hetzner_cloud_spec.go
- hetzner_node_spec.go
- hetzner_size.go
- hetzner_size_list.go
- image.go
- image_list.go
- ip_v_s_configuration.go
- json.go
- json_schema_definitions.go
- json_schema_dependencies.go
- json_schema_props.go
- json_schema_props_or_array.go
- json_schema_props_or_bool.go
- json_schema_props_or_string_array.go
- json_schema_url.go
- kind.go
- kubermatic_versions.go
- kubevirt_cloud_spec.go
- kubevirt_node_spec.go
- l_b_s_k_u.go
- label_key_list.go
- label_selector.go
- label_selector_operator.go
- label_selector_requirement.go
- limits.go
- logging_rate_limit_settings.go
- m_l_a.go
- m_l_a_admin_setting.go
- m_l_a_settings.go
- machine_deployment_status.go
- machine_deployment_vm_resource_quota.go
- machine_networking_config.go
- master_version.go
- match.go
- match_entry.go
- metering_configurations.go
- metering_report.go
- mla_options.go
- monitoring_rate_limit_settings.go
- names.go
- namespace.go
- network_ranges.go
- node.go
- node_address.go
- node_cloud_spec.go
- node_deployment.go
- node_deployment_request.go
- node_deployment_request_spec.go
- node_deployment_spec.go
- node_metric.go
- node_resources.go
- node_settings.go
- node_spec.go
- node_status.go
- node_system_info.go
- node_version_info.go
- nodes_metric.go
- o_id_c_settings.go
- o_id_c_spec.go
- o_p_a_integration_settings.go
- object_meta.go
- object_reference.go
- object_reference_resource.go
- opa_options.go
- openstack_availability_zone.go
- openstack_cloud_spec.go
- openstack_network.go
- openstack_node_size_requirements.go
- openstack_node_spec.go
- openstack_security_group.go
- openstack_size.go
- openstack_subnet.go
- openstack_tenant.go
- operating_system_spec.go
- packet_cloud_spec.go
- packet_cpu.go
- packet_drive.go
- packet_node_spec.go
- packet_size.go
- packet_size_list.go
- parameters.go
- pod_dns_config.go
- pod_dns_config_option.go
- policy_rule.go
- preset.go
- preset_list.go
- preset_provider.go
- project.go
- project_group.go
- provider_type.go
- proxy_settings.go
- proxy_value.go
- public_a_w_s_cloud_spec.go
- public_alibaba_cloud_spec.go
- public_anexia_cloud_spec.go
- public_azure_cloud_spec.go
- public_bring_your_own_cloud_spec.go
- public_cloud_spec.go
- public_digitalocean_cloud_spec.go
- public_fake_cloud_spec.go
- public_g_c_p_cloud_spec.go
- public_hetzner_cloud_spec.go
- public_kubevirt_cloud_spec.go
- public_openstack_cloud_spec.go
- public_packet_cloud_spec.go
- public_service_account_token.go
- public_v_sphere_cloud_spec.go
- quantity.go
- quotas.go
- r_h_e_l_spec.go
- readiness_spec.go
- report_url.go
- resource_label_map.go
- resource_list.go
- resource_requirements.go
- resource_type.go
- role.go
- role_binding.go
- role_name.go
- role_user.go
- rule_group.go
- rule_group_type.go
- s3_backup_credentials.go
- s_l_e_s_spec.go
- seed.go
- seed_backup_restore_configuration.go
- seed_m_l_a_settings.go
- seed_names_list.go
- seed_settings.go
- seed_spec.go
- semver.go
- service_account.go
- service_account_settings.go
- service_account_token.go
- setting_spec.go
- ssh_key.go
- ssh_key_spec.go
- subject.go
- sync.go
- sys11_auth_settings.go
- taint_spec.go
- target.go
- time.go
- trace.go
- ubuntu_spec.go
- uid.go
- unseal_keys.go
- update_window.go
- user.go
- user_settings.go
- v_sphere_cloud_spec.go
- v_sphere_credentials.go
- v_sphere_datastore_list.go
- v_sphere_folder.go
- v_sphere_network.go
- v_sphere_node_spec.go
- validation.go
- version.go
- version_list.go
- violation.go
- wr_body.go