appManageAPI

package
v0.0.0-...-62a8273 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApp

func CreateApp(
	name string,
	image string,
	username string,
	password string,
	env []string,
	envFilePath string,
	port string,
) error

To create an app.

func DeleteApp

func DeleteApp(
	name string,
) error

To get a detailed information of particular app by name.

func GetAppByNameInfo

func GetAppByNameInfo(
	name string,
) error

To get a detailed information of particular app by name.

func ListAppsInfo

func ListAppsInfo() error

To list apps.

func LoginApp

func LoginApp() error

To login using Device authentication and access appctl.

Types

type Config

type Config struct {
	IDToken   string
	ExpiresAt time.Time
}

Config structure for configfile.

type Event

type Event struct {
	EventName string
	Status    string
	Data      []constants.ListAppInfo
	Error     string
}

Jump to

Keyboard shortcuts

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