Documentation ¶
Index ¶
- func NewSimulatorCmd(opts ...SimulatorCmdOptions) *cobra.Command
- type SimulatorCmdOptions
- func WithAMICmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithAMIDeleteCmd(manager aws.AMIManager) SimulatorCmdOptions
- func WithAMIListCmd(manager aws.AMIManager) SimulatorCmdOptions
- func WithAmiBuildCmd(builder tools.AMIBuilder) SimulatorCmdOptions
- func WithBucketCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithConfigCmd(conf config.Config) SimulatorCmdOptions
- func WithContainerCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithContainerPullCmd(config config.Config, client *docker.Client) SimulatorCmdOptions
- func WithCreateBucketCmd(config config.Config, manager aws.BucketManager) SimulatorCmdOptions
- func WithDeleteBucketCmd(config config.Config, manager aws.BucketManager) SimulatorCmdOptions
- func WithFlag(name, value, usage string) SimulatorCmdOptions
- func WithInfraCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithInfraCreateCmd(manager tools.InfraManager, opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithInfraDestroyCmd(manager tools.InfraManager, opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithScenarioCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
- func WithScenarioDescribeCmd() SimulatorCmdOptions
- func WithScenarioInstallCmd(manager tools.ScenarioManager) SimulatorCmdOptions
- func WithScenarioListCmd() SimulatorCmdOptions
- func WithScenarioUninstallCmd(manager tools.ScenarioManager) SimulatorCmdOptions
- func WithVersionCmd(ver VersionInfo) SimulatorCmdOptions
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSimulatorCmd ¶
func NewSimulatorCmd(opts ...SimulatorCmdOptions) *cobra.Command
Types ¶
type SimulatorCmdOptions ¶
func WithAMICmd ¶
func WithAMICmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithAMIDeleteCmd ¶
func WithAMIDeleteCmd(manager aws.AMIManager) SimulatorCmdOptions
func WithAMIListCmd ¶
func WithAMIListCmd(manager aws.AMIManager) SimulatorCmdOptions
func WithAmiBuildCmd ¶
func WithAmiBuildCmd(builder tools.AMIBuilder) SimulatorCmdOptions
func WithBucketCmd ¶
func WithBucketCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithConfigCmd ¶
func WithConfigCmd(conf config.Config) SimulatorCmdOptions
func WithContainerCmd ¶
func WithContainerCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithContainerPullCmd ¶
func WithContainerPullCmd(config config.Config, client *docker.Client) SimulatorCmdOptions
func WithCreateBucketCmd ¶
func WithCreateBucketCmd(config config.Config, manager aws.BucketManager) SimulatorCmdOptions
func WithDeleteBucketCmd ¶
func WithDeleteBucketCmd(config config.Config, manager aws.BucketManager) SimulatorCmdOptions
func WithFlag ¶
func WithFlag(name, value, usage string) SimulatorCmdOptions
func WithInfraCmd ¶
func WithInfraCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithInfraCreateCmd ¶
func WithInfraCreateCmd(manager tools.InfraManager, opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithInfraDestroyCmd ¶
func WithInfraDestroyCmd(manager tools.InfraManager, opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithScenarioCmd ¶
func WithScenarioCmd(opts ...SimulatorCmdOptions) SimulatorCmdOptions
func WithScenarioDescribeCmd ¶
func WithScenarioDescribeCmd() SimulatorCmdOptions
func WithScenarioInstallCmd ¶
func WithScenarioInstallCmd(manager tools.ScenarioManager) SimulatorCmdOptions
func WithScenarioListCmd ¶
func WithScenarioListCmd() SimulatorCmdOptions
func WithScenarioUninstallCmd ¶
func WithScenarioUninstallCmd(manager tools.ScenarioManager) SimulatorCmdOptions
func WithVersionCmd ¶
func WithVersionCmd(ver VersionInfo) SimulatorCmdOptions
WithVersionCmd creates a new version command
type VersionInfo ¶
type VersionInfo struct { Version string // the semantic version, grabbed from git tags during build AppName string // name of the application GitHash string // the git hash of the build BuildDate string // build date, will be injected by the build system }
VersionInfo contains the version information.
Click to show internal directories.
Click to hide internal directories.