Documentation
¶
Overview ¶
Package manifest implements the HTTP handler that returns the flag manifest of a flagset.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
Ctrl is the controller of the manifest endpoint.
func NewManifest ¶
func NewManifest( flagsetManager service.FlagSetResolver, metrics *metric.Metrics) *Ctrl
NewManifest returns the handler that serves the flag manifest of a flagset.
type Input ¶ added in v0.2.0
type Input struct {
controller.Request
}
Input is the request of the manifest endpoint.
type Output ¶ added in v0.2.0
type Output struct {
Capabilities string `header:"X-Manifest-Capabilities"`
Body model.ManifestSuccessResponse
}
Output is the response of the manifest endpoint.