v1alpha1

package
v0.0.0-...-c7431a4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the amko.vmware.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=amko.vmware.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "amko.vmware.com", 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 AMKOCluster

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

	Spec   AMKOClusterSpec   `json:"spec,omitempty"`
	Status AMKOClusterStatus `json:"status,omitempty"`
}

AMKOCluster is the Schema for the amkoclusters API

func (*AMKOCluster) DeepCopy

func (in *AMKOCluster) DeepCopy() *AMKOCluster

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

func (*AMKOCluster) DeepCopyInto

func (in *AMKOCluster) DeepCopyInto(out *AMKOCluster)

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

func (*AMKOCluster) DeepCopyObject

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

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

type AMKOClusterCondition

type AMKOClusterCondition struct {
	Type   string `json:"type,omitempty"`
	Status string `json:"status,omitempty"`
	Reason string `json:"reason,omitempty"`
}

func (*AMKOClusterCondition) DeepCopy

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

func (*AMKOClusterCondition) DeepCopyInto

func (in *AMKOClusterCondition) DeepCopyInto(out *AMKOClusterCondition)

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

type AMKOClusterList

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

AMKOClusterList contains a list of AMKOCluster

func (*AMKOClusterList) DeepCopy

func (in *AMKOClusterList) DeepCopy() *AMKOClusterList

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

func (*AMKOClusterList) DeepCopyInto

func (in *AMKOClusterList) DeepCopyInto(out *AMKOClusterList)

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

func (*AMKOClusterList) DeepCopyObject

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

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

type AMKOClusterSpec

type AMKOClusterSpec struct {
	// IsLeader indicates whether this federator is running as part of the leader AMKO instance
	IsLeader bool `json:"isLeader,omitempty"`

	// Current cluster context wherever this AMKO is currently deployed
	ClusterContext string `json:"clusterContext,omitempty"`

	// Version of the AMKO instance
	Version string `json:"version,omitempty"`

	// Clusters contain the list of all clusters where the federation will happen
	Clusters []string `json:"clusters,omitempty"`
}

AMKOClusterSpec defines the desired state of AMKOCluster

func (*AMKOClusterSpec) DeepCopy

func (in *AMKOClusterSpec) DeepCopy() *AMKOClusterSpec

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

func (*AMKOClusterSpec) DeepCopyInto

func (in *AMKOClusterSpec) DeepCopyInto(out *AMKOClusterSpec)

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

type AMKOClusterStatus

type AMKOClusterStatus struct {
	Conditions []AMKOClusterCondition `json:"conditions,omitempty"`
}

AMKOClusterStatus defines the observed state of AMKOCluster

func (*AMKOClusterStatus) DeepCopy

func (in *AMKOClusterStatus) DeepCopy() *AMKOClusterStatus

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

func (*AMKOClusterStatus) DeepCopyInto

func (in *AMKOClusterStatus) DeepCopyInto(out *AMKOClusterStatus)

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