apiextensions: github.com/giantswarm/apiextensions/pkg/apis/infrastructure/v1alpha2 Index | Files

package v1alpha2

import "github.com/giantswarm/apiextensions/pkg/apis/infrastructure/v1alpha2"

+groupName=infrastructure.giantswarm.io

Index

Package Files

aws_cluster_funcs.go aws_cluster_types.go aws_control_plane_types.go aws_machine_deployment_types.go cluster_api_crds.go common_cluster_status_funcs.go common_cluster_status_sorts.go common_cluster_status_spec.go common_cluster_status_types.go deep_copy.go doc.go g8s_control_plane_types.go register.go zz_generated.deepcopy.go

Constants

const (
    // ClusterConditionLimit is the maximum amount of conditions tracked in the
    // condition list of a tenant cluster's status. The limit here is applied to
    // equal condition pairs. For instance a cluster having transitioned through 6
    // cluster upgrades throughout its lifetime will only track 5 Updating/Updated
    // condition pairs in its condition list.
    //
    //     conditions:
    //     - lastTransitionTime: "2019-08-23T13:15:19.830177296Z"
    //       condition: Updated
    //     - lastTransitionTime: "2019-08-23T12:12:25.942680489Z"
    //       condition: Updating
    //     - lastTransitionTime: "2019-08-15T14:27:12.813903533Z"
    //       condition: Updated
    //     - lastTransitionTime: "2019-08-15T13:20:16.955248597Z"
    //       condition: Updating
    //     - lastTransitionTime: "2019-07-23T09:31:28.761118959Z"
    //       condition: Updated
    //     - lastTransitionTime: "2019-07-23T08:15:07.523067044Z"
    //       condition: Updating
    //     - lastTransitionTime: "2019-06-17T18:20:30.29872263Z"
    //       condition: Updated
    //     - lastTransitionTime: "2019-06-17T17:14:12.707323902Z"
    //       condition: Updating
    //     - lastTransitionTime: "2019-06-04T13:14:03.523010234Z"
    //       condition: Updated
    //     - lastTransitionTime: "2019-06-04T12:18:09.334829389Z"
    //       condition: Updating
    //     - lastTransitionTime: "2019-05-17T11:25:37.495980406Z"
    //       condition: Created
    //     - lastTransitionTime: "2019-05-17T10:16:25.736159078Z"
    //       condition: Creating
    //
    ClusterConditionLimit = 5
    // ClusterVersionLimit is the maximum amount of versions tracked in the
    // version list of a tenant cluster's status. The limit here is applied to the
    // total amount of the list's number of entries. For instance a cluster having
    // transitioned through 6 cluster upgrades throughout its lifetime will only
    // track 5 versions in its version list.
    //
    //     versions:
    //     - lastTransitionTime: "2019-02-14T11:18:25.212331926Z"
    //       version: 4.6.0
    //     - lastTransitionTime: "2018-12-05T16:57:58.21652461Z"
    //       version: 4.4.1
    //     - lastTransitionTime: "2018-12-05T15:42:22.443182449Z"
    //       version: 4.2.1
    //     - lastTransitionTime: "2018-10-29T03:31:08.874296621Z"
    //       version: 4.2.0
    //     - lastTransitionTime: "2018-10-29T02:09:20.393986006Z"
    //       version: 3.3.3
    //
    ClusterVersionLimit = 15
)
const (
    ClusterStatusConditionCreated  = "Created"
    ClusterStatusConditionCreating = "Creating"
)
const (
    ClusterStatusConditionDeleted  = "Deleted"
    ClusterStatusConditionDeleting = "Deleting"
)
const (
    ClusterStatusConditionUpdated  = "Updated"
    ClusterStatusConditionUpdating = "Updating"
)

Variables

