v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

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 AthenaV1alpha1Client

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

AthenaV1alpha1Client is used to interact with features provided by the athena.aws.kubeform.com group.

func New

New creates a new AthenaV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AthenaV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AthenaV1alpha1Client

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

func (*AthenaV1alpha1Client) Databases

func (c *AthenaV1alpha1Client) Databases(namespace string) DatabaseInterface

func (*AthenaV1alpha1Client) NamedQueries

func (c *AthenaV1alpha1Client) NamedQueries(namespace string) NamedQueryInterface

func (*AthenaV1alpha1Client) RESTClient

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

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

func (*AthenaV1alpha1Client) Workgroups

func (c *AthenaV1alpha1Client) Workgroups(namespace string) WorkgroupInterface

type AthenaV1alpha1Interface

type AthenaV1alpha1Interface interface {
	RESTClient() rest.Interface
	DatabasesGetter
	NamedQueriesGetter
	WorkgroupsGetter
}

type DatabaseExpansion

type DatabaseExpansion interface{}

type DatabaseInterface

type DatabaseInterface interface {
	Create(ctx context.Context, database *v1alpha1.Database, opts v1.CreateOptions) (*v1alpha1.Database, error)
	Update(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
	UpdateStatus(ctx context.Context, database *v1alpha1.Database, opts v1.UpdateOptions) (*v1alpha1.Database, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Database, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.DatabaseList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Database, err error)
	DatabaseExpansion
}

DatabaseInterface has methods to work with Database resources.

type DatabasesGetter

type DatabasesGetter interface {
	Databases(namespace string) DatabaseInterface
}

DatabasesGetter has a method to return a DatabaseInterface. A group's client should implement this interface.

type NamedQueriesGetter

type NamedQueriesGetter interface {
	NamedQueries(namespace string) NamedQueryInterface
}

NamedQueriesGetter has a method to return a NamedQueryInterface. A group's client should implement this interface.

type NamedQueryExpansion

type NamedQueryExpansion interface{}

type NamedQueryInterface

type NamedQueryInterface interface {
	Create(ctx context.Context, namedQuery *v1alpha1.NamedQuery, opts v1.CreateOptions) (*v1alpha1.NamedQuery, error)
	Update(ctx context.Context, namedQuery *v1alpha1.NamedQuery, opts v1.UpdateOptions) (*v1alpha1.NamedQuery, error)
	UpdateStatus(ctx context.Context, namedQuery *v1alpha1.NamedQuery, opts v1.UpdateOptions) (*v1alpha1.NamedQuery, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.NamedQuery, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.NamedQueryList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NamedQuery, err error)
	NamedQueryExpansion
}

NamedQueryInterface has methods to work with NamedQuery resources.

type WorkgroupExpansion

type WorkgroupExpansion interface{}

type WorkgroupInterface

type WorkgroupInterface interface {
	Create(ctx context.Context, workgroup *v1alpha1.Workgroup, opts v1.CreateOptions) (*v1alpha1.Workgroup, error)
	Update(ctx context.Context, workgroup *v1alpha1.Workgroup, opts v1.UpdateOptions) (*v1alpha1.Workgroup, error)
	UpdateStatus(ctx context.Context, workgroup *v1alpha1.Workgroup, opts v1.UpdateOptions) (*v1alpha1.Workgroup, error)
	Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
	Get(ctx context.Context, name string, opts v1.GetOptions) (*v1alpha1.Workgroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.WorkgroupList, error)
	Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Workgroup, err error)
	WorkgroupExpansion
}

WorkgroupInterface has methods to work with Workgroup resources.

type WorkgroupsGetter

type WorkgroupsGetter interface {
	Workgroups(namespace string) WorkgroupInterface
}

WorkgroupsGetter has a method to return a WorkgroupInterface. 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