admin

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

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

func NewAdmin

func NewAdmin(mm *pluginapi.Client, conf api.Configurator, store api.Store, proxy api.Proxy, awsClient *aws.Client, mutex *cluster.Mutex) *Admin

func (*Admin) GetApp

func (adm *Admin) GetApp(appID apps.AppID) (*apps.App, error)

func (*Admin) InstallApp

func (adm *Admin) InstallApp(cc *apps.Context, sessionToken apps.SessionToken, in *apps.InInstallApp) (*apps.App, md.MD, error)

func (*Admin) ListApps

func (adm *Admin) ListApps() ([]*apps.App, md.MD, error)

func (*Admin) LoadAppsList

func (adm *Admin) LoadAppsList() error

LoadAppsList synchronizes apps with the apps.json file.

func (*Admin) ProvisionApp

func (adm *Admin) ProvisionApp(cc *apps.Context, sessionToken apps.SessionToken, in *apps.InProvisionApp) (*apps.App, md.MD, error)

func (*Admin) RegisterApp

func (adm *Admin) RegisterApp(manifest *apps.Manifest) error

func (*Admin) UninstallApp

func (adm *Admin) UninstallApp(appID apps.AppID) error

type AppVersions

type AppVersions struct {
	Apps      apps.AppVersionMap            `json:"apps"`
	Overrides map[string]apps.AppVersionMap `json:"overrides"`
}

AppVersions describes versions for all the apps in all installations

Jump to

Keyboard shortcuts

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