v1alpha1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the clustermesh.infrastructure v1alpha1 API group +kubebuilder:object:generate=true +groupName=clustermesh.infrastructure.wildlife.io

Index

Constants

View Source
const (
	// ClusterMeshVPCPeeringReadyCondition reports on the successful reconcile of the clustermesh vpcpeering.
	ClusterMeshVPCPeeringReadyCondition clusterv1beta1.ConditionType = "ClusterMeshVPCPeeringReady"

	// ClusterMeshRoutesReadyCondition reports on the successful reconcile of clustermesh routes.
	ClusterMeshRoutesReadyCondition clusterv1beta1.ConditionType = "ClusterMeshRoutesReady"

	// KopsterraformGenerationReadyCondition reports on the successful reconcile of clustermesh security groups.
	ClusterMeshSecurityGroupsReadyCondition clusterv1beta1.ConditionType = "ClusterMeshSecurityGroupsReady"
)
View Source
const (
	// ClusterMeshVPCPeeringFailedReason (Severity=Error) indicates that not all clustermesh vpcpeerings are ready.
	ClusterMeshVPCPeeringFailedReason = "ClusterMeshVPCPeeringFailed"

	// ClusterMeshRoutesFailedReason (Severity=Error) indicates that not all clustermesh necessary routes are ready.
	ClusterMeshRoutesFailedReason = "ClusterMeshRoutesFailed"

	// ClusterMeshSecurityGroupFailedReason (Severity=Error) indicates that not all clustermesh securitygroups are ready.
	ClusterMeshSecurityGroupFailedReason = "ClusterMeshSecurityGroupFailed"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "clustermesh.infrastructure.wildlife.io", Version: "v1alpha1"}

	// 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
)

Functions

This section is empty.

Types

type ClusterMesh

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

	Spec   ClusterMeshSpec   `json:"spec,omitempty"`
	Status ClusterMeshStatus `json:"status,omitempty"`
}

ClusterMesh is the Schema for the clustermeshes API

func (*ClusterMesh) DeepCopy

func (in *ClusterMesh) DeepCopy() *ClusterMesh

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

func (*ClusterMesh) DeepCopyInto

func (in *ClusterMesh) DeepCopyInto(out *ClusterMesh)

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

func (*ClusterMesh) DeepCopyObject

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

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

func (*ClusterMesh) GetConditions

func (cm *ClusterMesh) GetConditions() clusterv1beta1.Conditions

GetConditions returns the set of conditions for this object.

func (*ClusterMesh) SetConditions

func (cm *ClusterMesh) SetConditions(conditions clusterv1beta1.Conditions)

SetConditions sets the conditions on this object.

type ClusterMeshList

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

ClusterMeshList contains a list of ClusterMesh

func (*ClusterMeshList) DeepCopy

func (in *ClusterMeshList) DeepCopy() *ClusterMeshList

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

func (*ClusterMeshList) DeepCopyInto

func (in *ClusterMeshList) DeepCopyInto(out *ClusterMeshList)

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

func (*ClusterMeshList) DeepCopyObject

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

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

type ClusterMeshSpec

type ClusterMeshSpec struct {
	// Clusters describes a AWS Kubernetes cluster.
	Clusters []*ClusterSpec `json:"clusterSpec,omitempty"`
}

ClusterMeshSpec defines the desired state of ClusterMesh

func (*ClusterMeshSpec) DeepCopy

func (in *ClusterMeshSpec) DeepCopy() *ClusterMeshSpec

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

func (*ClusterMeshSpec) DeepCopyInto

func (in *ClusterMeshSpec) DeepCopyInto(out *ClusterMeshSpec)

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

type ClusterMeshStatus

type ClusterMeshStatus struct {
	CrossplanePeeringRef       []*corev1.ObjectReference `json:"crossplanePeeringRef,omitempty"`
	CrossplaneSecurityGroupRef []*corev1.ObjectReference `json:"crossplaneSecurityGroupRef,omitempty"`
	Conditions                 clusterv1beta1.Conditions `json:"conditions,omitempty"`
	RoutesRef                  []*corev1.ObjectReference `json:"routesRef,omitempty"`
}

ClusterMeshStatus defines the observed state of ClusterMesh

func (*ClusterMeshStatus) DeepCopy

func (in *ClusterMeshStatus) DeepCopy() *ClusterMeshStatus

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

func (*ClusterMeshStatus) DeepCopyInto

func (in *ClusterMeshStatus) DeepCopyInto(out *ClusterMeshStatus)

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

type ClusterSpec

type ClusterSpec struct {
	VPCID         string   `json:"vpcID,omitempty"`
	Name          string   `json:"name,omitempty"`
	Namespace     string   `json:"namespace,omitempty"`
	Region        string   `json:"region,omitempty"`
	CIDR          string   `json:"cidr,omitempty"`
	RouteTableIDs []string `json:"routeTableIDs,omitempty"`
}

func (*ClusterSpec) DeepCopy

func (in *ClusterSpec) DeepCopy() *ClusterSpec

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

func (*ClusterSpec) DeepCopyInto

func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL