v1alpha1

package
v0.8.2-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName    = "heimdall.dadrus.github.com"
	GroupVersion = "v1alpha1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	RuleSetRepository(namespace string) RuleSetRepository
}

func NewClient

func NewClient(conf *rest.Config) (Client, error)

type RuleSet

type RuleSet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec RuleSetSpec `json:"spec"`
}

+kubebuilder:object:generate=true

func (*RuleSet) DeepCopy

func (in *RuleSet) DeepCopy() *RuleSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuleSet.

func (*RuleSet) DeepCopyInto

func (in *RuleSet) DeepCopyInto(out *RuleSet)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuleSet) DeepCopyObject

func (in *RuleSet) DeepCopyObject() runtime.Object

type RuleSetList

type RuleSetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []RuleSet `json:"items"`
}

+kubebuilder:object:generate=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

type RuleSetRepository

type RuleSetRepository interface {
	List(ctx context.Context, opts metav1.ListOptions) (*RuleSetList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL