Documentation
¶
Index ¶
- Constants
- func AddCirrusFlags(fs *pflag.FlagSet)
- func AddCommonFlags(fs *pflag.FlagSet)
- func AddDebugFlags(fs *pflag.FlagSet)
- func GetCpusAndMemoryFlagset() *pflag.FlagSet
- func GetGHActionsFlagset() *pflag.FlagSet
- func LinuxArchAsCirrusArch(arch string) *cirrus.Arch
- func LinuxArchAsGithubActionsArch(arch string) *github.Arch
Constants ¶
View Source
const ( ProjectName string = "project-name" ProjectNameDesc string = "project name to identify the instance of the stack" BackedURL string = "backed-url" BackedURLDesc string = "" /* 219-byte string literal not displayed */ ConnectionDetailsOutput string = "conn-details-output" ConnectionDetailsOutputDesc string = "path to export host connection information (host, username and privateKey)" Debug string = "debug" DebugDesc string = "Enable debug traces and set verbosity to max. Typically to get information to troubleshooting an issue." DebugLevel string = "debug-level" DebugLevelDefault uint = 3 DebugLevelDesc string = "Set the level of verbosity on debug. You can set from minimum 1 to max 9." LinuxArch string = "arch" LinuxArchDesc string = "architecture for the machine. Allowed x86_64 or arm64" LinuxArchDefault string = "x86_64" SupportedHostID string = "host-id" SupportedHostIDDesc string = "host id from supported hosts list" AvailabilityZones string = "availability-zones" AvailabilityZonesDesc string = "List of comma separated azs to check. If empty all will be searched" RHMajorVersion string = "rh-major-version" RHMajorVersionDesc string = "major version for rhel image 7, 8 or 9" RHSubcriptionUsername string = "rh-subscription-username" RHSubcriptionUsernameDesc string = "username for rhel subcription" RHSubcriptionPassword string = "rh-subscription-password" RHSubcriptionPasswordDesc string = "password for rhel subcription" FedoraMajorVersion string = "fedora-major-version" FedoraMajorVersionDesc string = "major version for fedora image 36, 37, ..." MacOSMajorVersion string = "macos-major-version" MacOSMajorVersionDesc string = "major version for macos image 12, 13, ..." AMIIDName string = "ami-id" AMIIDDesc string = "id for the source ami" AMINameName string = "ami-name" AMINameDesc string = "name for the source ami" AMISourceRegion string = "ami-region" AMISourceRegionDesc string = "region for the ami to be copied worldwide" Tags string = "tags" TagsDesc string = "tags to add on each resource (--tags name1=value1,name2=value2)" GHActionsRunnerTokenDesc string = "Token needed for registering the Github Actions Runner token" GHActionsRunnerRepoDesc string = "Full URL of the repository where the Github Actions Runner should be registered" GHActionsRunnerLabelsDesc string = "List of labels separated by comma to be added to the self-hosted runner" Memory string = "memory" MemoryDesc string = "Amount of RAM for the cloud instance in GiB" CPUs string = "cpus" CPUsDesc string = "Number of CPUs for the cloud instance" NestedVirt string = "nested-virt" NestedVirtDesc string = "Use cloud instance that has nested virtualization support" CreateCmdName string = "create" DestroyCmdName string = "destroy" GHActionsRunnerToken string = "ghactions-runner-token" GHActionsRunnerRepo string = "ghactions-runner-repo" GHActionsRunnerLabels string = "ghactions-runner-labels" CirrusPWToken string = "it-cirrus-pw-token" CirrusPWTokenDesc string = "" /* 126-byte string literal not displayed */ CirrusPWLabels string = "it-cirrus-pw-labels" CirrusPWLabelsDesc string = "additional labels to use on the persistent worker (--it-cirrus-pw-labels key1=value1,key2=value2)" //RHEL SubsUsername string = "rh-subscription-username" SubsUsernameDesc string = "username to register the subscription" SubsUserpass string = "rh-subscription-password" SubsUserpassDesc string = "password to register the subscription" ProfileSNC string = "snc" ProfileSNCDesc string = "" /* 126-byte string literal not displayed */ RhelVersion string = "version" RhelVersionDesc string = "version for the RHEL OS" RhelVersionDefault string = "9.4" // Serverless Timeout string = "timeout" TimeoutDesc string = "" /* 167-byte string literal not displayed */ Serverless string = "serverless" ServerlessDesc string = "if serverless is set the command will be executed as a serverless action." // Desytoy ForceDestroy string = "force-destroy" ForceDestroyDesc string = "if force-destroy is set the command will destroy even if there is a lock." // Kind KindCmd = "kind" KindCmdDesc = "Manage a Kind cluster. This is not intended for production use" KindK8SVersion = "version" KindK8SVersionDesc = "version for k8s offered through Kind." // Spot SpotPriceIncreaseRate = "spot-increase-rate" SpotPriceIncreaseRateDesc = "Percentage to be added on top of the current calculated spot price to increase chances to get the machine" SpotPriceIncreaseRateDefault = 20 )
Variables ¶
This section is empty.
Functions ¶
func AddCirrusFlags ¶ added in v0.8.0
func AddCommonFlags ¶ added in v0.8.0
func AddDebugFlags ¶ added in v0.8.0
func GetCpusAndMemoryFlagset ¶ added in v0.7.0
func GetGHActionsFlagset ¶
func LinuxArchAsCirrusArch ¶ added in v0.8.0
func LinuxArchAsGithubActionsArch ¶ added in v0.8.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.