Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type ChartExpansion
- type ChartGroupExpansion
- type ChartGroupInterface
- type ChartGroupsGetter
- type ChartInfoExpansion
- type ChartInfoInterface
- type ChartInfosGetter
- type ChartInterface
- type ChartsGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type NamespaceExpansion
- type NamespaceInterface
- type NamespacesGetter
- type RegistryClient
- func (c *RegistryClient) ChartGroups() ChartGroupInterface
- func (c *RegistryClient) ChartInfos(namespace string) ChartInfoInterface
- func (c *RegistryClient) Charts(namespace string) ChartInterface
- func (c *RegistryClient) ConfigMaps() ConfigMapInterface
- func (c *RegistryClient) Namespaces() NamespaceInterface
- func (c *RegistryClient) RESTClient() rest.Interface
- func (c *RegistryClient) Repositories(namespace string) RepositoryInterface
- type RegistryInterface
- type RepositoriesGetter
- type RepositoryExpansion
- type RepositoryInterface
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 *registry.ChartGroup, opts v1.CreateOptions) (*registry.ChartGroup, error) Update(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (*registry.ChartGroup, error) UpdateStatus(ctx context.Context, chartGroup *registry.ChartGroup, opts v1.UpdateOptions) (*registry.ChartGroup, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*registry.ChartGroup, error) List(ctx context.Context, opts v1.ListOptions) (*registry.ChartGroupList, 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 *registry.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 *registry.Chart, opts v1.CreateOptions) (*registry.Chart, error) Update(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (*registry.Chart, error) UpdateStatus(ctx context.Context, chart *registry.Chart, opts v1.UpdateOptions) (*registry.Chart, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*registry.Chart, error) List(ctx context.Context, opts v1.ListOptions) (*registry.ChartList, 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 *registry.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 *registry.ConfigMap, opts v1.CreateOptions) (*registry.ConfigMap, error) Update(ctx context.Context, configMap *registry.ConfigMap, opts v1.UpdateOptions) (*registry.ConfigMap, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*registry.ConfigMap, error) List(ctx context.Context, opts v1.ListOptions) (*registry.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 *registry.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 *registry.Namespace, opts v1.CreateOptions) (*registry.Namespace, error) Update(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (*registry.Namespace, error) UpdateStatus(ctx context.Context, namespace *registry.Namespace, opts v1.UpdateOptions) (*registry.Namespace, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*registry.Namespace, error) List(ctx context.Context, opts v1.ListOptions) (*registry.NamespaceList, 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 *registry.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 RegistryClient ¶
type RegistryClient struct {
// contains filtered or unexported fields
}
RegistryClient is used to interact with features provided by the registry.tkestack.io group.
func New ¶
func New(c rest.Interface) *RegistryClient
New creates a new RegistryClient for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*RegistryClient, error)
NewForConfig creates a new RegistryClient for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *RegistryClient
NewForConfigOrDie creates a new RegistryClient for the given config and panics if there is an error in the config.
func (*RegistryClient) ChartGroups ¶
func (c *RegistryClient) ChartGroups() ChartGroupInterface
func (*RegistryClient) ChartInfos ¶ added in v1.4.0
func (c *RegistryClient) ChartInfos(namespace string) ChartInfoInterface
func (*RegistryClient) Charts ¶
func (c *RegistryClient) Charts(namespace string) ChartInterface
func (*RegistryClient) ConfigMaps ¶
func (c *RegistryClient) ConfigMaps() ConfigMapInterface
func (*RegistryClient) Namespaces ¶
func (c *RegistryClient) Namespaces() NamespaceInterface
func (*RegistryClient) RESTClient ¶
func (c *RegistryClient) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*RegistryClient) Repositories ¶
func (c *RegistryClient) Repositories(namespace string) RepositoryInterface
type RegistryInterface ¶
type RegistryInterface interface { RESTClient() rest.Interface ChartsGetter ChartGroupsGetter ChartInfosGetter ConfigMapsGetter NamespacesGetter RepositoriesGetter }
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 *registry.Repository, opts v1.CreateOptions) (*registry.Repository, error) Update(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (*registry.Repository, error) UpdateStatus(ctx context.Context, repository *registry.Repository, opts v1.UpdateOptions) (*registry.Repository, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*registry.Repository, error) List(ctx context.Context, opts v1.ListOptions) (*registry.RepositoryList, 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 *registry.Repository, err error) RepositoryExpansion }
RepositoryInterface has methods to work with Repository resources.