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 ¶
func New(c rest.Interface) *FlaggerV1alpha3Client
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 }