Documentation
¶
Overview ¶
Package rancher contains the rancher provisioning.cattle.io/v1 and management.cattle.io/v3 API proxy implementations.
Package v3 contains the rancher management.cattle.io/v3 API proxy implementations. +kubebuilder:object:generate=true +groupName=management.cattle.io
Index ¶
Constants ¶
const ( // ClusterConditionAgentDeployed is the condition type for the agent deployed condition. ClusterConditionAgentDeployed clusterv1.ConditionType = "AgentDeployed" // ClusterConditionReady is the condition type for the ready condition. ClusterConditionReady clusterv1.ConditionType = "Ready" // CapiClusterFinalizer is the finalizer applied to capi clusters. CapiClusterFinalizer = "capicluster.turtles.cattle.io" )
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "management.cattle.io", Version: "v3"} // 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 Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` }
Cluster is the struct representing a Rancher Cluster. +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) GetConditions ¶
func (c *Cluster) GetConditions() clusterv1.Conditions
GetConditions method to implement capi conditions getter interface.
func (*Cluster) SetConditions ¶
func (c *Cluster) SetConditions(conditions clusterv1.Conditions)
SetConditions method to implement capi conditions setter interface.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
ClusterList contains a list of ClusterList. +kubebuilder:object:root=true
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationToken ¶
type ClusterRegistrationToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRegistrationTokenSpec `json:"spec"` Status ClusterRegistrationTokenStatus `json:"status,omitempty"` }
ClusterRegistrationToken is the struct representing a Rancher ClusterRegistrationToken. +kubebuilder:object:root=true +kubebuilder:subresource:status
func (*ClusterRegistrationToken) DeepCopy ¶
func (in *ClusterRegistrationToken) DeepCopy() *ClusterRegistrationToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationToken.
func (*ClusterRegistrationToken) DeepCopyInto ¶
func (in *ClusterRegistrationToken) DeepCopyInto(out *ClusterRegistrationToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistrationToken) DeepCopyObject ¶
func (in *ClusterRegistrationToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationTokenList ¶
type ClusterRegistrationTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterRegistrationToken `json:"items"` }
ClusterRegistrationTokenList contains a list of ClusterRegistrationTokens. +kubebuilder:object:root=true
func (*ClusterRegistrationTokenList) DeepCopy ¶
func (in *ClusterRegistrationTokenList) DeepCopy() *ClusterRegistrationTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenList.
func (*ClusterRegistrationTokenList) DeepCopyInto ¶
func (in *ClusterRegistrationTokenList) DeepCopyInto(out *ClusterRegistrationTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRegistrationTokenList) DeepCopyObject ¶
func (in *ClusterRegistrationTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRegistrationTokenSpec ¶
type ClusterRegistrationTokenSpec struct {
ClusterName string `json:"clusterName"`
}
ClusterRegistrationTokenSpec is the struct representing the spec of a Rancher ClusterRegistrationToken.
func (*ClusterRegistrationTokenSpec) DeepCopy ¶
func (in *ClusterRegistrationTokenSpec) DeepCopy() *ClusterRegistrationTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenSpec.
func (*ClusterRegistrationTokenSpec) DeepCopyInto ¶
func (in *ClusterRegistrationTokenSpec) DeepCopyInto(out *ClusterRegistrationTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRegistrationTokenStatus ¶
type ClusterRegistrationTokenStatus struct {
ManifestURL string `json:"manifestUrl"`
}
ClusterRegistrationTokenStatus is the struct representing the status of a Rancher ClusterRegistrationToken.
func (*ClusterRegistrationTokenStatus) DeepCopy ¶
func (in *ClusterRegistrationTokenStatus) DeepCopy() *ClusterRegistrationTokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRegistrationTokenStatus.
func (*ClusterRegistrationTokenStatus) DeepCopyInto ¶
func (in *ClusterRegistrationTokenStatus) DeepCopyInto(out *ClusterRegistrationTokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { DisplayName string `json:"displayName,omitempty"` Description string `json:"description,omitempty"` FleetWorkspaceName string `json:"fleetWorkspaceName,omitempty"` }
ClusterSpec is the struct representing the specification of a Rancher Cluster.
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.
type ClusterStatus ¶
type ClusterStatus struct {
Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}
ClusterStatus is the struct representing the status of a Rancher Cluster.
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.