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