v1alpha1

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: AGPL-3.0 Imports: 9 Imported by: 3

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 AppsV1alpha1Client

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

AppsV1alpha1Client is used to interact with features provided by the apps.kubeblocks.io group.

func New

New creates a new AppsV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AppsV1alpha1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*AppsV1alpha1Client, error)

NewForConfigAndClient creates a new AppsV1alpha1Client for the given config and http client. Note the http client provided takes precedence over the configured transport values.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AppsV1alpha1Client

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

func (*AppsV1alpha1Client) BackupPolicyTemplates

func (c *AppsV1alpha1Client) BackupPolicyTemplates() BackupPolicyTemplateInterface

func (*AppsV1alpha1Client) ClusterDefinitions

func (c *AppsV1alpha1Client) ClusterDefinitions() ClusterDefinitionInterface

func (*AppsV1alpha1Client) ClusterVersions

func (c *AppsV1alpha1Client) ClusterVersions() ClusterVersionInterface

func (*AppsV1alpha1Client) Clusters

func (c *AppsV1alpha1Client) Clusters(namespace string) ClusterInterface

func (*AppsV1alpha1Client) ComponentClassDefinitions

func (c *AppsV1alpha1Client) ComponentClassDefinitions() ComponentClassDefinitionInterface

func (*AppsV1alpha1Client) ComponentDefinitions added in v0.8.0

func (c *AppsV1alpha1Client) ComponentDefinitions() ComponentDefinitionInterface

func (*AppsV1alpha1Client) ComponentResourceConstraints

func (c *AppsV1alpha1Client) ComponentResourceConstraints() ComponentResourceConstraintInterface

func (*AppsV1alpha1Client) Components added in v0.8.0

func (c *AppsV1alpha1Client) Components(namespace string) ComponentInterface

func (*AppsV1alpha1Client) ConfigConstraints

func (c *AppsV1alpha1Client) ConfigConstraints() ConfigConstraintInterface

func (*AppsV1alpha1Client) OpsDefinitions added in v0.8.0

func (c *AppsV1alpha1Client) OpsDefinitions() OpsDefinitionInterface

func (*AppsV1alpha1Client) OpsRequests

func (c *AppsV1alpha1Client) OpsRequests(namespace string) OpsRequestInterface

func (*AppsV1alpha1Client) RESTClient

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

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

func (*AppsV1alpha1Client) ServiceDescriptors added in v0.7.0

func (c *AppsV1alpha1Client) ServiceDescriptors(namespace string) ServiceDescriptorInterface

type BackupPolicyTemplateExpansion

type BackupPolicyTemplateExpansion interface{}

type BackupPolicyTemplateInterface

type BackupPolicyTemplateInterface interface {
	Create(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.CreateOptions) (*v1alpha1.BackupPolicyTemplate, error)
	Update(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.UpdateOptions) (*v1alpha1.BackupPolicyTemplate, error)
	UpdateStatus(ctx context.Context, backupPolicyTemplate *v1alpha1.BackupPolicyTemplate, opts v1.UpdateOptions) (*v1alpha1.BackupPolicyTemplate, 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) (*v1alpha1.BackupPolicyTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.BackupPolicyTemplateList, 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 *v1alpha1.BackupPolicyTemplate, err error)
	BackupPolicyTemplateExpansion
}

BackupPolicyTemplateInterface has methods to work with BackupPolicyTemplate resources.

type BackupPolicyTemplatesGetter

type BackupPolicyTemplatesGetter interface {
	BackupPolicyTemplates() BackupPolicyTemplateInterface
}

BackupPolicyTemplatesGetter has a method to return a BackupPolicyTemplateInterface. A group's client should implement this interface.

type ClusterDefinitionExpansion

type ClusterDefinitionExpansion interface{}

type ClusterDefinitionInterface

type ClusterDefinitionInterface interface {
	Create(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.CreateOptions) (*v1alpha1.ClusterDefinition, error)
	Update(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.UpdateOptions) (*v1alpha1.ClusterDefinition, error)
	UpdateStatus(ctx context.Context, clusterDefinition *v1alpha1.ClusterDefinition, opts v1.UpdateOptions) (*v1alpha1.ClusterDefinition, 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) (*v1alpha1.ClusterDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterDefinitionList, 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 *v1alpha1.ClusterDefinition, err error)
	ClusterDefinitionExpansion
}

ClusterDefinitionInterface has methods to work with ClusterDefinition resources.

type ClusterDefinitionsGetter

type ClusterDefinitionsGetter interface {
	ClusterDefinitions() ClusterDefinitionInterface
}

ClusterDefinitionsGetter has a method to return a ClusterDefinitionInterface. A group's client should implement this interface.

type ClusterExpansion

type ClusterExpansion interface{}

type ClusterInterface

