provider

package
v0.0.0-...-feddbd9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLabeller

type FakeLabeller struct {
	// contains filtered or unexported fields
}

FakeLabeller can be used to fake labels applied on namespace to mark them valid/invalid for openfaas functions

func (*FakeLabeller) Labels

func (s *FakeLabeller) Labels(ctx context.Context, namespace string) (map[string]string, error)

type Labeller

type Labeller interface {
	Labels(ctx context.Context, namespace string) (map[string]string, error)
}

Labeller can return labels for a namespace from containerd.

func NewFakeLabeller

func NewFakeLabeller(labels map[string]string) Labeller

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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