var (

    // AddToScheme is used by the generated client.
    AddToScheme = schemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{
    Group:   group,
    Version: version,
}

SchemeGroupVersion is group version used to register these objects

func NewAWSClusterCRD Uses

func NewAWSClusterCRD() *apiextensionsv1beta1.CustomResourceDefinition

func NewAWSClusterTypeMeta Uses

func NewAWSClusterTypeMeta() metav1.TypeMeta

func NewAWSControlPlaneCRD Uses

func NewAWSControlPlaneCRD() *apiextensionsv1beta1.CustomResourceDefinition

func NewAWSControlPlaneTypeMeta Uses

func NewAWSControlPlaneTypeMeta() metav1.TypeMeta

func NewAWSMachineDeploymentCRD Uses

func NewAWSMachineDeploymentCRD() *apiextensionsv1beta1.CustomResourceDefinition

func NewAWSMachineDeploymentTypeMeta Uses

func NewAWSMachineDeploymentTypeMeta() metav1.TypeMeta

func NewClusterCR Uses

func NewClusterCR() *apiv1alpha2.Cluster

NewClusterCR returns a Cluster Custom Resource.

func NewClusterCRD Uses

func NewClusterCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewClusterCRD returns a new custom resource definition for Cluster (from Cluster API). This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: clusters.cluster.x-k8s.io
spec:
  group: cluster.x-k8s.io
  scope: Namespaced
  version: v1alpha2
  names:
    kind: Cluster
    plural: clusters
    singular: cluster
  subresources:
    status: {}

func NewClusterTypeMeta Uses

func NewClusterTypeMeta() metav1.TypeMeta

func NewG8sControlPlaneCRD Uses

func NewG8sControlPlaneCRD() *apiextensionsv1beta1.CustomResourceDefinition

func NewG8sControlPlaneTypeMeta Uses

func NewG8sControlPlaneTypeMeta() metav1.TypeMeta

func NewMachineDeploymentCR Uses

func NewMachineDeploymentCR() *apiv1alpha2.MachineDeployment

NewMachineDeploymentCR returns a MachineDeployment Custom Resource.

func NewMachineDeploymentCRD Uses

func NewMachineDeploymentCRD() *apiextensionsv1beta1.CustomResourceDefinition

NewMachineDeploymentCRD returns a new custom resource definition for MachineDeployment (from Cluster API). This might look something like the following.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  name: machinedeployments.cluster.x-k8s.io
spec:
  group: cluster.x-k8s.io
  scope: Namespaced
  version: v1alpha2
  names:
    kind: MachineDeployment
    plural: machinedeployments
    singular: machinedeployment
  subresources:
    status: {}

func NewMachineDeploymentTypeMeta Uses

func NewMachineDeploymentTypeMeta() metav1.TypeMeta

NewMachineDeploymentTypeMeta returns the type block for a MachineDeployment CR.

type AWSCluster Uses

type AWSCluster struct {
    metav1.TypeMeta `json:",inline"`
    // metav1.ObjectMeta is standard Kubernetes resource metadata.
    metav1.ObjectMeta `json:"metadata,omitempty"`
    Spec              AWSClusterSpec   `json:"spec" yaml:"spec"`
    Status            AWSClusterStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

AWSCluster is the infrastructure provider referenced in upstream CAPI Cluster CRs.

apiVersion: infrastructure.giantswarm.io/v1alpha2
kind: AWSCluster
metadata:
  labels:
    aws-operator.giantswarm.io/version: 6.2.0
    cluster-operator.giantswarm.io/version: 0.17.0
    giantswarm.io/cluster: "8y5kc"
    giantswarm.io/organization: "giantswarm"
    release.giantswarm.io/version: 7.3.1
  name: 8y5kc
spec:
  cluster:
    description: my fancy cluster
    dns:
      domain: gauss.eu-central-1.aws.gigantic.io
    oidc:
      claims:
        username: email
        groups: groups
      clientID: foobar-dex-client
      issuerURL: https://dex.gatekeeper.eu-central-1.aws.example.com
  provider:
    credentialSecret:
      name: credential-default
      namespace: giantswarm
    master:
      availabilityZone: eu-central-1a
      instanceType: m4.large
    region: eu-central-1
status:
  cluster:
    conditions:
    - lastTransitionTime: "2019-03-25T17:10:09.333633991Z"
      type: Created
    id: 8y5kc
    versions:
    - lastTransitionTime: "2019-03-25T17:10:09.995948706Z"
      version: 4.9.0
  provider:
    network:
      cidr: 10.1.6.0/24

func NewAWSClusterCR Uses

func NewAWSClusterCR() *AWSCluster

NewAWSClusterCR returns an AWSCluster Custom Resource.

func (*AWSCluster) DeepCopy Uses

func (in *AWSCluster) DeepCopy() *AWSCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSCluster.

func (*AWSCluster) DeepCopyInto Uses

func (in *AWSCluster) DeepCopyInto(out *AWSCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSCluster) DeepCopyObject Uses

func (in *AWSCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AWSCluster) GetCommonClusterStatus Uses

func (c *AWSCluster) GetCommonClusterStatus() CommonClusterStatus

func (*AWSCluster) SetCommonClusterStatus Uses

func (c *AWSCluster) SetCommonClusterStatus(s CommonClusterStatus)

type AWSClusterList Uses

type AWSClusterList struct {
    metav1.TypeMeta `json:",inline" yaml:",inline"`
    metav1.ListMeta `json:"metadata" yaml:"metadata"`
    Items           []AWSCluster `json:"items" yaml:"items"`
}

AWSClusterList is the type returned when listing AWSCLuster resources.

func (*AWSClusterList) DeepCopy Uses

func (in *AWSClusterList) DeepCopy() *AWSClusterList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterList.

func (*AWSClusterList) DeepCopyInto Uses

func (in *AWSClusterList) DeepCopyInto(out *AWSClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSClusterList) DeepCopyObject Uses

func (in *AWSClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSClusterSpec Uses

type AWSClusterSpec struct {
    // Cluster provides cluster specification details.
    Cluster AWSClusterSpecCluster `json:"cluster" yaml:"cluster"`
    // Provider holds provider-specific configuration details.
    Provider AWSClusterSpecProvider `json:"provider" yaml:"provider"`
}

AWSClusterSpec is the spec part for the AWSCluster resource.

func (*AWSClusterSpec) DeepCopy Uses

func (in *AWSClusterSpec) DeepCopy() *AWSClusterSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpec.

func (*AWSClusterSpec) DeepCopyInto Uses

func (in *AWSClusterSpec) DeepCopyInto(out *AWSClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecCluster Uses

type AWSClusterSpecCluster struct {
    // Description is a user-friendly description that should explain the purpose of the
    // cluster to humans.
    Description string `json:"description" yaml:"description"`
    // DNS holds DNS configuration details.
    DNS AWSClusterSpecClusterDNS `json:"dns" yaml:"dns"`
    // OIDC holds configuration for OpenID Connect (OIDC) authentication.
    OIDC AWSClusterSpecClusterOIDC `json:"oidc,omitempty" yaml:"oidc,omitempty"`
}

AWSClusterSpecCluster provides cluster specification details.

func (*AWSClusterSpecCluster) DeepCopy Uses

func (in *AWSClusterSpecCluster) DeepCopy() *AWSClusterSpecCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecCluster.

func (*AWSClusterSpecCluster) DeepCopyInto Uses

func (in *AWSClusterSpecCluster) DeepCopyInto(out *AWSClusterSpecCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecClusterDNS Uses

type AWSClusterSpecClusterDNS struct {
    Domain string `json:"domain" yaml:"domain"`
}

AWSClusterSpecClusterDNS holds DNS configuration details.

func (*AWSClusterSpecClusterDNS) DeepCopy Uses

func (in *AWSClusterSpecClusterDNS) DeepCopy() *AWSClusterSpecClusterDNS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecClusterDNS.

func (*AWSClusterSpecClusterDNS) DeepCopyInto Uses

func (in *AWSClusterSpecClusterDNS) DeepCopyInto(out *AWSClusterSpecClusterDNS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecClusterOIDC Uses

type AWSClusterSpecClusterOIDC struct {
    Claims    AWSClusterSpecClusterOIDCClaims `json:"claims,omitempty" yaml:"claims,omitempty"`
    ClientID  string                          `json:"clientID,omitempty" yaml:"clientID,omitempty"`
    IssuerURL string                          `json:"issuerURL,omitempty" yaml:"issuerURL,omitempty"`
}

AWSClusterSpecClusterOIDC holds configuration for OpenID Connect (OIDC) authentication.

func (*AWSClusterSpecClusterOIDC) DeepCopy Uses

func (in *AWSClusterSpecClusterOIDC) DeepCopy() *AWSClusterSpecClusterOIDC

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecClusterOIDC.

func (*AWSClusterSpecClusterOIDC) DeepCopyInto Uses

func (in *AWSClusterSpecClusterOIDC) DeepCopyInto(out *AWSClusterSpecClusterOIDC)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecClusterOIDCClaims Uses

type AWSClusterSpecClusterOIDCClaims struct {
    Username string `json:"username,omitempty" yaml:"username,omitempty"`
    Groups   string `json:"groups,omitempty" yaml:"groups,omitempty"`
}

AWSClusterSpecClusterOIDCClaims defines OIDC claims.

func (*AWSClusterSpecClusterOIDCClaims) DeepCopy Uses

func (in *AWSClusterSpecClusterOIDCClaims) DeepCopy() *AWSClusterSpecClusterOIDCClaims

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecClusterOIDCClaims.

func (*AWSClusterSpecClusterOIDCClaims) DeepCopyInto Uses

func (in *AWSClusterSpecClusterOIDCClaims) DeepCopyInto(out *AWSClusterSpecClusterOIDCClaims)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecProvider Uses

type AWSClusterSpecProvider struct {
    // CredentialSecret specifies the location of the secret providing the ARN of AWS IAM identity
    // to use with this cluster.
    CredentialSecret AWSClusterSpecProviderCredentialSecret `json:"credentialSecret" yaml:"credentialSecret"`
    // Master holds master node configuration details.
    Master AWSClusterSpecProviderMaster `json:"master" yaml:"master"`
    // Region is the AWS region the cluster is to be running in.
    Region string `json:"region" yaml:"region"`
}

AWSClusterSpecProvider holds some AWS details.

func (*AWSClusterSpecProvider) DeepCopy Uses

func (in *AWSClusterSpecProvider) DeepCopy() *AWSClusterSpecProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecProvider.

func (*AWSClusterSpecProvider) DeepCopyInto Uses

func (in *AWSClusterSpecProvider) DeepCopyInto(out *AWSClusterSpecProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecProviderCredentialSecret Uses

type AWSClusterSpecProviderCredentialSecret struct {
    // Name is the name of the provider credential resoure.
    Name string `json:"name" yaml:"name"`
    // Namespace is the kubernetes namespace that holds the provider credential.
    Namespace string `json:"namespace" yaml:"namespace"`
}

AWSClusterSpecProviderCredentialSecret details how to chose the AWS IAM identity ARN to use with this cluster.

func (*AWSClusterSpecProviderCredentialSecret) DeepCopy Uses

func (in *AWSClusterSpecProviderCredentialSecret) DeepCopy() *AWSClusterSpecProviderCredentialSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecProviderCredentialSecret.

func (*AWSClusterSpecProviderCredentialSecret) DeepCopyInto Uses

func (in *AWSClusterSpecProviderCredentialSecret) DeepCopyInto(out *AWSClusterSpecProviderCredentialSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterSpecProviderMaster Uses

type AWSClusterSpecProviderMaster struct {
    // AvailabilityZone is the AWS availability zone to place the master node in.
    AvailabilityZone string `json:"availabilityZone" yaml:"availabilityZone"`
    // InstanceType specifies the AWS EC2 instance type to use for the master node.
    InstanceType string `json:"instanceType" yaml:"instanceType"`
}

AWSClusterSpecProviderMaster holds master node configuration details.

func (*AWSClusterSpecProviderMaster) DeepCopy Uses

func (in *AWSClusterSpecProviderMaster) DeepCopy() *AWSClusterSpecProviderMaster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterSpecProviderMaster.

func (*AWSClusterSpecProviderMaster) DeepCopyInto Uses

func (in *AWSClusterSpecProviderMaster) DeepCopyInto(out *AWSClusterSpecProviderMaster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterStatus Uses

type AWSClusterStatus struct {
    // Cluster provides cluster-specific status details, including conditions and versions.
    Cluster CommonClusterStatus `json:"cluster,omitempty" yaml:"cluster,omitempty"`
    // Provider provides provider-specific status details.
    Provider AWSClusterStatusProvider `json:"provider,omitempty" yaml:"provider,omitempty"`
}

AWSClusterStatus holds status information about the cluster, populated once the cluster is in creation or created.

func (*AWSClusterStatus) DeepCopy Uses

func (in *AWSClusterStatus) DeepCopy() *AWSClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatus.

func (*AWSClusterStatus) DeepCopyInto Uses

func (in *AWSClusterStatus) DeepCopyInto(out *AWSClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterStatusProvider Uses

type AWSClusterStatusProvider struct {
    // Network provides network-specific configuration details
    Network AWSClusterStatusProviderNetwork `json:"network" yaml:"network"`
}

AWSClusterStatusProvider holds provider-specific status details.

func (*AWSClusterStatusProvider) DeepCopy Uses

func (in *AWSClusterStatusProvider) DeepCopy() *AWSClusterStatusProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatusProvider.

func (*AWSClusterStatusProvider) DeepCopyInto Uses

func (in *AWSClusterStatusProvider) DeepCopyInto(out *AWSClusterStatusProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSClusterStatusProviderNetwork Uses

type AWSClusterStatusProviderNetwork struct {
    // IPv4 address block used by the tenant cluster, in CIDR notation.
    CIDR string `json:"cidr" yaml:"cidr"`
}

AWSClusterStatusProviderNetwork holds network details.

func (*AWSClusterStatusProviderNetwork) DeepCopy Uses

func (in *AWSClusterStatusProviderNetwork) DeepCopy() *AWSClusterStatusProviderNetwork

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSClusterStatusProviderNetwork.

func (*AWSClusterStatusProviderNetwork) DeepCopyInto Uses

func (in *AWSClusterStatusProviderNetwork) DeepCopyInto(out *AWSClusterStatusProviderNetwork)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSControlPlane Uses

type AWSControlPlane struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`
    Spec              AWSControlPlaneSpec   `json:"spec" yaml:"spec"`
    Status            AWSControlPlaneStatus `json:"status,omitempty" yaml:"status,omitempty"`
}

AWSControlPlane is the infrastructure provider referenced in ControlPlane CRs.

apiVersion: infrastructure.giantswarm.io/v1alpha2
kind: AWSControlPlane
metadata:
  annotations:
    giantswarm.io/docs: https://docs.giantswarm.io/reference/awscontrolplanes.infrastructure.giantswarm.io/v1alpha2/
  labels:
    aws-operator.giantswarm.io/version: "6.2.0"
    giantswarm.io/cluster: 8y5kc
    giantswarm.io/organization: giantswarm
    release.giantswarm.io/version: "7.3.1"
  name: 8y5kc
  ownerReferences:
    - apiVersion: infrastructure.giantswarm.io/v1alpha2
      kind: G8sControlPlane
      name: 8y5kc
spec:
  availabilityZones:
    - eu-central-1a
    - eu-central-1b
    - eu-central-1c
  instanceType: m4.large

func NewAWSControlPlaneCR Uses

func NewAWSControlPlaneCR() *AWSControlPlane

NewAWSControlPlaneCR returns an AWSControlPlane Custom Resource.

func (*AWSControlPlane) DeepCopy Uses

func (in *AWSControlPlane) DeepCopy() *AWSControlPlane

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSControlPlane.

func (*AWSControlPlane) DeepCopyInto Uses

func (in *AWSControlPlane) DeepCopyInto(out *AWSControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSControlPlane) DeepCopyObject Uses

func (in *AWSControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSControlPlaneList Uses

type AWSControlPlaneList struct {
    metav1.TypeMeta `json:",inline" yaml:",inline"`
    metav1.ListMeta `json:"metadata" yaml:"metadata"`
    Items           []AWSControlPlane `json:"items" yaml:"items"`
}

func (*AWSControlPlaneList) DeepCopy Uses

func (in *AWSControlPlaneList) DeepCopy() *AWSControlPlaneList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSControlPlaneList.

func (*AWSControlPlaneList) DeepCopyInto Uses

func (in *AWSControlPlaneList) DeepCopyInto(out *AWSControlPlaneList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSControlPlaneList) DeepCopyObject Uses

func (in *AWSControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSControlPlaneSpec Uses

type AWSControlPlaneSpec struct {
    AvailabilityZones []string `json:"availabilityZones" yaml:"availabilityZones"`
    InstanceType      string   `json:"instanceType" yaml:"instanceType"`
}

func (*AWSControlPlaneSpec) DeepCopy Uses

func (in *AWSControlPlaneSpec) DeepCopy() *AWSControlPlaneSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSControlPlaneSpec.

func (*AWSControlPlaneSpec) DeepCopyInto Uses

func (in *AWSControlPlaneSpec) DeepCopyInto(out *AWSControlPlaneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSControlPlaneStatus Uses

type AWSControlPlaneStatus struct {
    Status string `json:"status,omitempty" yaml:"status,omitempty"`
}

TODO

func (*AWSControlPlaneStatus) DeepCopy Uses

func (in *AWSControlPlaneStatus) DeepCopy() *AWSControlPlaneStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSControlPlaneStatus.

func (*AWSControlPlaneStatus) DeepCopyInto Uses

func (in *AWSControlPlaneStatus) DeepCopyInto(out *AWSControlPlaneStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeployment Uses

type AWSMachineDeployment struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`
    Spec              AWSMachineDeploymentSpec   `json:"spec" yaml:"spec"`
    Status            AWSMachineDeploymentStatus `json:"status" yaml:"status"`
}

AWSMachineDeployment is the infrastructure provider referenced in upstream CAPI MachineDeployment CRs.

apiVersion: infrastructure.giantswarm.io/v1alpha2
kind: AWSMachineDeployment
metadata:
  labels:
    aws-operator.giantswarm.io/version: 6.2.0
    cluster-operator.giantswarm.io/version: 0.17.0
    giantswarm.io/cluster: 8y5kc
    giantswarm.io/organization: "giantswarm"
    giantswarm.io/machine-deployment: al9qy
    release.giantswarm.io/version: 7.3.1
  name: al9qy
spec:
  nodePool:
    description: my fancy node pool
    machine:
      dockerVolumeSizeGB: 100
      kubeletVolumeSizeGB: 100
    scaling:
      max: 3
      min: 3
  provider:
    availabilityZones:
      - eu-central-1a
    instanceDistribution:
      onDemandBaseCapacity: 0
      onDemandPercentageAboveBaseCapacity: 0
    worker:
      instanceType: m4.xlarge
      useAlikeInstanceTypes: true
status:
  provider:
    worker:
      instanceTypes:
        - "m4.xlarge"
        - "m5.xlarge"
      spotInstances: 39

func NewAWSMachineDeploymentCR Uses

func NewAWSMachineDeploymentCR() *AWSMachineDeployment

NewAWSMachineDeploymentCR returns an AWSMachineDeployment Custom Resource.

func (*AWSMachineDeployment) DeepCopy Uses

func (in *AWSMachineDeployment) DeepCopy() *AWSMachineDeployment

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeployment.

func (*AWSMachineDeployment) DeepCopyInto Uses

func (in *AWSMachineDeployment) DeepCopyInto(out *AWSMachineDeployment)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineDeployment) DeepCopyObject Uses

func (in *AWSMachineDeployment) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineDeploymentList Uses

type AWSMachineDeploymentList struct {
    metav1.TypeMeta `json:",inline" yaml:",inline"`
    metav1.ListMeta `json:"metadata" yaml:"metadata"`
    Items           []AWSMachineDeployment `json:"items" yaml:"items"`
}

func (*AWSMachineDeploymentList) DeepCopy Uses

func (in *AWSMachineDeploymentList) DeepCopy() *AWSMachineDeploymentList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentList.

func (*AWSMachineDeploymentList) DeepCopyInto Uses

func (in *AWSMachineDeploymentList) DeepCopyInto(out *AWSMachineDeploymentList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AWSMachineDeploymentList) DeepCopyObject Uses

func (in *AWSMachineDeploymentList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AWSMachineDeploymentSpec Uses

type AWSMachineDeploymentSpec struct {
    NodePool AWSMachineDeploymentSpecNodePool `json:"nodePool" yaml:"nodePool"`
    Provider AWSMachineDeploymentSpecProvider `json:"provider" yaml:"provider"`
}

func (*AWSMachineDeploymentSpec) DeepCopy Uses

func (in *AWSMachineDeploymentSpec) DeepCopy() *AWSMachineDeploymentSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpec.

func (*AWSMachineDeploymentSpec) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpec) DeepCopyInto(out *AWSMachineDeploymentSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecInstanceDistribution Uses

type AWSMachineDeploymentSpecInstanceDistribution struct {
    OnDemandBaseCapacity                int `json:"onDemandBaseCapacity" yaml:"onDemandBaseCapacity"`
    OnDemandPercentageAboveBaseCapacity int `json:"onDemandPercentageAboveBaseCapacity" yaml:"onDemandPercentageAboveBaseCapacity"`
}

func (*AWSMachineDeploymentSpecInstanceDistribution) DeepCopy Uses

func (in *AWSMachineDeploymentSpecInstanceDistribution) DeepCopy() *AWSMachineDeploymentSpecInstanceDistribution

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecInstanceDistribution.

func (*AWSMachineDeploymentSpecInstanceDistribution) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecInstanceDistribution) DeepCopyInto(out *AWSMachineDeploymentSpecInstanceDistribution)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecNodePool Uses

type AWSMachineDeploymentSpecNodePool struct {
    Description string                                  `json:"description" yaml:"description"`
    Machine     AWSMachineDeploymentSpecNodePoolMachine `json:"machine" yaml:"machine"`
    Scaling     AWSMachineDeploymentSpecNodePoolScaling `json:"scaling" yaml:"scaling"`
}

func (*AWSMachineDeploymentSpecNodePool) DeepCopy Uses

func (in *AWSMachineDeploymentSpecNodePool) DeepCopy() *AWSMachineDeploymentSpecNodePool

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecNodePool.

func (*AWSMachineDeploymentSpecNodePool) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecNodePool) DeepCopyInto(out *AWSMachineDeploymentSpecNodePool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecNodePoolMachine Uses

type AWSMachineDeploymentSpecNodePoolMachine struct {
    DockerVolumeSizeGB  int `json:"dockerVolumeSizeGB" yaml:"dockerVolumeSizeGB"`
    KubeletVolumeSizeGB int `json:"kubeletVolumeSizeGB" yaml:"kubeletVolumeSizeGB"`
}

func (*AWSMachineDeploymentSpecNodePoolMachine) DeepCopy Uses

func (in *AWSMachineDeploymentSpecNodePoolMachine) DeepCopy() *AWSMachineDeploymentSpecNodePoolMachine

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecNodePoolMachine.

func (*AWSMachineDeploymentSpecNodePoolMachine) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecNodePoolMachine) DeepCopyInto(out *AWSMachineDeploymentSpecNodePoolMachine)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecNodePoolScaling Uses

type AWSMachineDeploymentSpecNodePoolScaling struct {
    Max int `json:"max" yaml:"max"`
    Min int `json:"min" yaml:"min"`
}

func (*AWSMachineDeploymentSpecNodePoolScaling) DeepCopy Uses

func (in *AWSMachineDeploymentSpecNodePoolScaling) DeepCopy() *AWSMachineDeploymentSpecNodePoolScaling

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecNodePoolScaling.

func (*AWSMachineDeploymentSpecNodePoolScaling) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecNodePoolScaling) DeepCopyInto(out *AWSMachineDeploymentSpecNodePoolScaling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecProvider Uses

type AWSMachineDeploymentSpecProvider struct {
    AvailabilityZones    []string                                     `json:"availabilityZones" yaml:"availabilityZones"`
    InstanceDistribution AWSMachineDeploymentSpecInstanceDistribution `json:"instanceDistribution" yaml:"instanceDistribution"`
    Worker               AWSMachineDeploymentSpecProviderWorker       `json:"worker" yaml:"worker"`
}

func (*AWSMachineDeploymentSpecProvider) DeepCopy Uses

func (in *AWSMachineDeploymentSpecProvider) DeepCopy() *AWSMachineDeploymentSpecProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecProvider.

func (*AWSMachineDeploymentSpecProvider) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecProvider) DeepCopyInto(out *AWSMachineDeploymentSpecProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentSpecProviderWorker Uses

type AWSMachineDeploymentSpecProviderWorker struct {
    InstanceType          string `json:"instanceType" yaml:"instanceType"`
    UseAlikeInstanceTypes bool   `json:"useAlikeInstanceTypes" yaml:"useAlikeInstanceTypes"`
}

func (*AWSMachineDeploymentSpecProviderWorker) DeepCopy Uses

func (in *AWSMachineDeploymentSpecProviderWorker) DeepCopy() *AWSMachineDeploymentSpecProviderWorker

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentSpecProviderWorker.

func (*AWSMachineDeploymentSpecProviderWorker) DeepCopyInto Uses

func (in *AWSMachineDeploymentSpecProviderWorker) DeepCopyInto(out *AWSMachineDeploymentSpecProviderWorker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentStatus Uses

type AWSMachineDeploymentStatus struct {
    Provider AWSMachineDeploymentStatusProvider `json:"provider" yaml:"provider"`
}

func (*AWSMachineDeploymentStatus) DeepCopy Uses

func (in *AWSMachineDeploymentStatus) DeepCopy() *AWSMachineDeploymentStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentStatus.

func (*AWSMachineDeploymentStatus) DeepCopyInto Uses

func (in *AWSMachineDeploymentStatus) DeepCopyInto(out *AWSMachineDeploymentStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentStatusProvider Uses

type AWSMachineDeploymentStatusProvider struct {
    Worker AWSMachineDeploymentStatusProviderWorker `json:"worker" yaml:"worker"`
}

func (*AWSMachineDeploymentStatusProvider) DeepCopy Uses

func (in *AWSMachineDeploymentStatusProvider) DeepCopy() *AWSMachineDeploymentStatusProvider

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentStatusProvider.

func (*AWSMachineDeploymentStatusProvider) DeepCopyInto Uses

func (in *AWSMachineDeploymentStatusProvider) DeepCopyInto(out *AWSMachineDeploymentStatusProvider)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AWSMachineDeploymentStatusProviderWorker Uses

type AWSMachineDeploymentStatusProviderWorker struct {
    InstanceTypes []string `json:"instanceTypes" yaml:"instanceTypes"`
    SpotInstances int      `json:"spotInstances" yaml:"spotInstances"`
}

func (*AWSMachineDeploymentStatusProviderWorker) DeepCopy Uses

func (in *AWSMachineDeploymentStatusProviderWorker) DeepCopy() *AWSMachineDeploymentStatusProviderWorker

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AWSMachineDeploymentStatusProviderWorker.

func (*AWSMachineDeploymentStatusProviderWorker) DeepCopyInto Uses

func (in *AWSMachineDeploymentStatusProviderWorker) DeepCopyInto(out *AWSMachineDeploymentStatusProviderWorker)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonClusterObject Uses

type CommonClusterObject interface {
    metav1.Object
    runtime.Object
    CommonClusterStatusGetSetter
}

CommonClusterObject represents common interface for all provider specific cluster objects.

type CommonClusterStatus Uses

type CommonClusterStatus struct {
    // One or several conditions that are currently applicable to the cluster.
    Conditions []CommonClusterStatusCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
    // Identifier of the cluster.
    ID  string `json:"id" yaml:"id"`
    // Release versions the cluster used so far.
    Versions []CommonClusterStatusVersion `json:"versions,omitempty" yaml:"versions,omitempty"`
}

CommonClusterStatus is shared type to contain provider independent cluster status information.

func (*CommonClusterStatus) DeepCopy Uses

func (in *CommonClusterStatus) DeepCopy() *CommonClusterStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonClusterStatus.

func (*CommonClusterStatus) DeepCopyInto Uses

func (in *CommonClusterStatus) DeepCopyInto(out *CommonClusterStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (CommonClusterStatus) GetCreatedCondition Uses

func (s CommonClusterStatus) GetCreatedCondition() CommonClusterStatusCondition

func (CommonClusterStatus) GetCreatingCondition Uses

func (s CommonClusterStatus) GetCreatingCondition() CommonClusterStatusCondition

func (CommonClusterStatus) GetDeletedCondition Uses

func (s CommonClusterStatus) GetDeletedCondition() CommonClusterStatusCondition

func (CommonClusterStatus) GetDeletingCondition Uses

func (s CommonClusterStatus) GetDeletingCondition() CommonClusterStatusCondition

func (CommonClusterStatus) GetUpdatedCondition Uses

func (s CommonClusterStatus) GetUpdatedCondition() CommonClusterStatusCondition

func (CommonClusterStatus) GetUpdatingCondition Uses

func (s CommonClusterStatus) GetUpdatingCondition() CommonClusterStatusCondition

func (CommonClusterStatus) HasCreatedCondition Uses

func (s CommonClusterStatus) HasCreatedCondition() bool

func (CommonClusterStatus) HasCreatingCondition Uses

func (s CommonClusterStatus) HasCreatingCondition() bool

func (CommonClusterStatus) HasDeletedCondition Uses

func (s CommonClusterStatus) HasDeletedCondition() bool

func (CommonClusterStatus) HasDeletingCondition Uses

func (s CommonClusterStatus) HasDeletingCondition() bool

func (CommonClusterStatus) HasUpdatedCondition Uses

func (s CommonClusterStatus) HasUpdatedCondition() bool

func (CommonClusterStatus) HasUpdatingCondition Uses

func (s CommonClusterStatus) HasUpdatingCondition() bool

func (CommonClusterStatus) HasVersion Uses

func (s CommonClusterStatus) HasVersion(semver string) bool

func (CommonClusterStatus) LatestCondition Uses

func (s CommonClusterStatus) LatestCondition() string

func (CommonClusterStatus) LatestVersion Uses

func (s CommonClusterStatus) LatestVersion() string

func (CommonClusterStatus) WithCreatedCondition Uses

func (s CommonClusterStatus) WithCreatedCondition() []CommonClusterStatusCondition

func (CommonClusterStatus) WithCreatingCondition Uses

func (s CommonClusterStatus) WithCreatingCondition() []CommonClusterStatusCondition

func (CommonClusterStatus) WithDeletedCondition Uses

func (s CommonClusterStatus) WithDeletedCondition() []CommonClusterStatusCondition

func (CommonClusterStatus) WithDeletingCondition Uses

func (s CommonClusterStatus) WithDeletingCondition() []CommonClusterStatusCondition

func (CommonClusterStatus) WithNewVersion Uses

func (s CommonClusterStatus) WithNewVersion(version string) []CommonClusterStatusVersion

func (CommonClusterStatus) WithUpdatedCondition Uses

func (s CommonClusterStatus) WithUpdatedCondition() []CommonClusterStatusCondition

func (CommonClusterStatus) WithUpdatingCondition Uses

func (s CommonClusterStatus) WithUpdatingCondition() []CommonClusterStatusCondition

type CommonClusterStatusCondition Uses

type CommonClusterStatusCondition struct {
    // Time the condition occurred.
    LastTransitionTime DeepCopyTime `json:"lastTransitionTime" yaml:"lastTransitionTime"`
    // Condition string, e. g. `Creating`, `Created`, `Upgraded`
    Condition string `json:"condition" yaml:"condition"`
}

CommonClusterStatusCondition explains the current condition(s) of the cluster.

func (*CommonClusterStatusCondition) DeepCopy Uses

func (in *CommonClusterStatusCondition) DeepCopy() *CommonClusterStatusCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonClusterStatusCondition.

func (*CommonClusterStatusCondition) DeepCopyInto Uses

func (in *CommonClusterStatusCondition) DeepCopyInto(out *CommonClusterStatusCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CommonClusterStatusGetSetter Uses

type CommonClusterStatusGetSetter interface {
    GetCommonClusterStatus() CommonClusterStatus
    SetCommonClusterStatus(ccs CommonClusterStatus)
}

CommonClusterStatusGetSetter provides abstract way to manipulate common provider independent cluster status field in provider CR's status.

type CommonClusterStatusVersion Uses

type CommonClusterStatusVersion struct {
    // Time the cluster assumed the given version.
    LastTransitionTime DeepCopyTime `json:"lastTransitionTime" yaml:"lastTransitionTime"`
    // The aws-operator version responsible for handling the cluster.
    Version string `json:"version" yaml:"version"`
}

CommonClusterStatusVersion informs which aws-operator version was/responsible for this cluster.

func (*CommonClusterStatusVersion) DeepCopy Uses

func (in *CommonClusterStatusVersion) DeepCopy() *CommonClusterStatusVersion

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonClusterStatusVersion.

func (*CommonClusterStatusVersion) DeepCopyInto Uses

func (in *CommonClusterStatusVersion) DeepCopyInto(out *CommonClusterStatusVersion)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type DeepCopyTime Uses

type DeepCopyTime struct {
    time.Time
}

DeepCopyTime implements the deep copy logic for time.Time which the k8s codegen is not able to generate out of the box.

func (*DeepCopyTime) DeepCopy Uses

func (in *DeepCopyTime) DeepCopy() *DeepCopyTime

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeepCopyTime.

func (*DeepCopyTime) DeepCopyInto Uses

func (in *DeepCopyTime) DeepCopyInto(out *DeepCopyTime)

type G8sControlPlane Uses

type G8sControlPlane struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`
    Spec              G8sControlPlaneSpec   `json:"spec"`
    Status            G8sControlPlaneStatus `json:"status"`
}

G8sControlPlane defines the Control Plane Nodes (Kubernetes Master Nodes) of a Giant Swarm Tenant Cluster

apiVersion: infrastructure.giantswarm.io/v1alpha2
kind: G8sControlPlane
metadata:
  annotations:
    giantswarm.io/docs: https://docs.giantswarm.io/reference/g8scontrolplanes.infrastructure.giantswarm.io/v1alpha2/
  labels:
    aws-operator.giantswarm.io/version: "6.2.0"
    cluster-operator.giantswarm.io/version: "0.17.0"
    giantswarm.io/cluster: 8y5kc
    giantswarm.io/organization: giantswarm
    release.giantswarm.io/version: "7.3.1"
  name: 8y5kc
spec:
  infrastructureRef:
    apiVersion: infrastructure.giantswarm.io/v1alpha2
    kind: AWSControlPlane
    name: 5f3kb
    namespace: default
  replicas: 3
status:
  readyReplicas: 3
  replicas: 3

func (*G8sControlPlane) DeepCopy Uses

func (in *G8sControlPlane) DeepCopy() *G8sControlPlane

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new G8sControlPlane.

func (*G8sControlPlane) DeepCopyInto Uses

func (in *G8sControlPlane) DeepCopyInto(out *G8sControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*G8sControlPlane) DeepCopyObject Uses

func (in *G8sControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type G8sControlPlaneList Uses

type G8sControlPlaneList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata"`
    Items           []G8sControlPlane `json:"items"`
}

func (*G8sControlPlaneList) DeepCopy Uses

func (in *G8sControlPlaneList) DeepCopy() *G8sControlPlaneList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new G8sControlPlaneList.

func (*G8sControlPlaneList) DeepCopyInto Uses

func (in *G8sControlPlaneList) DeepCopyInto(out *G8sControlPlaneList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*G8sControlPlaneList) DeepCopyObject Uses

func (in *G8sControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type G8sControlPlaneSpec Uses

type G8sControlPlaneSpec struct {
    // Replicas is the number replicas of the master node.
    Replicas int `json:"replicas" yaml:"replicas"`
    // InfrastructureRef is a required reference to provider-specific
    // Infrastructure.
    InfrastructureRef corev1.ObjectReference `json:"infrastructureRef"`
}

func (*G8sControlPlaneSpec) DeepCopy Uses

func (in *G8sControlPlaneSpec) DeepCopy() *G8sControlPlaneSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new G8sControlPlaneSpec.

func (*G8sControlPlaneSpec) DeepCopyInto Uses

func (in *G8sControlPlaneSpec) DeepCopyInto(out *G8sControlPlaneSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type G8sControlPlaneStatus Uses

type G8sControlPlaneStatus struct {
    // Total number of non-terminated machines targeted by this control plane
    // (their labels match the selector).
    // +optional
    Replicas int32 `json:"replicas,omitempty"`
    // Total number of fully running and ready control plane machines.
    // +optional
    ReadyReplicas int32 `json:"readyReplicas,omitempty"`
}

G8sControlPlaneStatus defines the observed state of G8sControlPlane.

func (*G8sControlPlaneStatus) DeepCopy Uses

func (in *G8sControlPlaneStatus) DeepCopy() *G8sControlPlaneStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new G8sControlPlaneStatus.

func (*G8sControlPlaneStatus) DeepCopyInto Uses

func (in *G8sControlPlaneStatus) DeepCopyInto(out *G8sControlPlaneStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Package v1alpha2 imports 10 packages (graph) and is imported by 39 packages. Updated 2020-04-06. Refresh now. Tools for package owners.