Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RemotePattern takes only --remote RemotePattern Pattern // ContainerPattern takes only --container ContainerPattern // ProjectPattern takes only --project ProjectPattern // ProjectAndContainerPattern takes only --project and --container ProjectAndContainerPattern = ProjectPattern | ContainerPattern // ProjectAndRemotePattern takes only --project, and --remote ProjectAndRemotePattern = ProjectPattern | RemotePattern // FullHostPattern takes --project, --container, and --remote FullHostPattern = RemotePattern | ProjectAndContainerPattern )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupHost ¶
type SetupHost struct {
Pattern Pattern
Requires Requires
UseProjectDirectory bool
UseProjectDirectoryForContainer bool
UseContainerDirectory bool
// contains filtered or unexported fields
}
SetupHost is the structure for host and flags parsing
func (*SetupHost) RemoteAddress ¶
RemoteAddress of the parsed flags or host
Click to show internal directories.
Click to hide internal directories.