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 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 CiliumV2Client ¶
type CiliumV2Client struct {
// contains filtered or unexported fields
}
CiliumV2Client is used to interact with features provided by the cilium.io group.
func New ¶
func New(c rest.Interface) *CiliumV2Client
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) CiliumNetworkPolicies ¶
func (c *CiliumV2Client) CiliumNetworkPolicies(namespace string) CiliumNetworkPolicyInterface
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.
type CiliumV2Interface ¶
type CiliumV2Interface interface { RESTClient() rest.Interface CiliumEndpointsGetter CiliumNetworkPoliciesGetter }