v1

package
v0.0.0-...-de64a1c Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 6

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 *metav1.DeleteOptions) error
	DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error
	Get(name string, options metav1.GetOptions) (*v1.Postgres, error)
	List(opts metav1.ListOptions) (*v1.PostgresList, error)
	Watch(opts metav1.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

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.

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