Documentation
¶
Index ¶
Constants ¶
View Source
const ( ActorFlag = "actor" ClientHostFlag = "client-host" ClientIDFlag = "client-id" ClientPortFlag = "client-port" ClientTLSHostFlag = "client-tls-host" ClientTLSPortFlag = "client-tls-port" ClientUnixSocketFlag = "client-unix-socket" ColorFlag = "color" ConfigFlag = "config" EnableTLSFlag = "enable-tls" FilterFlag = "filter" GroupFlag = "group" HistoryFlag = "history" IDFlag = "id" JobIDFlag = "job-id" LimitFlag = "limit" LogLevelFlag = "log-level" MessageFlag = "message" MgmtHostFlag = "mgmt-host" MgmtPortFlag = "mgmt-port" MgmtTLSHostFlag = "mgmt-tls-host" MgmtTLSPortFlag = "mgmt-tls-port" MgmtUnixSocketFlag = "mgmt-unix-socket" OffsetFlag = "offset" ProgressFlag = "progress" RawFlag = "raw" SortFlag = "sort" StateFlag = "state" TLSCaFlag = "tls-ca" TagFlag = "tag" WorkflowFlag = "workflow" NameFlag = "name" AutoReconnectFlag = "auto-reconnect" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCmd ¶
type BaseCmd struct {
EnableTLS bool
TLSCa string
Host string `validate:"required,hostname_rfc1123"`
Port int `validate:"required"`
TLSHost string `validate:"required,hostname_rfc1123"`
TLSPort int `validate:"required"`
Socket string
MgmtHost string `validate:"required,hostname_rfc1123"`
MgmtPort int `validate:"required"`
MgmtTLSHost string `validate:"required,hostname_rfc1123"`
MgmtTLSPort int `validate:"required"`
MgmtSocket string
Filter string
// Strip quotes to make output usable in shell scripts
RawOutput bool
ColorMode string
ID string
ClientID string
ClientIDs []string
Workflow string
Workflows []string
Tags *[]string
State string
Sort string
Groups []string
Offset int64
JobIDs []string
History bool
Progress int
Message string
Actor string
Name string
Limit int32
}
func NewBaseCmd ¶
func (*BaseCmd) ProcessResponse ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.