v1

package
v1.20.11 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT 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 AppNodeExpansion

type AppNodeExpansion interface{}

type AppNodeInterface

type AppNodeInterface interface {
	Create(*v1.AppNode) (*v1.AppNode, error)
	Update(*v1.AppNode) (*v1.AppNode, error)
	UpdateStatus(*v1.AppNode) (*v1.AppNode, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.AppNode, error)
	List(opts meta_v1.ListOptions) (*v1.AppNodeList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.AppNode, err error)
	AppNodeExpansion
}

AppNodeInterface has methods to work with AppNode resources.

type AppNodesGetter

type AppNodesGetter interface {
	AppNodes(namespace string) AppNodeInterface
}

AppNodesGetter has a method to return a AppNodeInterface. A group's client should implement this interface.

type AppSvcExpansion

type AppSvcExpansion interface{}

type AppSvcInterface

type AppSvcInterface interface {
	Create(*v1.AppSvc) (*v1.AppSvc, error)
	Update(*v1.AppSvc) (*v1.AppSvc, error)
	UpdateStatus(*v1.AppSvc) (*v1.AppSvc, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.AppSvc, error)
	List(opts meta_v1.ListOptions) (*v1.AppSvcList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.AppSvc, err error)
	AppSvcExpansion
}

AppSvcInterface has methods to work with AppSvc resources.

type AppSvcsGetter

type AppSvcsGetter interface {
	AppSvcs(namespace string) AppSvcInterface
}

AppSvcsGetter has a method to return a AppSvcInterface. 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.bmsf.tencent.com 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) AppNodes

func (c *MeshV1Client) AppNodes(namespace string) AppNodeInterface

func (*MeshV1Client) AppSvcs

func (c *MeshV1Client) AppSvcs(namespace string) AppSvcInterface

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
	AppNodesGetter
	AppSvcsGetter
}

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