Documentation ¶
Overview ¶
Package v1 Client for Target CRD
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TargetCRDInterface ¶
type TargetCRDInterface interface { // Watch creates a watcher that receives notifications when a target is added/updated/deleted Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
TargetCRDInterface lists the API endpoints. Currently, only watch is supported
type TargetsCRDClient ¶
type TargetsCRDClient struct {
// contains filtered or unexported fields
}
TargetsCRDClient structure for a V1 version of the WebMon CRD API client
func NewForConfig ¶
func NewForConfig(c *rest.Config) (client *TargetsCRDClient, err error)
NewForConfig creates a new API client for the provided REST configuration
func (*TargetsCRDClient) Targets ¶
func (c *TargetsCRDClient) Targets(namespace string) TargetCRDInterface
Targets gives access to the API endpoints for the specified namespace. If namespace is blank, all namespaces are considered
type TargetsCRDInterface ¶
type TargetsCRDInterface interface {
Targets(namespace string) TargetCRDInterface
}
TargetsCRDInterface interface for a TargetsCRDClient
Click to show internal directories.
Click to hide internal directories.