v1

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 BusinessV1Client

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

BusinessV1Client is used to interact with features provided by the business.tkestack.io group.

func New

New creates a new BusinessV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new BusinessV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *BusinessV1Client

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

func (*BusinessV1Client) ChartGroups

func (c *BusinessV1Client) ChartGroups(namespace string) ChartGroupInterface

func (*BusinessV1Client) ConfigMaps

func (c *BusinessV1Client) ConfigMaps() ConfigMapInterface

func (*BusinessV1Client) ImageNamespaces

func (c *BusinessV1Client) ImageNamespaces(namespace string) ImageNamespaceInterface

func (*BusinessV1Client) Namespaces

func (c *BusinessV1Client) Namespaces(namespace string) NamespaceInterface

func (*BusinessV1Client) NsEmigrations added in v1.3.1

func (c *BusinessV1Client) NsEmigrations(namespace string) NsEmigrationInterface

func (*BusinessV1Client) Platforms

func (c *BusinessV1Client) Platforms() PlatformInterface

func (*BusinessV1Client) Portals

func (c *BusinessV1Client) Portals() PortalInterface

func (*BusinessV1Client) Projects

func (c *BusinessV1Client) Projects() ProjectInterface

func (*BusinessV1Client) RESTClient

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

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

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
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) 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(namespace string) ChartGroupInterface
}

ChartGroupsGetter has a method to return a ChartGroupInterface. 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 ImageNamespaceExpansion

type ImageNamespaceExpansion interface{}

type ImageNamespaceInterface

type ImageNamespaceInterface interface {
	Create(ctx context.Context, imageNamespace *v1.ImageNamespace, opts metav1.CreateOptions) (*v1.ImageNamespace, error)
	Update(ctx context.Context, imageNamespace *v1.ImageNamespace, opts metav1.UpdateOptions) (*v1.ImageNamespace, error)
	UpdateStatus(ctx context.Context, imageNamespace *v1.ImageNamespace, opts metav1.UpdateOptions) (*v1.ImageNamespace, 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.ImageNamespace, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ImageNamespaceList, 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.ImageNamespace, err error)
	ImageNamespaceExpansion
}

ImageNamespaceInterface has methods to work with ImageNamespace resources.

type ImageNamespacesGetter

type ImageNamespacesGetter interface {
	ImageNamespaces(namespace string) ImageNamespaceInterface
}

ImageNamespacesGetter has a method to return a ImageNamespaceInterface. 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
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) 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(namespace string) NamespaceInterface
}

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

type NsEmigrationExpansion added in v1.3.1

type NsEmigrationExpansion interface{}

type NsEmigrationInterface added in v1.3.1

type NsEmigrationInterface interface {
	Create(ctx context.Context, nsEmigration *v1.NsEmigration, opts metav1.CreateOptions) (*v1.NsEmigration, error)
	Update(ctx context.Context, nsEmigration *v1.NsEmigration, opts metav1.UpdateOptions) (*v1.NsEmigration, error)
	UpdateStatus(ctx context.Context, nsEmigration *v1.NsEmigration, opts metav1.UpdateOptions) (*v1.NsEmigration, 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.NsEmigration, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NsEmigrationList, 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.NsEmigration, err error)
	NsEmigrationExpansion
}

NsEmigrationInterface has methods to work with NsEmigration resources.

type NsEmigrationsGetter added in v1.3.1

type NsEmigrationsGetter interface {
	NsEmigrations(namespace string) NsEmigrationInterface
}

NsEmigrationsGetter has a method to return a NsEmigrationInterface. A group's client should implement this interface.

type PlatformExpansion

type PlatformExpansion interface{}

type PlatformInterface

type PlatformInterface interface {
	Create(ctx context.Context, platform *v1.Platform, opts metav1.CreateOptions) (*v1.Platform, error)
	Update(ctx context.Context, platform *v1.Platform, opts metav1.UpdateOptions) (*v1.Platform, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Platform, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PlatformList, 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.Platform, err error)
	PlatformExpansion
}

PlatformInterface has methods to work with Platform resources.

type PlatformsGetter

type PlatformsGetter interface {
	Platforms() PlatformInterface
}

PlatformsGetter has a method to return a PlatformInterface. A group's client should implement this interface.

type PortalExpansion

type PortalExpansion interface{}

type PortalInterface

type PortalInterface interface {
	PortalExpansion
}

PortalInterface has methods to work with Portal resources.

type PortalsGetter

type PortalsGetter interface {
	Portals() PortalInterface
}

PortalsGetter has a method to return a PortalInterface. A group's client should implement this interface.

type ProjectExpansion

type ProjectExpansion interface{}

type ProjectInterface

type ProjectInterface interface {
	Create(ctx context.Context, project *v1.Project, opts metav1.CreateOptions) (*v1.Project, error)
	Update(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (*v1.Project, error)
	UpdateStatus(ctx context.Context, project *v1.Project, opts metav1.UpdateOptions) (*v1.Project, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Project, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ProjectList, 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.Project, err error)
	ProjectExpansion
}

ProjectInterface has methods to work with Project resources.

type ProjectsGetter

type ProjectsGetter interface {
	Projects() ProjectInterface
}

ProjectsGetter has a method to return a ProjectInterface. 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