v1

package
v0.0.0-...-f6e1a93 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 9 Imported by: 1

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.cosmic.rocks 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

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

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.

func (*AcidV1Client) WorkLoadSchedules

func (c *AcidV1Client) WorkLoadSchedules(namespace string) WorkLoadScheduleInterface

type OperatorConfigurationExpansion

type OperatorConfigurationExpansion interface{}

type OperatorConfigurationInterface

type OperatorConfigurationInterface interface {
	Get(ctx context.Context, name string, opts v1.GetOptions) (*acidcosmicrocksv1.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

type PostgresTeamExpansion interface{}

type PostgresTeamInterface

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

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.

type WorkLoadScheduleExpansion

type WorkLoadScheduleExpansion interface{}

type WorkLoadScheduleInterface

type WorkLoadScheduleInterface interface {
	Create(ctx context.Context, workLoadSchedule *v1.WorkLoadSchedule, opts metav1.CreateOptions) (*v1.WorkLoadSchedule, error)
	Update(ctx context.Context, workLoadSchedule *v1.WorkLoadSchedule, opts metav1.UpdateOptions) (*v1.WorkLoadSchedule, error)
	UpdateStatus(ctx context.Context, workLoadSchedule *v1.WorkLoadSchedule, opts metav1.UpdateOptions) (*v1.WorkLoadSchedule, 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.WorkLoadSchedule, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.WorkLoadScheduleList, 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.WorkLoadSchedule, err error)
	WorkLoadScheduleExpansion
}

WorkLoadScheduleInterface has methods to work with WorkLoadSchedule resources.

type WorkLoadSchedulesGetter

type WorkLoadSchedulesGetter interface {
	WorkLoadSchedules(namespace string) WorkLoadScheduleInterface
}

WorkLoadSchedulesGetter has a method to return a WorkLoadScheduleInterface. 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