nighthawk

package
v0.7.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CombineErrors

func CombineErrors(errs []error, sep string) error

combineErrors merges a slice of error into one error separated by the given separator

func New

New initializes Nighthawk handler.

Types

type Nighthawk

type Nighthawk struct {
	adapter.Adapter
}

func (*Nighthawk) ApplyOperation

func (nighthawk *Nighthawk) ApplyOperation(ctx context.Context, opReq adapter.OperationRequest) error

ApplyOperation applies the operation on nighthawk

func (*Nighthawk) CreateKubeconfigs

func (nighthawk *Nighthawk) CreateKubeconfigs(kubeconfigs []string) error

CreateKubeconfigs creates and writes passed kubeconfig onto the filesystem

func (*Nighthawk) ProcessOAM

func (nighthawk *Nighthawk) ProcessOAM(ctx context.Context, req adapter.OAMRequest) (string, error)

Jump to

Keyboard shortcuts

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