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: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID242376 = "242376"
	ID242377 = "242377"
	ID242378 = "242378"
	ID242379 = "242379"
	ID242380 = "242380"
	ID242381 = "242381"
	ID242382 = "242382"
	ID242383 = "242383"
	ID242384 = "242384"
	ID242385 = "242385"
	ID242386 = "242386"
	ID242387 = "242387"
	ID242388 = "242388"
	ID242389 = "242389"
	ID242390 = "242390"
	ID242391 = "242391"
	ID242392 = "242392"
	ID242393 = "242393"
	ID242394 = "242394"
	ID242395 = "242395"
	ID242396 = "242396"
	ID242397 = "242397"
	ID242398 = "242398"
	ID242399 = "242399"
	ID242400 = "242400"
	ID242402 = "242402"
	ID242403 = "242403"
	ID242404 = "242404"
	ID242405 = "242405"
	ID242406 = "242406"
	ID242407 = "242407"
	ID242408 = "242408"
	ID242409 = "242409"
	ID242410 = "242410"
	ID242411 = "242411"
	ID242412 = "242412"
	ID242413 = "242413"
	ID242414 = "242414"
	ID242415 = "242415"
	ID242417 = "242417"
	ID242418 = "242418"
	ID242419 = "242419"
	ID242420 = "242420"
	ID242421 = "242421"
	ID242422 = "242422"
	ID242423 = "242423"
	ID242424 = "242424"
	ID242425 = "242425"
	ID242426 = "242426"
	ID242427 = "242427"
	ID242428 = "242428"
	ID242429 = "242429"
	ID242430 = "242430"
	ID242431 = "242431"
	ID242432 = "242432"
	ID242433 = "242433"
	ID242434 = "242434"
	ID242436 = "242436"
	ID242437 = "242437"
	ID242438 = "242438"
	ID242442 = "242442"
	ID242443 = "242443"
	ID242444 = "242444"
	ID242445 = "242445"
	ID242446 = "242446"
	ID242447 = "242447"
	ID242448 = "242448"
	ID242449 = "242449"
	ID242450 = "242450"
	ID242451 = "242451"
	ID242452 = "242452"
	ID242453 = "242453"
	ID242454 = "242454"
	ID242455 = "242455"
	ID242456 = "242456"
	ID242457 = "242457"
	ID242459 = "242459"
	ID242460 = "242460"
	ID242461 = "242461"
	ID242462 = "242462"
	ID242463 = "242463"
	ID242464 = "242464"
	ID242465 = "242465"
	ID242466 = "242466"
	ID242467 = "242467"
	ID245541 = "245541"
	ID245542 = "245542"
	ID245543 = "245543"
	ID245544 = "245544"
	ID254800 = "254800"
	ID254801 = "254801"
)

Variables

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 AcceptedPods242417 added in v0.5.0

type AcceptedPods242417 struct {
	PodMatchLabels map[string]string `json:"podMatchLabels" yaml:"podMatchLabels"`
	NamespaceNames []string          `json:"namespaceNames" yaml:"namespaceNames"`
	Justification  string            `json:"justification" yaml:"justification"`
	Status         string            `json:"status" yaml:"status"`
}

type AcceptedResources242383 added in v0.5.0

type AcceptedResources242383 struct {
	SelectResource
	Justification string `json:"justification" yaml:"justification"`
	Status        string `json:"status" yaml:"status"`
}

type Options242383 added in v0.5.0

type Options242383 struct {
	AcceptedResources []AcceptedResources242383 `json:"acceptedResources" yaml:"acceptedResources"`
}

func (Options242383) Validate added in v0.6.0

func (o Options242383) Validate() field.ErrorList

type Options242393 added in v0.5.0

type Options242393 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242393) Validate added in v0.6.0

func (o Options242393) Validate() field.ErrorList

type Options242394 added in v0.5.0

type Options242394 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242394) Validate added in v0.6.0

func (o Options242394) Validate() field.ErrorList

type Options242396 added in v0.5.0

type Options242396 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242396) Validate added in v0.6.0

func (o Options242396) Validate() field.ErrorList

type Options242404 added in v0.5.0

type Options242404 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242404) Validate added in v0.6.0

