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 ¶
type Client interface { PodDisruptionBudgetsClient PodSecurityPoliciesClient }
type PodDisruptionBudget ¶
type PodDisruptionBudget struct { *resource.Resource Object *policyv1beta1.PodDisruptionBudget }
func NewPodDisruptionBudget ¶
func NewPodDisruptionBudget(podDisruptionBudget *policyv1beta1.PodDisruptionBudget, client resource.Client) *PodDisruptionBudget
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
Click to show internal directories.
Click to hide internal directories.