Documentation
¶
Index ¶
Constants ¶
View Source
const ( CmdBuildUse = "build" CmdBuildShort = "build atomika project" )
View Source
const ( CmdDoctorUse = "doctor" CmdDoctorShort = "check for dependencies" )
View Source
const ( CmdIPv6Use = "ipv6" CmdIPv6Short = "ipv6 manage tools" )
View Source
const ( CmdIPv6GetUse = "get" CmdIPv6GetShort = "get an IPv6 address from an interface" )
View Source
const ( CmdIPv6IpUse = "ips [subnetCIDR]" CmdIPv6IpShort = "generate a list of the ips from a given subnet" )
View Source
const ( CmdIPv6SubnetUse = "subnet" CmdIPv6subnetShort = "generate subnets for a given ipv6 with prefix" )
View Source
const ( CmdProjectUse = "project" CmdProjectShort = "project management" )
View Source
const ( CmdProjectCreateUse = "create NAME" CmdProjectCreateShort = "create a new project" )
View Source
const ( CmdProjectGenerateUse = "generate" CmdProjectGenerateShort = "generate project definitions" )
View Source
const ( CmdRunUse = "run" CmdRunShort = "run the current project" )
View Source
const ( CmdServiceUse = "service" CmdServiceShort = "service management" )
View Source
const ( CmdServiceCreateUse = "create NAME" CmdServiceCreateShort = "create a new service" )
View Source
const ( CmdServiceGenerateUse = "generate NAME [OPTION]" CmdServiceGenerateShort = "generate files for service" )
View Source
const ( CmdVersionUse = "version" CmdVersionShort = "output version" )
Variables ¶
View Source
var ( CmdBuildAlias []string FArch = "amd64" FOS = "linux" FBuildPath = "" )
View Source
var ( ErrCwd = errors.New("cannot cwd") ErrCreateDir = errors.New("cannot create dir") ErrDirExist = errors.New("dir already exists") ErrFileExist = errors.New("dir already exists") ErrParseTemplate = errors.New("cannot parse template") ErrGitRepoNA = errors.New("git URL not provided") ErrMetaValueType = errors.New("type of the value is not correct") )
View Source
var ( ErrCannotGetInterfaces = errors.New("cannot get interfaces") ErrCannotGetIp = errors.New("cannot get ip") ErrInvalidIpAddress = errors.New("invalid ip address") ErrBasePrefixTooBig = errors.New("base prefix too big") )
View Source
var ( CmdIPv6IpAlias []string FIpCount = 5 )
View Source
var ( CmdIPv6SubnetAlias []string FSubnetsCount = 1 FSubnetPrefix = 64 )
View Source
var ( FProjectCreateRepoURL string FProjectCreateServicePath string )
View Source
var ( CmdProjectGenerateAlias = []string{"g", "gen"} FProjectGenerateWithGoSDK = false FProjectGenerateWithJSSDK = false FProjectGenerateWithTSSDK = false )
View Source
var ( CmdRunAlias []string FRunPath = "" )
View Source
var ( CmdServiceGenerateAlias = []string{"gen"} FServiceGenerateWithGoSDK = false FServiceGenerateWithJSSDK = false FServiceGenerateWithTSSDK = false FDebug = false )
View Source
var CmdAtomika *cobra.Command
View Source
var CmdDoctorAlias = []string{"doc"}
View Source
var (
CmdIPv6Alias = []string{"i6"}
)
View Source
var (
CmdIPv6GetAlias []string
)
View Source
var CmdProjectAlias = []string{"p", "proj"}
View Source
var CmdProjectCreateAlias []string
View Source
var CmdServiceAlias []string
View Source
var CmdServiceCreateAlias = []string{"c"}
View Source
var CmdVersionAlias = []string{"v", "ver"}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.