cluster-api: sigs.k8s.io/cluster-api/test/infrastructure/docker/exp/api/v1alpha4 Index | Files

package v1alpha4

import "sigs.k8s.io/cluster-api/test/infrastructure/docker/exp/api/v1alpha4"

Package v1alpha4 contains API Schema definitions for the exp.infrastructure v1alpha4 API group +kubebuilder:object:generate=true +groupName=exp.infrastructure.cluster.x-k8s.io

Index

Package Files

dockermachinepool_types.go groupversion_info.go zz_generated.deepcopy.go

Constants

const (
    // MachinePoolFinalizer allows ReconcileDockerMachinePool to clean up resources
    MachinePoolFinalizer = "dockermachinepool.infrastructure.cluster.x-k8s.io"
)

Variables

var (
    // GroupVersion is group version used to register these objects
    GroupVersion = schema.GroupVersion{Group: "exp.infrastructure.cluster.x-k8s.io", Version: "v1alpha4"}

    // SchemeBuilder is used to add go types to the GroupVersionKind scheme
    SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

    // AddToScheme adds the types in this group-version to the given scheme.
    AddToScheme = SchemeBuilder.AddToScheme
)

type DockerMachinePool Uses

type DockerMachinePool struct {
    metav1.TypeMeta   `json:",inline"`
    metav1.ObjectMeta `json:"metadata,omitempty"`

    Spec   DockerMachinePoolSpec   `json:"spec,omitempty"`
    Status DockerMachinePoolStatus `json:"status,omitempty"`
}

DockerMachinePool is the Schema for the dockermachinepools API

func (*DockerMachinePool) DeepCopy Uses

func (in *DockerMachinePool) DeepCopy() *DockerMachinePool

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

func (*DockerMachinePool) DeepCopyInto Uses

func (in *DockerMachinePool) DeepCopyInto(out *DockerMachinePool)

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

func (*DockerMachinePool) DeepCopyObject Uses

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

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

func (*DockerMachinePool) GetConditions Uses

func (c *DockerMachinePool) GetConditions() clusterv1.Conditions

func (*DockerMachinePool) SetConditions Uses

func (c *DockerMachinePool) SetConditions(conditions clusterv1.Conditions)

type DockerMachinePoolInstanceStatus Uses

type DockerMachinePoolInstanceStatus struct {
    // Addresses contains the associated addresses for the docker machine.
    // +optional
    Addresses []clusterv1.MachineAddress `json:"addresses,omitempty"`

    // InstanceName is the identification of the Machine Instance within the Machine Pool
    InstanceName string `json:"instanceName,omitempty"`

    // ProviderID is the provider identification of the Machine Pool Instance
    // +optional
    ProviderID *string `json:"providerID,omitempty"`

    // Version defines the Kubernetes version for the Machine Instance
    // +optional
    Version *string `json:"version,omitempty"`

    // Ready denotes that the machine (docker container) is ready
    // +optional
    Ready bool `json:"ready"`

    // Bootstrapped is true when the kubeadm bootstrapping has been run
    // against this machine
    // +optional
    Bootstrapped bool `json:"bootstrapped,omitempty"`
}

func (*DockerMachinePoolInstanceStatus) DeepCopy Uses

func (in *DockerMachinePoolInstanceStatus) DeepCopy() *DockerMachinePoolInstanceStatus

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

func (*DockerMachinePoolInstanceStatus) DeepCopyInto Uses

func (in *DockerMachinePoolInstanceStatus) DeepCopyInto(out *DockerMachinePoolInstanceStatus)

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

type DockerMachinePoolList Uses

type DockerMachinePoolList struct {
    metav1.TypeMeta `json:",inline"`
    metav1.ListMeta `json:"metadata,omitempty"`
    Items           []DockerMachinePool `json:"items"`
}

DockerMachinePoolList contains a list of DockerMachinePool

func (*DockerMachinePoolList) DeepCopy Uses

func (in *DockerMachinePoolList) DeepCopy() *DockerMachinePoolList

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

func (*DockerMachinePoolList) DeepCopyInto Uses

func (in *DockerMachinePoolList) DeepCopyInto(out *DockerMachinePoolList)

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

func (*DockerMachinePoolList) DeepCopyObject Uses

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

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

type DockerMachinePoolSpec Uses

type DockerMachinePoolSpec struct {
    // Template contains the details used to build a replica machine within the Machine Pool
    // +optional
    Template DockerMachineTemplate `json:"template"`

    // ProviderID is the identification ID of the Machine Pool
    // +optional
    ProviderID string `json:"providerID,omitempty"`

    // ProviderIDList is the list of identification IDs of machine instances managed by this Machine Pool
    //+optional
    ProviderIDList []string `json:"providerIDList,omitempty"`
}

DockerMachinePoolSpec defines the desired state of DockerMachinePool

func (*DockerMachinePoolSpec) DeepCopy Uses

func (in *DockerMachinePoolSpec) DeepCopy() *DockerMachinePoolSpec

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

func (*DockerMachinePoolSpec) DeepCopyInto Uses

func (in *DockerMachinePoolSpec) DeepCopyInto(out *DockerMachinePoolSpec)

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

type DockerMachinePoolStatus Uses

type DockerMachinePoolStatus struct {
    // Ready denotes that the machine pool is ready
    // +optional
    Ready bool `json:"ready"`

    // Replicas is the most recently observed number of replicas.
    // +optional
    Replicas int32 `json:"replicas"`

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

    // Instances contains the status for each instance in the pool
    // +optional
    Instances []*DockerMachinePoolInstanceStatus `json:"instances,omitempty"`

    // Conditions defines current service state of the DockerMachinePool.
    // +optional
    Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

DockerMachinePoolStatus defines the observed state of DockerMachinePool

func (*DockerMachinePoolStatus) DeepCopy Uses

func (in *DockerMachinePoolStatus) DeepCopy() *DockerMachinePoolStatus

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

func (*DockerMachinePoolStatus) DeepCopyInto Uses

func (in *DockerMachinePoolStatus) DeepCopyInto(out *DockerMachinePoolStatus)

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

type DockerMachineTemplate Uses

type DockerMachineTemplate struct {
    // CustomImage allows customizing the container image that is used for
    // running the machine
    // +optional
    CustomImage string `json:"customImage,omitempty"`

    // PreLoadImages allows to pre-load images in a newly created machine. This can be used to
    // speed up tests by avoiding e.g. to download CNI images on all the containers.
    // +optional
    PreLoadImages []string `json:"preLoadImages,omitempty"`

    // ExtraMounts describes additional mount points for the node container
    // These may be used to bind a hostPath
    // +optional
    ExtraMounts []infrav1.Mount `json:"extraMounts,omitempty"`
}

DockerMachineTemplate defines the desired state of DockerMachine

func (*DockerMachineTemplate) DeepCopy Uses

func (in *DockerMachineTemplate) DeepCopy() *DockerMachineTemplate

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

func (*DockerMachineTemplate) DeepCopyInto Uses

func (in *DockerMachineTemplate) DeepCopyInto(out *DockerMachineTemplate)

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

Package v1alpha4 imports 6 packages (graph) and is imported by 4 packages. Updated 2020-11-06. Refresh now. Tools for package owners.