v2

package
v1.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 19

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 CiliumClusterwideEnvoyConfigExpansion

type CiliumClusterwideEnvoyConfigExpansion interface{}

type CiliumClusterwideEnvoyConfigInterface

type CiliumClusterwideEnvoyConfigInterface interface {
	Create(ctx context.Context, ciliumClusterwideEnvoyConfig *v2.CiliumClusterwideEnvoyConfig, opts v1.CreateOptions) (*v2.CiliumClusterwideEnvoyConfig, error)
	Update(ctx context.Context, ciliumClusterwideEnvoyConfig *v2.CiliumClusterwideEnvoyConfig, opts v1.UpdateOptions) (*v2.CiliumClusterwideEnvoyConfig, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumClusterwideEnvoyConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumClusterwideEnvoyConfigList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumClusterwideEnvoyConfig, err error)
	CiliumClusterwideEnvoyConfigExpansion
}

CiliumClusterwideEnvoyConfigInterface has methods to work with CiliumClusterwideEnvoyConfig resources.

type CiliumClusterwideEnvoyConfigsGetter

type CiliumClusterwideEnvoyConfigsGetter interface {
	CiliumClusterwideEnvoyConfigs() CiliumClusterwideEnvoyConfigInterface
}

CiliumClusterwideEnvoyConfigsGetter has a method to return a CiliumClusterwideEnvoyConfigInterface. A group's client should implement this interface.

type CiliumClusterwideNetworkPoliciesGetter

type CiliumClusterwideNetworkPoliciesGetter interface {
	CiliumClusterwideNetworkPolicies() CiliumClusterwideNetworkPolicyInterface
}

CiliumClusterwideNetworkPoliciesGetter has a method to return a CiliumClusterwideNetworkPolicyInterface. A group's client should implement this interface.

type CiliumClusterwideNetworkPolicyExpansion

type CiliumClusterwideNetworkPolicyExpansion interface{}

type CiliumClusterwideNetworkPolicyInterface

type CiliumClusterwideNetworkPolicyInterface interface {
	Create(ctx context.Context, ciliumClusterwideNetworkPolicy *v2.CiliumClusterwideNetworkPolicy, opts v1.CreateOptions) (*v2.CiliumClusterwideNetworkPolicy, error)
	Update(ctx context.Context, ciliumClusterwideNetworkPolicy *v2.CiliumClusterwideNetworkPolicy, opts v1.UpdateOptions) (*v2.CiliumClusterwideNetworkPolicy, error)
	UpdateStatus(ctx context.Context, ciliumClusterwideNetworkPolicy *v2.CiliumClusterwideNetworkPolicy, opts v1.UpdateOptions) (*v2.CiliumClusterwideNetworkPolicy, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumClusterwideNetworkPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumClusterwideNetworkPolicyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumClusterwideNetworkPolicy, err error)
	CiliumClusterwideNetworkPolicyExpansion
}

CiliumClusterwideNetworkPolicyInterface has methods to work with CiliumClusterwideNetworkPolicy resources.

type CiliumEgressGatewayPoliciesGetter

type CiliumEgressGatewayPoliciesGetter interface {
	CiliumEgressGatewayPolicies() CiliumEgressGatewayPolicyInterface
}

CiliumEgressGatewayPoliciesGetter has a method to return a CiliumEgressGatewayPolicyInterface. A group's client should implement this interface.

type CiliumEgressGatewayPolicyExpansion

type CiliumEgressGatewayPolicyExpansion interface{}

type CiliumEgressGatewayPolicyInterface

type CiliumEgressGatewayPolicyInterface interface {
	Create(ctx context.Context, ciliumEgressGatewayPolicy *v2.CiliumEgressGatewayPolicy, opts v1.CreateOptions) (*v2.CiliumEgressGatewayPolicy, error)
	Update(ctx context.Context, ciliumEgressGatewayPolicy *v2.CiliumEgressGatewayPolicy, opts v1.UpdateOptions) (*v2.CiliumEgressGatewayPolicy, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumEgressGatewayPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumEgressGatewayPolicyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumEgressGatewayPolicy, err error)
	CiliumEgressGatewayPolicyExpansion
}