func (o Options242404) Validate() field.ErrorList

type Options242406 added in v0.5.0

type Options242406 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
	*option.FileOwnerOptions
}

func (Options242406) Validate added in v0.6.0

func (o Options242406) Validate() field.ErrorList

type Options242407 added in v0.5.0

type Options242407 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242407) Validate added in v0.6.0

func (o Options242407) Validate() field.ErrorList

type Options242417 added in v0.5.0

type Options242417 struct {
	AcceptedPods []AcceptedPods242417 `json:"acceptedPods" yaml:"acceptedPods"`
}

func (Options242417) Validate added in v0.6.0

func (o Options242417) Validate() field.ErrorList

type Options242447 added in v0.5.0

type Options242447 struct {
	KubeProxyMatchLabels map[string]string `json:"kubeProxyMatchLabels" yaml:"kubeProxyMatchLabels"`
}

func (Options242447) Validate added in v0.6.0

func (o Options242447) Validate() field.ErrorList

type Options242448 added in v0.5.0

type Options242448 struct {
	KubeProxyMatchLabels map[string]string `json:"kubeProxyMatchLabels" yaml:"kubeProxyMatchLabels"`
	*option.FileOwnerOptions
}

func (Options242448) Validate added in v0.6.0

func (o Options242448) Validate() field.ErrorList

type Options242449 added in v0.5.0

type Options242449 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242449) Validate added in v0.6.0

func (o Options242449) Validate() field.ErrorList

type Options242450 added in v0.5.0

type Options242450 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
	*option.FileOwnerOptions
}

func (Options242450) Validate added in v0.6.0

func (o Options242450) Validate() field.ErrorList

type Options242452 added in v0.5.0

type Options242452 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
}

func (Options242452) Validate added in v0.6.0

func (o Options242452) Validate() field.ErrorList

type Options242453 added in v0.5.0

type Options242453 struct {
	NodeGroupByLabels []string `json:"nodeGroupByLabels" yaml:"nodeGroupByLabels"`
	*option.FileOwnerOptions
}

func (Options242453) Validate added in v0.6.0

func (o Options242453) Validate() field.ErrorList

type Options245543

type Options245543 struct {
	AcceptedTokens []struct {
		User   string `yaml:"user"`
		UID    string `yaml:"uid"`
		Groups string `yaml:"groups"`
	}
}

func (Options245543) Validate added in v0.6.0

func (o Options245543) Validate() field.ErrorList

type Options254800

type Options254800 struct {
	MinPodSecurityLevel string `json:"minPodSecurityLevel" yaml:"minPodSecurityLevel"`
}

func (Options254800) Validate added in v0.6.0

func (o Options254800) Validate() field.ErrorList

type Rule242376

type Rule242376 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242376) ID

func (r *Rule242376) ID() string

func (*Rule242376) Name

func (r *Rule242376) Name() string

func (*Rule242376) Run

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

type Rule242378

type Rule242378 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242378) ID

func (r *Rule242378) ID() string

func (*Rule242378) Name

func (r *Rule242378) Name() string

func (*Rule242378) Run

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

type Rule242379

type Rule242379 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242379) ID

func (r *Rule242379) ID() string

func (*Rule242379) Name

func (r *Rule242379) Name() string

func (*Rule242379) Run

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

type Rule242380

type Rule242380 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242380) ID

func (r *Rule242380) ID() string

func (*Rule242380) Name

func (r *Rule242380) Name() string

func (*Rule242380) Run

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

type Rule242381

type Rule242381 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242381) ID

func (r *Rule242381) ID() string

func (*Rule242381) Name

func (r *Rule242381) Name() string

func (*Rule242381) Run

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

type Rule242382

type Rule242382 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
	ExpectedModes  []string
}

func (*Rule242382) ID

func (r *Rule242382) ID() string

func (*Rule242382) Name

func (r *Rule242382) Name() string

func (*Rule242382) Run

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

type Rule242383 added in v0.5.0

type Rule242383 struct {
	Client  client.Client
	Options *Options242383
}

func (*Rule242383) ID added in v0.5.0

func (r *Rule242383) ID() string

func (*Rule242383) Name added in v0.5.0

func (r *Rule242383) Name() string

