{"modulePath":"github.com/recode-sh/recode","version":"v0.0.0-20220602124851-f432a95edcb4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package features\n\n## Types\n\n```go\ntype RemoveFeature struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRemoveFeature(\n\tstepper stepper.Stepper,\n\toutputHandler RemoveOutputHandler,\n\tcloudServiceBuilder entities.CloudServiceBuilder,\n) RemoveFeature\n```\n\n```go\nfunc (r RemoveFeature) Execute(input RemoveInput) error\n```\n\n```go\ntype RemoveInput struct {\n\tResolvedRepository entities.ResolvedDevEnvRepository\n\tPreRemoveHook      entities.HookRunner\n\tForceRemove        bool\n\tConfirmRemove      func() (bool, error)\n}\n```\n\n```go\ntype RemoveOutput struct {\n\tError   error\n\tContent *RemoveOutputContent\n\tStepper stepper.Stepper\n}\n```\n\n```go\ntype RemoveOutputContent struct {\n\tCluster *entities.Cluster\n\tDevEnv  *entities.DevEnv\n}\n```\n\n```go\ntype RemoveOutputHandler interface {\n\tHandleOutput(RemoveOutput) error\n}\n```\n\n```go\ntype StartFeature struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewStartFeature(\n\tstepper stepper.Stepper,\n\toutputHandler StartOutputHandler,\n\tcloudServiceBuilder entities.CloudServiceBuilder,\n) StartFeature\n```\n\n```go\nfunc (s StartFeature) Execute(input StartInput) error\n```\n\n```go\ntype StartInput struct {\n\tInstanceType             string\n\tDevEnvRebuildAsked       bool\n\tResolvedDevEnvUserConfig entities.ResolvedDevEnvUserConfig\n\tResolvedRepository       entities.ResolvedDevEnvRepository\n\tForceDevEnvRevuild       bool\n\tConfirmDevEnvRebuild     func() (bool, error)\n}\n```\n\n```go\ntype StartOutput struct {\n\tError   error\n\tContent *StartOutputContent\n\tStepper stepper.Stepper\n}\n```\n\n```go\ntype StartOutputContent struct {\n\tCloudService       entities.CloudService\n\tRecodeConfig       *entities.Config\n\tCluster            *entities.Cluster\n\tDevEnv             *entities.DevEnv\n\tDevEnvCreated      bool\n\tDevEnvStarted      bool\n\tSetDevEnvAsStarted func() error\n\tDevEnvRebuildAsked bool\n}\n```\n\n```go\ntype StartOutputHandler interface {\n\tHandleOutput(StartOutput) error\n}\n```\n\n```go\ntype StopFeature struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewStopFeature(\n\tstepper stepper.Stepper,\n\toutputHandler StopOutputHandler,\n\tcloudServiceBuilder entities.CloudServiceBuilder,\n) StopFeature\n```\n\n```go\nfunc (s StopFeature) Execute(input StopInput) error\n```\n\n```go\ntype StopInput struct {\n\tResolvedRepository entities.ResolvedDevEnvRepository\n\tPreStopHook        entities.HookRunner\n}\n```\n\n```go\ntype StopOutput struct {\n\tError   error\n\tContent *StopOutputContent\n\tStepper stepper.Stepper\n}\n```\n\n```go\ntype StopOutputContent struct {\n\tCluster              *entities.Cluster\n\tDevEnv               *entities.DevEnv\n\tDevEnvAlreadyStopped bool\n\tSetDevEnvAsStopped   func() error\n}\n```\n\n```go\ntype StopOutputHandler interface {\n\tHandleOutput(StopOutput) error\n}\n```\n\n```go\ntype UninstallFeature struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewUninstallFeature(\n\tstepper stepper.Stepper,\n\toutputHandler UninstallOutputHandler,\n\tcloudServiceBuilder entities.CloudServiceBuilder,\n) UninstallFeature\n```\n\n```go\nfunc (u UninstallFeature) Execute(input UninstallInput) error\n```\n\n```go\ntype UninstallInput struct {\n\tSuccessMessage            string\n\tAlreadyUninstalledMessage string\n}\n```\n\n```go\ntype UninstallOutput struct {\n\tError   error\n\tContent *UninstallOutputContent\n\tStepper stepper.Stepper\n}\n```\n\n```go\ntype UninstallOutputContent struct {\n\tRecodeAlreadyUninstalled  bool\n\tSuccessMessage            string\n\tAlreadyUninstalledMessage string\n}\n```\n\n```go\ntype UninstallOutputHandler interface {\n\tHandleOutput(UninstallOutput) error\n}\n```\n\n","path":"github.com/recode-sh/recode/features","name":"features","synopsis":"","isRedistributable":true}
