applicationv2

package
v0.6.2-patch2 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type Fetcher

type Fetcher interface {
	Get(ctx context.Context, name string, namespace string) (models.Application, error)
	List(ctx context.Context, namespace string) ([]models.Application, error)
}

func NewFetcher

func NewFetcher(k8s client.Client) Fetcher

type FetcherFactory

type FetcherFactory interface {
	Create(client client.Client) Fetcher
}

FetcherFactory implementations should create applicationv2.Fetcher objects from a Kubernetes client.

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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