flux

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lister

type Lister interface {
	List(ctx context.Context) ([]Resource, error)
}

func Buckets

func Buckets(cfg *rest.Config, logger *slog.Logger) Lister

func GitRepositories

func GitRepositories(cfg *rest.Config, logger *slog.Logger) Lister

func HelmReleases

func HelmReleases(cfg *rest.Config, logger *slog.Logger) Lister

func HelmRepositories

func HelmRepositories(cfg *rest.Config, logger *slog.Logger) Lister

func Kustomizations

func Kustomizations(cfg *rest.Config, logger *slog.Logger) Lister

type ListerFunc

type ListerFunc func(ctx context.Context) ([]Resource, error)

func (ListerFunc) List

func (l ListerFunc) List(ctx context.Context) ([]Resource, error)

type Resource

type Resource struct {
	Name       string
	Namespace  string
	Kind       string
	Conditions map[string]string
}

func (Resource) LogValue

func (r Resource) LogValue() slog.Value

type SchemeBuilder

type SchemeBuilder interface {
	Build() (*runtime.Scheme, error)
}

Jump to

Keyboard shortcuts

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