repository

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server provides a Repository service

func NewServer

func NewServer(
	repoClientset apiclient.Clientset,
	db db.ArgoDB,
	enf *rbac.Enforcer,
	cache *servercache.Cache,
	settings *settings.SettingsManager,
) *Server

NewServer returns a new instance of the Repository service

func (*Server) Create

Create creates a repository or repository credential set Deprecated: Use CreateRepository() instead

func (*Server) CreateRepository added in v1.4.0

func (s *Server) CreateRepository(ctx context.Context, q *repositorypkg.RepoCreateRequest) (*appsv1.Repository, error)

CreateRepository creates a repository configuration

func (*Server) Delete

Delete removes a repository from the configuration Deprecated: Use DeleteRepository() instead

func (*Server) DeleteRepository added in v1.4.0

func (s *Server) DeleteRepository(ctx context.Context, q *repositorypkg.RepoQuery) (*repositorypkg.RepoResponse, error)

DeleteRepository removes a repository from the configuration

func (*Server) GetAppDetails added in v0.7.1

func (*Server) GetHelmCharts added in v1.3.0

func (*Server) List

List returns list of repositories Deprecated: Use ListRepositories instead

func (*Server) ListApps added in v0.7.0

ListApps returns list of apps in the repo

func (*Server) ListRepositories added in v1.4.0

func (s *Server) ListRepositories(ctx context.Context, q *repositorypkg.RepoQuery) (*appsv1.RepositoryList, error)

ListRepositories returns a list of all configured repositories and the state of their connections

func (*Server) Update

Update updates a repository or credential set Deprecated: Use UpdateRepository() instead

func (*Server) UpdateRepository added in v1.4.0

func (s *Server) UpdateRepository(ctx context.Context, q *repositorypkg.RepoUpdateRequest) (*appsv1.Repository, error)

UpdateRepository updates a repository configuration

func (*Server) ValidateAccess added in v1.2.0

ValidateAccess checks whether access to a repository is possible with the given URL and credentials.

Jump to

Keyboard shortcuts

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