v1

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 8 Imported by: 10

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 ChartExpansion

type ChartExpansion interface{}

type ChartGroupExpansion

type ChartGroupExpansion interface{}

type ChartGroupInterface

type ChartGroupInterface interface {
	Create(ctx context.Context, chartGroup *v1.ChartGroup, opts metav1.CreateOptions) (*v1.ChartGroup, error)
	Update(ctx context.Context, chartGroup *v1.ChartGroup, opts metav1.UpdateOptions) (*v1.ChartGroup, error)
	UpdateStatus(ctx context.Context, chartGroup *v1.ChartGroup, opts metav1.UpdateOptions) (*v1.ChartGroup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ChartGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ChartGroupList, 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.ChartGroup, err error)
	ChartGroupExpansion
}

ChartGroupInterface has methods to work with ChartGroup resources.

type ChartGroupsGetter

type ChartGroupsGetter interface {
	ChartGroups() ChartGroupInterface
}

ChartGroupsGetter has a method to return a ChartGroupInterface. A group's client should implement this interface.

type ChartInfoExpansion added in v1.4.0

type ChartInfoExpansion interface{}

type ChartInfoInterface added in v1.4.0

type ChartInfoInterface interface {
	ChartInfoExpansion
}

ChartInfoInterface has methods to work with ChartInfo resources.

type ChartInfosGetter added in v1.4.0

type ChartInfosGetter interface {
	ChartInfos(namespace string) ChartInfoInterface
}

ChartInfosGetter has a method to return a ChartInfoInterface. A group's client should implement this interface.

type ChartInterface

type ChartInterface interface {
	Create(ctx context.Context, chart *v1.Chart, opts metav1.CreateOptions) (*v1.Chart, error)
	Update(ctx context.Context, chart *v1.Chart, opts metav1.UpdateOptions) (*v1.Chart, error)
	UpdateStatus(ctx context.Context, chart *v1.Chart, opts metav1.UpdateOptions) (*v1.Chart, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Chart, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ChartList, 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.Chart, err error)
	ChartExpansion
}

ChartInterface has methods to work with Chart resources.

type ChartsGetter

type ChartsGetter interface {
	Charts(namespace string) ChartInterface
}

ChartsGetter has a method to return a ChartInterface. A group's client should implement this interface.

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 NamespaceExpansion

type NamespaceExpansion interface{}

type NamespaceInterface

type NamespaceInterface interface {
	Create(ctx context.Context, namespace *v1.Namespace, opts metav1.CreateOptions) (*v1.Namespace, error)
	Update(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
	UpdateStatus(ctx context.Context, namespace *v1.Namespace, opts metav1.UpdateOptions) (*v1.Namespace, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Namespace, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NamespaceList, 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.Namespace, err error)
	NamespaceExpansion
}

NamespaceInterface has methods to work with Namespace resources.

type NamespacesGetter

type NamespacesGetter interface {
	Namespaces() NamespaceInterface
}

NamespacesGetter has a method to return a NamespaceInterface. A group's client should implement this interface.

type RegistryV1Client

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

RegistryV1Client is used to interact with features provided by the registry.tkestack.io group.

func New

New creates a new RegistryV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new RegistryV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *RegistryV1Client

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

func (*RegistryV1Client) ChartGroups

func (c *RegistryV1Client) ChartGroups() ChartGroupInterface

func (*RegistryV1Client) ChartInfos added in v1.4.0

func (c *RegistryV1Client) ChartInfos(namespace string) ChartInfoInterface

func (*RegistryV1Client) Charts

func (c *RegistryV1Client) Charts(namespace string) ChartInterface

func (*RegistryV1Client) ConfigMaps

func (c *RegistryV1Client) ConfigMaps() ConfigMapInterface

func (*RegistryV1Client) Namespaces

func (c *RegistryV1Client) Namespaces() NamespaceInterface

func (*RegistryV1Client) RESTClient

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

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

func (*RegistryV1Client) Repositories

func (c *RegistryV1Client) Repositories(namespace string) RepositoryInterface

type RepositoriesGetter

type RepositoriesGetter interface {
	Repositories(namespace string) RepositoryInterface
}

RepositoriesGetter has a method to return a RepositoryInterface. A group's client should implement this interface.

type RepositoryExpansion

type RepositoryExpansion interface{}

type RepositoryInterface

type RepositoryInterface interface {
	Create(ctx context.Context, repository *v1.Repository, opts metav1.CreateOptions) (*v1.Repository, error)
	Update(ctx context.Context, repository *v1.Repository, opts metav1.UpdateOptions) (*v1.Repository, error)
	UpdateStatus(ctx context.Context, repository *v1.Repository, opts metav1.UpdateOptions) (*v1.Repository, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Repository, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RepositoryList, 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.Repository, err error)
	RepositoryExpansion
}

RepositoryInterface has methods to work with Repository resources.

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