v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more 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 ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error)
	Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ConfigMap, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ConfigMapList, 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.ConfigMap, err error)
	ConfigMapExpansion
}

ConfigMapInterface has methods to work with ConfigMap resources.

type ConfigMapsGetter

type ConfigMapsGetter interface {
	ConfigMaps() ConfigMapInterface
}

ConfigMapsGetter has a method to return a ConfigMapInterface. A group's client should implement this interface.

type MeshManagerExpansion

type MeshManagerExpansion interface{}

type MeshManagerInterface

type MeshManagerInterface interface {
	Create(ctx context.Context, meshManager *v1.MeshManager, opts metav1.CreateOptions) (*v1.MeshManager, error)
	Update(ctx context.Context, meshManager *v1.MeshManager, opts metav1.UpdateOptions) (*v1.MeshManager, error)
	UpdateStatus(ctx context.Context, meshManager *v1.MeshManager, opts metav1.UpdateOptions) (*v1.MeshManager, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.MeshManager, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.MeshManagerList, 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.MeshManager, err error)
	MeshManagerExpansion
}

MeshManagerInterface has methods to work with MeshManager resources.

type MeshManagersGetter

type MeshManagersGetter interface {
	MeshManagers() MeshManagerInterface
}

MeshManagersGetter has a method to return a MeshManagerInterface. A group's client should implement this interface.

type MeshV1Client

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

MeshV1Client is used to interact with features provided by the mesh.tkestack.io group.

func New

func New(c rest.Interface) *MeshV1Client

New creates a new MeshV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MeshV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MeshV1Client

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

func (*MeshV1Client) ConfigMaps

func (c *MeshV1Client) ConfigMaps() ConfigMapInterface

func (*MeshV1Client) MeshManagers

func (c *MeshV1Client) MeshManagers() MeshManagerInterface

func (*MeshV1Client) RESTClient

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

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

type MeshV1Interface

type MeshV1Interface interface {
	RESTClient() rest.Interface
	ConfigMapsGetter
	MeshManagersGetter
}

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