Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type CSIOperatorExpansion
- type CSIOperatorInterface
- type CSIOperatorsGetter
- type ClusterAddonExpansion
- type ClusterAddonInterface
- type ClusterAddonTypeExpansion
- type ClusterAddonTypeInterface
- type ClusterAddonTypesGetter
- type ClusterAddonsGetter
- type ClusterCredentialExpansion
- type ClusterCredentialInterface
- type ClusterCredentialsGetter
- type ClusterExpansion
- type ClusterGroupAPIResourceItemsExpansion
- type ClusterGroupAPIResourceItemsInterface
- type ClusterGroupAPIResourceItemsesGetter
- type ClusterInterface
- type ClustersGetter
- type ConfigMapExpansion
- type ConfigMapInterface
- type ConfigMapsGetter
- type CronHPAExpansion
- type CronHPAInterface
- type CronHPAsGetter
- type MachineExpansion
- type MachineInterface
- type MachinesGetter
- type PersistentEventExpansion
- type PersistentEventInterface
- type PersistentEventsGetter
- type PlatformClient
- func (c *PlatformClient) CSIOperators() CSIOperatorInterface
- func (c *PlatformClient) ClusterAddonTypes() ClusterAddonTypeInterface
- func (c *PlatformClient) ClusterAddons() ClusterAddonInterface
- func (c *PlatformClient) ClusterCredentials() ClusterCredentialInterface
- func (c *PlatformClient) ClusterGroupAPIResourceItemses() ClusterGroupAPIResourceItemsInterface
- func (c *PlatformClient) Clusters() ClusterInterface
- func (c *PlatformClient) ConfigMaps() ConfigMapInterface
- func (c *PlatformClient) CronHPAs() CronHPAInterface
- func (c *PlatformClient) Machines() MachineInterface
- func (c *PlatformClient) PersistentEvents() PersistentEventInterface
- func (c *PlatformClient) RESTClient() rest.Interface
- func (c *PlatformClient) Registries() RegistryInterface
- func (c *PlatformClient) TappControllers() TappControllerInterface
- type PlatformInterface
- type RegistriesGetter
- type RegistryExpansion
- type RegistryInterface
- type TappControllerExpansion
- type TappControllerInterface
- type TappControllersGetter
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(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.CreateOptions) (*platform.CSIOperator, error) Update(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (*platform.CSIOperator, error) UpdateStatus(ctx context.Context, cSIOperator *platform.CSIOperator, opts v1.UpdateOptions) (*platform.CSIOperator, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.CSIOperator, error) List(ctx context.Context, opts v1.ListOptions) (*platform.CSIOperatorList, 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 *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(ctx context.Context, name string, opts v1.GetOptions) (*platform.ClusterAddon, error) List(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, clusterCredential *platform.ClusterCredential, opts v1.CreateOptions) (*platform.ClusterCredential, error) Update(ctx context.Context, clusterCredential *platform.ClusterCredential, opts v1.UpdateOptions) (*platform.ClusterCredential, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.ClusterCredential, error) List(ctx context.Context, opts v1.ListOptions) (*platform.ClusterCredentialList, 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 *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 ClusterGroupAPIResourceItemsExpansion ¶ added in v1.8.0
type ClusterGroupAPIResourceItemsExpansion interface{}
type ClusterGroupAPIResourceItemsInterface ¶ added in v1.8.0
type ClusterGroupAPIResourceItemsInterface interface { Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.ClusterGroupAPIResourceItems, error) List(ctx context.Context, opts v1.ListOptions) (*platform.ClusterGroupAPIResourceItemsList, error) ClusterGroupAPIResourceItemsExpansion }
ClusterGroupAPIResourceItemsInterface has methods to work with ClusterGroupAPIResourceItems resources.
type ClusterGroupAPIResourceItemsesGetter ¶ added in v1.8.0
type ClusterGroupAPIResourceItemsesGetter interface {
ClusterGroupAPIResourceItemses() ClusterGroupAPIResourceItemsInterface
}
ClusterGroupAPIResourceItemsesGetter has a method to return a ClusterGroupAPIResourceItemsInterface. A group's client should implement this interface.
type ClusterInterface ¶
type ClusterInterface interface { Create(ctx context.Context, cluster *platform.Cluster, opts v1.CreateOptions) (*platform.Cluster, error) Update(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (*platform.Cluster, error) UpdateStatus(ctx context.Context, cluster *platform.Cluster, opts v1.UpdateOptions) (*platform.Cluster, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.Cluster, error) List(ctx context.Context, opts v1.ListOptions) (*platform.ClusterList, 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 *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(ctx context.Context, configMap *platform.ConfigMap, opts v1.CreateOptions) (*platform.ConfigMap, error) Update(ctx context.Context, configMap *platform.ConfigMap, opts v1.UpdateOptions) (*platform.ConfigMap, 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) (*platform.ConfigMap, error) List(ctx context.Context, opts v1.ListOptions) (*platform.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 *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(ctx context.Context, cronHPA *platform.CronHPA, opts v1.CreateOptions) (*platform.CronHPA, error) Update(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (*platform.CronHPA, error) UpdateStatus(ctx context.Context, cronHPA *platform.CronHPA, opts v1.UpdateOptions) (*platform.CronHPA, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.CronHPA, error) List(ctx context.Context, opts v1.ListOptions) (*platform.CronHPAList, 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 *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 MachineExpansion ¶
type MachineExpansion interface{}
type MachineInterface ¶
type MachineInterface interface { Create(ctx context.Context, machine *platform.Machine, opts v1.CreateOptions) (*platform.Machine, error) Update(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (*platform.Machine, error) UpdateStatus(ctx context.Context, machine *platform.Machine, opts v1.UpdateOptions) (*platform.Machine, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.Machine, error) List(ctx context.Context, opts v1.ListOptions) (*platform.MachineList, 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 *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(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.CreateOptions) (*platform.PersistentEvent, error) Update(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.UpdateOptions) (*platform.PersistentEvent, error) UpdateStatus(ctx context.Context, persistentEvent *platform.PersistentEvent, opts v1.UpdateOptions) (*platform.PersistentEvent, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.PersistentEvent, error) List(ctx context.Context, opts v1.ListOptions) (*platform.PersistentEventList, 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 *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 ¶
func New(c rest.Interface) *PlatformClient
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) ClusterGroupAPIResourceItemses ¶ added in v1.8.0
func (c *PlatformClient) ClusterGroupAPIResourceItemses() ClusterGroupAPIResourceItemsInterface
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) Machines ¶
func (c *PlatformClient) Machines() MachineInterface
func (*PlatformClient) PersistentEvents ¶
func (c *PlatformClient) PersistentEvents() PersistentEventInterface
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
type PlatformInterface ¶
type PlatformInterface interface { RESTClient() rest.Interface CSIOperatorsGetter ClustersGetter ClusterAddonsGetter ClusterAddonTypesGetter ClusterCredentialsGetter ClusterGroupAPIResourceItemsesGetter ConfigMapsGetter CronHPAsGetter MachinesGetter PersistentEventsGetter RegistriesGetter TappControllersGetter }
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(ctx context.Context, registry *platform.Registry, opts v1.CreateOptions) (*platform.Registry, error) Update(ctx context.Context, registry *platform.Registry, opts v1.UpdateOptions) (*platform.Registry, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.Registry, error) List(ctx context.Context, opts v1.ListOptions) (*platform.RegistryList, 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 *platform.Registry, err error) RegistryExpansion }
RegistryInterface has methods to work with Registry resources.
type TappControllerExpansion ¶
type TappControllerExpansion interface{}
type TappControllerInterface ¶
type TappControllerInterface interface { Create(ctx context.Context, tappController *platform.TappController, opts v1.CreateOptions) (*platform.TappController, error) Update(ctx context.Context, tappController *platform.TappController, opts v1.UpdateOptions) (*platform.TappController, error) UpdateStatus(ctx context.Context, tappController *platform.TappController, opts v1.UpdateOptions) (*platform.TappController, error) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error Get(ctx context.Context, name string, opts v1.GetOptions) (*platform.TappController, error) List(ctx context.Context, opts v1.ListOptions) (*platform.TappControllerList, 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 *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.