v1alpha2

package
v0.0.0-...-e31b21c Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterCRDPlural   string = "clusters"
	ClusterCRDGroup    string = "slateci.io"
	ClusterCRDVersion  string = "v1alpha2"
	FullClusterCRDName string = ClusterCRDPlural + "." + ClusterCRDGroup
)
View Source
const (
	ClusterNSCRDPlural   string = "clusternss"
	ClusterNSCRDGroup    string = "slateci.io"
	ClusterNSCRDVersion  string = "v1alpha2"
	ClusterNSFullCRDName string = ClusterNSCRDPlural + "." + ClusterNSCRDGroup
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   federationcontroller.GroupName,
	Version: "v1alpha2",
}

SchemeGroupVersion is group version used to register these objects

Functions

func CreateClusterCRD

func CreateClusterCRD(clientset apiextcs.Interface) error

CreateClusterCRD creates a new Cluster CRD

func CreateNSCRD

func CreateNSCRD(clientset apiextcs.Interface) error

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns back a Group qualified GroupResource

Types

type Cluster

type Cluster struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata"`
	Spec              ClusterSpec `json:"spec"`
}

Cluster holds information about the current cluster

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

func (*Cluster) DeepCopyObject

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

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

type ClusterList

type ClusterList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata"`
	Items           []Cluster `json:"items"`
}

ClusterList is a list of cluster resources

func (*ClusterList) DeepCopy

func (in *ClusterList) DeepCopy() *ClusterList

func (*ClusterList) DeepCopyInto

func (in *ClusterList) DeepCopyInto(out *ClusterList)

func (*ClusterList) DeepCopyObject

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

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

type ClusterNS

type ClusterNS struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata"`
	Spec              ClusterSpec `json:"spec"`
}

func (*ClusterNS) DeepCopy

func (in *ClusterNS) DeepCopy() *ClusterNS

func (*ClusterNS) DeepCopyInto

func (in *ClusterNS) DeepCopyInto(out *ClusterNS)

func (*ClusterNS) DeepCopyObject

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

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

type ClusterNSCrdClient

type ClusterNSCrdClient struct {
	// contains filtered or unexported fields
}

type ClusterNSList

type ClusterNSList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata"`
	Items           []ClusterNS `json:"items"`
}

ClusterNSList is a list of Cluster Namespaces

func (*ClusterNSList) DeepCopy

func (in *ClusterNSList) DeepCopy() *ClusterNSList

func (*ClusterNSList) DeepCopyInto

func (in *ClusterNSList) DeepCopyInto(out *ClusterNSList)

func (*ClusterNSList) DeepCopyObject

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

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

type ClusterNSSpec

type ClusterNSSpec struct {
}

func (*ClusterNSSpec) DeepCopy

func (in *ClusterNSSpec) DeepCopy() *ClusterNSSpec

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

func (*ClusterNSSpec) DeepCopyInto

func (in *ClusterNSSpec) DeepCopyInto(out *ClusterNSSpec)

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

type ClusterSpec

type ClusterSpec struct {
	Organization string `json:""`
	Namespace    string `json:""`
}

func (*ClusterSpec) DeepCopyInto

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

Jump to

Keyboard shortcuts

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