Documentation
¶
Index ¶
Constants ¶
const ( ClusterCRDPlural string = "clusters" ClusterCRDGroup string = "nrp-nautilus.io" ClusterCRDVersion string = "v1alpha1" FullClusterCRDName string = ClusterCRDPlural + "." + ClusterCRDGroup )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: nrpcontroller.GroupName, Version: "v1alpha1", }
SchemeGroupVersion is group version used to register these objects
Functions ¶
func CreateClusterCRD ¶
CreateClusterCRD creates a new Cluster CRD
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) DeepCopyInto ¶
func (*Cluster) DeepCopyObject ¶
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 ClusterNamespace ¶
type ClusterNamespace struct { metaV1.TypeMeta `json:",inline"` metaV1.ObjectMeta `json:"metadata"` Spec ClusterSpec `json:"spec"` }
func (*ClusterNamespace) DeepCopy ¶
func (in *ClusterNamespace) DeepCopy() *ClusterNamespace
func (*ClusterNamespace) DeepCopyInto ¶
func (in *ClusterNamespace) DeepCopyInto(out *ClusterNamespace)
func (*ClusterNamespace) DeepCopyObject ¶
func (in *ClusterNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterNamespaceList ¶
type ClusterNamespaceList struct { metaV1.TypeMeta `json:",inline"` metaV1.ListMeta `json:"metadata"` Items []ClusterNamespace `json:"items"` }
ClusterNamespaceList is a list of Cluster Namespaces
func (*ClusterNamespaceList) DeepCopy ¶
func (in *ClusterNamespaceList) DeepCopy() *ClusterNamespaceList
func (*ClusterNamespaceList) DeepCopyInto ¶
func (in *ClusterNamespaceList) DeepCopyInto(out *ClusterNamespaceList)
func (*ClusterNamespaceList) DeepCopyObject ¶
func (in *ClusterNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterNamespaceSpec ¶
type ClusterNamespaceSpec struct { }
func (*ClusterNamespaceSpec) DeepCopy ¶
func (in *ClusterNamespaceSpec) DeepCopy() *ClusterNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterNSSpec.
func (*ClusterNamespaceSpec) DeepCopyInto ¶
func (in *ClusterNamespaceSpec) DeepCopyInto(out *ClusterNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)