ramcli

package
v0.0.23-rc09 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 39 Imported by: 0

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()

func RAMCli

func RAMCli(deployment *Deployment) (err error)

RAMCli Real-time Asset Monitor cli

Types

type Deployment

type Deployment struct {
	Core     deploy.Core
	Settings struct {
		Service struct {
			GSU gsu.Parameters
			IAM iamgt.Parameters
			GCB gcb.Parameters
		}
	}
}

Deployment structure

func (*Deployment) CheckArguments

func (deployment *Deployment) CheckArguments()

CheckArguments check cli arguments and build the list of microservices instances

Jump to

Keyboard shortcuts

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