v1alpha3

package
v0.0.0-...-662d0f3 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: Apache-2.0 Imports: 7 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 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(*v1alpha3.Canary) (*v1alpha3.Canary, error)
	Update(*v1alpha3.Canary) (*v1alpha3.Canary, error)
	UpdateStatus(*v1alpha3.Canary) (*v1alpha3.Canary, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha3.Canary, error)
	List(opts v1.ListOptions) (*v1alpha3.CanaryList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha3.Canary, err error)
	CanaryExpansion
}

CanaryInterface has methods to work with Canary resources.

type FlaggerV1alpha3Client

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

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

func New

New creates a new FlaggerV1alpha3Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new FlaggerV1alpha3Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *FlaggerV1alpha3Client

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

func (*FlaggerV1alpha3Client) Canaries

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

func (*FlaggerV1alpha3Client) RESTClient

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

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

type FlaggerV1alpha3Interface

type FlaggerV1alpha3Interface interface {
	RESTClient() rest.Interface
	CanariesGetter
}

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