CiliumEgressGatewayPolicyInterface has methods to work with CiliumEgressGatewayPolicy resources.

type CiliumEndpointExpansion

type CiliumEndpointExpansion interface{}

type CiliumEndpointInterface

type CiliumEndpointInterface interface {
	Create(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.CreateOptions) (*v2.CiliumEndpoint, error)
	Update(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.UpdateOptions) (*v2.CiliumEndpoint, error)
	UpdateStatus(ctx context.Context, ciliumEndpoint *v2.CiliumEndpoint, opts v1.UpdateOptions) (*v2.CiliumEndpoint, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumEndpoint, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumEndpointList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, 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 CiliumEnvoyConfigExpansion

type CiliumEnvoyConfigExpansion interface{}

type CiliumEnvoyConfigInterface

type CiliumEnvoyConfigInterface interface {
	Create(ctx context.Context, ciliumEnvoyConfig *v2.CiliumEnvoyConfig, opts v1.CreateOptions) (*v2.CiliumEnvoyConfig, error)
	Update(ctx context.Context, ciliumEnvoyConfig *v2.CiliumEnvoyConfig, opts v1.UpdateOptions) (*v2.CiliumEnvoyConfig, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumEnvoyConfig, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumEnvoyConfigList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumEnvoyConfig, err error)
	CiliumEnvoyConfigExpansion
}

CiliumEnvoyConfigInterface has methods to work with CiliumEnvoyConfig resources.

type CiliumEnvoyConfigsGetter

type CiliumEnvoyConfigsGetter interface {
	CiliumEnvoyConfigs(namespace string) CiliumEnvoyConfigInterface
}

CiliumEnvoyConfigsGetter has a method to return a CiliumEnvoyConfigInterface. A group's client should implement this interface.

type CiliumExternalWorkloadExpansion

type CiliumExternalWorkloadExpansion interface{}

type CiliumExternalWorkloadInterface

type CiliumExternalWorkloadInterface interface {
	Create(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.CreateOptions) (*v2.CiliumExternalWorkload, error)
	Update(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.UpdateOptions) (*v2.CiliumExternalWorkload, error)
	UpdateStatus(ctx context.Context, ciliumExternalWorkload *v2.CiliumExternalWorkload, opts v1.UpdateOptions) (*v2.CiliumExternalWorkload, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumExternalWorkload, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumExternalWorkloadList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumExternalWorkload, err error)
	CiliumExternalWorkloadExpansion
}

CiliumExternalWorkloadInterface has methods to work with CiliumExternalWorkload resources.

type CiliumExternalWorkloadsGetter

type CiliumExternalWorkloadsGetter interface {
	CiliumExternalWorkloads() CiliumExternalWorkloadInterface
}

CiliumExternalWorkloadsGetter has a method to return a CiliumExternalWorkloadInterface. A group's client should implement this interface.

type CiliumIdentitiesGetter

type CiliumIdentitiesGetter interface {
	CiliumIdentities() CiliumIdentityInterface
}

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

type CiliumIdentityExpansion

type CiliumIdentityExpansion interface{}

type CiliumIdentityInterface

type CiliumIdentityInterface interface {
	Create(ctx context.Context, ciliumIdentity *v2.CiliumIdentity, opts v1.CreateOptions) (*v2.CiliumIdentity, error)
	Update(ctx context.Context, ciliumIdentity *v2.CiliumIdentity, opts v1.UpdateOptions) (*v2.CiliumIdentity, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumIdentity, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumIdentityList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumIdentity, err error)
	CiliumIdentityExpansion
}

CiliumIdentityInterface has methods to work with CiliumIdentity resources.

type CiliumLocalRedirectPoliciesGetter

type CiliumLocalRedirectPoliciesGetter interface {
	CiliumLocalRedirectPolicies(namespace string) CiliumLocalRedirectPolicyInterface
}

CiliumLocalRedirectPoliciesGetter has a method to return a CiliumLocalRedirectPolicyInterface. A group's client should implement this interface.

type CiliumLocalRedirectPolicyExpansion

type CiliumLocalRedirectPolicyExpansion interface{}

type CiliumLocalRedirectPolicyInterface

type CiliumLocalRedirectPolicyInterface interface {
	Create(ctx context.Context, ciliumLocalRedirectPolicy *v2.CiliumLocalRedirectPolicy, opts v1.CreateOptions) (*v2.CiliumLocalRedirectPolicy, error)
	Update(ctx context.Context, ciliumLocalRedirectPolicy *v2.CiliumLocalRedirectPolicy, opts v1.UpdateOptions) (*v2.CiliumLocalRedirectPolicy, error)
	UpdateStatus(ctx context.Context, ciliumLocalRedirectPolicy *v2.CiliumLocalRedirectPolicy, opts v1.UpdateOptions) (*v2.CiliumLocalRedirectPolicy, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumLocalRedirectPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumLocalRedirectPolicyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumLocalRedirectPolicy, err error)
	CiliumLocalRedirectPolicyExpansion
}

CiliumLocalRedirectPolicyInterface has methods to work with CiliumLocalRedirectPolicy 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(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.CreateOptions) (*v2.CiliumNetworkPolicy, error)
	Update(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.UpdateOptions) (*v2.CiliumNetworkPolicy, error)
	UpdateStatus(ctx context.Context, ciliumNetworkPolicy *v2.CiliumNetworkPolicy, opts v1.UpdateOptions) (*v2.CiliumNetworkPolicy, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v2.CiliumNetworkPolicy, error)
	List(ctx context.Context, opts v1.ListOptions) (*v2.CiliumNetworkPolicyList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v2.CiliumNetworkPolicy, err error)
	CiliumNetworkPolicyExpansion
}

CiliumNetworkPolicyInterface has methods to work with CiliumNetworkPolicy resources.

type CiliumNodeExpansion

type CiliumNodeExpansion interface{}

type CiliumNodeInterface

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

CiliumNodeInterface has methods to work with CiliumNode resources.

type CiliumNodesGetter

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. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*CiliumV2Client, error)

