Documentation ¶
Overview ¶
Package ramcli Real-time Asset Monitor command line cli
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceAndInstanceNames ¶
func GetServiceAndInstanceNames(instanceFolderRelativePath string) (serviceName, instanceName string)
GetServiceAndInstanceNames split the instance folder relative path to extract 1) serviceName 2) instanceName
func GetVersions ¶
func GetVersions() (goVersion, ramVersion string)
GetVersions look for a go.mod in the curent path, returns Go and RAM versions, crashes execution on errors
func Initialize ¶
Initialize is to be executed in the init()
Types ¶
type Global ¶
type Global struct {
// contains filtered or unexported fields
}
Global structure for global variables
func (*Global) CheckArguments ¶
func (global *Global) CheckArguments()
CheckArguments check cli arguments and build the list of microservices instances
type InstanceTriggerDeployment ¶
type InstanceTriggerDeployment struct { Core *deploy.Core Settings struct { Service struct { GSU gsu.Parameters GCB gcb.Parameters } } }
InstanceTriggerDeployment structure
func NewInstanceTrigger ¶
func NewInstanceTrigger() *InstanceTriggerDeployment
NewInstanceTrigger create deployment structure
func (*InstanceTriggerDeployment) Deploy ¶
func (instanceTriggerDeployment *InstanceTriggerDeployment) Deploy() (err error)
Deploy an instance trigger
Click to show internal directories.
Click to hide internal directories.