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 ¶
func Initialize(ctx context.Context, deployment *Deployment)
Initialize is to be executed in the init()
Types ¶
type Deployment ¶
type Deployment struct { Core deploy.Core Settings struct { Service struct { GSU gsu.Parameters GCB gcb.Parameters } } }
Deployment structure
func (*Deployment) CheckArguments ¶
func (deployment *Deployment) CheckArguments()
CheckArguments check cli arguments and build the list of microservices instances
Source Files ¶
Click to show internal directories.
Click to hide internal directories.