NewForConfigAndClient creates a new CiliumV2Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

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) CiliumClusterwideEnvoyConfigs

func (c *CiliumV2Client) CiliumClusterwideEnvoyConfigs() CiliumClusterwideEnvoyConfigInterface

func (*CiliumV2Client) CiliumClusterwideNetworkPolicies

func (c *CiliumV2Client) CiliumClusterwideNetworkPolicies() CiliumClusterwideNetworkPolicyInterface

func (*CiliumV2Client) CiliumEgressGatewayPolicies

func (c *CiliumV2Client) CiliumEgressGatewayPolicies() CiliumEgressGatewayPolicyInterface

func (*CiliumV2Client) CiliumEndpoints

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

func (*CiliumV2Client) CiliumEnvoyConfigs

func (c *CiliumV2Client) CiliumEnvoyConfigs(namespace string) CiliumEnvoyConfigInterface

func (*CiliumV2Client) CiliumExternalWorkloads

func (c *CiliumV2Client) CiliumExternalWorkloads() CiliumExternalWorkloadInterface

func (*CiliumV2Client) CiliumIdentities

func (c *CiliumV2Client) CiliumIdentities() CiliumIdentityInterface

func (*CiliumV2Client) CiliumLocalRedirectPolicies

func (c *CiliumV2Client) CiliumLocalRedirectPolicies(namespace string) CiliumLocalRedirectPolicyInterface

func (*CiliumV2Client) CiliumNetworkPolicies

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

func (*CiliumV2Client) CiliumNodes

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