application

package
v1.1.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2019 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(
	namespace string,
	kubeclientset kubernetes.Interface,
	appclientset appclientset.Interface,
	repoClientset reposerver.Clientset,
	cache *cache.Cache,
	kubectl kube.Kubectl,
	db db.ArgoDB,
	enf *rbac.Enforcer,
	projectLock *util.KeyLock,
	settingsMgr *settings.SettingsManager,
) application.ApplicationServiceServer

NewServer returns a new instance of the Application service

Types

type Server

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

Server provides a Application service

func (*Server) Create

Create creates an application

func (*Server) Delete

Delete removes an application and all associated resources

func (*Server) DeleteResource

DeleteResource deletes a specificed resource

func (*Server) Get

Get returns an application by name

func (*Server) GetManifests

GetManifests returns application manifests

func (*Server) List

List returns list of applications

func (*Server) ListResourceEvents

ListResourceEvents returns a list of event resources

func (*Server) Patch

Patch patches an application

func (*Server) PatchResource

PatchResource patches a resource

func (*Server) ResourceTree

func (*Server) Rollback

func (*Server) Sync

Sync syncs an application to its target state

func (*Server) Update

Update updates an application

func (*Server) UpdateSpec

UpdateSpec updates an application spec and filters out any invalid parameter overrides

Jump to

Keyboard shortcuts

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