func (*Rule242383) Run added in v0.5.0

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

type Rule242386

type Rule242386 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242386) ID

func (r *Rule242386) ID() string

func (*Rule242386) Name

func (r *Rule242386) Name() string

func (*Rule242386) Run

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

type Rule242387 added in v0.5.0

type Rule242387 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242387) ID added in v0.5.0

func (r *Rule242387) ID() string

func (*Rule242387) Name added in v0.5.0

func (r *Rule242387) Name() string

func (*Rule242387) Run added in v0.5.0

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

type Rule242388

type Rule242388 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242388) ID

func (r *Rule242388) ID() string

func (*Rule242388) Name

func (r *Rule242388) Name() string

func (*Rule242388) Run

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

type Rule242389

type Rule242389 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242389) ID

func (r *Rule242389) ID() string

func (*Rule242389) Name

func (r *Rule242389) Name() string

func (*Rule242389) Run

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

type Rule242390

type Rule242390 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242390) ID

func (r *Rule242390) ID() string

func (*Rule242390) Name

func (r *Rule242390) Name() string

func (*Rule242390) Run

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

type Rule242391 added in v0.5.0

type Rule242391 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242391) ID added in v0.5.0

func (r *Rule242391) ID() string

func (*Rule242391) Name added in v0.5.0

func (r *Rule242391) Name() string

func (*Rule242391) Run added in v0.5.0

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

type Rule242392 added in v0.5.0

type Rule242392 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242392) ID added in v0.5.0

func (r *Rule242392) ID() string

func (*Rule242392) Name added in v0.5.0

func (r *Rule242392) Name() string

func (*Rule242392) Run added in v0.5.0

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

type Rule242393 added in v0.5.0

type Rule242393 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242393
	Logger     provider.Logger
}

func (*Rule242393) ID added in v0.5.0

func (r *Rule242393) ID() string

func (*Rule242393) Name added in v0.5.0

func (r *Rule242393) Name() string

func (*Rule242393) Run added in v0.5.0

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

type Rule242394 added in v0.5.0

type Rule242394 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242394
	Logger     provider.Logger
}

func (*Rule242394) ID added in v0.5.0

func (r *Rule242394) ID() string

func (*Rule242394) Name added in v0.5.0

func (r *Rule242394) Name() string

func (*Rule242394) Run added in v0.5.0

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

type Rule242395 added in v0.5.0

type Rule242395 struct {
	Client client.Client
}

func (*Rule242395) ID added in v0.5.0

func (r *Rule242395) ID() string

func (*Rule242395) Name added in v0.5.0

func (r *Rule242395) Name() string

func (*Rule242395) Run added in v0.5.0

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

type Rule242396 added in v0.5.0

type Rule242396 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242396
	Logger     provider.Logger
}

func (*Rule242396) ID added in v0.5.0

func (r *Rule242396) ID() string

func (*Rule242396) Name added in v0.5.0

func (r *Rule242396) Name() string

func (*Rule242396) Run added in v0.5.0

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

type Rule242397 added in v0.5.0

type Rule242397 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242397) ID added in v0.5.0

func (r *Rule242397) ID() string

func (*Rule242397) Name added in v0.5.0

func (r *Rule242397) Name() string

func (*Rule242397) Run added in v0.5.0

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

type Rule242399 added in v0.5.0

type Rule242399 struct {
	Client            client.Client
	KubernetesVersion *semver.Version
	V1RESTClient      rest.Interface
}

func (*Rule242399) ID added in v0.5.0

func (r *Rule242399) ID() string

func (*Rule242399) Name added in v0.5.0

func (r *Rule242399) Name() string

func (*Rule242399) Run added in v0.5.0

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

type Rule242402

type Rule242402 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242402) ID

func (r *Rule242402) ID() string

func (*Rule242402) Name

func (r *Rule242402) Name() string

func (*Rule242402) Run

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

type Rule242403

type Rule242403 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
}

func (*Rule242403) ID

func (r *Rule242403) ID() string

func (*Rule242403) Name

func (r *Rule242403) Name() string

func (*Rule242403) Run

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

type Rule242404 added in v0.5.0

type Rule242404 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242404
	Logger     provider.Logger
}

