Documentation
¶
Overview ¶
Package v1 contains resources types for version v1 of the operators.coreos.com API group.
Index ¶
- Constants
- Variables
- func Convert_operators_OperatorGroupList_To_v1_OperatorGroupList(in *operators.OperatorGroupList, out *OperatorGroupList, s conversion.Scope) error
- func Convert_operators_OperatorGroupSpec_To_v1_OperatorGroupSpec(in *operators.OperatorGroupSpec, out *OperatorGroupSpec, s conversion.Scope) error
- func Convert_operators_OperatorGroupStatus_To_v1_OperatorGroupStatus(in *operators.OperatorGroupStatus, out *OperatorGroupStatus, ...) error
- func Convert_operators_OperatorGroup_To_v1_OperatorGroup(in *operators.OperatorGroup, out *OperatorGroup, s conversion.Scope) error
- func Convert_v1_OperatorGroupList_To_operators_OperatorGroupList(in *OperatorGroupList, out *operators.OperatorGroupList, s conversion.Scope) error
- func Convert_v1_OperatorGroupSpec_To_operators_OperatorGroupSpec(in *OperatorGroupSpec, out *operators.OperatorGroupSpec, s conversion.Scope) error
- func Convert_v1_OperatorGroupStatus_To_operators_OperatorGroupStatus(in *OperatorGroupStatus, out *operators.OperatorGroupStatus, ...) error
- func Convert_v1_OperatorGroup_To_operators_OperatorGroup(in *OperatorGroup, out *operators.OperatorGroup, s conversion.Scope) error
- func IsOperatorGroupLabel(label string) bool
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type OperatorGroup
- func (o *OperatorGroup) BuildTargetNamespaces() string
- func (in *OperatorGroup) DeepCopy() *OperatorGroup
- func (in *OperatorGroup) DeepCopyInto(out *OperatorGroup)
- func (in *OperatorGroup) DeepCopyObject() runtime.Object
- func (o *OperatorGroup) GetLabel() string
- func (o *OperatorGroup) HasServiceAccountSynced() bool
- func (o *OperatorGroup) IsServiceAccountSpecified() bool
- type OperatorGroupList
- type OperatorGroupSpec
- type OperatorGroupStatus
Constants ¶
const ( OperatorGroupAnnotationKey = "olm.operatorGroup" OperatorGroupNamespaceAnnotationKey = "olm.operatorNamespace" OperatorGroupTargetsAnnotationKey = "olm.targetNamespaces" OperatorGroupProvidedAPIsAnnotationKey = "olm.providedAPIs" OperatorGroupKind = "OperatorGroup" )
const ( // GroupName is the group name used in this package. GroupName = operators.GroupName // GroupVersion is the group version used in this package. GroupVersion = "v1" )
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_operators_OperatorGroupList_To_v1_OperatorGroupList ¶
func Convert_operators_OperatorGroupList_To_v1_OperatorGroupList(in *operators.OperatorGroupList, out *OperatorGroupList, s conversion.Scope) error
Convert_operators_OperatorGroupList_To_v1_OperatorGroupList is an autogenerated conversion function.
func Convert_operators_OperatorGroupSpec_To_v1_OperatorGroupSpec ¶
func Convert_operators_OperatorGroupSpec_To_v1_OperatorGroupSpec(in *operators.OperatorGroupSpec, out *OperatorGroupSpec, s conversion.Scope) error
Convert_operators_OperatorGroupSpec_To_v1_OperatorGroupSpec is an autogenerated conversion function.
func Convert_operators_OperatorGroupStatus_To_v1_OperatorGroupStatus ¶
func Convert_operators_OperatorGroupStatus_To_v1_OperatorGroupStatus(in *operators.OperatorGroupStatus, out *OperatorGroupStatus, s conversion.Scope) error
Convert_operators_OperatorGroupStatus_To_v1_OperatorGroupStatus is an autogenerated conversion function.
func Convert_operators_OperatorGroup_To_v1_OperatorGroup ¶
func Convert_operators_OperatorGroup_To_v1_OperatorGroup(in *operators.OperatorGroup, out *OperatorGroup, s conversion.Scope) error
Convert_operators_OperatorGroup_To_v1_OperatorGroup is an autogenerated conversion function.
func Convert_v1_OperatorGroupList_To_operators_OperatorGroupList ¶
func Convert_v1_OperatorGroupList_To_operators_OperatorGroupList(in *OperatorGroupList, out *operators.OperatorGroupList, s conversion.Scope) error
Convert_v1_OperatorGroupList_To_operators_OperatorGroupList is an autogenerated conversion function.
func Convert_v1_OperatorGroupSpec_To_operators_OperatorGroupSpec ¶
func Convert_v1_OperatorGroupSpec_To_operators_OperatorGroupSpec(in *OperatorGroupSpec, out *operators.OperatorGroupSpec, s conversion.Scope) error
Convert_v1_OperatorGroupSpec_To_operators_OperatorGroupSpec is an autogenerated conversion function.
func Convert_v1_OperatorGroupStatus_To_operators_OperatorGroupStatus ¶
func Convert_v1_OperatorGroupStatus_To_operators_OperatorGroupStatus(in *OperatorGroupStatus, out *operators.OperatorGroupStatus, s conversion.Scope) error
Convert_v1_OperatorGroupStatus_To_operators_OperatorGroupStatus is an autogenerated conversion function.
func Convert_v1_OperatorGroup_To_operators_OperatorGroup ¶
func Convert_v1_OperatorGroup_To_operators_OperatorGroup(in *OperatorGroup, out *operators.OperatorGroup, s conversion.Scope) error
Convert_v1_OperatorGroup_To_operators_OperatorGroup is an autogenerated conversion function.
func IsOperatorGroupLabel ¶
IsOperatorGroupLabel returns true if the label is an OperatorGroup label.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type OperatorGroup ¶
type OperatorGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` // +optional Spec OperatorGroupSpec `json:"spec"` Status OperatorGroupStatus `json:"status,omitempty"` }
OperatorGroup is the unit of multitenancy for OLM managed operators. It constrains the installation of operators in its namespace to a specified set of target namespaces.
func (*OperatorGroup) BuildTargetNamespaces ¶
func (o *OperatorGroup) BuildTargetNamespaces() string
func (*OperatorGroup) DeepCopy ¶
func (in *OperatorGroup) DeepCopy() *OperatorGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorGroup.
func (*OperatorGroup) DeepCopyInto ¶
func (in *OperatorGroup) DeepCopyInto(out *OperatorGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorGroup) DeepCopyObject ¶
func (in *OperatorGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OperatorGroup) GetLabel ¶
func (o *OperatorGroup) GetLabel() string
getOperatorGroupLabel returns a label that is applied to Namespaces to signify that the namespace is a part of the OperatorGroup using selectors.
func (*OperatorGroup) HasServiceAccountSynced ¶
func (o *OperatorGroup) HasServiceAccountSynced() bool
HasServiceAccountSynced returns true if the service account specified has been synced.
func (*OperatorGroup) IsServiceAccountSpecified ¶
func (o *OperatorGroup) IsServiceAccountSpecified() bool
IsServiceAccountSpecified returns true if the spec has a service account name specified.
type OperatorGroupList ¶
type OperatorGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` // +listType=set Items []OperatorGroup `json:"items"` }
OperatorGroupList is a list of OperatorGroup resources.
func (*OperatorGroupList) DeepCopy ¶
func (in *OperatorGroupList) DeepCopy() *OperatorGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorGroupList.
func (*OperatorGroupList) DeepCopyInto ¶
func (in *OperatorGroupList) DeepCopyInto(out *OperatorGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OperatorGroupList) DeepCopyObject ¶
func (in *OperatorGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OperatorGroupSpec ¶
type OperatorGroupSpec struct { // Selector selects the OperatorGroup's target namespaces. // +optional Selector *metav1.LabelSelector `json:"selector,omitempty"` // TargetNamespaces is an explicit set of namespaces to target. // If it is set, Selector is ignored. // +optional // +listType=set TargetNamespaces []string `json:"targetNamespaces,omitempty"` // ServiceAccountName is the admin specified service account which will be // used to deploy operator(s) in this operator group. ServiceAccountName string `json:"serviceAccountName,omitempty"` // Static tells OLM not to update the OperatorGroup's providedAPIs annotation // +optional StaticProvidedAPIs bool `json:"staticProvidedAPIs,omitempty"` }
OperatorGroupSpec is the spec for an OperatorGroup resource.
func (*OperatorGroupSpec) DeepCopy ¶
func (in *OperatorGroupSpec) DeepCopy() *OperatorGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorGroupSpec.
func (*OperatorGroupSpec) DeepCopyInto ¶
func (in *OperatorGroupSpec) DeepCopyInto(out *OperatorGroupSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OperatorGroupStatus ¶
type OperatorGroupStatus struct { // Namespaces is the set of target namespaces for the OperatorGroup. // +listType=set Namespaces []string `json:"namespaces,omitempty"` // ServiceAccountRef references the service account object specified. ServiceAccountRef *corev1.ObjectReference `json:"serviceAccountRef,omitempty"` // LastUpdated is a timestamp of the last time the OperatorGroup's status was Updated. LastUpdated *metav1.Time `json:"lastUpdated"` }
OperatorGroupStatus is the status for an OperatorGroupResource.
func (*OperatorGroupStatus) DeepCopy ¶
func (in *OperatorGroupStatus) DeepCopy() *OperatorGroupStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OperatorGroupStatus.
func (*OperatorGroupStatus) DeepCopyInto ¶
func (in *OperatorGroupStatus) DeepCopyInto(out *OperatorGroupStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.