repository

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 17 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 *cache.Cache,
	settings *settings.SettingsManager,
) *Server

NewServer returns a new instance of the Repository service

func (*Server) Create

Create creates a repository

func (*Server) Delete

Delete updates a repository

func (*Server) GetHelmCharts added in v1.3.0

func (*Server) List

List returns list of repositories

func (*Server) ListApps

ListApps returns list of apps in the repo

func (*Server) Update

Update updates a repository

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