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 AccountExpansion

type AccountExpansion interface{}

type AccountGroupExpansion

type AccountGroupExpansion interface{}

type AccountGroupInterface

type AccountGroupInterface interface {
	Create(ctx context.Context, accountGroup *v1alpha1.AccountGroup, opts v1.CreateOptions) (*v1alpha1.AccountGroup, error)
	Update(ctx context.Context, accountGroup *v1alpha1.AccountGroup, opts v1.UpdateOptions) (*v1alpha1.AccountGroup, error)
	UpdateStatus(ctx context.Context, accountGroup *v1alpha1.AccountGroup, opts v1.UpdateOptions) (*v1alpha1.AccountGroup, 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.AccountGroup, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.AccountGroupList, 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.AccountGroup, err error)
	AccountGroupExpansion
}

AccountGroupInterface has methods to work with AccountGroup resources.

type AccountGroupsGetter

type AccountGroupsGetter interface {
	AccountGroups(namespace string) AccountGroupInterface
}

AccountGroupsGetter has a method to return a AccountGroupInterface. A group's client should implement this 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 EnterpriseExpansion

type EnterpriseExpansion interface{}

type EnterpriseInterface

type EnterpriseInterface interface {
	Create(ctx context.Context, enterprise *v1alpha1.Enterprise, opts v1.CreateOptions) (*v1alpha1.Enterprise, error)
	Update(ctx context.Context, enterprise *v1alpha1.Enterprise, opts v1.UpdateOptions) (*v1alpha1.Enterprise, error)
	UpdateStatus(ctx context.Context, enterprise *v1alpha1.Enterprise, opts v1.UpdateOptions) (*v1alpha1.Enterprise, 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.Enterprise, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1alpha1.EnterpriseList, 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.Enterprise, err error)
	EnterpriseExpansion
}

EnterpriseInterface has methods to work with Enterprise resources.

type EnterpriseV1alpha1Client

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

EnterpriseV1alpha1Client is used to interact with features provided by the enterprise.ibm.kubeform.com group.

func New

New creates a new EnterpriseV1alpha1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new EnterpriseV1alpha1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *EnterpriseV1alpha1Client

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

func (*EnterpriseV1alpha1Client) AccountGroups

func (c *EnterpriseV1alpha1Client) AccountGroups(namespace string) AccountGroupInterface

func (*EnterpriseV1alpha1Client) Accounts

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

func (*EnterpriseV1alpha1Client) Enterprises

func (c *EnterpriseV1alpha1Client) Enterprises(namespace string) EnterpriseInterface

func (*EnterpriseV1alpha1Client) RESTClient

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

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

type EnterpriseV1alpha1Interface

type EnterpriseV1alpha1Interface interface {
	RESTClient() rest.Interface
	AccountsGetter
	AccountGroupsGetter
	EnterprisesGetter
}

type EnterprisesGetter

type EnterprisesGetter interface {
	Enterprises(namespace string) EnterpriseInterface
}

EnterprisesGetter has a method to return a EnterpriseInterface. 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