func (*Rule242404) ID added in v0.5.0

func (r *Rule242404) ID() string

func (*Rule242404) Name added in v0.5.0

func (r *Rule242404) Name() string

func (*Rule242404) Run added in v0.5.0

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

type Rule242406 added in v0.5.0

type Rule242406 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242406
	Logger     provider.Logger
}

func (*Rule242406) ID added in v0.5.0

func (r *Rule242406) ID() string

func (*Rule242406) Name added in v0.5.0

func (r *Rule242406) Name() string

func (*Rule242406) Run added in v0.5.0

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

type Rule242407 added in v0.5.0

type Rule242407 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242407
	Logger     provider.Logger
}

func (*Rule242407) ID added in v0.5.0

func (r *Rule242407) ID() string

func (*Rule242407) Name added in v0.5.0

func (r *Rule242407) Name() string

func (*Rule242407) Run added in v0.5.0

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

type Rule242409

type Rule242409 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242409) ID

func (r *Rule242409) ID() string

func (*Rule242409) Name

func (r *Rule242409) Name() string

func (*Rule242409) Run

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

type Rule242417 added in v0.5.0

type Rule242417 struct {
	Client  client.Client
	Options *Options242417
}

func (*Rule242417) ID added in v0.5.0

func (r *Rule242417) ID() string

func (*Rule242417) Name added in v0.5.0

func (r *Rule242417) Name() string

func (*Rule242417) Run added in v0.5.0

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

type Rule242418

type Rule242418 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242418) ID

func (r *Rule242418) ID() string

func (*Rule242418) Name

func (r *Rule242418) Name() string

func (*Rule242418) Run

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

type Rule242419

type Rule242419 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242419) ID

func (r *Rule242419) ID() string

func (*Rule242419) Name

func (r *Rule242419) Name() string

func (*Rule242419) Run

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

type Rule242420 added in v0.5.0

type Rule242420 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242420) ID added in v0.5.0

func (r *Rule242420) ID() string

func (*Rule242420) Name added in v0.5.0

func (r *Rule242420) Name() string

func (*Rule242420) Run added in v0.5.0

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

type Rule242421

type Rule242421 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242421) ID

func (r *Rule242421) ID() string

func (*Rule242421) Name

func (r *Rule242421) Name() string

func (*Rule242421) Run

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

type Rule242422

type Rule242422 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242422) ID

func (r *Rule242422) ID() string

func (*Rule242422) Name

func (r *Rule242422) Name() string

func (*Rule242422) Run

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

type Rule242423

type Rule242423 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242423) ID

func (r *Rule242423) ID() string

func (*Rule242423) Name

func (r *Rule242423) Name() string

func (*Rule242423) Run

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

type Rule242424 added in v0.5.0

type Rule242424 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242424) ID added in v0.5.0

func (r *Rule242424) ID() string

func (*Rule242424) Name added in v0.5.0

func (r *Rule242424) Name() string

func (*Rule242424) Run added in v0.5.0

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

type Rule242425 added in v0.5.0

type Rule242425 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242425) ID added in v0.5.0

func (r *Rule242425) ID() string

func (*Rule242425) Name added in v0.5.0

func (r *Rule242425) Name() string

func (*Rule242425) Run added in v0.5.0

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

type Rule242426

type Rule242426 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242426) ID

func (r *Rule242426) ID() string

func (*Rule242426) Name

func (r *Rule242426) Name() string

func (*Rule242426) Run

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

type Rule242427

type Rule242427 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242427) ID

func (r *Rule242427) ID() string

func (*Rule242427) Name

func (r *Rule242427) Name() string

func (*Rule242427) Run

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

type Rule242428

type Rule242428 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242428) ID

func (r *Rule242428) ID() string

func (*Rule242428) Name

func (r *Rule242428) Name() string

func (*Rule242428) Run

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

type Rule242429

type Rule242429 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242429) ID

func (r *Rule242429) ID() string

func (*Rule242429) Name

func (r *Rule242429) Name() string

func (*Rule242429) Run

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

type Rule242430

type Rule242430 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242430) ID

func (r *Rule242430) ID() string

func (*Rule242430) Name

func (r *Rule242430) Name() string

