v1

package
v4.5.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 21

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.

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) 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 CrunchydataV1Interface

type CrunchydataV1Interface interface {
	RESTClient() rest.Interface
	PgclustersGetter
	PgpoliciesGetter
	PgreplicasGetter
	PgtasksGetter
}

type PgclusterExpansion

type PgclusterExpansion interface{}

type PgclusterInterface

type PgclusterInterface interface {
	Create(*v1.Pgcluster) (*v1.Pgcluster, error)
	Update(*v1.Pgcluster) (*v1.Pgcluster, error)
	UpdateStatus(*v1.Pgcluster) (*v1.Pgcluster, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Pgcluster, error)
	List(opts metav1.ListOptions) (*v1.PgclusterList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.Pgpolicy) (*v1.Pgpolicy, error)
	Update(*v1.Pgpolicy) (*v1.Pgpolicy, error)
	UpdateStatus(*v1.Pgpolicy) (*v1.Pgpolicy, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Pgpolicy, error)
	List(opts metav1.ListOptions) (*v1.PgpolicyList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.Pgreplica) (*v1.Pgreplica, error)
	Update(*v1.Pgreplica) (*v1.Pgreplica, error)
	UpdateStatus(*v1.Pgreplica) (*v1.Pgreplica, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Pgreplica, error)
	List(opts metav1.ListOptions) (*v1.PgreplicaList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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(*v1.Pgtask) (*v1.Pgtask, error)
	Update(*v1.Pgtask) (*v1.Pgtask, error)
	UpdateStatus(*v1.Pgtask) (*v1.Pgtask, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Pgtask, error)
	List(opts metav1.ListOptions) (*v1.PgtaskList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, 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