v1

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 9 Imported by: 5

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 AcidV1Client

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

AcidV1Client is used to interact with features provided by the acid.zalan.do group.

func New

func New(c rest.Interface) *AcidV1Client

New creates a new AcidV1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.9.0

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

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

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

func (*AcidV1Client) OperatorConfigurations

func (c *AcidV1Client) OperatorConfigurations(namespace string) OperatorConfigurationInterface

func (*AcidV1Client) PostgresTeams added in v1.6.0

func (c *AcidV1Client) PostgresTeams(namespace string) PostgresTeamInterface

func (*AcidV1Client) Postgresqls

func (c *AcidV1Client) Postgresqls(namespace string) PostgresqlInterface

func (*AcidV1Client) RESTClient

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

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

type OperatorConfigurationExpansion

type OperatorConfigurationExpansion interface{}

type OperatorConfigurationInterface

type OperatorConfigurationInterface interface {
	Get(ctx context.Context, name string, opts v1.GetOptions) (*acidzalandov1.OperatorConfiguration, error)
	OperatorConfigurationExpansion
}

OperatorConfigurationInterface has methods to work with OperatorConfiguration resources.

type OperatorConfigurationsGetter

type OperatorConfigurationsGetter interface {
	OperatorConfigurations(namespace string) OperatorConfigurationInterface
}

OperatorConfigurationsGetter has a method to return a OperatorConfigurationInterface. A group's client should implement this interface.

type PostgresTeamExpansion added in v1.6.0

type PostgresTeamExpansion interface{}

type PostgresTeamInterface added in v1.6.0

type PostgresTeamInterface interface {
	Create(ctx context.Context, postgresTeam *v1.PostgresTeam, opts metav1.CreateOptions) (*v1.PostgresTeam, error)
	Update(ctx context.Context, postgresTeam *v1.PostgresTeam, opts metav1.UpdateOptions) (*v1.PostgresTeam, 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.PostgresTeam, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PostgresTeamList, 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.PostgresTeam, err error)
	PostgresTeamExpansion
}

PostgresTeamInterface has methods to work with PostgresTeam resources.

type PostgresTeamsGetter added in v1.6.0

type PostgresTeamsGetter interface {
	PostgresTeams(namespace string) PostgresTeamInterface
}

PostgresTeamsGetter has a method to return a PostgresTeamInterface. A group's client should implement this interface.

type PostgresqlExpansion

type PostgresqlExpansion interface{}

type PostgresqlInterface

type PostgresqlInterface interface {
	Create(ctx context.Context, postgresql *v1.Postgresql, opts metav1.CreateOptions) (*v1.Postgresql, error)
	Update(ctx context.Context, postgresql *v1.Postgresql, opts metav1.UpdateOptions) (*v1.Postgresql, error)
	UpdateStatus(ctx context.Context, postgresql *v1.Postgresql, opts metav1.UpdateOptions) (*v1.Postgresql, 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.Postgresql, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.PostgresqlList, 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.Postgresql, err error)
	PostgresqlExpansion
}

PostgresqlInterface has methods to work with Postgresql resources.

type PostgresqlsGetter

type PostgresqlsGetter interface {
	Postgresqls(namespace string) PostgresqlInterface
}

PostgresqlsGetter has a method to return a PostgresqlInterface. 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