Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=k3s.ibtc.io
+k8s:deepcopy-gen=package +groupName=k3s.ibtc.io
+k8s:deepcopy-gen=package +groupName=k3s.ibtc.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var (
K3sResourceName = "k3ses"
)
var SchemeGroupVersion = schema.GroupVersion{Group: k3s.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Endpoint ¶
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericMap ¶
type GenericMap struct {
Data map[string]interface{} `json:"-"`
}
func (*GenericMap) DeepCopy ¶
func (in *GenericMap) DeepCopy() *GenericMap
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericMap.
func (*GenericMap) DeepCopyInto ¶
func (in *GenericMap) DeepCopyInto(out *GenericMap)
func (GenericMap) MarshalJSON ¶
func (in GenericMap) MarshalJSON() ([]byte, error)
func (*GenericMap) UnmarshalJSON ¶
func (in *GenericMap) UnmarshalJSON(data []byte) error
type K3s ¶
type K3s struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec K3sSpec `json:"spec"` Status K3sStatus `json:"status,omitempty"` }
func (*K3s) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K3s.
func (*K3s) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K3s) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type K3sList ¶
type K3sList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []K3s `json:"items"` }
K3sList is a list of K3s resources
func (*K3sList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K3sList.
func (*K3sList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*K3sList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type K3sSpec ¶
type K3sSpec struct { ControlPlaneEndpoint *Endpoint `json:"controlPlaneEndpoint,omitempty"` Channel string `json:"channel,omitempty"` }
func (*K3sSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K3sSpec.
func (*K3sSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type K3sStatus ¶
type K3sStatus struct { ObservedGeneration int64 `json:"observedGeneration"` Ready bool `json:"ready,omitempty"` CredentialSecretName string `json:"credentialSecretName,omitempty"` Token string `json:"token,omitempty"` Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"` }
func (*K3sStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K3sStatus.
func (*K3sStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.