client

package
v0.0.5-alpha Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstraintPolicyClient

type ConstraintPolicyClient interface {
	GetConstraintPolicyBinding(ctx context.Context, namespace, name string, opts v1.GetOptions) (*constraintv1alpha1.ConstraintPolicyBinding, error)
	GetConstraintPolicyOffer(ctx context.Context, namespace, name string, opts v1.GetOptions) (*constraintv1alpha1.ConstraintPolicyOffer, error)
	GetConstraintPolicy(ctx context.Context, namespace, name string, opts v1.GetOptions) (*constraintv1alpha1.ConstraintPolicy, error)
	ListConstraintPolicyBindings(ctx context.Context, namespace string, opts v1.ListOptions) (*constraintv1alpha1.ConstraintPolicyBindingList, error)
	ListConstraintPolicyOffers(ctx context.Context, namespace string, opts v1.ListOptions) (*constraintv1alpha1.ConstraintPolicyOfferList, error)
	ListConstraintPolicies(ctx context.Context, namespace string, opts v1.ListOptions) (*constraintv1alpha1.ConstraintPolicyList, error)
}

ConstraintPolicyClient defines methods supported by the constraint policy client. nolint:lll

func New

func New(config *rest.Config, log logr.Logger) (ConstraintPolicyClient, error)

New creates and returns a new constraint policy client instance. nolint:ireturn

Jump to

Keyboard shortcuts

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