v1

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 9 Imported by: 5

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 OLMConfigExpansion added in v0.20.0

type OLMConfigExpansion interface{}

type OLMConfigInterface added in v0.20.0

type OLMConfigInterface interface {
	Create(ctx context.Context, oLMConfig *v1.OLMConfig, opts metav1.CreateOptions) (*v1.OLMConfig, error)
	Update(ctx context.Context, oLMConfig *v1.OLMConfig, opts metav1.UpdateOptions) (*v1.OLMConfig, error)
	UpdateStatus(ctx context.Context, oLMConfig *v1.OLMConfig, opts metav1.UpdateOptions) (*v1.OLMConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OLMConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.OLMConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OLMConfig, err error)
	OLMConfigExpansion
}

OLMConfigInterface has methods to work with OLMConfig resources.

type OLMConfigsGetter added in v0.20.0

type OLMConfigsGetter interface {
	OLMConfigs() OLMConfigInterface
}

OLMConfigsGetter has a method to return a OLMConfigInterface. A group's client should implement this interface.

type OperatorConditionExpansion added in v0.18.0

type OperatorConditionExpansion interface{}

type OperatorConditionInterface added in v0.18.0

type OperatorConditionInterface interface {
	Create(ctx context.Context, operatorCondition *v1.OperatorCondition, opts metav1.CreateOptions) (*v1.OperatorCondition, error)
	Update(ctx context.Context, operatorCondition *v1.OperatorCondition, opts metav1.UpdateOptions) (*v1.OperatorCondition, error)
	UpdateStatus(ctx context.Context, operatorCondition *v1.OperatorCondition, opts metav1.UpdateOptions) (*v1.OperatorCondition, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OperatorCondition, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.OperatorConditionList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OperatorCondition, err error)
	OperatorConditionExpansion
}

OperatorConditionInterface has methods to work with OperatorCondition resources.

type OperatorConditionsGetter added in v0.18.0

type OperatorConditionsGetter interface {
	OperatorConditions(namespace string) OperatorConditionInterface
}

OperatorConditionsGetter has a method to return a OperatorConditionInterface. A group's client should implement this interface.

type OperatorExpansion

type OperatorExpansion interface{}

type OperatorGroupExpansion

type OperatorGroupExpansion interface{}

type OperatorGroupInterface

type OperatorGroupInterface interface {
	Create(ctx context.Context, operatorGroup *v1.OperatorGroup, opts metav1.CreateOptions) (*v1.OperatorGroup, error)
	Update(ctx context.Context, operatorGroup *v1.OperatorGroup, opts metav1.UpdateOptions) (*v1.OperatorGroup, error)
	UpdateStatus(ctx context.Context, operatorGroup *v1.OperatorGroup, opts metav1.UpdateOptions) (*v1.OperatorGroup, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.OperatorGroup, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.OperatorGroupList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.OperatorGroup, err error)
	OperatorGroupExpansion
}

OperatorGroupInterface has methods to work with OperatorGroup resources.

type OperatorGroupsGetter

type OperatorGroupsGetter interface {
	OperatorGroups(namespace string) OperatorGroupInterface
}

OperatorGroupsGetter has a method to return a OperatorGroupInterface. A group's client should implement this interface.

type OperatorInterface

type OperatorInterface interface {
	Create(ctx context.Context, operator *v1.Operator, opts metav1.CreateOptions) (*v1.Operator, error)
	Update(ctx context.Context, operator *v1.Operator, opts metav1.UpdateOptions) (*v1.Operator, error)
	UpdateStatus(ctx context.Context, operator *v1.Operator, opts metav1.UpdateOptions) (*v1.Operator, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Operator, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.OperatorList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Operator, err error)
	OperatorExpansion
}

OperatorInterface has methods to work with Operator resources.

type OperatorsGetter

type OperatorsGetter interface {
	Operators() OperatorInterface
}

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

type OperatorsV1Client

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

OperatorsV1Client is used to interact with features provided by the operators.coreos.com group.

func New

New creates a new OperatorsV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new OperatorsV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v0.21.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*OperatorsV1Client, error)

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

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

func (*OperatorsV1Client) OLMConfigs added in v0.20.0

func (c *OperatorsV1Client) OLMConfigs() OLMConfigInterface

func (*OperatorsV1Client) OperatorConditions added in v0.18.0

func (c *OperatorsV1Client) OperatorConditions(namespace string) OperatorConditionInterface

func (*OperatorsV1Client) OperatorGroups

func (c *OperatorsV1Client) OperatorGroups(namespace string) OperatorGroupInterface

func (*OperatorsV1Client) Operators

func (c *OperatorsV1Client) Operators() OperatorInterface

func (*OperatorsV1Client) RESTClient

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

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

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