Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the redhatcop v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhatcop.redhat.io
Index ¶
- Variables
- type GroupConfig
- func (in *GroupConfig) DeepCopy() *GroupConfig
- func (in *GroupConfig) DeepCopyInto(out *GroupConfig)
- func (in *GroupConfig) DeepCopyObject() runtime.Object
- func (m *GroupConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
- func (m *GroupConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
- type GroupConfigList
- type GroupConfigSpec
- type GroupConfigStatus
- type NamespaceConfig
- func (in *NamespaceConfig) DeepCopy() *NamespaceConfig
- func (in *NamespaceConfig) DeepCopyInto(out *NamespaceConfig)
- func (in *NamespaceConfig) DeepCopyObject() runtime.Object
- func (m *NamespaceConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
- func (m *NamespaceConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
- type NamespaceConfigList
- type NamespaceConfigSpec
- type NamespaceConfigStatus
- type UserConfig
- func (in *UserConfig) DeepCopy() *UserConfig
- func (in *UserConfig) DeepCopyInto(out *UserConfig)
- func (in *UserConfig) DeepCopyObject() runtime.Object
- func (m *UserConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
- func (m *UserConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
- type UserConfigList
- type UserConfigSpec
- type UserConfigStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "redhatcop.redhat.io", Version: "v1alpha1"} // 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 GroupConfig ¶
type GroupConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec GroupConfigSpec `json:"spec,omitempty"` Status GroupConfigStatus `json:"status,omitempty"` }
GroupConfig is the Schema for the groupconfigs API +kubebuilder:resource:path=groupconfigs,scope=Cluster
func (*GroupConfig) DeepCopy ¶
func (in *GroupConfig) DeepCopy() *GroupConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupConfig.
func (*GroupConfig) DeepCopyInto ¶
func (in *GroupConfig) DeepCopyInto(out *GroupConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupConfig) DeepCopyObject ¶
func (in *GroupConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GroupConfig) GetEnforcingReconcileStatus ¶
func (m *GroupConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
func (*GroupConfig) SetEnforcingReconcileStatus ¶
func (m *GroupConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
type GroupConfigList ¶
type GroupConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GroupConfig `json:"items"` }
GroupConfigList contains a list of GroupConfig
func (*GroupConfigList) DeepCopy ¶
func (in *GroupConfigList) DeepCopy() *GroupConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupConfigList.
func (*GroupConfigList) DeepCopyInto ¶
func (in *GroupConfigList) DeepCopyInto(out *GroupConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GroupConfigList) DeepCopyObject ¶
func (in *GroupConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GroupConfigSpec ¶
type GroupConfigSpec struct { // LabelSelector selects Groups by label. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty"` // AnnotationSelector selects Groups by annotation. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" AnnotationSelector metav1.LabelSelector `json:"annotationSelector,omitempty"` // Templates these are the templates of the resources to be created when a selected groups is created/updated // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Templates []apis.LockedResourceTemplate `json:"templates,omitempty"` }
GroupConfigSpec defines the desired state of GroupConfig There are two selectors: "labelSelector", "annotationSelector". Selectors are considered in AND, so if multiple are defined they must all be true for a Group to be selected.
func (*GroupConfigSpec) DeepCopy ¶
func (in *GroupConfigSpec) DeepCopy() *GroupConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupConfigSpec.
func (*GroupConfigSpec) DeepCopyInto ¶
func (in *GroupConfigSpec) DeepCopyInto(out *GroupConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GroupConfigStatus ¶
type GroupConfigStatus struct { // +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true apis.EnforcingReconcileStatus `json:",inline"` }
GroupConfigStatus defines the observed state of GroupConfig
func (*GroupConfigStatus) DeepCopy ¶
func (in *GroupConfigStatus) DeepCopy() *GroupConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupConfigStatus.
func (*GroupConfigStatus) DeepCopyInto ¶
func (in *GroupConfigStatus) DeepCopyInto(out *GroupConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceConfig ¶
type NamespaceConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NamespaceConfigSpec `json:"spec,omitempty"` Status NamespaceConfigStatus `json:"status,omitempty"` }
NamespaceConfig is the Schema for the namespaceconfigs API +kubebuilder:resource:path=namespaceconfigs,scope=Cluster
func (*NamespaceConfig) DeepCopy ¶
func (in *NamespaceConfig) DeepCopy() *NamespaceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceConfig.
func (*NamespaceConfig) DeepCopyInto ¶
func (in *NamespaceConfig) DeepCopyInto(out *NamespaceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceConfig) DeepCopyObject ¶
func (in *NamespaceConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NamespaceConfig) GetEnforcingReconcileStatus ¶
func (m *NamespaceConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
func (*NamespaceConfig) SetEnforcingReconcileStatus ¶
func (m *NamespaceConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
type NamespaceConfigList ¶
type NamespaceConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NamespaceConfig `json:"items"` }
NamespaceConfigList contains a list of NamespaceConfig
func (*NamespaceConfigList) DeepCopy ¶
func (in *NamespaceConfigList) DeepCopy() *NamespaceConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceConfigList.
func (*NamespaceConfigList) DeepCopyInto ¶
func (in *NamespaceConfigList) DeepCopyInto(out *NamespaceConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceConfigList) DeepCopyObject ¶
func (in *NamespaceConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceConfigSpec ¶
type NamespaceConfigSpec struct { // LabelSelector selects Namespaces by label. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty"` // AnnotationSelector selects Namespaces by annotation. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" AnnotationSelector metav1.LabelSelector `json:"annotationSelector,omitempty"` // Templates these are the templates of the resources to be created when a selected namespace is created/updated // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Templates []apis.LockedResourceTemplate `json:"templates,omitempty"` }
NamespaceConfigSpec defines the desired state of NamespaceConfig There are two selectors: "labelSelector", "annotationSelector". Selectors are considered in AND, so if multiple are defined they must all be true for a Namespace to be selected.
func (*NamespaceConfigSpec) DeepCopy ¶
func (in *NamespaceConfigSpec) DeepCopy() *NamespaceConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceConfigSpec.
func (*NamespaceConfigSpec) DeepCopyInto ¶
func (in *NamespaceConfigSpec) DeepCopyInto(out *NamespaceConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespaceConfigStatus ¶
type NamespaceConfigStatus struct { // +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true apis.EnforcingReconcileStatus `json:",inline"` }
NamespaceConfigStatus defines the observed state of NamespaceSConfig
func (*NamespaceConfigStatus) DeepCopy ¶
func (in *NamespaceConfigStatus) DeepCopy() *NamespaceConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceConfigStatus.
func (*NamespaceConfigStatus) DeepCopyInto ¶
func (in *NamespaceConfigStatus) DeepCopyInto(out *NamespaceConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserConfig ¶
type UserConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserConfigSpec `json:"spec,omitempty"` Status UserConfigStatus `json:"status,omitempty"` }
UserConfig is the Schema for the userconfigs API +kubebuilder:resource:path=userconfigs,scope=Cluster
func (*UserConfig) DeepCopy ¶
func (in *UserConfig) DeepCopy() *UserConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserConfig.
func (*UserConfig) DeepCopyInto ¶
func (in *UserConfig) DeepCopyInto(out *UserConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserConfig) DeepCopyObject ¶
func (in *UserConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*UserConfig) GetEnforcingReconcileStatus ¶
func (m *UserConfig) GetEnforcingReconcileStatus() apis.EnforcingReconcileStatus
func (*UserConfig) SetEnforcingReconcileStatus ¶
func (m *UserConfig) SetEnforcingReconcileStatus(reconcileStatus apis.EnforcingReconcileStatus)
type UserConfigList ¶
type UserConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []UserConfig `json:"items"` }
UserConfigList contains a list of UserConfig
func (*UserConfigList) DeepCopy ¶
func (in *UserConfigList) DeepCopy() *UserConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserConfigList.
func (*UserConfigList) DeepCopyInto ¶
func (in *UserConfigList) DeepCopyInto(out *UserConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserConfigList) DeepCopyObject ¶
func (in *UserConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserConfigSpec ¶
type UserConfigSpec struct { // LabelSelector selects Users by label. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" LabelSelector metav1.LabelSelector `json:"labelSelector,omitempty"` // AnnotationSelector selects Users by annotation. // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" AnnotationSelector metav1.LabelSelector `json:"annotationSelector,omitempty"` //IdentityExtraSelector allows you to specify a selector for the extra fields of the User's identities. //If one of the user identities matches the selector the User is selected //This condition is in OR with ProviderName // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:selector:" IdentityExtraFieldSelector metav1.LabelSelector `json:"identityExtraFieldSelector,omitempty"` //ProviderName allows you to specify an identity provider. If a user logged in with that provider it is selected. //This condition is in OR with IdentityExtraSelector // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors.x-descriptors="urn:alm:descriptor:com.tectonic.ui:text" ProviderName string `json:"providerName,omitempty"` // Templates these are the templates of the resources to be created when a selected user is created/updated // +kubebuilder:validation:Optional // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Templates []apis.LockedResourceTemplate `json:"templates,omitempty"` }
UserConfigSpec defines the desired state of UserConfig There are four selectors: "labelSelector", "annotationSelector", "identityExtraFieldSelector" and "providerName". labelSelector and annoationSelector are matches against the User object identityExtraFieldSelector and providerName are matched against any of the Identities associated with User Selectors are considered in AND, so if multiple are defined tthey must all be true for a User to be selected.
func (*UserConfigSpec) DeepCopy ¶
func (in *UserConfigSpec) DeepCopy() *UserConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserConfigSpec.
func (*UserConfigSpec) DeepCopyInto ¶
func (in *UserConfigSpec) DeepCopyInto(out *UserConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserConfigStatus ¶
type UserConfigStatus struct { // +operator-sdk:gen-csv:customresourcedefinitions.statusDescriptors=true apis.EnforcingReconcileStatus `json:",inline"` }
UserConfigStatus defines the observed state of UserConfig
func (*UserConfigStatus) DeepCopy ¶
func (in *UserConfigStatus) DeepCopy() *UserConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserConfigStatus.
func (*UserConfigStatus) DeepCopyInto ¶
func (in *UserConfigStatus) DeepCopyInto(out *UserConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.