v1beta1

package
v1.37.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

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 AlertProviderExpansion

type AlertProviderExpansion interface{}

type AlertProviderInterface

type AlertProviderInterface interface {
	Create(ctx context.Context, alertProvider *v1beta1.AlertProvider, opts v1.CreateOptions) (*v1beta1.AlertProvider, error)
	Update(ctx context.Context, alertProvider *v1beta1.AlertProvider, opts v1.UpdateOptions) (*v1beta1.AlertProvider, error)
	UpdateStatus(ctx context.Context, alertProvider *v1beta1.AlertProvider, opts v1.UpdateOptions) (*v1beta1.AlertProvider, 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.AlertProvider, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.AlertProviderList, 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.AlertProvider, err error)
	AlertProviderExpansion
}

AlertProviderInterface has methods to work with AlertProvider resources.

type AlertProvidersGetter

type AlertProvidersGetter interface {
	AlertProviders(namespace string) AlertProviderInterface
}

AlertProvidersGetter has a method to return a AlertProviderInterface. A group's client should implement this interface.

type CanariesGetter

type CanariesGetter interface {
	Canaries(namespace string) CanaryInterface
}

CanariesGetter has a method to return a CanaryInterface. A group's client should implement this interface.

type CanaryExpansion

type CanaryExpansion interface{}

type CanaryInterface

type CanaryInterface interface {
	Create(ctx context.Context, canary *v1beta1.Canary, opts v1.CreateOptions) (*v1beta1.Canary, error)
	Update(ctx context.Context, canary *v1beta1.Canary, opts v1.UpdateOptions) (*v1beta1.Canary, error)
	UpdateStatus(ctx context.Context, canary *v1beta1.Canary, opts v1.UpdateOptions) (*v1beta1.Canary, 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.Canary, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.CanaryList, 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.Canary, err error)
	CanaryExpansion
}

CanaryInterface has methods to work with Canary resources.

type FlaggerV1beta1Client

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

FlaggerV1beta1Client is used to interact with features provided by the flagger.app group.

func New

New creates a new FlaggerV1beta1Client for the given RESTClient.

func NewForConfig

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

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

func NewForConfigAndClient added in v1.16.1

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

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

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

func (*FlaggerV1beta1Client) AlertProviders

func (c *FlaggerV1beta1Client) AlertProviders(namespace string) AlertProviderInterface

func (*FlaggerV1beta1Client) Canaries

func (c *FlaggerV1beta1Client) Canaries(namespace string) CanaryInterface

func (*FlaggerV1beta1Client) MetricTemplates

func (c *FlaggerV1beta1Client) MetricTemplates(namespace string) MetricTemplateInterface

func (*FlaggerV1beta1Client) RESTClient

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

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

type FlaggerV1beta1Interface

type FlaggerV1beta1Interface interface {
	RESTClient() rest.Interface
	AlertProvidersGetter
	CanariesGetter
	MetricTemplatesGetter
}

type MetricTemplateExpansion

type MetricTemplateExpansion interface{}

type MetricTemplateInterface

type MetricTemplateInterface interface {
	Create(ctx context.Context, metricTemplate *v1beta1.MetricTemplate, opts v1.CreateOptions) (*v1beta1.MetricTemplate, error)
	Update(ctx context.Context, metricTemplate *v1beta1.MetricTemplate, opts v1.UpdateOptions) (*v1beta1.MetricTemplate, error)
	UpdateStatus(ctx context.Context, metricTemplate *v1beta1.MetricTemplate, opts v1.UpdateOptions) (*v1beta1.MetricTemplate, 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.MetricTemplate, error)
	List(ctx context.Context, opts v1.ListOptions) (*v1beta1.MetricTemplateList, 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.MetricTemplate, err error)
	MetricTemplateExpansion
}

MetricTemplateInterface has methods to work with MetricTemplate resources.

type MetricTemplatesGetter

type MetricTemplatesGetter interface {
	MetricTemplates(namespace string) MetricTemplateInterface
}

MetricTemplatesGetter has a method to return a MetricTemplateInterface. 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