Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the ibmcpcs.ibm.com v1 API group +kubebuilder:object:generate=true +groupName=ibmcpcs.ibm.com
Index ¶
- Variables
- type Configmapshare
- type MemberPhase
- type SecretConfigmapMembers
- type SecretShare
- func (r *SecretShare) CheckConfigmapStatus(namespacedName string, status MemberPhase) bool
- func (r *SecretShare) CheckSecretStatus(namespacedName string, status MemberPhase) bool
- func (in *SecretShare) DeepCopy() *SecretShare
- func (in *SecretShare) DeepCopyInto(out *SecretShare)
- func (in *SecretShare) DeepCopyObject() runtime.Object
- func (r *SecretShare) InitStatus()
- func (r *SecretShare) RemoveConfigmapStatus(namespacedName string)
- func (r *SecretShare) RemoveSecretStatus(namespacedName string)
- func (r *SecretShare) UpdateConfigmapStatus(namespacedName string, status MemberPhase) bool
- func (r *SecretShare) UpdateSecretStatus(namespacedName string, status MemberPhase) bool
- type SecretShareList
- type SecretShareSpec
- type SecretShareStatus
- type Secretshare
- type TargetNamespace
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "ibmcpcs.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 Configmapshare ¶
type Configmapshare struct { string `json:"configmapname"` Sharewith []TargetNamespace `json:"sharewith"` }Configmapname
Configmapshare identifies a Configmap required to be shared to another namespace
func (*Configmapshare) DeepCopy ¶
func (in *Configmapshare) DeepCopy() *Configmapshare
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configmapshare.
func (*Configmapshare) DeepCopyInto ¶
func (in *Configmapshare) DeepCopyInto(out *Configmapshare)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemberPhase ¶
type MemberPhase string
MemberPhase identifies the status of the
const ( Running MemberPhase = "Running" Failed MemberPhase = "Failed" NotFound MemberPhase = "NotFound" NotEnabled MemberPhase = "NotEnabled" None MemberPhase = "" )
Constants are used for status management
type SecretConfigmapMembers ¶
type SecretConfigmapMembers struct { // SecretMembers represnets the current operand status of the set // +optional SecretMembers map[string]MemberPhase `json:"secretMembers,omitempty"` // ConfigmapMembers represnets the current operand status of the set // +optional ConfigmapMembers map[string]MemberPhase `json:"configmapMembers,omitempty"` }
SecretConfigmapMembers defines the observed status of SecretShare
func (*SecretConfigmapMembers) DeepCopy ¶
func (in *SecretConfigmapMembers) DeepCopy() *SecretConfigmapMembers
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretConfigmapMembers.
func (*SecretConfigmapMembers) DeepCopyInto ¶
func (in *SecretConfigmapMembers) DeepCopyInto(out *SecretConfigmapMembers)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretShare ¶
type SecretShare struct {}
SecretShare is the Schema for the secretshares API
func (*SecretShare) CheckConfigmapStatus ¶
func (r *SecretShare) CheckConfigmapStatus(namespacedName string, status MemberPhase) bool
CheckConfigmapStatus checks the status of a configmap
func (*SecretShare) CheckSecretStatus ¶
func (r *SecretShare) CheckSecretStatus(namespacedName string, status MemberPhase) bool
CheckSecretStatus checks the status of a secret
func (*SecretShare) DeepCopy ¶
func (in *SecretShare) DeepCopy() *SecretShare
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretShare.
func (*SecretShare) DeepCopyInto ¶
func (in *SecretShare) DeepCopyInto(out *SecretShare)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretShare) DeepCopyObject ¶
func (in *SecretShare) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretShare) InitStatus ¶
func (r *SecretShare) InitStatus()
InitStatus check the status of a secret/configmap
func (*SecretShare) RemoveConfigmapStatus ¶
func (r *SecretShare) RemoveConfigmapStatus(namespacedName string)
RemoveConfigmapStatus removes the status of a configmap
func (*SecretShare) RemoveSecretStatus ¶
func (r *SecretShare) RemoveSecretStatus(namespacedName string)
RemoveSecretStatus removes the status of a secret
func (*SecretShare) UpdateConfigmapStatus ¶
func (r *SecretShare) UpdateConfigmapStatus(namespacedName string, status MemberPhase) bool
UpdateConfigmapStatus updates the status of a configmap
func (*SecretShare) UpdateSecretStatus ¶
func (r *SecretShare) UpdateSecretStatus(namespacedName string, status MemberPhase) bool
UpdateSecretStatus updates the status of a secret
type SecretShareList ¶
type SecretShareList struct {}
SecretShareList contains a list of SecretShare
func (*SecretShareList) DeepCopy ¶
func (in *SecretShareList) DeepCopy() *SecretShareList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretShareList.
func (*SecretShareList) DeepCopyInto ¶
func (in *SecretShareList) DeepCopyInto(out *SecretShareList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretShareList) DeepCopyObject ¶
func (in *SecretShareList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretShareSpec ¶
type SecretShareSpec struct { // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Secretshares []Secretshare `json:"secretshares,omitempty"` // +operator-sdk:gen-csv:customresourcedefinitions.specDescriptors=true Configmapshares []Configmapshare `json:"configmapshares,omitempty"` }
SecretShareSpec defines the desired state of SecretShare
func (*SecretShareSpec) DeepCopy ¶
func (in *SecretShareSpec) DeepCopy() *SecretShareSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretShareSpec.
func (*SecretShareSpec) DeepCopyInto ¶
func (in *SecretShareSpec) DeepCopyInto(out *SecretShareSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretShareStatus ¶
type SecretShareStatus struct { // +optional Members SecretConfigmapMembers `json:"members,omitempty"` }
SecretShareStatus defines the observed status of SecretShare
func (*SecretShareStatus) DeepCopy ¶
func (in *SecretShareStatus) DeepCopy() *SecretShareStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretShareStatus.
func (*SecretShareStatus) DeepCopyInto ¶
func (in *SecretShareStatus) DeepCopyInto(out *SecretShareStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secretshare ¶
type Secretshare struct { string `json:"secretname"` Sharewith []TargetNamespace `json:"sharewith"` }Secretname
Secretshare identifies a secret required to be shared to another namespace
func (*Secretshare) DeepCopy ¶
func (in *Secretshare) DeepCopy() *Secretshare
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secretshare.
func (*Secretshare) DeepCopyInto ¶
func (in *Secretshare) DeepCopyInto(out *Secretshare)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TargetNamespace ¶
type TargetNamespace struct { // Namespace is the target namespace of the secret or configmap Namespace string `json:"namespace"` }
TargetNamespace identifies the namespace the secret/configmap will be shared to
func (*TargetNamespace) DeepCopy ¶
func (in *TargetNamespace) DeepCopy() *TargetNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetNamespace.
func (*TargetNamespace) DeepCopyInto ¶
func (in *TargetNamespace) DeepCopyInto(out *TargetNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.