v2

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 License: Apache-2.0 Imports: 7 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 CiliumEndpointExpansion

type CiliumEndpointExpansion interface{}

type CiliumEndpointInterface

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

CiliumEndpointInterface has methods to work with CiliumEndpoint resources.

type CiliumEndpointsGetter

type CiliumEndpointsGetter interface {
	CiliumEndpoints(namespace string) CiliumEndpointInterface
}

CiliumEndpointsGetter has a method to return a CiliumEndpointInterface. A group's client should implement this interface.

type CiliumIdentitiesGetter added in v1.6.0

type CiliumIdentitiesGetter interface {
	CiliumIdentities() CiliumIdentityInterface
}

CiliumIdentitiesGetter has a method to return a CiliumIdentityInterface. A group's client should implement this interface.

type CiliumIdentityExpansion added in v1.6.0

type CiliumIdentityExpansion interface{}

type CiliumIdentityInterface added in v1.6.0

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

CiliumIdentityInterface has methods to work with CiliumIdentity resources.

type CiliumNetworkPoliciesGetter

type CiliumNetworkPoliciesGetter interface {
	CiliumNetworkPolicies(namespace string) CiliumNetworkPolicyInterface
}

CiliumNetworkPoliciesGetter has a method to return a CiliumNetworkPolicyInterface. A group's client should implement this interface.

type CiliumNetworkPolicyExpansion

type CiliumNetworkPolicyExpansion interface{}

type CiliumNetworkPolicyInterface

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

CiliumNetworkPolicyInterface has methods to work with CiliumNetworkPolicy resources.

type CiliumNodeExpansion added in v1.6.0

type CiliumNodeExpansion interface{}

type CiliumNodeInterface added in v1.6.0

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

CiliumNodeInterface has methods to work with CiliumNode resources.

type CiliumNodesGetter added in v1.6.0

type CiliumNodesGetter interface {
	CiliumNodes() CiliumNodeInterface
}

CiliumNodesGetter has a method to return a CiliumNodeInterface. A group's client should implement this interface.

type CiliumV2Client

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

CiliumV2Client is used to interact with features provided by the cilium.io group.

func New

New creates a new CiliumV2Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new CiliumV2Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *CiliumV2Client

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

func (*CiliumV2Client) CiliumEndpoints

func (c *CiliumV2Client) CiliumEndpoints(namespace string) CiliumEndpointInterface

func (*CiliumV2Client) CiliumIdentities added in v1.6.0

func (c *CiliumV2Client) CiliumIdentities() CiliumIdentityInterface

func (*CiliumV2Client) CiliumNetworkPolicies

func (c *CiliumV2Client) CiliumNetworkPolicies(namespace string) CiliumNetworkPolicyInterface

func (*CiliumV2Client) CiliumNodes added in v1.6.0

func (c *CiliumV2Client) CiliumNodes() CiliumNodeInterface

func (*CiliumV2Client) RESTClient

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

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

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