argohelm

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: 18 Imported by: 0

Documentation

Index

Constants

View Source
const ArgoHelm soft.SoftwareType = "argoHelm"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled                      bool          `yaml:"enabled"`
	Name                         string        `yaml:"name"`
	ClusterURL                   string        `yaml:"cluster-url"`
	ArgoCDNamespace              string        `yaml:"argocd-namespace" validate:"required"`
	GitSecretsNamespace          string        `yaml:"git-credentials-secrets-namespace" validate:"required"`
	GitCredentialsSecretsPattern string        `yaml:"git-credentials-secrets-pattern" validate:"required"`
	Filters                      FiltersConfig `yaml:"filters"`
}

type FiltersConfig

type FiltersConfig struct {
	filters.Config            `yaml:",inline"`
	kubernetes.FiltersOptions `yaml:",inline"`
}

type Source

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

func NewSource

func NewSource(cfg Config, log *slog.Logger, k8sClient kubernetes.KubernetesClient, loadSecretFromNamespace bool, s3Api aws.S3Api) (*Source, error)

Returns a new argohelm software source

func (*Source) Load

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

Detects and provides a list of argocd helm applications as softwares

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