Documentation
¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CiliumEndpointExpansion
- type CiliumEndpointInterface
- type CiliumEndpointsGetter
- type CiliumNetworkPoliciesGetter
- type CiliumNetworkPolicyExpansion
- type CiliumNetworkPolicyInterface
- type CiliumNodeExpansion
- type CiliumNodeInterface
- type CiliumNodesGetter
- type CiliumV2Client
- type CiliumV2Interface
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 CiliumNodeExpansion ¶
type CiliumNodeExpansion interface{}
type CiliumNodeInterface ¶
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 ¶
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 ¶
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) 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.
type CiliumV2Interface ¶
type CiliumV2Interface interface { RESTClient() rest.Interface CiliumEndpointsGetter CiliumNetworkPoliciesGetter CiliumNodesGetter }