v1beta1

package
v1.6.20 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PodDisruptionBudgetKind = resource.Kind{
	Group:   "policy",
	Version: "v1beta1",
	Kind:    "PodDisruptionBudget",
	Scoped:  true,
}
View Source
var PodDisruptionBudgetResource = resource.Type{
	Kind: PodDisruptionBudgetKind,
	Name: "poddisruptionbudgets",
}
View Source
var PodSecurityPolicyKind = resource.Kind{
	Group:   "policy",
	Version: "v1beta1",
	Kind:    "PodSecurityPolicy",
	Scoped:  true,
}
View Source
var PodSecurityPolicyResource = resource.Type{
	Kind: PodSecurityPolicyKind,
	Name: "podsecuritypolicies",
}

Functions

This section is empty.

Types

type Client

func NewClient

func NewClient(resources resource.Client, filter resource.Filter) Client

type PodDisruptionBudget

type PodDisruptionBudget struct {
	*resource.Resource
	Object *policyv1beta1.PodDisruptionBudget
}

func NewPodDisruptionBudget

func NewPodDisruptionBudget(podDisruptionBudget *policyv1beta1.PodDisruptionBudget, client resource.Client) *PodDisruptionBudget

func (*PodDisruptionBudget) Delete

func (r *PodDisruptionBudget) Delete(ctx context.Context) error

type PodDisruptionBudgetsClient

type PodDisruptionBudgetsClient interface {
	PodDisruptionBudgets() PodDisruptionBudgetsReader
}

func NewPodDisruptionBudgetsClient

func NewPodDisruptionBudgetsClient(resources resource.Client, filter resource.Filter) PodDisruptionBudgetsClient

type PodDisruptionBudgetsReader

type PodDisruptionBudgetsReader interface {
	Get(ctx context.Context, name string) (*PodDisruptionBudget, error)
	List(ctx context.Context) ([]*PodDisruptionBudget, error)
}

func NewPodDisruptionBudgetsReader

func NewPodDisruptionBudgetsReader(client resource.Client, filter resource.Filter) PodDisruptionBudgetsReader

type PodSecurityPoliciesClient

type PodSecurityPoliciesClient interface {
	PodSecurityPolicies() PodSecurityPoliciesReader
}

func NewPodSecurityPoliciesClient

func NewPodSecurityPoliciesClient(resources resource.Client, filter resource.Filter) PodSecurityPoliciesClient

type PodSecurityPoliciesReader

type PodSecurityPoliciesReader interface {
	Get(ctx context.Context, name string) (*PodSecurityPolicy, error)
	List(ctx context.Context) ([]*PodSecurityPolicy, error)
}

func NewPodSecurityPoliciesReader

func NewPodSecurityPoliciesReader(client resource.Client, filter resource.Filter) PodSecurityPoliciesReader

type PodSecurityPolicy

type PodSecurityPolicy struct {
	*resource.Resource
	Object *policyv1beta1.PodSecurityPolicy
}

func NewPodSecurityPolicy

func NewPodSecurityPolicy(podSecurityPolicy *policyv1beta1.PodSecurityPolicy, client resource.Client) *PodSecurityPolicy

func (*PodSecurityPolicy) Delete

func (r *PodSecurityPolicy) Delete(ctx context.Context) error

Jump to

Keyboard shortcuts

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