template

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeployCmd added in v0.3.0

func GetDeployCmd() string

func GetDownloadExecCmd added in v0.3.0

func GetDownloadExecCmd() string

func GetInitBaseCmd

func GetInitBaseCmd() string

func GetInitServiceCmd

func GetInitServiceCmd(params *types.ParamsServiceEnv, dockerRun string) (string, error)

func ParseDeployCmd added in v0.3.0

func ParseDeployCmd(params DeployParams) (string, error)

func ParseDownloadExecCmd added in v0.3.0

func ParseDownloadExecCmd(params DownloadParams) (string, error)

Types

type Data

type Data struct {
	DockerRun string
	Params    *types.ParamsServiceEnv
}

type DeployParams added in v0.3.0

type DeployParams struct {
	EnvVariables []string `json:"env_variables"` //KEY=VAL
	RawCmd       string   `json:"raw_cmd"`
}

type DownloadParams added in v0.3.0

type DownloadParams struct {
	DownloadFileUrl string `json:"download_file_url"`
	DeployFilePath  string `json:"deploy_file_path"`
	DeployFileName  string `json:"deploy_file_name"`
}

Jump to

Keyboard shortcuts

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