dispatch

package
v0.0.0-...-445da97 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package dispatch contains libraries for dispatching requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher struct {
	// KubernetesClient is used to make requests
	KubernetesClient *kubernetes.Clientset

	// DynamicClient is used to make requests
	DynamicClient dynamic.Interface

	// Writer writes templatized output
	Writer *output.CommandOutputWriter
}

Dispatcher dispatches requests for a Command

func (*Dispatcher) Dispatch

func (d *Dispatcher) Dispatch(cmd *v1alpha1.ResourceCommand, values *parse.Values) error

Dispatch sends requests to the apiserver for the Command.

Jump to

Keyboard shortcuts

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