Help us shape the future of Go! Take the 2026 Go Developer Survey

argoRepositoryCreds

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostAndFullRepoPath

func GetHostAndFullRepoPath(url string, repo string) (string, string, error)

Types

type RepositorySecret

type RepositorySecret interface {
	CreateArgoRepositorySecret(username, password string, uniqueId int, registryUrl, repo string, isPublic bool) error
}

type RepositorySecretImpl

type RepositorySecretImpl struct {
	K8sService k8s.K8sService
	// contains filtered or unexported fields
}

func NewRepositorySecret

func NewRepositorySecret(
	logger *zap.SugaredLogger,
	K8sService k8s.K8sService,
	clusterService cluster.ClusterService,
	acdAuthConfig *util2.ACDAuthConfig,
) *RepositorySecretImpl

func (*RepositorySecretImpl) CreateArgoRepositorySecret

func (impl *RepositorySecretImpl) CreateArgoRepositorySecret(username, password string, uniqueId int, registryUrl, repo string, isPublic bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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