internalversion

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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 *logagent.ConfigMap, opts v1.CreateOptions) (*logagent.ConfigMap, error)
	Update(ctx context.Context, configMap *logagent.ConfigMap, opts v1.UpdateOptions) (*logagent.ConfigMap, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*logagent.ConfigMap, error)
	List(ctx context.Context, opts v1.ListOptions) (*logagent.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 *logagent.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 LogAgentExpansion

type LogAgentExpansion interface{}

type LogAgentInterface

type LogAgentInterface interface {
	Create(ctx context.Context, logAgent *logagent.LogAgent, opts v1.CreateOptions) (*logagent.LogAgent, error)
	Update(ctx context.Context, logAgent *logagent.LogAgent, opts v1.UpdateOptions) (*logagent.LogAgent, error)
	UpdateStatus(ctx context.Context, logAgent *logagent.LogAgent, opts v1.UpdateOptions) (*logagent.LogAgent, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*logagent.LogAgent, error)
	List(ctx context.Context, opts v1.ListOptions) (*logagent.LogAgentList, 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 *logagent.LogAgent, err error)
	LogAgentExpansion
}

LogAgentInterface has methods to work with LogAgent resources.

type LogAgentsGetter

type LogAgentsGetter interface {
	LogAgents() LogAgentInterface
}

LogAgentsGetter has a method to return a LogAgentInterface. A group's client should implement this interface.

type LogagentClient

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

LogagentClient is used to interact with features provided by the logagent.tkestack.io group.

func New

New creates a new LogagentClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new LogagentClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *LogagentClient

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

func (*LogagentClient) ConfigMaps

func (c *LogagentClient) ConfigMaps() ConfigMapInterface

func (*LogagentClient) LogAgents

func (c *LogagentClient) LogAgents() LogAgentInterface

func (*LogagentClient) RESTClient

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

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

type LogagentInterface

type LogagentInterface interface {
	RESTClient() rest.Interface
	ConfigMapsGetter
	LogAgentsGetter
}

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