Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
Fetcher retrieves resources from a Kubernetes cluster.
func NewFetcher ¶
NewFetcher creates a new cluster Fetcher.
func (*Fetcher) Get ¶
func (f *Fetcher) Get(ctx context.Context, apiVersion, kind, namespace, name string) (*unstructured.Unstructured, error)
Get retrieves a single resource from the cluster.
Click to show internal directories.
Click to hide internal directories.