func (*Rule242430) Run

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

type Rule242431

type Rule242431 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242431) ID

func (r *Rule242431) ID() string

func (*Rule242431) Name

func (r *Rule242431) Name() string

func (*Rule242431) Run

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

type Rule242432

type Rule242432 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242432) ID

func (r *Rule242432) ID() string

func (*Rule242432) Name

func (r *Rule242432) Name() string

func (*Rule242432) Run

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

type Rule242433

type Rule242433 struct {
	Client                client.Client
	Namespace             string
	StatefulSetETCDMain   string
	StatefulSetETCDEvents string
}

func (*Rule242433) ID

func (r *Rule242433) ID() string

func (*Rule242433) Name

func (r *Rule242433) Name() string

func (*Rule242433) Run

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

type Rule242434 added in v0.5.0

type Rule242434 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule242434) ID added in v0.5.0

func (r *Rule242434) ID() string

func (*Rule242434) Name added in v0.5.0

func (r *Rule242434) Name() string

func (*Rule242434) Run added in v0.5.0

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

type Rule242436

type Rule242436 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242436) ID

func (r *Rule242436) ID() string

func (*Rule242436) Name

func (r *Rule242436) Name() string

func (*Rule242436) Run

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

type Rule242438

type Rule242438 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242438) ID

func (r *Rule242438) ID() string

func (*Rule242438) Name

func (r *Rule242438) Name() string

func (*Rule242438) Run

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

type Rule242445 added in v0.4.0

type Rule242445 struct {
	InstanceID         string
	Client             client.Client
	Namespace          string
	PodContext         pod.PodContext
	ETCDMainSelector   labels.Selector
	ETCDEventsSelector labels.Selector
	Options            *option.FileOwnerOptions
	Logger             provider.Logger
}

func (*Rule242445) ID added in v0.4.0

func (r *Rule242445) ID() string

func (*Rule242445) Name added in v0.4.0

func (r *Rule242445) Name() string

func (*Rule242445) Run added in v0.4.0

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

type Rule242446 added in v0.4.0

type Rule242446 struct {
	InstanceID      string
	Client          client.Client
	Namespace       string
	PodContext      pod.PodContext
	DeploymentNames []string
	Options         *option.FileOwnerOptions
	Logger          provider.Logger
}

func (*Rule242446) ID added in v0.4.0

func (r *Rule242446) ID() string

func (*Rule242446) Name added in v0.4.0

func (r *Rule242446) Name() string

func (*Rule242446) Run added in v0.4.0

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

type Rule242447 added in v0.5.0

type Rule242447 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242447
	Logger     provider.Logger
}

func (*Rule242447) ID added in v0.5.0

func (r *Rule242447) ID() string

func (*Rule242447) Name added in v0.5.0

func (r *Rule242447) Name() string

func (*Rule242447) Run added in v0.5.0

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

type Rule242448 added in v0.5.0

type Rule242448 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242448
	Logger     provider.Logger
}

func (*Rule242448) ID added in v0.5.0

func (r *Rule242448) ID() string

func (*Rule242448) Name added in v0.5.0

func (r *Rule242448) Name() string

func (*Rule242448) Run added in v0.5.0

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

type Rule242449 added in v0.5.0

type Rule242449 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242449
	Logger     provider.Logger
}

func (*Rule242449) ID added in v0.5.0

func (r *Rule242449) ID() string

func (*Rule242449) Name added in v0.5.0

func (r *Rule242449) Name() string

func (*Rule242449) Run added in v0.5.0

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

type Rule242450 added in v0.5.0

type Rule242450 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242450
	Logger     provider.Logger
}

func (*Rule242450) ID added in v0.5.0

func (r *Rule242450) ID() string

func (*Rule242450) Name added in v0.5.0

func (r *Rule242450) Name() string

func (*Rule242450) Run added in v0.5.0

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

type Rule242452 added in v0.5.0

type Rule242452 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242452
	Logger     provider.Logger
}

func (*Rule242452) ID added in v0.5.0

func (r *Rule242452) ID() string

func (*Rule242452) Name added in v0.5.0

func (r *Rule242452) Name() string

func (*Rule242452) Run added in v0.5.0

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

