internalversion

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 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 *mesh.ConfigMap, opts v1.CreateOptions) (*mesh.ConfigMap, error)
	Update(ctx context.Context, configMap *mesh.ConfigMap, opts v1.UpdateOptions) (*mesh.ConfigMap, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*mesh.ConfigMap, error)
	List(ctx context.Context, opts v1.ListOptions) (*mesh.ConfigMapList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *mesh.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 MeshClient

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

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

func New

func New(c rest.Interface) *MeshClient

New creates a new MeshClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new MeshClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *MeshClient

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

func (*MeshClient) ConfigMaps

func (c *MeshClient) ConfigMaps() ConfigMapInterface

func (*MeshClient) MeshManagers

func (c *MeshClient) MeshManagers() MeshManagerInterface

func (*MeshClient) RESTClient

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

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

type MeshInterface

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

type MeshManagerExpansion

type MeshManagerExpansion interface{}

type MeshManagerInterface

type MeshManagerInterface interface {
	Create(ctx context.Context, meshManager *mesh.MeshManager, opts v1.CreateOptions) (*mesh.MeshManager, error)
	Update(ctx context.Context, meshManager *mesh.MeshManager, opts v1.UpdateOptions) (*mesh.MeshManager, error)
	UpdateStatus(ctx context.Context, meshManager *mesh.MeshManager, opts v1.UpdateOptions) (*mesh.MeshManager, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*mesh.MeshManager, error)
	List(ctx context.Context, opts v1.ListOptions) (*mesh.MeshManagerList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *mesh.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.

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