v1beta1

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 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 InstanceExpansion

type InstanceExpansion interface{}

type InstanceInterface

type InstanceInterface interface {
	Create(ctx context.Context, instance *v1beta1.Instance, opts v1.CreateOptions) (*v1beta1.Instance, error)
	Update(ctx context.Context, instance *v1beta1.Instance, opts v1.UpdateOptions) (*v1beta1.Instance, error)
	UpdateStatus(ctx context.Context, instance *v1beta1.Instance, opts v1.UpdateOptions) (*v1beta1.Instance, 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.Instance, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.InstanceList, 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.Instance, err error)
	InstanceExpansion
}

InstanceInterface has methods to work with Instance resources.

type InstancesGetter

type InstancesGetter interface {
	Instances(namespace string) InstanceInterface
}

InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.

type KudoV1beta1Client

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

KudoV1beta1Client is used to interact with features provided by the kudo.dev group.

func New

New creates a new KudoV1beta1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new KudoV1beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *KudoV1beta1Client

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

func (*KudoV1beta1Client) Instances

func (c *KudoV1beta1Client) Instances(namespace string) InstanceInterface

func (*KudoV1beta1Client) OperatorVersions

func (c *KudoV1beta1Client) OperatorVersions(namespace string) OperatorVersionInterface

func (*KudoV1beta1Client) Operators

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

func (*KudoV1beta1Client) RESTClient

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

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

type KudoV1beta1Interface

type KudoV1beta1Interface interface {
	RESTClient() rest.Interface
	InstancesGetter
	OperatorsGetter
	OperatorVersionsGetter
}

type OperatorExpansion

type OperatorExpansion interface{}

type OperatorInterface

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

OperatorInterface has methods to work with Operator resources.

type OperatorVersionExpansion

type OperatorVersionExpansion interface{}

type OperatorVersionInterface

type OperatorVersionInterface interface {
	Create(ctx context.Context, operatorVersion *v1beta1.OperatorVersion, opts v1.CreateOptions) (*v1beta1.OperatorVersion, error)
	Update(ctx context.Context, operatorVersion *v1beta1.OperatorVersion, opts v1.UpdateOptions) (*v1beta1.OperatorVersion, error)
	UpdateStatus(ctx context.Context, operatorVersion *v1beta1.OperatorVersion, opts v1.UpdateOptions) (*v1beta1.OperatorVersion, 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.OperatorVersion, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.OperatorVersionList, 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.OperatorVersion, err error)
	OperatorVersionExpansion
}

OperatorVersionInterface has methods to work with OperatorVersion resources.

type OperatorVersionsGetter

type OperatorVersionsGetter interface {
	OperatorVersions(namespace string) OperatorVersionInterface
}

OperatorVersionsGetter has a method to return a OperatorVersionInterface. A group's client should implement this interface.

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.

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