internalversion

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more 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 CSIOperatorExpansion

type CSIOperatorExpansion interface{}

type CSIOperatorInterface

type CSIOperatorInterface interface {
	Create(*platform.CSIOperator) (*platform.CSIOperator, error)
	Update(*platform.CSIOperator) (*platform.CSIOperator, error)
	UpdateStatus(*platform.CSIOperator) (*platform.CSIOperator, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.CSIOperator, error)
	List(opts v1.ListOptions) (*platform.CSIOperatorList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.CSIOperator, err error)
	CSIOperatorExpansion
}

CSIOperatorInterface has methods to work with CSIOperator resources.

type CSIOperatorsGetter

type CSIOperatorsGetter interface {
	CSIOperators() CSIOperatorInterface
}

CSIOperatorsGetter has a method to return a CSIOperatorInterface. A group's client should implement this interface.

type ClusterAddonExpansion

type ClusterAddonExpansion interface{}

type ClusterAddonInterface

type ClusterAddonInterface interface {
	Get(name string, options v1.GetOptions) (*platform.ClusterAddon, error)
	List(opts v1.ListOptions) (*platform.ClusterAddonList, error)
	ClusterAddonExpansion
}

ClusterAddonInterface has methods to work with ClusterAddon resources.

type ClusterAddonTypeExpansion

type ClusterAddonTypeExpansion interface{}

type ClusterAddonTypeInterface

type ClusterAddonTypeInterface interface {
	List(opts v1.ListOptions) (*platform.ClusterAddonTypeList, error)
	ClusterAddonTypeExpansion
}

ClusterAddonTypeInterface has methods to work with ClusterAddonType resources.

type ClusterAddonTypesGetter

type ClusterAddonTypesGetter interface {
	ClusterAddonTypes() ClusterAddonTypeInterface
}

ClusterAddonTypesGetter has a method to return a ClusterAddonTypeInterface. A group's client should implement this interface.

type ClusterAddonsGetter

type ClusterAddonsGetter interface {
	ClusterAddons() ClusterAddonInterface
}

ClusterAddonsGetter has a method to return a ClusterAddonInterface. A group's client should implement this interface.

type ClusterCredentialExpansion

type ClusterCredentialExpansion interface{}

type ClusterCredentialInterface

type ClusterCredentialInterface interface {
	Create(*platform.ClusterCredential) (*platform.ClusterCredential, error)
	Update(*platform.ClusterCredential) (*platform.ClusterCredential, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.ClusterCredential, error)
	List(opts v1.ListOptions) (*platform.ClusterCredentialList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.ClusterCredential, err error)
	ClusterCredentialExpansion
}

ClusterCredentialInterface has methods to work with ClusterCredential resources.

type ClusterCredentialsGetter

type ClusterCredentialsGetter interface {
	ClusterCredentials() ClusterCredentialInterface
}

