Documentation ¶
Index ¶
- Constants
- type Pattern
- type Requires
- type SetupHost
- func (s *SetupHost) InfrastructureDomain() string
- func (s *SetupHost) Init(cmd *cobra.Command)
- func (s *SetupHost) Process(wectx config.Context) (err error)
- func (s *SetupHost) Project() string
- func (s *SetupHost) Remote() string
- func (s *SetupHost) Service() string
- func (s *SetupHost) ServiceDomain() string
Constants ¶
View Source
const ( // RemotePattern takes only --remote RemotePattern Pattern // ServicePattern takes only --service ServicePattern // ProjectPattern takes only --project ProjectPattern // ProjectAndServicePattern takes only --project and --service ProjectAndServicePattern = ProjectPattern | ServicePattern // ProjectAndRemotePattern takes only --project, and --remote ProjectAndRemotePattern = ProjectPattern | RemotePattern // FullHostPattern takes --project, --service, and --remote FullHostPattern = RemotePattern | ProjectAndServicePattern )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupHost ¶
type SetupHost struct { Pattern Pattern Requires Requires UseServiceDirectory bool AllowMissingProject bool // contains filtered or unexported fields }
SetupHost is the structure for host and flags parsing
func (*SetupHost) InfrastructureDomain ¶
InfrastructureDomain of the parsed flags or host
func (*SetupHost) ServiceDomain ¶
ServiceDomain of the parsed flags or host
Click to show internal directories.
Click to hide internal directories.