appinstance

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APPINSTANCE

type APPINSTANCE interface {
	GetAppInstances() ([]*models.AppInstance, error)

	UpdateAppInstanceState(int64, *models.UpdateAppInstanceStateParameters) error

	CreateLaunchAppInstance(*models.LaunchAppInstance) (*models.AppInstanceIdParameterSpecifiesAppInstanceIdInPathParameter, error)
}

* Interface for the APPINSTANCE_IMPL

type APPINSTANCE_IMPL

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

* Client structure as interface implementation

func NewAPPINSTANCE

func NewAPPINSTANCE(config configuration.CONFIGURATION) *APPINSTANCE_IMPL

* Factory for the APPINSTANCE interaface returning APPINSTANCE_IMPL

func (*APPINSTANCE_IMPL) CreateLaunchAppInstance

*

  • Only installed apps can be launched.
  • @param *models.LaunchAppInstance body parameter: Required
  • @return Returns the *models.AppInstanceIdParameterSpecifiesAppInstanceIdInPathParameter response from the API call

func (*APPINSTANCE_IMPL) GetAppInstances

func (me *APPINSTANCE_IMPL) GetAppInstances() ([]*models.AppInstance, error)

*

  • Api provides the list of the app instances. Instances can be in different
  • states including stopped.
  • @return Returns the []*models.AppInstance response from the API call

func (*APPINSTANCE_IMPL) UpdateAppInstanceState

func (me *APPINSTANCE_IMPL) UpdateAppInstanceState(
	appInstanceId int64,
	body *models.UpdateAppInstanceStateParameters) error

*

  • Changes the state of the app instances.
  • @param int64 appInstanceId parameter: Required
  • @param *models.UpdateAppInstanceStateParameters body parameter: Required
  • @return Returns the response from the API call

Jump to

Keyboard shortcuts

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