Documentation ¶
Index ¶
- type APPINSTANCE
- type APPINSTANCE_IMPL
- func (me *APPINSTANCE_IMPL) CreateLaunchAppInstance(body *models.LaunchAppInstance) (*models.AppInstanceIdParameterSpecifiesAppInstanceIdInPathParameter, error)
- func (me *APPINSTANCE_IMPL) GetAppInstances() ([]*models.AppInstance, error)
- func (me *APPINSTANCE_IMPL) UpdateAppInstanceState(appInstanceId int64, body *models.UpdateAppInstanceStateParameters) error
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 ¶
func (me *APPINSTANCE_IMPL) CreateLaunchAppInstance( body *models.LaunchAppInstance) (*models.AppInstanceIdParameterSpecifiesAppInstanceIdInPathParameter, error)
*
- 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
Click to show internal directories.
Click to hide internal directories.