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 PostgresExpansion ¶
type PostgresExpansion interface{}
type PostgresInterface ¶
type PostgresInterface interface { Create(*v1.Postgres) (*v1.Postgres, error) Update(*v1.Postgres) (*v1.Postgres, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Postgres, error) List(opts meta_v1.ListOptions) (*v1.PostgresList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Postgres, err error) PostgresExpansion }
PostgresInterface has methods to work with Postgres resources.
type PostgrescontrollerV1Client ¶
type PostgrescontrollerV1Client struct {
// contains filtered or unexported fields
}
PostgrescontrollerV1Client is used to interact with features provided by the postgrescontroller.kubeplus group.
func New ¶
func New(c rest.Interface) *PostgrescontrollerV1Client
New creates a new PostgrescontrollerV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*PostgrescontrollerV1Client, error)
NewForConfig creates a new PostgrescontrollerV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *PostgrescontrollerV1Client
NewForConfigOrDie creates a new PostgrescontrollerV1Client for the given config and panics if there is an error in the config.
func (*PostgrescontrollerV1Client) Postgreses ¶
func (c *PostgrescontrollerV1Client) Postgreses(namespace string) PostgresInterface
func (*PostgrescontrollerV1Client) RESTClient ¶
func (c *PostgrescontrollerV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type PostgrescontrollerV1Interface ¶
type PostgrescontrollerV1Interface interface { RESTClient() rest.Interface PostgresesGetter }
type PostgresesGetter ¶
type PostgresesGetter interface {
Postgreses(namespace string) PostgresInterface
}
PostgresesGetter has a method to return a PostgresInterface. A group's client should implement this interface.