Documentation ¶
Index ¶
- type NamespaceRules
- type Rules
- type Secret
- type SecretSyncRule
- func (in *SecretSyncRule) DeepCopy() *SecretSyncRule
- func (in *SecretSyncRule) DeepCopyInto(out *SecretSyncRule)
- func (in *SecretSyncRule) DeepCopyObject() runtime.Object
- func (rule *SecretSyncRule) Namespaces(ctx context.Context, clientset kubernetes.Interface) (namespaces []v1.Namespace)
- func (rule *SecretSyncRule) ShouldSyncNamespace(namespace *v1.Namespace) bool
- func (rule *SecretSyncRule) ShouldSyncSecret(secret *v1.Secret) bool
- type SecretSyncRuleList
- func (in *SecretSyncRuleList) DeepCopy() *SecretSyncRuleList
- func (in *SecretSyncRuleList) DeepCopyInto(out *SecretSyncRuleList)
- func (in *SecretSyncRuleList) DeepCopyObject() runtime.Object
- func (list *SecretSyncRuleList) ShouldSyncNamespace(namespace *v1.Namespace) bool
- func (list *SecretSyncRuleList) ShouldSyncSecret(secret *v1.Secret) bool
- type SecretSyncRuleSpec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceRules ¶
type NamespaceRules struct { Exclude types.StringSlice `json:"exclude"` ExcludeRegex types.StringSlice `json:"excludeRegex"` Include types.StringSlice `json:"include"` IncludeRegex types.StringSlice `json:"includeRegex"` }
NamespaceRules include all rules for namepsaces to sync to.
func (*NamespaceRules) DeepCopy ¶
func (in *NamespaceRules) DeepCopy() *NamespaceRules
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceRules.
func (*NamespaceRules) DeepCopyInto ¶
func (in *NamespaceRules) DeepCopyInto(out *NamespaceRules)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rules ¶
type Rules struct { Namespaces NamespaceRules `json:"namespaces"` Force bool `json:"force"` }
Rules contains all rules for the secret to follow
func (*Rules) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rules.
func (*Rules) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Secret ¶ added in v1.2.0
Secret defines the attributes of the Secret to sync
func (*Secret) DeepCopy ¶ added in v1.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Secret.
func (*Secret) DeepCopyInto ¶ added in v1.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretSyncRule ¶
type SecretSyncRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SecretSyncRuleSpec `json:"spec"` }
SecretSyncRule is the definition for the SecretSyncRule CRD
func (*SecretSyncRule) DeepCopy ¶
func (in *SecretSyncRule) DeepCopy() *SecretSyncRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSyncRule.
func (*SecretSyncRule) DeepCopyInto ¶
func (in *SecretSyncRule) DeepCopyInto(out *SecretSyncRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretSyncRule) DeepCopyObject ¶
func (in *SecretSyncRule) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretSyncRule) Namespaces ¶
func (rule *SecretSyncRule) Namespaces(ctx context.Context, clientset kubernetes.Interface) (namespaces []v1.Namespace)
Namespaces returns a list of all namespaces that the given Rule allows for syncing
func (*SecretSyncRule) ShouldSyncNamespace ¶
func (rule *SecretSyncRule) ShouldSyncNamespace(namespace *v1.Namespace) bool
ShouldSyncNamespace determines whether or not the given Namespace should be synced
func (*SecretSyncRule) ShouldSyncSecret ¶
func (rule *SecretSyncRule) ShouldSyncSecret(secret *v1.Secret) bool
ShouldSyncSecret determines whether or not the given Secret should be synced
type SecretSyncRuleList ¶
type SecretSyncRuleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SecretSyncRule `json:"items"` }
SecretSyncRuleList is the definition for the SecretSyncRule CRD list
func (*SecretSyncRuleList) DeepCopy ¶
func (in *SecretSyncRuleList) DeepCopy() *SecretSyncRuleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSyncRuleList.
func (*SecretSyncRuleList) DeepCopyInto ¶
func (in *SecretSyncRuleList) DeepCopyInto(out *SecretSyncRuleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretSyncRuleList) DeepCopyObject ¶
func (in *SecretSyncRuleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SecretSyncRuleList) ShouldSyncNamespace ¶
func (list *SecretSyncRuleList) ShouldSyncNamespace(namespace *v1.Namespace) bool
ShouldSyncNamespace iterates over the list to determine whether or not the given Namespace should be synced
func (*SecretSyncRuleList) ShouldSyncSecret ¶
func (list *SecretSyncRuleList) ShouldSyncSecret(secret *v1.Secret) bool
ShouldSyncSecret iterates over the list to determine whether or not the given Secret should be synced
type SecretSyncRuleSpec ¶
SecretSyncRuleSpec is the spec attribute of the SecretSyncRule CRD
func (*SecretSyncRuleSpec) DeepCopy ¶
func (in *SecretSyncRuleSpec) DeepCopy() *SecretSyncRuleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSyncRuleSpec.
func (*SecretSyncRuleSpec) DeepCopyInto ¶
func (in *SecretSyncRuleSpec) DeepCopyInto(out *SecretSyncRuleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.