Documentation ¶
Overview ¶
This package has the automatically generated typed clients.
Index ¶
- type AlertProviderExpansion
- type AlertProviderInterface
- type AlertProvidersGetter
- type CanariesGetter
- type CanaryExpansion
- type CanaryInterface
- type FlaggerV1beta1Client
- func (c *FlaggerV1beta1Client) AlertProviders(namespace string) AlertProviderInterface
- func (c *FlaggerV1beta1Client) Canaries(namespace string) CanaryInterface
- func (c *FlaggerV1beta1Client) MetricTemplates(namespace string) MetricTemplateInterface
- func (c *FlaggerV1beta1Client) RESTClient() rest.Interface
- type FlaggerV1beta1Interface
- type MetricTemplateExpansion
- type MetricTemplateInterface
- type MetricTemplatesGetter
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 ¶
func New(c rest.Interface) *FlaggerV1beta1Client
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.
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.