Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the operator v1 API group +kubebuilder:object:generate=true +groupName=operator.ibm.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "operator.ibm.com", Version: "v1"} // 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 NamespaceScope ¶
type NamespaceScope struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NamespaceScopeSpec `json:"spec,omitempty"` Status NamespaceScopeStatus `json:"status,omitempty"` }
NamespaceScope is the Schema for the namespacescopes API
func (*NamespaceScope) DeepCopy ¶
func (in *NamespaceScope) DeepCopy() *NamespaceScope
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScope.
func (*NamespaceScope) DeepCopyInto ¶
func (in *NamespaceScope) DeepCopyInto(out *NamespaceScope)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceScope) DeepCopyObject ¶
func (in *NamespaceScope) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceScopeList ¶
type NamespaceScopeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NamespaceScope `json:"items"` }
NamespaceScopeList contains a list of NamespaceScope
func (*NamespaceScopeList) DeepCopy ¶
func (in *NamespaceScopeList) DeepCopy() *NamespaceScopeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScopeList.
func (*NamespaceScopeList) DeepCopyInto ¶
func (in *NamespaceScopeList) DeepCopyInto(out *NamespaceScopeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceScopeList) DeepCopyObject ¶
func (in *NamespaceScopeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceScopeSpec ¶
type NamespaceScopeSpec struct { // Namespaces that are part of this scope NamespaceMembers []string `json:"namespaceMembers,omitempty"` // ConfigMap name that will contain the list of namespaces to be watched ConfigmapName string `json:"configmapName,omitempty"` // Restart pods with the following labels when the namspace list changes RestartLabels map[string]string `json:"restartLabels,omitempty"` // Set the following to true to manaually manage permissions for the NamespaceScope operator to extend control over other namespaces // The operator may fail when trying to extend permissions to other namespaces, but the cluster administrator can correct this using the // authorize-namespace command. ManualManagement bool `json:"manualManagement,omitempty"` }
NamespaceScopeSpec defines the desired state of NamespaceScope
func (*NamespaceScopeSpec) DeepCopy ¶
func (in *NamespaceScopeSpec) DeepCopy() *NamespaceScopeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScopeSpec.
func (*NamespaceScopeSpec) DeepCopyInto ¶
func (in *NamespaceScopeSpec) DeepCopyInto(out *NamespaceScopeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceScopeStatus ¶
type NamespaceScopeStatus struct { }
NamespaceScopeStatus defines the observed state of NamespaceScope
func (*NamespaceScopeStatus) DeepCopy ¶
func (in *NamespaceScopeStatus) DeepCopy() *NamespaceScopeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceScopeStatus.
func (*NamespaceScopeStatus) DeepCopyInto ¶
func (in *NamespaceScopeStatus) DeepCopyInto(out *NamespaceScopeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.