v1

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 8 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL