flux

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ListServices(context.Context, string) ([]v6.ControllerStatus, error)
}

Client is an interface that wraps the basic Flux client methods.

type Mock

type Mock struct {
	Services []v6.ControllerStatus
}

Mock is a dummy implementation of the Client interface.

func (*Mock) ListServices

func (m *Mock) ListServices(ctx context.Context, namespace string) ([]v6.ControllerStatus, error)

ListServices returns the contents of the Services variable.

Jump to

Keyboard shortcuts

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