Documentation ¶
Index ¶
Constants ¶
const ( GroupName = "heimdall.dadrus.github.com" GroupVersion = "v1alpha4" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
RuleSetRepository(namespace string) RuleSetRepository
}
type ConditionReason ¶
type ConditionReason string
const ( ConditionRuleSetActive ConditionReason = "RuleSetActive" ConditionRuleSetActivationFailed ConditionReason = "RuleSetActivationFailed" ConditionRuleSetUnloaded ConditionReason = "RuleSetUnloaded" ConditionRuleSetUnloadingFailed ConditionReason = "RuleSetUnloadingFailed" ConditionControllerStopped ConditionReason = "ControllerStopped" )
type Patch ¶
type Patch interface { ResourceName() string ResourceNamespace() string Type() types.PatchType Data() ([]byte, error) }
func NewJSONPatch ¶
type RuleSet ¶
type RuleSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RuleSetSpec `json:"spec"` Status RuleSetStatus `json:"status"` }
+kubebuilder:object:generate=true +kubebuilder:object:root=true
func (*RuleSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSet.
func (*RuleSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleSetList ¶
type RuleSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RuleSet `json:"items"` }
+kubebuilder:object:generate=true +kubebuilder:object:root=true
func (*RuleSetList) DeepCopy ¶
func (in *RuleSetList) DeepCopy() *RuleSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSetList.
func (*RuleSetList) DeepCopyInto ¶
func (in *RuleSetList) DeepCopyInto(out *RuleSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RuleSetList) DeepCopyObject ¶
func (in *RuleSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RuleSetRepository ¶
type RuleSetRepository interface { List(ctx context.Context, opts metav1.ListOptions) (*RuleSetList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) Get(ctx context.Context, key types.NamespacedName, opts metav1.GetOptions) (*RuleSet, error) PatchStatus(ctx context.Context, patch Patch, opts metav1.PatchOptions) (*RuleSet, error) }
type RuleSetSpec ¶
type RuleSetSpec struct { AuthClassName string `json:"authClassName"` //nolint:tagliatelle Rules []config.Rule `json:"rules"` }
+kubebuilder:object:generate=true
func (*RuleSetSpec) DeepCopy ¶
func (in *RuleSetSpec) DeepCopy() *RuleSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSetSpec.
func (*RuleSetSpec) DeepCopyInto ¶
func (in *RuleSetSpec) DeepCopyInto(out *RuleSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuleSetStatus ¶
type RuleSetStatus struct { ActiveIn string `json:"activeIn"` // nolint: tagliatelle Conditions []metav1.Condition `json:"conditions,omitempty"` }
+kubebuilder:object:generate=true
func (*RuleSetStatus) DeepCopy ¶
func (in *RuleSetStatus) DeepCopy() *RuleSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSetStatus.
func (*RuleSetStatus) DeepCopyInto ¶
func (in *RuleSetStatus) DeepCopyInto(out *RuleSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.