Documentation ¶
Index ¶
- Constants
- func NewAgentDrainDelete(fn func(on bool)) (e *api_server.Endpoint)
- func NewAgentDrainPut(fn func(on bool)) (e *api_server.Endpoint)
- func NewAgentReloadPut(fn func()) (e *api_server.Endpoint)
- func NewAgentStopPut(signalChan chan os.Signal) (e *api_server.Endpoint)
- func NewClusterNodesGet(log *logx.Log) (e *api_server.Endpoint)
- func NewRegistryPodsDelete(log *logx.Log, consumer bus.Consumer) (e *api_server.Endpoint)
- func NewRegistryPodsGet() (e *api_server.Endpoint)
- func NewRegistryPodsPut(log *logx.Log, consumer bus.Consumer) (e *api_server.Endpoint)
- func NewStatusPingGet() (e *api_server.Endpoint)
- type Wrapper
Constants ¶
View Source
const (
V1Registry = "/v1/registry"
)
Variables ¶
This section is empty.
Functions ¶
func NewAgentDrainDelete ¶
func NewAgentDrainDelete(fn func(on bool)) (e *api_server.Endpoint)
func NewAgentDrainPut ¶
func NewAgentDrainPut(fn func(on bool)) (e *api_server.Endpoint)
func NewAgentReloadPut ¶
func NewAgentReloadPut(fn func()) (e *api_server.Endpoint)
func NewAgentStopPut ¶
func NewClusterNodesGet ¶
func NewRegistryPodsDelete ¶
func NewRegistryPodsGet ¶
func NewRegistryPodsGet() (e *api_server.Endpoint)
func NewRegistryPodsPut ¶
func NewStatusPingGet ¶
func NewStatusPingGet() (e *api_server.Endpoint)
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
simple wrapper for non-processing handlers
func NewWrapper ¶
Click to show internal directories.
Click to hide internal directories.