type ClusterInterface interface {
	Create(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.CreateOptions) (*v1alpha1.Cluster, error)
	Update(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, error)
	UpdateStatus(ctx context.Context, cluster *v1alpha1.Cluster, opts v1.UpdateOptions) (*v1alpha1.Cluster, 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) (*v1alpha1.Cluster, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.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 *v1alpha1.Cluster, err error)
	ClusterExpansion
}

ClusterInterface has methods to work with Cluster resources.

type ClusterVersionExpansion

type ClusterVersionExpansion interface{}

type ClusterVersionInterface

type ClusterVersionInterface interface {
	Create(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.CreateOptions) (*v1alpha1.ClusterVersion, error)
	Update(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterVersion, error)
	UpdateStatus(ctx context.Context, clusterVersion *v1alpha1.ClusterVersion, opts v1.UpdateOptions) (*v1alpha1.ClusterVersion, 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) (*v1alpha1.ClusterVersion, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ClusterVersionList, 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 *v1alpha1.ClusterVersion, err error)
	ClusterVersionExpansion
}

ClusterVersionInterface has methods to work with ClusterVersion resources.

type ClusterVersionsGetter

type ClusterVersionsGetter interface {
	ClusterVersions() ClusterVersionInterface
}

ClusterVersionsGetter has a method to return a ClusterVersionInterface. A group's client should implement this interface.

type ClustersGetter

type ClustersGetter interface {
	Clusters(namespace string) ClusterInterface
}

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

type ComponentClassDefinitionExpansion

type ComponentClassDefinitionExpansion interface{}

type ComponentClassDefinitionInterface

type ComponentClassDefinitionInterface interface {
	Create(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.CreateOptions) (*v1alpha1.ComponentClassDefinition, error)
	Update(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentClassDefinition, error)
	UpdateStatus(ctx context.Context, componentClassDefinition *v1alpha1.ComponentClassDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentClassDefinition, 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) (*v1alpha1.ComponentClassDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ComponentClassDefinitionList, 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 *v1alpha1.ComponentClassDefinition, err error)
	ComponentClassDefinitionExpansion
}

ComponentClassDefinitionInterface has methods to work with ComponentClassDefinition resources.

type ComponentClassDefinitionsGetter

type ComponentClassDefinitionsGetter interface {
	ComponentClassDefinitions() ComponentClassDefinitionInterface
}

ComponentClassDefinitionsGetter has a method to return a ComponentClassDefinitionInterface. A group's client should implement this interface.

type ComponentDefinitionExpansion added in v0.8.0

type ComponentDefinitionExpansion interface{}

type ComponentDefinitionInterface added in v0.8.0

type ComponentDefinitionInterface interface {
	Create(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.CreateOptions) (*v1alpha1.ComponentDefinition, error)
	Update(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentDefinition, error)
	UpdateStatus(ctx context.Context, componentDefinition *v1alpha1.ComponentDefinition, opts v1.UpdateOptions) (*v1alpha1.ComponentDefinition, 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) (*v1alpha1.ComponentDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ComponentDefinitionList, 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 *v1alpha1.ComponentDefinition, err error)
	ComponentDefinitionExpansion
}

ComponentDefinitionInterface has methods to work with ComponentDefinition resources.

type ComponentDefinitionsGetter added in v0.8.0

type ComponentDefinitionsGetter interface {
	ComponentDefinitions() ComponentDefinitionInterface
}

ComponentDefinitionsGetter has a method to return a ComponentDefinitionInterface. A group's client should implement this interface.

type ComponentExpansion added in v0.8.0

type ComponentExpansion interface{}

type ComponentInterface added in v0.8.0

