repository

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 22 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) GetAppDetails added in v0.7.1

func (*Server) List

List returns list of repositories

func (*Server) ListApps added in v0.7.0

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