v1alpha1

package
v0.6.0-beta.41 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 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) ComponentResourceConstraints

func (c *AppsV1alpha1Client) ComponentResourceConstraints() ComponentResourceConstraintInterface

func (*AppsV1alpha1Client) ConfigConstraints

func (c *AppsV1alpha1Client) ConfigConstraints() ConfigConstraintInterface

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.

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 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 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 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.

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