Documentation
¶
Index ¶
- Constants
- func AccessLogsEndpoint(tail int, follow bool) string
- func ActualStateEndpoint(project string, environment string) string
- func BackupsEndpoint(project string, environment string, volume string, backupID string) string
- func DiscoveryExportsEndpoint(environment string) string
- func EnvBundleEndpoint(project string, environment string) string
- func ImageBuildEndpoint(image string, dockerfile ...string) string
- func ImageExistsEndpoint(image string) string
- func LeaseEndpoint(project string, environment string) string
- func LogsEndpoint(project string, environment string, service string, tail int, follow bool) string
- func MetricsEndpoint(collect bool) string
- func ProxyFileEndpoint(name string) string
- func RequestJSON(client RequestExecutor, socket string, method string, endpoint string, ...) (string, error)
- func RequestJSONWithTimeout(client RequestExecutor, socket string, method string, endpoint string, ...) (string, error)
- func StateEndpoint(project string, environment string, document string) string
- func StateNodeEndpoint(project string, environment string, document string, node string) string
- func StateRevisionEndpoint(project string, environment string, document string, revisionID string) string
- func StatsEndpoint(project string, environment string, service string, all bool) string
- func StreamOutput(client StreamExecutor, socket string, endpoint string, stdout io.Writer, ...) error
- func StreamRequest(client RequestExecutor, socket string, method string, endpoint string, ...) (string, error)
- type RequestExecutor
- type StreamExecutor
Constants ¶
View Source
const ( JSONRequestTimeout = 2 * time.Minute StreamRequestTimeout = 30 * time.Minute )
View Source
const DefaultSocket = "/run/tako/takod.sock"
Variables ¶
This section is empty.
Functions ¶
func AccessLogsEndpoint ¶
func ActualStateEndpoint ¶
func BackupsEndpoint ¶
func DiscoveryExportsEndpoint ¶ added in v0.4.35
func EnvBundleEndpoint ¶
func ImageBuildEndpoint ¶
func ImageExistsEndpoint ¶ added in v0.5.4
func LeaseEndpoint ¶
func LogsEndpoint ¶
func MetricsEndpoint ¶
func ProxyFileEndpoint ¶
func RequestJSON ¶
func RequestJSONWithTimeout ¶ added in v0.4.1
func StateNodeEndpoint ¶
func StateRevisionEndpoint ¶
func StatsEndpoint ¶
func StreamOutput ¶
func StreamRequest ¶
Types ¶
type RequestExecutor ¶
type StreamExecutor ¶
Click to show internal directories.
Click to hide internal directories.