app

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLicenseDataFromDatabase added in v1.15.0

func GetLicenseDataFromDatabase(id string) (string, error)

func InitiateRestore added in v1.15.0

func InitiateRestore(snapshotName string, appID string) error

func LastUpdateAtTime added in v1.14.0

func LastUpdateAtTime(appID string) error

LastUpdateAtTime sets the time that the client last checked for an update to now

Types

type App

type App struct {
	ID              string
	Slug            string
	Name            string
	IsAirgap        bool
	CurrentSequence int64

	// Additional fields will be added here as implementation is moved from node to go
	RestoreInProgressName string
}

func Create added in v1.15.0

func Create(name string, upstreamURI string, licenseData string, isAirgapEnabled bool) (*App, error)

func Get

func Get(id string) (*App, error)

func GetFromSlug

func GetFromSlug(slug string) (*App, error)

Jump to

Keyboard shortcuts

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