v1r11

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrShootClientNil      = errors.New("shoot client is nil")
	ErrSeedClientNil       = errors.New("seed client is nil")
	ErrShootNamespaceEmpty = errors.New("shoot namespace is empty")
)
View Source
var (
	// Generator is a not secure random Generator. Exposed for testing purposes.
	Generator stringgen.StringGenerator = stringgen.Default()
)

Functions

This section is empty.

Types

type Rule242377

type Rule242377 struct {
	Client    client.Client
	Namespace string
	Logger    *slog.Logger
}

func (*Rule242377) ID

func (r *Rule242377) ID() string

func (*Rule242377) Name

func (r *Rule242377) Name() string

func (*Rule242377) Run

func (r *Rule242377) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242400 added in v0.5.0

type Rule242400 struct {
	InstanceID            string
	ControlPlaneClient    client.Client
	ClusterClient         client.Client
	ClusterV1RESTClient   rest.Interface
	ClusterPodContext     pod.PodContext
	ControlPlaneNamespace string
	Logger                provider.Logger
}

func (*Rule242400) ID added in v0.5.0

func (r *Rule242400) ID() string

func (*Rule242400) Name added in v0.5.0

func (r *Rule242400) Name() string

func (*Rule242400) Run added in v0.5.0

func (r *Rule242400) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242414

type Rule242414 struct {
	ControlPlaneClient    client.Client
	ControlPlaneNamespace string
	ClusterClient         client.Client
	Options               *option.Options242414
	Logger                *slog.Logger
}

func (*Rule242414) ID

func (r *Rule242414) ID() string

func (*Rule242414) Name

func (r *Rule242414) Name() string

func (*Rule242414) Run

func (r *Rule242414) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242415

type Rule242415 struct {
	ClusterClient         client.Client
	ControlPlaneClient    client.Client
	ControlPlaneNamespace string
	Options               *option.Options242415
	Logger                *slog.Logger
}

func (*Rule242415) ID

func (r *Rule242415) ID() string

func (*Rule242415) Name

func (r *Rule242415) Name() string

func (*Rule242415) Run

func (r *Rule242415) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242442

type Rule242442 struct {
	ClusterClient         client.Client
	ControlPlaneClient    client.Client
	ControlPlaneNamespace string
	Logger                *slog.Logger
}

func (*Rule242442) ID

func (r *Rule242442) ID() string

func (*Rule242442) Name

func (r *Rule242442) Name() string

func (*Rule242442) Run

func (r *Rule242442) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242451

type Rule242451 struct {
	InstanceID             string
	ControlPlaneClient     client.Client
	ClusterClient          client.Client
	ControlPlaneNamespace  string
	ControlPlanePodContext pod.PodContext
	ClusterPodContext      pod.PodContext
	Options                *option.FileOwnerOptions
	Logger                 provider.Logger
}

func (*Rule242451) ID

func (r *Rule242451) ID() string

func (*Rule242451) Name

func (r *Rule242451) Name() string

func (*Rule242451) Run

func (r *Rule242451) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242466

type Rule242466 struct {
	InstanceID             string
	ControlPlaneClient     client.Client
	ClusterClient          client.Client
	ControlPlaneNamespace  string
	ControlPlanePodContext pod.PodContext
	ClusterPodContext      pod.PodContext
	Logger                 provider.Logger
}

func (*Rule242466) ID

func (r *Rule242466) ID() string

func (*Rule242466) Name

func (r *Rule242466) Name() string

func (*Rule242466) Run

func (r *Rule242466) Run(ctx context.Context) (rule.RuleResult, error)

type Rule242467

type Rule242467 struct {
	InstanceID             string
	ControlPlaneClient     client.Client
	ClusterClient          client.Client
	ControlPlaneNamespace  string
	ControlPlanePodContext pod.PodContext
	ClusterPodContext      pod.PodContext
	Logger                 provider.Logger
}

func (*Rule242467) ID

func (r *Rule242467) ID() string

func (*Rule242467) Name

func (r *Rule242467) Name() string

func (*Rule242467) Run

func (r *Rule242467) Run(ctx context.Context) (rule.RuleResult, error)

Jump to

Keyboard shortcuts

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