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 PolycubeNetworkPoliciesGetter ¶
type PolycubeNetworkPoliciesGetter interface {
PolycubeNetworkPolicies(namespace string) PolycubeNetworkPolicyInterface
}
PolycubeNetworkPoliciesGetter has a method to return a PolycubeNetworkPolicyInterface. A group's client should implement this interface.
type PolycubeNetworkPolicyExpansion ¶
type PolycubeNetworkPolicyExpansion interface{}
type PolycubeNetworkPolicyInterface ¶
type PolycubeNetworkPolicyInterface interface { Create(*v1beta.PolycubeNetworkPolicy) (*v1beta.PolycubeNetworkPolicy, error) Update(*v1beta.PolycubeNetworkPolicy) (*v1beta.PolycubeNetworkPolicy, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*v1beta.PolycubeNetworkPolicy, error) List(opts v1.ListOptions) (*v1beta.PolycubeNetworkPolicyList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta.PolycubeNetworkPolicy, err error) PolycubeNetworkPolicyExpansion }
PolycubeNetworkPolicyInterface has methods to work with PolycubeNetworkPolicy resources.
type PolycubeV1betaClient ¶
type PolycubeV1betaClient struct {
// contains filtered or unexported fields
}
PolycubeV1betaClient is used to interact with features provided by the polycube.network group.
func New ¶
func New(c rest.Interface) *PolycubeV1betaClient
New creates a new PolycubeV1betaClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PolycubeV1betaClient, error)
NewForConfig creates a new PolycubeV1betaClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PolycubeV1betaClient
NewForConfigOrDie creates a new PolycubeV1betaClient for the given config and panics if there is an error in the config.
func (*PolycubeV1betaClient) PolycubeNetworkPolicies ¶
func (c *PolycubeV1betaClient) PolycubeNetworkPolicies(namespace string) PolycubeNetworkPolicyInterface
func (*PolycubeV1betaClient) RESTClient ¶
func (c *PolycubeV1betaClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type PolycubeV1betaInterface ¶
type PolycubeV1betaInterface interface { RESTClient() rest.Interface PolycubeNetworkPoliciesGetter }