v3

package
v0.0.0-...-a606d81 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0 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 ClusterLabelExpansion

type ClusterLabelExpansion interface{}

type ClusterLabelInterface

type ClusterLabelInterface interface {
	Create(*v3.ClusterLabel) (*v3.ClusterLabel, error)
	Update(*v3.ClusterLabel) (*v3.ClusterLabel, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v3.ClusterLabel, error)
	List(opts v1.ListOptions) (*v3.ClusterLabelList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.ClusterLabel, err error)
	ClusterLabelExpansion
}

ClusterLabelInterface has methods to work with ClusterLabel resources.

type ClusterLabelsGetter

type ClusterLabelsGetter interface {
	ClusterLabels(namespace string) ClusterLabelInterface
}

ClusterLabelsGetter has a method to return a ClusterLabelInterface. A group's client should implement this interface.

type HKSV3Client

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

HKSV3Client is used to interact with features provided by the hks.io group.

func New

func New(c rest.Interface) *HKSV3Client

New creates a new HKSV3Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new HKSV3Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *HKSV3Client

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

func (*HKSV3Client) ClusterLabels

func (c *HKSV3Client) ClusterLabels(namespace string) ClusterLabelInterface

func (*HKSV3Client) Plugins

func (c *HKSV3Client) Plugins(namespace string) PluginInterface

func (*HKSV3Client) RESTClient

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

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

func (*HKSV3Client) Registries

func (c *HKSV3Client) Registries(namespace string) RegistryInterface

func (*HKSV3Client) Users

func (c *HKSV3Client) Users(namespace string) UserInterface

type HKSV3Interface

type HKSV3Interface interface {
	RESTClient() rest.Interface
	ClusterLabelsGetter
	PluginsGetter
	RegistriesGetter
	UsersGetter
}

type PluginExpansion

type PluginExpansion interface{}

type PluginInterface

type PluginInterface interface {
	Create(*v3.Plugin) (*v3.Plugin, error)
	Update(*v3.Plugin) (*v3.Plugin, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v3.Plugin, error)
	List(opts v1.ListOptions) (*v3.PluginList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Plugin, err error)
	PluginExpansion
}

PluginInterface has methods to work with Plugin resources.

type PluginsGetter

type PluginsGetter interface {
	Plugins(namespace string) PluginInterface
}

PluginsGetter has a method to return a PluginInterface. A group's client should implement this interface.

type RegistriesGetter

type RegistriesGetter interface {
	Registries(namespace string) RegistryInterface
}

RegistriesGetter has a method to return a RegistryInterface. A group's client should implement this interface.

type RegistryExpansion

type RegistryExpansion interface{}

type RegistryInterface

type RegistryInterface interface {
	Create(*v3.Registry) (*v3.Registry, error)
	Update(*v3.Registry) (*v3.Registry, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v3.Registry, error)
	List(opts v1.ListOptions) (*v3.RegistryList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.Registry, err error)
	RegistryExpansion
}

RegistryInterface has methods to work with Registry resources.

type UserExpansion

type UserExpansion interface{}

type UserInterface

type UserInterface interface {
	Create(*v3.User) (*v3.User, error)
	Update(*v3.User) (*v3.User, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v3.User, error)
	List(opts v1.ListOptions) (*v3.UserList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v3.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users(namespace string) UserInterface
}

UsersGetter has a method to return a UserInterface. 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