Documentation ¶
Index ¶
- func NewReadOnlySwitch() server.Middleware
- type ApiError
- type EngineConfigApi
- type EngineMaintenanceApi
- type Ports
- type ReadOnlySwitch
- type RestfulCntStatusHstry
- type RestfulConstraints
- type RestfulDependPods
- func (rdp RestfulDependPods) Delete(ctx context.Context, r *http.Request) (int, interface{})
- func (rdp RestfulDependPods) Get(ctx context.Context, r *http.Request) (int, interface{})
- func (rdp RestfulDependPods) Post(ctx context.Context, r *http.Request) (int, interface{})
- func (rdp RestfulDependPods) Put(ctx context.Context, r *http.Request) (int, interface{})
- type RestfulGuard
- type RestfulNodes
- type RestfulNotifies
- type RestfulPodGroups
- func (rpg RestfulPodGroups) Delete(ctx context.Context, r *http.Request) (int, interface{})
- func (rpg RestfulPodGroups) Get(ctx context.Context, r *http.Request) (int, interface{})
- func (rpg RestfulPodGroups) Patch(ctx context.Context, r *http.Request) (int, interface{})
- func (rpg RestfulPodGroups) Post(ctx context.Context, r *http.Request) (int, interface{})
- type RestfulPorts
- type RestfulStatus
- type Server
- type UrlReverser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadOnlySwitch ¶
func NewReadOnlySwitch() server.Middleware
NewStatWare returns a new StatWare, some ignored urls can be specified with prefixes which would not be logged.
Types ¶
type ApiError ¶
type ApiError struct { Message string `json:"message"` Data interface{} `json:"data"` }
type EngineConfigApi ¶
type EngineConfigApi struct {
server.BaseResource
}
type EngineMaintenanceApi ¶
type EngineMaintenanceApi struct {
server.BaseResource
}
type ReadOnlySwitch ¶
type ReadOnlySwitch struct { }
StatWare is the statistics middleware which would log all the access and performation information.
type RestfulCntStatusHstry ¶
type RestfulCntStatusHstry struct {
server.BaseResource
}
type RestfulConstraints ¶
type RestfulConstraints struct {
server.BaseResource
}
type RestfulDependPods ¶
type RestfulDependPods struct {
server.BaseResource
}
type RestfulNodes ¶
type RestfulNodes struct {
server.BaseResource
}
type RestfulNotifies ¶
type RestfulNotifies struct {
server.BaseResource
}
type RestfulPodGroups ¶
type RestfulPodGroups struct {
server.BaseResource
}
type Server ¶
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.