repository

package
v0.0.0-...-3e220e4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	User     string
	Password string
	Cert     string
	Key      string
	Ca       string
}

Auth represents struct with auth data for a repo

type Namespace

type Namespace struct {
	Name    string
	Install bool
}

Namespace represents struct with release namespace name and if it should be installed

type Repo

type Repo struct {
	Name      string
	URL       string
	Auth      *Auth
	Namespace Namespace
	Settings  *cli.EnvSettings
	K8sClient client.Client
	// contains filtered or unexported fields
}

Repo represents struct for data needed for managing repos and list of installed

func New

func New(instance *helmv1alpha1.Repository, namespace string, ctx context.Context, settings *cli.EnvSettings, reqLogger logr.Logger, k8sclient client.Client, g utils.HTTPClientInterface, c kube.Client) *Repo

New represents initialization of internal repo struct

func (*Repo) Update

func (hr *Repo) Update(instance *helmv1alpha1.Repository, scheme *runtime.Scheme) error

type Repos

type Repos struct {
	Entries  []*Repo
	Settings *cli.EnvSettings
}

Repos represents struct for data needed for managing repos and list of installed

Jump to

Keyboard shortcuts

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