v1beta1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 10 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 AppsV1beta1Client

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

AppsV1beta1Client is used to interact with features provided by the apps.onex.io group.

func New

New creates a new AppsV1beta1Client for the given RESTClient.

func NewForConfig

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

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

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

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

func (*AppsV1beta1Client) Chains

func (c *AppsV1beta1Client) Chains(namespace string) ChainInterface

func (*AppsV1beta1Client) ChargeRequests

func (c *AppsV1beta1Client) ChargeRequests(namespace string) ChargeRequestInterface

func (*AppsV1beta1Client) MinerSets

func (c *AppsV1beta1Client) MinerSets(namespace string) MinerSetInterface

func (*AppsV1beta1Client) Miners

func (c *AppsV1beta1Client) Miners(namespace string) MinerInterface

func (*AppsV1beta1Client) RESTClient

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

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

type AppsV1beta1Interface

type AppsV1beta1Interface interface {
	RESTClient() rest.Interface
	ChainsGetter
	ChargeRequestsGetter
	MinersGetter
	MinerSetsGetter
}

type ChainExpansion

type ChainExpansion interface{}

type ChainInterface

type ChainInterface interface {
	Create(ctx context.Context, chain *v1beta1.Chain, opts v1.CreateOptions) (*v1beta1.Chain, error)
	Update(ctx context.Context, chain *v1beta1.Chain, opts v1.UpdateOptions) (*v1beta1.Chain, error)
	UpdateStatus(ctx context.Context, chain *v1beta1.Chain, opts v1.UpdateOptions) (*v1beta1.Chain, 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) (*v1beta1.Chain, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ChainList, 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 *v1beta1.Chain, err error)
	ChainExpansion
}

ChainInterface has methods to work with Chain resources.

type ChainsGetter

type ChainsGetter interface {
	Chains(namespace string) ChainInterface
}

ChainsGetter has a method to return a ChainInterface. A group's client should implement this interface.

type ChargeRequestExpansion

type ChargeRequestExpansion interface{}

type ChargeRequestInterface

type ChargeRequestInterface interface {
	Create(ctx context.Context, chargeRequest *v1beta1.ChargeRequest, opts v1.CreateOptions) (*v1beta1.ChargeRequest, error)
	Update(ctx context.Context, chargeRequest *v1beta1.ChargeRequest, opts v1.UpdateOptions) (*v1beta1.ChargeRequest, error)
	UpdateStatus(ctx context.Context, chargeRequest *v1beta1.ChargeRequest, opts v1.UpdateOptions) (*v1beta1.ChargeRequest, 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) (*v1beta1.ChargeRequest, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.ChargeRequestList, 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 *v1beta1.ChargeRequest, err error)
	ChargeRequestExpansion
}

ChargeRequestInterface has methods to work with ChargeRequest resources.

type ChargeRequestsGetter

type ChargeRequestsGetter interface {
	ChargeRequests(namespace string) ChargeRequestInterface
}

ChargeRequestsGetter has a method to return a ChargeRequestInterface. A group's client should implement this interface.

type MinerExpansion

type MinerExpansion interface{}

type MinerInterface

type MinerInterface interface {
	Create(ctx context.Context, miner *v1beta1.Miner, opts v1.CreateOptions) (*v1beta1.Miner, error)
	Update(ctx context.Context, miner *v1beta1.Miner, opts v1.UpdateOptions) (*v1beta1.Miner, error)
	UpdateStatus(ctx context.Context, miner *v1beta1.Miner, opts v1.UpdateOptions) (*v1beta1.Miner, 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) (*v1beta1.Miner, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MinerList, 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 *v1beta1.Miner, err error)
	MinerExpansion
}

MinerInterface has methods to work with Miner resources.

type MinerSetExpansion

type MinerSetExpansion interface{}

type MinerSetInterface

type MinerSetInterface interface {
	Create(ctx context.Context, minerSet *v1beta1.MinerSet, opts v1.CreateOptions) (*v1beta1.MinerSet, error)
	Update(ctx context.Context, minerSet *v1beta1.MinerSet, opts v1.UpdateOptions) (*v1beta1.MinerSet, error)
	UpdateStatus(ctx context.Context, minerSet *v1beta1.MinerSet, opts v1.UpdateOptions) (*v1beta1.MinerSet, 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) (*v1beta1.MinerSet, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MinerSetList, 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 *v1beta1.MinerSet, err error)
	GetScale(ctx context.Context, minerSetName string, options v1.GetOptions) (*autoscalingv1.Scale, error)
	UpdateScale(ctx context.Context, minerSetName string, scale *autoscalingv1.Scale, opts v1.UpdateOptions) (*autoscalingv1.Scale, error)

	MinerSetExpansion
}

MinerSetInterface has methods to work with MinerSet resources.

type MinerSetsGetter

type MinerSetsGetter interface {
	MinerSets(namespace string) MinerSetInterface
}

MinerSetsGetter has a method to return a MinerSetInterface. A group's client should implement this interface.

type MinersGetter

type MinersGetter interface {
	Miners(namespace string) MinerInterface
}

MinersGetter has a method to return a MinerInterface. 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