v1

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterPoliciesGetter

type ClusterPoliciesGetter interface {
	ClusterPolicies() ClusterPolicyInterface
}

ClusterPoliciesGetter has a method to return a ClusterPolicyInterface. A group's client should implement this interface.

type ClusterPolicyExpansion

type ClusterPolicyExpansion interface{}

type ClusterPolicyInterface

type ClusterPolicyInterface interface {
	Create(*v1.ClusterPolicy) (*v1.ClusterPolicy, error)
	Update(*v1.ClusterPolicy) (*v1.ClusterPolicy, error)
	UpdateStatus(*v1.ClusterPolicy) (*v1.ClusterPolicy, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ClusterPolicy, error)
	List(opts metav1.ListOptions) (*v1.ClusterPolicyList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicy, err error)
	ClusterPolicyExpansion
}

ClusterPolicyInterface has methods to work with ClusterPolicy resources.

type ClusterPolicyViolationExpansion

type ClusterPolicyViolationExpansion interface{}

type ClusterPolicyViolationInterface

type ClusterPolicyViolationInterface interface {
	Create(*v1.ClusterPolicyViolation) (*v1.ClusterPolicyViolation, error)
	Update(*v1.ClusterPolicyViolation) (*v1.ClusterPolicyViolation, error)
	UpdateStatus(*v1.ClusterPolicyViolation) (*v1.ClusterPolicyViolation, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.ClusterPolicyViolation, error)
	List(opts metav1.ListOptions) (*v1.ClusterPolicyViolationList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.ClusterPolicyViolation, err error)
	ClusterPolicyViolationExpansion
}

ClusterPolicyViolationInterface has methods to work with ClusterPolicyViolation resources.

type ClusterPolicyViolationsGetter

type ClusterPolicyViolationsGetter interface {
	ClusterPolicyViolations() ClusterPolicyViolationInterface
}

ClusterPolicyViolationsGetter has a method to return a ClusterPolicyViolationInterface. A group's client should implement this interface.

type GenerateRequestExpansion added in v1.1.0

type GenerateRequestExpansion interface{}

type GenerateRequestInterface added in v1.1.0

type GenerateRequestInterface interface {
	Create(*v1.GenerateRequest) (*v1.GenerateRequest, error)
	Update(*v1.GenerateRequest) (*v1.GenerateRequest, error)
	UpdateStatus(*v1.GenerateRequest) (*v1.GenerateRequest, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.GenerateRequest, error)
	List(opts metav1.ListOptions) (*v1.GenerateRequestList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.GenerateRequest, err error)
	GenerateRequestExpansion
}

GenerateRequestInterface has methods to work with GenerateRequest resources.

type GenerateRequestsGetter added in v1.1.0

type GenerateRequestsGetter interface {
	GenerateRequests(namespace string) GenerateRequestInterface
}

GenerateRequestsGetter has a method to return a GenerateRequestInterface. A group's client should implement this interface.

type KyvernoV1Client

type KyvernoV1Client struct {
	// contains filtered or unexported fields
}

KyvernoV1Client is used to interact with features provided by the kyverno.io group.

func New

New creates a new KyvernoV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*KyvernoV1Client, error)

NewForConfig creates a new KyvernoV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KyvernoV1Client

NewForConfigOrDie creates a new KyvernoV1Client for the given config and panics if there is an error in the config.

func (*KyvernoV1Client) ClusterPolicies

func (c *KyvernoV1Client) ClusterPolicies() ClusterPolicyInterface

func (*KyvernoV1Client) ClusterPolicyViolations

func (c *KyvernoV1Client) ClusterPolicyViolations() ClusterPolicyViolationInterface

func (*KyvernoV1Client) GenerateRequests added in v1.1.0

func (c *KyvernoV1Client) GenerateRequests(namespace string) GenerateRequestInterface

func (*KyvernoV1Client) PolicyViolations added in v1.1.0

func (c *KyvernoV1Client) PolicyViolations(namespace string) PolicyViolationInterface

func (*KyvernoV1Client) RESTClient

func (c *KyvernoV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type PolicyViolationExpansion added in v1.1.0

type PolicyViolationExpansion interface{}

type PolicyViolationInterface added in v1.1.0

type PolicyViolationInterface interface {
	Create(*v1.PolicyViolation) (*v1.PolicyViolation, error)
	Update(*v1.PolicyViolation) (*v1.PolicyViolation, error)
	UpdateStatus(*v1.PolicyViolation) (*v1.PolicyViolation, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.PolicyViolation, error)
	List(opts metav1.ListOptions) (*v1.PolicyViolationList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.PolicyViolation, err error)
	PolicyViolationExpansion
}

PolicyViolationInterface has methods to work with PolicyViolation resources.

type PolicyViolationsGetter added in v1.1.0

type PolicyViolationsGetter interface {
	PolicyViolations(namespace string) PolicyViolationInterface
}

PolicyViolationsGetter has a method to return a PolicyViolationInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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