v1beta

package
v0.0.0-...-a143e3c Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 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 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

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
}

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