v1alpha1

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 9 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 AccountExpansion

type AccountExpansion interface{}

type AccountInterface

type AccountInterface interface {
	Create(ctx context.Context, account *v1alpha1.Account, opts v1.CreateOptions) (*v1alpha1.Account, error)
	Update(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, error)
	UpdateStatus(ctx context.Context, account *v1alpha1.Account, opts v1.UpdateOptions) (*v1alpha1.Account, 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.Account, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccountList, 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.Account, err error)
	AccountExpansion
}

AccountInterface has methods to work with Account resources.

type AccountsGetter

type AccountsGetter interface {
	Accounts(namespace string) AccountInterface
}

AccountsGetter has a method to return a AccountInterface. A group's client should implement this interface.

type AccountsV1alpha1Client

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

AccountsV1alpha1Client is used to interact with features provided by the accounts group.

func New

New creates a new AccountsV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AccountsV1alpha1Client 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) (*AccountsV1alpha1Client, error)

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

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

func (*AccountsV1alpha1Client) Accounts

func (c *AccountsV1alpha1Client) Accounts(namespace string) AccountInterface

func (*AccountsV1alpha1Client) Operators

func (c *AccountsV1alpha1Client) Operators(namespace string) OperatorInterface

func (*AccountsV1alpha1Client) RESTClient

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

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

func (*AccountsV1alpha1Client) SigningKeys

func (c *AccountsV1alpha1Client) SigningKeys(namespace string) SigningKeyInterface

func (*AccountsV1alpha1Client) Users

func (c *AccountsV1alpha1Client) Users(namespace string) UserInterface

type AccountsV1alpha1Interface

type AccountsV1alpha1Interface interface {
	RESTClient() rest.Interface
	AccountsGetter
	OperatorsGetter
	SigningKeysGetter
	UsersGetter
}

type OperatorExpansion

type OperatorExpansion interface{}

type OperatorInterface

type OperatorInterface interface {
	Create(ctx context.Context, operator *v1alpha1.Operator, opts v1.CreateOptions) (*v1alpha1.Operator, error)
	Update(ctx context.Context, operator *v1alpha1.Operator, opts v1.UpdateOptions) (*v1alpha1.Operator, error)
	UpdateStatus(ctx context.Context, operator *v1alpha1.Operator, opts v1.UpdateOptions) (*v1alpha1.Operator, 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.Operator, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.OperatorList, 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.Operator, err error)
	OperatorExpansion
}

OperatorInterface has methods to work with Operator resources.

type OperatorsGetter

type OperatorsGetter interface {
	Operators(namespace string) OperatorInterface
}

OperatorsGetter has a method to return a OperatorInterface. A group's client should implement this interface.

type SigningKeyExpansion

type SigningKeyExpansion interface{}

type SigningKeyInterface

type SigningKeyInterface interface {
	Create(ctx context.Context, signingKey *v1alpha1.SigningKey, opts v1.CreateOptions) (*v1alpha1.SigningKey, error)
	Update(ctx context.Context, signingKey *v1alpha1.SigningKey, opts v1.UpdateOptions) (*v1alpha1.SigningKey, error)
	UpdateStatus(ctx context.Context, signingKey *v1alpha1.SigningKey, opts v1.UpdateOptions) (*v1alpha1.SigningKey, 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.SigningKey, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.SigningKeyList, 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.SigningKey, err error)
	SigningKeyExpansion
}

SigningKeyInterface has methods to work with SigningKey resources.

type SigningKeysGetter

type SigningKeysGetter interface {
	SigningKeys(namespace string) SigningKeyInterface
}

SigningKeysGetter has a method to return a SigningKeyInterface. A group's client should implement this interface.

type UserExpansion

type UserExpansion interface{}

type UserInterface

type UserInterface interface {
	Create(ctx context.Context, user *v1alpha1.User, opts v1.CreateOptions) (*v1alpha1.User, error)
	Update(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, error)
	UpdateStatus(ctx context.Context, user *v1alpha1.User, opts v1.UpdateOptions) (*v1alpha1.User, 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.User, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.UserList, 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.User, err error)
	UserExpansion
}

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users(namespace string) UserInterface
}

UsersGetter has a method to return a UserInterface. 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