ClusterCredentialsGetter has a method to return a ClusterCredentialInterface. A group's client should implement this interface.

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(*platform.Cluster) (*platform.Cluster, error)
	Update(*platform.Cluster) (*platform.Cluster, error)
	UpdateStatus(*platform.Cluster) (*platform.Cluster, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.Cluster, error)
	List(opts v1.ListOptions) (*platform.ClusterList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClustersGetter

type ClustersGetter interface {
	Clusters() ClusterInterface
}

ClustersGetter has a method to return a ClusterInterface. A group's client should implement this interface.

type ConfigMapExpansion

type ConfigMapExpansion interface{}

type ConfigMapInterface

type ConfigMapInterface interface {
	Create(*platform.ConfigMap) (*platform.ConfigMap, error)
	Update(*platform.ConfigMap) (*platform.ConfigMap, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*platform.ConfigMap, error)
	List(opts v1.ListOptions) (*platform.ConfigMapList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.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 CronHPAExpansion

type CronHPAExpansion interface{}

type CronHPAInterface

type CronHPAInterface interface {
	Create(*platform.CronHPA) (*platform.CronHPA, error)
	Update(*platform.CronHPA) (*platform.CronHPA, error)
	UpdateStatus(*platform.CronHPA) (*platform.CronHPA, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.CronHPA, error)
	List(opts v1.ListOptions) (*platform.CronHPAList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.CronHPA, err error)
	CronHPAExpansion
}

CronHPAInterface has methods to work with CronHPA resources.

type CronHPAsGetter

type CronHPAsGetter interface {
	CronHPAs() CronHPAInterface
}

CronHPAsGetter has a method to return a CronHPAInterface. A group's client should implement this interface.

type GPUManagerExpansion

type GPUManagerExpansion interface{}

type GPUManagerInterface

type GPUManagerInterface interface {
	Create(*platform.GPUManager) (*platform.GPUManager, error)
	Update(*platform.GPUManager) (*platform.GPUManager, error)
	UpdateStatus(*platform.GPUManager) (*platform.GPUManager, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.GPUManager, error)
	List(opts v1.ListOptions) (*platform.GPUManagerList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.GPUManager, err error)
	GPUManagerExpansion
}

GPUManagerInterface has methods to work with GPUManager resources.

type GPUManagersGetter

type GPUManagersGetter interface {
	GPUManagers() GPUManagerInterface
}

GPUManagersGetter has a method to return a GPUManagerInterface. A group's client should implement this interface.

type HelmExpansion

type HelmExpansion interface{}

type HelmInterface

type HelmInterface interface {
	Create(*platform.Helm) (*platform.Helm, error)
	Update(*platform.Helm) (*platform.Helm, error)
	UpdateStatus(*platform.Helm) (*platform.Helm, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.Helm, error)
	List(opts v1.ListOptions) (*platform.HelmList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.Helm, err error)
	HelmExpansion
}

HelmInterface has methods to work with Helm resources.

type HelmsGetter

type HelmsGetter interface {
	Helms() HelmInterface
}

HelmsGetter has a method to return a HelmInterface. A group's client should implement this interface.

type IPAMExpansion

type IPAMExpansion interface{}

type IPAMInterface

type IPAMInterface interface {
	Create(*platform.IPAM) (*platform.IPAM, error)
	Update(*platform.IPAM) (*platform.IPAM, error)
	UpdateStatus(*platform.IPAM) (*platform.IPAM, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.IPAM, error)
	List(opts v1.ListOptions) (*platform.IPAMList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.IPAM, err error)
	IPAMExpansion
}

IPAMInterface has methods to work with IPAM resources.

type IPAMsGetter

type IPAMsGetter interface {
	IPAMs() IPAMInterface
}

IPAMsGetter has a method to return a IPAMInterface. A group's client should implement this interface.

type LBCFExpansion

type LBCFExpansion interface{}

type LBCFInterface

type LBCFInterface interface {
	Create(*platform.LBCF) (*platform.LBCF, error)
	Update(*platform.LBCF) (*platform.LBCF, error)
	UpdateStatus(*platform.LBCF) (*platform.LBCF, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.LBCF, error)
	List(opts v1.ListOptions) (*platform.LBCFList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.LBCF, err error)
	LBCFExpansion
}

LBCFInterface has methods to work with LBCF resources.

type LBCFsGetter

type LBCFsGetter interface {
	LBCFs() LBCFInterface
}

LBCFsGetter has a method to return a LBCFInterface. A group's client should implement this interface.

type LogCollectorExpansion

type LogCollectorExpansion interface{}

type LogCollectorInterface

type LogCollectorInterface interface {
	Create(*platform.LogCollector) (*platform.LogCollector, error)
	Update(*platform.LogCollector) (*platform.LogCollector, error)
	UpdateStatus(*platform.LogCollector) (*platform.LogCollector, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.LogCollector, error)
	List(opts v1.ListOptions) (*platform.LogCollectorList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.LogCollector, err error)
	LogCollectorExpansion
}

LogCollectorInterface has methods to work with LogCollector resources.

type LogCollectorsGetter

type LogCollectorsGetter interface {
	LogCollectors() LogCollectorInterface
}

LogCollectorsGetter has a method to return a LogCollectorInterface. A group's client should implement this interface.

type MachineExpansion

type MachineExpansion interface{}

type MachineInterface

type MachineInterface interface {
	Create(*platform.Machine) (*platform.Machine, error)
	Update(*platform.Machine) (*platform.Machine, error)
	UpdateStatus(*platform.Machine) (*platform.Machine, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.Machine, error)
	List(opts v1.ListOptions) (*platform.MachineList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.Machine, err error)
	MachineExpansion
}

MachineInterface has methods to work with Machine resources.

type MachinesGetter

type MachinesGetter interface {
	Machines() MachineInterface
}

MachinesGetter has a method to return a MachineInterface. A group's client should implement this interface.

type PersistentEventExpansion

type PersistentEventExpansion interface{}

type PersistentEventInterface

type PersistentEventInterface interface {
	Create(*platform.PersistentEvent) (*platform.PersistentEvent, error)
	Update(*platform.PersistentEvent) (*platform.PersistentEvent, error)
	UpdateStatus(*platform.PersistentEvent) (*platform.PersistentEvent, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.PersistentEvent, error)
	List(opts v1.ListOptions) (*platform.PersistentEventList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.PersistentEvent, err error)
	PersistentEventExpansion
}

PersistentEventInterface has methods to work with PersistentEvent resources.

type PersistentEventsGetter

type PersistentEventsGetter interface {
	PersistentEvents() PersistentEventInterface
}

PersistentEventsGetter has a method to return a PersistentEventInterface. A group's client should implement this interface.

type PlatformClient

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

PlatformClient is used to interact with features provided by the platform.tkestack.io group.

func New

New creates a new PlatformClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new PlatformClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *PlatformClient

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

func (*PlatformClient) CSIOperators

func (c *PlatformClient) CSIOperators() CSIOperatorInterface

func (*PlatformClient) ClusterAddonTypes

func (c *PlatformClient) ClusterAddonTypes() ClusterAddonTypeInterface

func (*PlatformClient) ClusterAddons

func (c *PlatformClient) ClusterAddons() ClusterAddonInterface

func (*PlatformClient) ClusterCredentials

func (c *PlatformClient) ClusterCredentials() ClusterCredentialInterface

func (*PlatformClient) Clusters

func (c *PlatformClient) Clusters() ClusterInterface

func (*PlatformClient) ConfigMaps

func (c *PlatformClient) ConfigMaps() ConfigMapInterface

func (*PlatformClient) CronHPAs

func (c *PlatformClient) CronHPAs() CronHPAInterface

func (*PlatformClient) GPUManagers

func (c *PlatformClient) GPUManagers() GPUManagerInterface

func (*PlatformClient) Helms

func (c *PlatformClient) Helms() HelmInterface

func (*PlatformClient) IPAMs

func (c *PlatformClient) IPAMs() IPAMInterface

func (*PlatformClient) LBCFs

func (c *PlatformClient) LBCFs() LBCFInterface

func (*PlatformClient) LogCollectors

func (c *PlatformClient) LogCollectors() LogCollectorInterface

func (*PlatformClient) Machines

func (c *PlatformClient) Machines() MachineInterface

func (*PlatformClient) PersistentEvents

func (c *PlatformClient) PersistentEvents() PersistentEventInterface

func (*PlatformClient) Prometheuses

func (c *PlatformClient) Prometheuses() PrometheusInterface

func (*PlatformClient) RESTClient

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

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

func (*PlatformClient) Registries

func (c *PlatformClient) Registries() RegistryInterface

func (*PlatformClient) TappControllers

func (c *PlatformClient) TappControllers() TappControllerInterface

func (*PlatformClient) VolumeDecorators

func (c *PlatformClient) VolumeDecorators() VolumeDecoratorInterface

type PrometheusExpansion

type PrometheusExpansion interface{}

type PrometheusInterface

type PrometheusInterface interface {
	Create(*platform.Prometheus) (*platform.Prometheus, error)
	Update(*platform.Prometheus) (*platform.Prometheus, error)
	UpdateStatus(*platform.Prometheus) (*platform.Prometheus, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.Prometheus, error)
	List(opts v1.ListOptions) (*platform.PrometheusList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.Prometheus, err error)
	PrometheusExpansion
}

PrometheusInterface has methods to work with Prometheus resources.

type PrometheusesGetter

type PrometheusesGetter interface {
	Prometheuses() PrometheusInterface
}

PrometheusesGetter has a method to return a PrometheusInterface. A group's client should implement this interface.

type RegistriesGetter

type RegistriesGetter interface {
	Registries() 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(*platform.Registry) (*platform.Registry, error)
	Update(*platform.Registry) (*platform.Registry, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.Registry, error)
	List(opts v1.ListOptions) (*platform.RegistryList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.Registry, err error)
	RegistryExpansion
}

RegistryInterface has methods to work with Registry resources.

type TappControllerExpansion

type TappControllerExpansion interface{}

type TappControllerInterface

type TappControllerInterface interface {
	Create(*platform.TappController) (*platform.TappController, error)
	Update(*platform.TappController) (*platform.TappController, error)
	UpdateStatus(*platform.TappController) (*platform.TappController, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.TappController, error)
	List(opts v1.ListOptions) (*platform.TappControllerList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.TappController, err error)
	TappControllerExpansion
}

TappControllerInterface has methods to work with TappController resources.

type TappControllersGetter

type TappControllersGetter interface {
	TappControllers() TappControllerInterface
}

TappControllersGetter has a method to return a TappControllerInterface. A group's client should implement this interface.

type VolumeDecoratorExpansion

type VolumeDecoratorExpansion interface{}

type VolumeDecoratorInterface

type VolumeDecoratorInterface interface {
	Create(*platform.VolumeDecorator) (*platform.VolumeDecorator, error)
	Update(*platform.VolumeDecorator) (*platform.VolumeDecorator, error)
	UpdateStatus(*platform.VolumeDecorator) (*platform.VolumeDecorator, error)
	Delete(name string, options *v1.DeleteOptions) error
	Get(name string, options v1.GetOptions) (*platform.VolumeDecorator, error)
	List(opts v1.ListOptions) (*platform.VolumeDecoratorList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *platform.VolumeDecorator, err error)
	VolumeDecoratorExpansion
}

VolumeDecoratorInterface has methods to work with VolumeDecorator resources.

type VolumeDecoratorsGetter

type VolumeDecoratorsGetter interface {
	VolumeDecorators() VolumeDecoratorInterface
}

VolumeDecoratorsGetter has a method to return a VolumeDecoratorInterface. 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