v1

package
v4.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: BSD-3-Clause Imports: 8 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 ClusterNetworkExpansion

type ClusterNetworkExpansion interface{}

type ClusterNetworkInterface

type ClusterNetworkInterface interface {
	Create(ctx context.Context, clusterNetwork *v1.ClusterNetwork, opts metav1.CreateOptions) (*v1.ClusterNetwork, error)
	Update(ctx context.Context, clusterNetwork *v1.ClusterNetwork, opts metav1.UpdateOptions) (*v1.ClusterNetwork, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterNetwork, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterNetworkList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterNetwork, err error)
	ClusterNetworkExpansion
}

ClusterNetworkInterface has methods to work with ClusterNetwork resources.

type ClusterNetworksGetter

type ClusterNetworksGetter interface {
	ClusterNetworks() ClusterNetworkInterface
}

ClusterNetworksGetter has a method to return a ClusterNetworkInterface. A group's client should implement this interface.

type DanmEpExpansion

type DanmEpExpansion interface{}

type DanmEpInterface

type DanmEpInterface interface {
	Create(ctx context.Context, danmEp *v1.DanmEp, opts metav1.CreateOptions) (*v1.DanmEp, error)
	Update(ctx context.Context, danmEp *v1.DanmEp, opts metav1.UpdateOptions) (*v1.DanmEp, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DanmEp, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DanmEpList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DanmEp, err error)
	DanmEpExpansion
}

DanmEpInterface has methods to work with DanmEp resources.

type DanmEpsGetter

type DanmEpsGetter interface {
	DanmEps(namespace string) DanmEpInterface
}

DanmEpsGetter has a method to return a DanmEpInterface. A group's client should implement this interface.

type DanmNetExpansion

type DanmNetExpansion interface{}

type DanmNetInterface

type DanmNetInterface interface {
	Create(ctx context.Context, danmNet *v1.DanmNet, opts metav1.CreateOptions) (*v1.DanmNet, error)
	Update(ctx context.Context, danmNet *v1.DanmNet, opts metav1.UpdateOptions) (*v1.DanmNet, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.DanmNet, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.DanmNetList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DanmNet, err error)
	DanmNetExpansion
}

DanmNetInterface has methods to work with DanmNet resources.

type DanmNetsGetter

type DanmNetsGetter interface {
	DanmNets(namespace string) DanmNetInterface
}

DanmNetsGetter has a method to return a DanmNetInterface. A group's client should implement this interface.

type DanmV1Client

type DanmV1Client struct {
	// contains filtered or unexported fields
}

DanmV1Client is used to interact with features provided by the danm.k8s.io group.

func New

func New(c rest.Interface) *DanmV1Client

New creates a new DanmV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*DanmV1Client, error)

NewForConfig creates a new DanmV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *DanmV1Client

NewForConfigOrDie creates a new DanmV1Client for the given config and panics if there is an error in the config.

func (*DanmV1Client) ClusterNetworks

func (c *DanmV1Client) ClusterNetworks() ClusterNetworkInterface

func (*DanmV1Client) DanmEps

func (c *DanmV1Client) DanmEps(namespace string) DanmEpInterface

func (*DanmV1Client) DanmNets

func (c *DanmV1Client) DanmNets(namespace string) DanmNetInterface

func (*DanmV1Client) RESTClient

func (c *DanmV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*DanmV1Client) TenantConfigs

func (c *DanmV1Client) TenantConfigs() TenantConfigInterface

func (*DanmV1Client) TenantNetworks

func (c *DanmV1Client) TenantNetworks(namespace string) TenantNetworkInterface

type TenantConfigExpansion

type TenantConfigExpansion interface{}

type TenantConfigInterface

type TenantConfigInterface interface {
	Create(ctx context.Context, tenantConfig *v1.TenantConfig, opts metav1.CreateOptions) (*v1.TenantConfig, error)
	Update(ctx context.Context, tenantConfig *v1.TenantConfig, opts metav1.UpdateOptions) (*v1.TenantConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.TenantConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.TenantConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TenantConfig, err error)
	TenantConfigExpansion
}

TenantConfigInterface has methods to work with TenantConfig resources.

type TenantConfigsGetter

type TenantConfigsGetter interface {
	TenantConfigs() TenantConfigInterface
}

TenantConfigsGetter has a method to return a TenantConfigInterface. A group's client should implement this interface.

type TenantNetworkExpansion

type TenantNetworkExpansion interface{}

type TenantNetworkInterface

type TenantNetworkInterface interface {
	Create(ctx context.Context, tenantNetwork *v1.TenantNetwork, opts metav1.CreateOptions) (*v1.TenantNetwork, error)
	Update(ctx context.Context, tenantNetwork *v1.TenantNetwork, opts metav1.UpdateOptions) (*v1.TenantNetwork, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.TenantNetwork, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.TenantNetworkList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TenantNetwork, err error)
	TenantNetworkExpansion
}

TenantNetworkInterface has methods to work with TenantNetwork resources.

type TenantNetworksGetter

type TenantNetworksGetter interface {
	TenantNetworks(namespace string) TenantNetworkInterface
}

TenantNetworksGetter has a method to return a TenantNetworkInterface. A group's client should implement this interface.

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