type ComponentInterface interface {
	Create(ctx context.Context, component *v1alpha1.Component, opts v1.CreateOptions) (*v1alpha1.Component, error)
	Update(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (*v1alpha1.Component, error)
	UpdateStatus(ctx context.Context, component *v1alpha1.Component, opts v1.UpdateOptions) (*v1alpha1.Component, 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) (*v1alpha1.Component, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ComponentList, 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 *v1alpha1.Component, err error)
	ComponentExpansion
}

ComponentInterface has methods to work with Component resources.

type ComponentResourceConstraintExpansion

type ComponentResourceConstraintExpansion interface{}

type ComponentResourceConstraintInterface

type ComponentResourceConstraintInterface interface {
	Create(ctx context.Context, componentResourceConstraint *v1alpha1.ComponentResourceConstraint, opts v1.CreateOptions) (*v1alpha1.ComponentResourceConstraint, error)
	Update(ctx context.Context, componentResourceConstraint *v1alpha1.ComponentResourceConstraint, opts v1.UpdateOptions) (*v1alpha1.ComponentResourceConstraint, 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) (*v1alpha1.ComponentResourceConstraint, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ComponentResourceConstraintList, 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 *v1alpha1.ComponentResourceConstraint, err error)
	ComponentResourceConstraintExpansion
}

ComponentResourceConstraintInterface has methods to work with ComponentResourceConstraint resources.

type ComponentResourceConstraintsGetter

type ComponentResourceConstraintsGetter interface {
	ComponentResourceConstraints() ComponentResourceConstraintInterface
}

ComponentResourceConstraintsGetter has a method to return a ComponentResourceConstraintInterface. A group's client should implement this interface.

type ComponentsGetter added in v0.8.0

type ComponentsGetter interface {
	Components(namespace string) ComponentInterface
}

ComponentsGetter has a method to return a ComponentInterface. A group's client should implement this interface.

type ConfigConstraintExpansion

type ConfigConstraintExpansion interface{}

type ConfigConstraintInterface

type ConfigConstraintInterface interface {
	Create(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.CreateOptions) (*v1alpha1.ConfigConstraint, error)
	Update(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.UpdateOptions) (*v1alpha1.ConfigConstraint, error)
	UpdateStatus(ctx context.Context, configConstraint *v1alpha1.ConfigConstraint, opts v1.UpdateOptions) (*v1alpha1.ConfigConstraint, 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) (*v1alpha1.ConfigConstraint, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ConfigConstraintList, 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 *v1alpha1.ConfigConstraint, err error)
	ConfigConstraintExpansion
}

ConfigConstraintInterface has methods to work with ConfigConstraint resources.

type ConfigConstraintsGetter

type ConfigConstraintsGetter interface {
	ConfigConstraints() ConfigConstraintInterface
}

ConfigConstraintsGetter has a method to return a ConfigConstraintInterface. A group's client should implement this interface.

type OpsDefinitionExpansion added in v0.8.0

type OpsDefinitionExpansion interface{}

type OpsDefinitionInterface added in v0.8.0

type OpsDefinitionInterface interface {
	Create(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.CreateOptions) (*v1alpha1.OpsDefinition, error)
	Update(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.UpdateOptions) (*v1alpha1.OpsDefinition, error)
	UpdateStatus(ctx context.Context, opsDefinition *v1alpha1.OpsDefinition, opts v1.UpdateOptions) (*v1alpha1.OpsDefinition, 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) (*v1alpha1.OpsDefinition, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.OpsDefinitionList, 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 *v1alpha1.OpsDefinition, err error)
	OpsDefinitionExpansion
}

OpsDefinitionInterface has methods to work with OpsDefinition resources.

type OpsDefinitionsGetter added in v0.8.0

type OpsDefinitionsGetter interface {
	OpsDefinitions() OpsDefinitionInterface
}

OpsDefinitionsGetter has a method to return a OpsDefinitionInterface. A group's client should implement this interface.

type OpsRequestExpansion

type OpsRequestExpansion interface{}

type OpsRequestInterface

type OpsRequestInterface interface {
	Create(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.CreateOptions) (*v1alpha1.OpsRequest, error)
	Update(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (*v1alpha1.OpsRequest, error)
	UpdateStatus(ctx context.Context, opsRequest *v1alpha1.OpsRequest, opts v1.UpdateOptions) (*v1alpha1.OpsRequest, 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) (*v1alpha1.OpsRequest, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.OpsRequestList, 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 *v1alpha1.OpsRequest, err error)
	OpsRequestExpansion
}

OpsRequestInterface has methods to work with OpsRequest resources.

type OpsRequestsGetter

type OpsRequestsGetter interface {
	OpsRequests(namespace string) OpsRequestInterface
}

OpsRequestsGetter has a method to return a OpsRequestInterface. A group's client should implement this interface.

type ServiceDescriptorExpansion added in v0.7.0

type ServiceDescriptorExpansion interface{}

type ServiceDescriptorInterface added in v0.7.0

type ServiceDescriptorInterface interface {
	Create(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.CreateOptions) (*v1alpha1.ServiceDescriptor, error)
	Update(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.UpdateOptions) (*v1alpha1.ServiceDescriptor, error)
	UpdateStatus(ctx context.Context, serviceDescriptor *v1alpha1.ServiceDescriptor, opts v1.UpdateOptions) (*v1alpha1.ServiceDescriptor, 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) (*v1alpha1.ServiceDescriptor, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.ServiceDescriptorList, 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 *v1alpha1.ServiceDescriptor, err error)
	ServiceDescriptorExpansion
}

ServiceDescriptorInterface has methods to work with ServiceDescriptor resources.

type ServiceDescriptorsGetter added in v0.7.0

type ServiceDescriptorsGetter interface {
	ServiceDescriptors(namespace string) ServiceDescriptorInterface
}

ServiceDescriptorsGetter has a method to return a ServiceDescriptorInterface. 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