deployments

package
v0.0.0-...-86aec00 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Deployments soft.SoftwareType = "kubernetes-deployment"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name          string                     `yaml:"name"`
	Namespace     string                     `yaml:"namespace"`
	LabelSelector map[string]string          `yaml:"label-selector"`
	Registries    map[string]registry.Config `yaml:"registries"`
	Filters       filters.Config             `yaml:"filters"`
}

type Source

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

func NewSource

func NewSource(log *slog.Logger, k8sClient kubernetes.KubernetesClient, cfg Config) (*Source, error)

func (*Source) Load

func (s *Source) Load() ([]*soft.Software, error)

func (*Source) Name

func (s *Source) Name() string

TODO: fn on pointers

Jump to

Keyboard shortcuts

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