v1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 9 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 CrunchydataV1Client

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

CrunchydataV1Client is used to interact with features provided by the crunchydata.com group.

func New

New creates a new CrunchydataV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.4.0

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

NewForConfigAndClient creates a new CrunchydataV1Client 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) *CrunchydataV1Client

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

func (*CrunchydataV1Client) PerconaPGClusters added in v0.2.0

func (c *CrunchydataV1Client) PerconaPGClusters(namespace string) PerconaPGClusterInterface

func (*CrunchydataV1Client) Pgclusters

func (c *CrunchydataV1Client) Pgclusters(namespace string) PgclusterInterface

func (*CrunchydataV1Client) Pgpolicies

func (c *CrunchydataV1Client) Pgpolicies(namespace string) PgpolicyInterface

func (*CrunchydataV1Client) Pgreplicas

func (c *CrunchydataV1Client) Pgreplicas(namespace string) PgreplicaInterface

func (*CrunchydataV1Client) Pgtasks

func (c *CrunchydataV1Client) Pgtasks(namespace string) PgtaskInterface

func (*CrunchydataV1Client) RESTClient

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

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

type PerconaPGClusterExpansion added in v1.4.0

type PerconaPGClusterExpansion interface{}

type PerconaPGClusterInterface added in v0.2.0

type PerconaPGClusterInterface interface {
	Create(ctx context.Context, perconaPGCluster *v1.PerconaPGCluster, opts metav1.CreateOptions) (*v1.PerconaPGCluster, error)
	Update(ctx context.Context, perconaPGCluster *v1.PerconaPGCluster, opts metav1.UpdateOptions) (*v1.PerconaPGCluster, error)
	UpdateStatus(ctx context.Context, perconaPGCluster *v1.PerconaPGCluster, opts metav1.UpdateOptions) (*v1.PerconaPGCluster, 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.PerconaPGCluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PerconaPGClusterList, 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.PerconaPGCluster, err error)
	PerconaPGClusterExpansion
}

PerconaPGClusterInterface has methods to work with PerconaPGCluster resources.

type PerconaPGClustersGetter added in v0.2.0

type PerconaPGClustersGetter interface {
	PerconaPGClusters(namespace string) PerconaPGClusterInterface
}

PerconaPGClustersGetter has a method to return a PerconaPGClusterInterface. A group's client should implement this interface.

type PgclusterExpansion

type PgclusterExpansion interface{}

type PgclusterInterface

type PgclusterInterface interface {
	Create(ctx context.Context, pgcluster *v1.Pgcluster, opts metav1.CreateOptions) (*v1.Pgcluster, error)
	Update(ctx context.Context, pgcluster *v1.Pgcluster, opts metav1.UpdateOptions) (*v1.Pgcluster, error)
	UpdateStatus(ctx context.Context, pgcluster *v1.Pgcluster, opts metav1.UpdateOptions) (*v1.Pgcluster, 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.Pgcluster, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PgclusterList, 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.Pgcluster, err error)
	PgclusterExpansion
}

PgclusterInterface has methods to work with Pgcluster resources.

type PgclustersGetter

type PgclustersGetter interface {
	Pgclusters(namespace string) PgclusterInterface
}

PgclustersGetter has a method to return a PgclusterInterface. A group's client should implement this interface.

type PgpoliciesGetter

type PgpoliciesGetter interface {
	Pgpolicies(namespace string) PgpolicyInterface
}

PgpoliciesGetter has a method to return a PgpolicyInterface. A group's client should implement this interface.

type PgpolicyExpansion

type PgpolicyExpansion interface{}

type PgpolicyInterface

type PgpolicyInterface interface {
	Create(ctx context.Context, pgpolicy *v1.Pgpolicy, opts metav1.CreateOptions) (*v1.Pgpolicy, error)
	Update(ctx context.Context, pgpolicy *v1.Pgpolicy, opts metav1.UpdateOptions) (*v1.Pgpolicy, error)
	UpdateStatus(ctx context.Context, pgpolicy *v1.Pgpolicy, opts metav1.UpdateOptions) (*v1.Pgpolicy, 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.Pgpolicy, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PgpolicyList, 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.Pgpolicy, err error)
	PgpolicyExpansion
}

PgpolicyInterface has methods to work with Pgpolicy resources.

type PgreplicaExpansion

type PgreplicaExpansion interface{}

type PgreplicaInterface

type PgreplicaInterface interface {
	Create(ctx context.Context, pgreplica *v1.Pgreplica, opts metav1.CreateOptions) (*v1.Pgreplica, error)
	Update(ctx context.Context, pgreplica *v1.Pgreplica, opts metav1.UpdateOptions) (*v1.Pgreplica, error)
	UpdateStatus(ctx context.Context, pgreplica *v1.Pgreplica, opts metav1.UpdateOptions) (*v1.Pgreplica, 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.Pgreplica, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PgreplicaList, 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.Pgreplica, err error)
	PgreplicaExpansion
}

PgreplicaInterface has methods to work with Pgreplica resources.

type PgreplicasGetter

type PgreplicasGetter interface {
	Pgreplicas(namespace string) PgreplicaInterface
}

PgreplicasGetter has a method to return a PgreplicaInterface. A group's client should implement this interface.

type PgtaskExpansion

type PgtaskExpansion interface{}

type PgtaskInterface

type PgtaskInterface interface {
	Create(ctx context.Context, pgtask *v1.Pgtask, opts metav1.CreateOptions) (*v1.Pgtask, error)
	Update(ctx context.Context, pgtask *v1.Pgtask, opts metav1.UpdateOptions) (*v1.Pgtask, error)
	UpdateStatus(ctx context.Context, pgtask *v1.Pgtask, opts metav1.UpdateOptions) (*v1.Pgtask, 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.Pgtask, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PgtaskList, 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.Pgtask, err error)
	PgtaskExpansion
}

PgtaskInterface has methods to work with Pgtask resources.

type PgtasksGetter

type PgtasksGetter interface {
	Pgtasks(namespace string) PgtaskInterface
}

PgtasksGetter has a method to return a PgtaskInterface. 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