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 KanariesGetter ¶
type KanariesGetter interface {
Kanaries(namespace string) KanaryInterface
}
KanariesGetter has a method to return a KanaryInterface. A group's client should implement this interface.
type KanaryExpansion ¶
type KanaryExpansion interface{}
type KanaryInterface ¶
type KanaryInterface interface { Create(*v1.Kanary) (*v1.Kanary, error) Update(*v1.Kanary) (*v1.Kanary, error) Delete(name string, options *meta_v1.DeleteOptions) error DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error Get(name string, options meta_v1.GetOptions) (*v1.Kanary, error) List(opts meta_v1.ListOptions) (*v1.KanaryList, error) Watch(opts meta_v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Kanary, err error) KanaryExpansion }
KanaryInterface has methods to work with Kanary resources.
type KanaryV1Client ¶
type KanaryV1Client struct {
// contains filtered or unexported fields
}
KanaryV1Client is used to interact with features provided by the kanary.io group.
func New ¶
func New(c rest.Interface) *KanaryV1Client
New creates a new KanaryV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*KanaryV1Client, error)
NewForConfig creates a new KanaryV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *KanaryV1Client
NewForConfigOrDie creates a new KanaryV1Client for the given config and panics if there is an error in the config.
func (*KanaryV1Client) Kanaries ¶
func (c *KanaryV1Client) Kanaries(namespace string) KanaryInterface
func (*KanaryV1Client) RESTClient ¶
func (c *KanaryV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type KanaryV1Interface ¶
type KanaryV1Interface interface { RESTClient() rest.Interface KanariesGetter }