type Rule242453 added in v0.5.0

type Rule242453 struct {
	InstanceID string
	Client     client.Client
	PodContext pod.PodContext
	Options    *Options242453
	Logger     provider.Logger
}

func (*Rule242453) ID added in v0.5.0

func (r *Rule242453) ID() string

func (*Rule242453) Name added in v0.5.0

func (r *Rule242453) Name() string

func (*Rule242453) Run added in v0.5.0

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

type Rule242459 added in v0.4.0

type Rule242459 struct {
	InstanceID         string
	Client             client.Client
	Namespace          string
	PodContext         pod.PodContext
	ETCDMainSelector   labels.Selector
	ETCDEventsSelector labels.Selector
	Logger             provider.Logger
}

func (*Rule242459) ID added in v0.4.0

func (r *Rule242459) ID() string

func (*Rule242459) Name added in v0.4.0

func (r *Rule242459) Name() string

func (*Rule242459) Run added in v0.4.0

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

type Rule242460 added in v0.4.0

type Rule242460 struct {
	InstanceID      string
	Client          client.Client
	Namespace       string
	PodContext      pod.PodContext
	DeploymentNames []string
	Logger          provider.Logger
}

func (*Rule242460) ID added in v0.4.0

func (r *Rule242460) ID() string

func (*Rule242460) Name added in v0.4.0

func (r *Rule242460) Name() string

func (*Rule242460) Run added in v0.4.0

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

type Rule242461

type Rule242461 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242461) ID

func (r *Rule242461) ID() string

func (*Rule242461) Name

func (r *Rule242461) Name() string

func (*Rule242461) Run

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

type Rule242462

type Rule242462 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242462) ID

func (r *Rule242462) ID() string

func (*Rule242462) Name

func (r *Rule242462) Name() string

func (*Rule242462) Run

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

type Rule242463

type Rule242463 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242463) ID

func (r *Rule242463) ID() string

func (*Rule242463) Name

func (r *Rule242463) Name() string

func (*Rule242463) Run

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

type Rule242464

type Rule242464 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule242464) ID

func (r *Rule242464) ID() string

func (*Rule242464) Name

func (r *Rule242464) Name() string

func (*Rule242464) Run

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

type Rule245541 added in v0.5.0

type Rule245541 struct {
	Client       client.Client
	V1RESTClient rest.Interface
}

func (*Rule245541) ID added in v0.5.0

func (r *Rule245541) ID() string

func (*Rule245541) Name added in v0.5.0

func (r *Rule245541) Name() string

func (*Rule245541) Run added in v0.5.0

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

type Rule245542

type Rule245542 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule245542) ID

func (r *Rule245542) ID() string

func (*Rule245542) Name

func (r *Rule245542) Name() string

func (*Rule245542) Run

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

type Rule245543

type Rule245543 struct {
	Client         client.Client
	Namespace      string
	Options        *Options245543
	DeploymentName string
	ContainerName  string
}

func (*Rule245543) ID

func (r *Rule245543) ID() string

func (*Rule245543) Name

func (r *Rule245543) Name() string

func (*Rule245543) Run

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

type Rule245544

type Rule245544 struct {
	Client         client.Client
	Namespace      string
	DeploymentName string
	ContainerName  string
}

func (*Rule245544) ID

func (r *Rule245544) ID() string

func (*Rule245544) Name

func (r *Rule245544) Name() string

func (*Rule245544) Run

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

type Rule254800

type Rule254800 struct {
	Client         client.Client
	Namespace      string
	Options        *Options254800
	DeploymentName string
	ContainerName  string
}

func (*Rule254800) ID

func (r *Rule254800) ID() string

func (*Rule254800) Name

func (r *Rule254800) Name() string

func (*Rule254800) Run

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

type SelectResource added in v0.5.0

type SelectResource struct {
	APIVersion     string            `json:"apiVersion" yaml:"apiVersion"`
	Kind           string            `json:"kind" yaml:"kind"`
	MatchLabels    map[string]string `json:"matchLabels" yaml:"matchLabels"`
	NamespaceNames []string          `json:"namespaceNames" yaml:"namespaceNames"`
}

Jump to

Keyboard shortcuts

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