Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder is the scheme builder for ClusterVersionOperator's types. SchemeBuilder runtime.SchemeBuilder // AddToScheme is the function alias for AddtoScheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: apis.ClusterVersionGroupName, 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 CVOConfig ¶
type CVOConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Upstream URL `json:"upstream"` Channel string `json:"channel"` ClusterID uuid.UUID `json:"clusterId"` DesiredUpdate Update `json:"desiredUpdate"` }
CVOConfig is the configuration for the ClusterVersionOperator. This is where parameters related to automatic updates can be set. +genclient
func (*CVOConfig) DeepCopyInto ¶
DeepCopyInto copies the CVOConfig into another CVOConfig. This doesn't actually require a deep copy, but the code generator (and Go itself) isn't advanced enough to determine that.
func (*CVOConfig) DeepCopyObject ¶
DeepCopyObject copies the CVOConfig into an Object. This doesn't actually require a deep copy, but the code generator (and Go itself) isn't advanced enough to determine that.
type CVOConfigList ¶
type CVOConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []CVOConfig `json:"items"` }
CVOConfigList is a list of CVOConfig resources. +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CVOConfigList) DeepCopy ¶
func (in *CVOConfigList) DeepCopy() *CVOConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CVOConfigList.
func (*CVOConfigList) DeepCopyInto ¶
func (in *CVOConfigList) DeepCopyInto(out *CVOConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CVOConfigList) DeepCopyObject ¶
func (in *CVOConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CVOStatus ¶
type CVOStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` AvailableUpdates []Update `json:"availableUpdates"` }
CVOStatus contains information specific to the ClusterVersionOperator. This object is inserted into the Extension attribute of the generic OperatorStatus object. +k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*CVOStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CVOStatus.
func (*CVOStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CVOStatus) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type URL ¶
type URL string
URL is a thin wrapper around string that ensures the string is a valid URL.
func (*URL) UnmarshalJSON ¶
UnmarshalJSON unmarshals a URL, ensuring that it is valid.