Documentation ¶
Index ¶
- Constants
- type AddNotificationEndpoint
- type AddNotificationEndpointCreated
- func (o *AddNotificationEndpointCreated) SetPayload(payload *models.SetNotificationEndpointResponse)
- func (o *AddNotificationEndpointCreated) WithPayload(payload *models.SetNotificationEndpointResponse) *AddNotificationEndpointCreated
- func (o *AddNotificationEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddNotificationEndpointDefault
- func (o *AddNotificationEndpointDefault) SetPayload(payload *models.Error)
- func (o *AddNotificationEndpointDefault) SetStatusCode(code int)
- func (o *AddNotificationEndpointDefault) WithPayload(payload *models.Error) *AddNotificationEndpointDefault
- func (o *AddNotificationEndpointDefault) WithStatusCode(code int) *AddNotificationEndpointDefault
- func (o *AddNotificationEndpointDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type AddNotificationEndpointHandler
- type AddNotificationEndpointHandlerFunc
- type AddNotificationEndpointParams
- type AddNotificationEndpointURL
- func (o *AddNotificationEndpointURL) Build() (*url.URL, error)
- func (o *AddNotificationEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *AddNotificationEndpointURL) Must(u *url.URL, err error) *url.URL
- func (o *AddNotificationEndpointURL) SetBasePath(bp string)
- func (o *AddNotificationEndpointURL) String() string
- func (o *AddNotificationEndpointURL) StringFull(scheme, host string) string
- func (o *AddNotificationEndpointURL) WithBasePath(bp string) *AddNotificationEndpointURL
- type ConfigInfo
- type ConfigInfoDefault
- func (o *ConfigInfoDefault) SetPayload(payload *models.Error)
- func (o *ConfigInfoDefault) SetStatusCode(code int)
- func (o *ConfigInfoDefault) WithPayload(payload *models.Error) *ConfigInfoDefault
- func (o *ConfigInfoDefault) WithStatusCode(code int) *ConfigInfoDefault
- func (o *ConfigInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ConfigInfoHandler
- type ConfigInfoHandlerFunc
- type ConfigInfoOK
- type ConfigInfoParams
- type ConfigInfoURL
- func (o *ConfigInfoURL) Build() (*url.URL, error)
- func (o *ConfigInfoURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ConfigInfoURL) Must(u *url.URL, err error) *url.URL
- func (o *ConfigInfoURL) SetBasePath(bp string)
- func (o *ConfigInfoURL) String() string
- func (o *ConfigInfoURL) StringFull(scheme, host string) string
- func (o *ConfigInfoURL) WithBasePath(bp string) *ConfigInfoURL
- type ListConfig
- type ListConfigDefault
- func (o *ListConfigDefault) SetPayload(payload *models.Error)
- func (o *ListConfigDefault) SetStatusCode(code int)
- func (o *ListConfigDefault) WithPayload(payload *models.Error) *ListConfigDefault
- func (o *ListConfigDefault) WithStatusCode(code int) *ListConfigDefault
- func (o *ListConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListConfigHandler
- type ListConfigHandlerFunc
- type ListConfigOK
- type ListConfigParams
- type ListConfigURL
- func (o *ListConfigURL) Build() (*url.URL, error)
- func (o *ListConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *ListConfigURL) SetBasePath(bp string)
- func (o *ListConfigURL) String() string
- func (o *ListConfigURL) StringFull(scheme, host string) string
- func (o *ListConfigURL) WithBasePath(bp string) *ListConfigURL
- type NotificationEndpointList
- type NotificationEndpointListDefault
- func (o *NotificationEndpointListDefault) SetPayload(payload *models.Error)
- func (o *NotificationEndpointListDefault) SetStatusCode(code int)
- func (o *NotificationEndpointListDefault) WithPayload(payload *models.Error) *NotificationEndpointListDefault
- func (o *NotificationEndpointListDefault) WithStatusCode(code int) *NotificationEndpointListDefault
- func (o *NotificationEndpointListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type NotificationEndpointListHandler
- type NotificationEndpointListHandlerFunc
- type NotificationEndpointListOK
- func (o *NotificationEndpointListOK) SetPayload(payload *models.NotifEndpointResponse)
- func (o *NotificationEndpointListOK) WithPayload(payload *models.NotifEndpointResponse) *NotificationEndpointListOK
- func (o *NotificationEndpointListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type NotificationEndpointListParams
- type NotificationEndpointListURL
- func (o *NotificationEndpointListURL) Build() (*url.URL, error)
- func (o *NotificationEndpointListURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *NotificationEndpointListURL) Must(u *url.URL, err error) *url.URL
- func (o *NotificationEndpointListURL) SetBasePath(bp string)
- func (o *NotificationEndpointListURL) String() string
- func (o *NotificationEndpointListURL) StringFull(scheme, host string) string
- func (o *NotificationEndpointListURL) WithBasePath(bp string) *NotificationEndpointListURL
- type ResetConfig
- type ResetConfigDefault
- func (o *ResetConfigDefault) SetPayload(payload *models.Error)
- func (o *ResetConfigDefault) SetStatusCode(code int)
- func (o *ResetConfigDefault) WithPayload(payload *models.Error) *ResetConfigDefault
- func (o *ResetConfigDefault) WithStatusCode(code int) *ResetConfigDefault
- func (o *ResetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ResetConfigHandler
- type ResetConfigHandlerFunc
- type ResetConfigOK
- type ResetConfigParams
- type ResetConfigURL
- func (o *ResetConfigURL) Build() (*url.URL, error)
- func (o *ResetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ResetConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *ResetConfigURL) SetBasePath(bp string)
- func (o *ResetConfigURL) String() string
- func (o *ResetConfigURL) StringFull(scheme, host string) string
- func (o *ResetConfigURL) WithBasePath(bp string) *ResetConfigURL
- type SetConfig
- type SetConfigDefault
- func (o *SetConfigDefault) SetPayload(payload *models.Error)
- func (o *SetConfigDefault) SetStatusCode(code int)
- func (o *SetConfigDefault) WithPayload(payload *models.Error) *SetConfigDefault
- func (o *SetConfigDefault) WithStatusCode(code int) *SetConfigDefault
- func (o *SetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type SetConfigHandler
- type SetConfigHandlerFunc
- type SetConfigOK
- type SetConfigParams
- type SetConfigURL
- func (o *SetConfigURL) Build() (*url.URL, error)
- func (o *SetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *SetConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *SetConfigURL) SetBasePath(bp string)
- func (o *SetConfigURL) String() string
- func (o *SetConfigURL) StringFull(scheme, host string) string
- func (o *SetConfigURL) WithBasePath(bp string) *SetConfigURL
Constants ¶
const AddNotificationEndpointCreatedCode int = 201
AddNotificationEndpointCreatedCode is the HTTP code returned for type AddNotificationEndpointCreated
const ConfigInfoOKCode int = 200
ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK
const ListConfigOKCode int = 200
ListConfigOKCode is the HTTP code returned for type ListConfigOK
const NotificationEndpointListOKCode int = 200
NotificationEndpointListOKCode is the HTTP code returned for type NotificationEndpointListOK
const ResetConfigOKCode int = 200
ResetConfigOKCode is the HTTP code returned for type ResetConfigOK
const SetConfigOKCode int = 200
SetConfigOKCode is the HTTP code returned for type SetConfigOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNotificationEndpoint ¶
type AddNotificationEndpoint struct { Context *middleware.Context Handler AddNotificationEndpointHandler }
AddNotificationEndpoint swagger:route POST /admin/notification_endpoints Configuration addNotificationEndpoint
Allows to configure a new notification endpoint
func NewAddNotificationEndpoint ¶
func NewAddNotificationEndpoint(ctx *middleware.Context, handler AddNotificationEndpointHandler) *AddNotificationEndpoint
NewAddNotificationEndpoint creates a new http.Handler for the add notification endpoint operation
func (*AddNotificationEndpoint) ServeHTTP ¶
func (o *AddNotificationEndpoint) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type AddNotificationEndpointCreated ¶
type AddNotificationEndpointCreated struct { /* In: Body */ Payload *models.SetNotificationEndpointResponse `json:"body,omitempty"` }
AddNotificationEndpointCreated A successful response.
swagger:response addNotificationEndpointCreated
func NewAddNotificationEndpointCreated ¶
func NewAddNotificationEndpointCreated() *AddNotificationEndpointCreated
NewAddNotificationEndpointCreated creates AddNotificationEndpointCreated with default headers values
func (*AddNotificationEndpointCreated) SetPayload ¶
func (o *AddNotificationEndpointCreated) SetPayload(payload *models.SetNotificationEndpointResponse)
SetPayload sets the payload to the add notification endpoint created response
func (*AddNotificationEndpointCreated) WithPayload ¶
func (o *AddNotificationEndpointCreated) WithPayload(payload *models.SetNotificationEndpointResponse) *AddNotificationEndpointCreated
WithPayload adds the payload to the add notification endpoint created response
func (*AddNotificationEndpointCreated) WriteResponse ¶
func (o *AddNotificationEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddNotificationEndpointDefault ¶
type AddNotificationEndpointDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
AddNotificationEndpointDefault Generic error response.
swagger:response addNotificationEndpointDefault
func NewAddNotificationEndpointDefault ¶
func NewAddNotificationEndpointDefault(code int) *AddNotificationEndpointDefault
NewAddNotificationEndpointDefault creates AddNotificationEndpointDefault with default headers values
func (*AddNotificationEndpointDefault) SetPayload ¶
func (o *AddNotificationEndpointDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the add notification endpoint default response
func (*AddNotificationEndpointDefault) SetStatusCode ¶
func (o *AddNotificationEndpointDefault) SetStatusCode(code int)
SetStatusCode sets the status to the add notification endpoint default response
func (*AddNotificationEndpointDefault) WithPayload ¶
func (o *AddNotificationEndpointDefault) WithPayload(payload *models.Error) *AddNotificationEndpointDefault
WithPayload adds the payload to the add notification endpoint default response
func (*AddNotificationEndpointDefault) WithStatusCode ¶
func (o *AddNotificationEndpointDefault) WithStatusCode(code int) *AddNotificationEndpointDefault
WithStatusCode adds the status to the add notification endpoint default response
func (*AddNotificationEndpointDefault) WriteResponse ¶
func (o *AddNotificationEndpointDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type AddNotificationEndpointHandler ¶
type AddNotificationEndpointHandler interface {
Handle(AddNotificationEndpointParams, *models.Principal) middleware.Responder
}
AddNotificationEndpointHandler interface for that can handle valid add notification endpoint params
type AddNotificationEndpointHandlerFunc ¶
type AddNotificationEndpointHandlerFunc func(AddNotificationEndpointParams, *models.Principal) middleware.Responder
AddNotificationEndpointHandlerFunc turns a function with the right signature into a add notification endpoint handler
func (AddNotificationEndpointHandlerFunc) Handle ¶
func (fn AddNotificationEndpointHandlerFunc) Handle(params AddNotificationEndpointParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type AddNotificationEndpointParams ¶
type AddNotificationEndpointParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.NotificationEndpoint }
AddNotificationEndpointParams contains all the bound params for the add notification endpoint operation typically these are obtained from a http.Request
swagger:parameters AddNotificationEndpoint
func NewAddNotificationEndpointParams ¶
func NewAddNotificationEndpointParams() AddNotificationEndpointParams
NewAddNotificationEndpointParams creates a new AddNotificationEndpointParams object
There are no default values defined in the spec.
func (*AddNotificationEndpointParams) BindRequest ¶
func (o *AddNotificationEndpointParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewAddNotificationEndpointParams() beforehand.
type AddNotificationEndpointURL ¶
type AddNotificationEndpointURL struct {
// contains filtered or unexported fields
}
AddNotificationEndpointURL generates an URL for the add notification endpoint operation
func (*AddNotificationEndpointURL) Build ¶
func (o *AddNotificationEndpointURL) Build() (*url.URL, error)
Build a url path and query string
func (*AddNotificationEndpointURL) BuildFull ¶
func (o *AddNotificationEndpointURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*AddNotificationEndpointURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*AddNotificationEndpointURL) SetBasePath ¶
func (o *AddNotificationEndpointURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*AddNotificationEndpointURL) String ¶
func (o *AddNotificationEndpointURL) String() string
String returns the string representation of the path with query string
func (*AddNotificationEndpointURL) StringFull ¶
func (o *AddNotificationEndpointURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*AddNotificationEndpointURL) WithBasePath ¶
func (o *AddNotificationEndpointURL) WithBasePath(bp string) *AddNotificationEndpointURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ConfigInfo ¶
type ConfigInfo struct { Context *middleware.Context Handler ConfigInfoHandler }
ConfigInfo swagger:route GET /configs/{name} Configuration configInfo
Configuration info
func NewConfigInfo ¶
func NewConfigInfo(ctx *middleware.Context, handler ConfigInfoHandler) *ConfigInfo
NewConfigInfo creates a new http.Handler for the config info operation
func (*ConfigInfo) ServeHTTP ¶
func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ConfigInfoDefault ¶
type ConfigInfoDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ConfigInfoDefault Generic error response.
swagger:response configInfoDefault
func NewConfigInfoDefault ¶
func NewConfigInfoDefault(code int) *ConfigInfoDefault
NewConfigInfoDefault creates ConfigInfoDefault with default headers values
func (*ConfigInfoDefault) SetPayload ¶
func (o *ConfigInfoDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the config info default response
func (*ConfigInfoDefault) SetStatusCode ¶
func (o *ConfigInfoDefault) SetStatusCode(code int)
SetStatusCode sets the status to the config info default response
func (*ConfigInfoDefault) WithPayload ¶
func (o *ConfigInfoDefault) WithPayload(payload *models.Error) *ConfigInfoDefault
WithPayload adds the payload to the config info default response
func (*ConfigInfoDefault) WithStatusCode ¶
func (o *ConfigInfoDefault) WithStatusCode(code int) *ConfigInfoDefault
WithStatusCode adds the status to the config info default response
func (*ConfigInfoDefault) WriteResponse ¶
func (o *ConfigInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ConfigInfoHandler ¶
type ConfigInfoHandler interface {
Handle(ConfigInfoParams, *models.Principal) middleware.Responder
}
ConfigInfoHandler interface for that can handle valid config info params
type ConfigInfoHandlerFunc ¶
type ConfigInfoHandlerFunc func(ConfigInfoParams, *models.Principal) middleware.Responder
ConfigInfoHandlerFunc turns a function with the right signature into a config info handler
func (ConfigInfoHandlerFunc) Handle ¶
func (fn ConfigInfoHandlerFunc) Handle(params ConfigInfoParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ConfigInfoOK ¶
type ConfigInfoOK struct { /* In: Body */ Payload []*models.Configuration `json:"body,omitempty"` }
ConfigInfoOK A successful response.
swagger:response configInfoOK
func NewConfigInfoOK ¶
func NewConfigInfoOK() *ConfigInfoOK
NewConfigInfoOK creates ConfigInfoOK with default headers values
func (*ConfigInfoOK) SetPayload ¶
func (o *ConfigInfoOK) SetPayload(payload []*models.Configuration)
SetPayload sets the payload to the config info o k response
func (*ConfigInfoOK) WithPayload ¶
func (o *ConfigInfoOK) WithPayload(payload []*models.Configuration) *ConfigInfoOK
WithPayload adds the payload to the config info o k response
func (*ConfigInfoOK) WriteResponse ¶
func (o *ConfigInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ConfigInfoParams ¶
type ConfigInfoParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
ConfigInfoParams contains all the bound params for the config info operation typically these are obtained from a http.Request
swagger:parameters ConfigInfo
func NewConfigInfoParams ¶
func NewConfigInfoParams() ConfigInfoParams
NewConfigInfoParams creates a new ConfigInfoParams object
There are no default values defined in the spec.
func (*ConfigInfoParams) BindRequest ¶
func (o *ConfigInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewConfigInfoParams() beforehand.
type ConfigInfoURL ¶
type ConfigInfoURL struct { Name string // contains filtered or unexported fields }
ConfigInfoURL generates an URL for the config info operation
func (*ConfigInfoURL) Build ¶
func (o *ConfigInfoURL) Build() (*url.URL, error)
Build a url path and query string
func (*ConfigInfoURL) BuildFull ¶
func (o *ConfigInfoURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ConfigInfoURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ConfigInfoURL) SetBasePath ¶
func (o *ConfigInfoURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ConfigInfoURL) String ¶
func (o *ConfigInfoURL) String() string
String returns the string representation of the path with query string
func (*ConfigInfoURL) StringFull ¶
func (o *ConfigInfoURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ConfigInfoURL) WithBasePath ¶
func (o *ConfigInfoURL) WithBasePath(bp string) *ConfigInfoURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ListConfig ¶
type ListConfig struct { Context *middleware.Context Handler ListConfigHandler }
ListConfig swagger:route GET /configs Configuration listConfig
List Configurations
func NewListConfig ¶
func NewListConfig(ctx *middleware.Context, handler ListConfigHandler) *ListConfig
NewListConfig creates a new http.Handler for the list config operation
func (*ListConfig) ServeHTTP ¶
func (o *ListConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListConfigDefault ¶
type ListConfigDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ListConfigDefault Generic error response.
swagger:response listConfigDefault
func NewListConfigDefault ¶
func NewListConfigDefault(code int) *ListConfigDefault
NewListConfigDefault creates ListConfigDefault with default headers values
func (*ListConfigDefault) SetPayload ¶
func (o *ListConfigDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the list config default response
func (*ListConfigDefault) SetStatusCode ¶
func (o *ListConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the list config default response
func (*ListConfigDefault) WithPayload ¶
func (o *ListConfigDefault) WithPayload(payload *models.Error) *ListConfigDefault
WithPayload adds the payload to the list config default response
func (*ListConfigDefault) WithStatusCode ¶
func (o *ListConfigDefault) WithStatusCode(code int) *ListConfigDefault
WithStatusCode adds the status to the list config default response
func (*ListConfigDefault) WriteResponse ¶
func (o *ListConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigHandler ¶
type ListConfigHandler interface {
Handle(ListConfigParams, *models.Principal) middleware.Responder
}
ListConfigHandler interface for that can handle valid list config params
type ListConfigHandlerFunc ¶
type ListConfigHandlerFunc func(ListConfigParams, *models.Principal) middleware.Responder
ListConfigHandlerFunc turns a function with the right signature into a list config handler
func (ListConfigHandlerFunc) Handle ¶
func (fn ListConfigHandlerFunc) Handle(params ListConfigParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ListConfigOK ¶
type ListConfigOK struct { /* In: Body */ Payload *models.ListConfigResponse `json:"body,omitempty"` }
ListConfigOK A successful response.
swagger:response listConfigOK
func NewListConfigOK ¶
func NewListConfigOK() *ListConfigOK
NewListConfigOK creates ListConfigOK with default headers values
func (*ListConfigOK) SetPayload ¶
func (o *ListConfigOK) SetPayload(payload *models.ListConfigResponse)
SetPayload sets the payload to the list config o k response
func (*ListConfigOK) WithPayload ¶
func (o *ListConfigOK) WithPayload(payload *models.ListConfigResponse) *ListConfigOK
WithPayload adds the payload to the list config o k response
func (*ListConfigOK) WriteResponse ¶
func (o *ListConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigParams ¶
type ListConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Limit *int32 /* In: query */ Offset *int32 }
ListConfigParams contains all the bound params for the list config operation typically these are obtained from a http.Request
swagger:parameters ListConfig
func NewListConfigParams ¶
func NewListConfigParams() ListConfigParams
NewListConfigParams creates a new ListConfigParams object
There are no default values defined in the spec.
func (*ListConfigParams) BindRequest ¶
func (o *ListConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListConfigParams() beforehand.
type ListConfigURL ¶
ListConfigURL generates an URL for the list config operation
func (*ListConfigURL) Build ¶
func (o *ListConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListConfigURL) BuildFull ¶
func (o *ListConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListConfigURL) SetBasePath ¶
func (o *ListConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListConfigURL) String ¶
func (o *ListConfigURL) String() string
String returns the string representation of the path with query string
func (*ListConfigURL) StringFull ¶
func (o *ListConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListConfigURL) WithBasePath ¶
func (o *ListConfigURL) WithBasePath(bp string) *ListConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type NotificationEndpointList ¶
type NotificationEndpointList struct { Context *middleware.Context Handler NotificationEndpointListHandler }
NotificationEndpointList swagger:route GET /admin/notification_endpoints Configuration notificationEndpointList
Returns a list of active notification endpoints
func NewNotificationEndpointList ¶
func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEndpointListHandler) *NotificationEndpointList
NewNotificationEndpointList creates a new http.Handler for the notification endpoint list operation
func (*NotificationEndpointList) ServeHTTP ¶
func (o *NotificationEndpointList) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type NotificationEndpointListDefault ¶
type NotificationEndpointListDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
NotificationEndpointListDefault Generic error response.
swagger:response notificationEndpointListDefault
func NewNotificationEndpointListDefault ¶
func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault
NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values
func (*NotificationEndpointListDefault) SetPayload ¶
func (o *NotificationEndpointListDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the notification endpoint list default response
func (*NotificationEndpointListDefault) SetStatusCode ¶
func (o *NotificationEndpointListDefault) SetStatusCode(code int)
SetStatusCode sets the status to the notification endpoint list default response
func (*NotificationEndpointListDefault) WithPayload ¶
func (o *NotificationEndpointListDefault) WithPayload(payload *models.Error) *NotificationEndpointListDefault
WithPayload adds the payload to the notification endpoint list default response
func (*NotificationEndpointListDefault) WithStatusCode ¶
func (o *NotificationEndpointListDefault) WithStatusCode(code int) *NotificationEndpointListDefault
WithStatusCode adds the status to the notification endpoint list default response
func (*NotificationEndpointListDefault) WriteResponse ¶
func (o *NotificationEndpointListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NotificationEndpointListHandler ¶
type NotificationEndpointListHandler interface {
Handle(NotificationEndpointListParams, *models.Principal) middleware.Responder
}
NotificationEndpointListHandler interface for that can handle valid notification endpoint list params
type NotificationEndpointListHandlerFunc ¶
type NotificationEndpointListHandlerFunc func(NotificationEndpointListParams, *models.Principal) middleware.Responder
NotificationEndpointListHandlerFunc turns a function with the right signature into a notification endpoint list handler
func (NotificationEndpointListHandlerFunc) Handle ¶
func (fn NotificationEndpointListHandlerFunc) Handle(params NotificationEndpointListParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type NotificationEndpointListOK ¶
type NotificationEndpointListOK struct { /* In: Body */ Payload *models.NotifEndpointResponse `json:"body,omitempty"` }
NotificationEndpointListOK A successful response.
swagger:response notificationEndpointListOK
func NewNotificationEndpointListOK ¶
func NewNotificationEndpointListOK() *NotificationEndpointListOK
NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values
func (*NotificationEndpointListOK) SetPayload ¶
func (o *NotificationEndpointListOK) SetPayload(payload *models.NotifEndpointResponse)
SetPayload sets the payload to the notification endpoint list o k response
func (*NotificationEndpointListOK) WithPayload ¶
func (o *NotificationEndpointListOK) WithPayload(payload *models.NotifEndpointResponse) *NotificationEndpointListOK
WithPayload adds the payload to the notification endpoint list o k response
func (*NotificationEndpointListOK) WriteResponse ¶
func (o *NotificationEndpointListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type NotificationEndpointListParams ¶
type NotificationEndpointListParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
NotificationEndpointListParams contains all the bound params for the notification endpoint list operation typically these are obtained from a http.Request
swagger:parameters NotificationEndpointList
func NewNotificationEndpointListParams ¶
func NewNotificationEndpointListParams() NotificationEndpointListParams
NewNotificationEndpointListParams creates a new NotificationEndpointListParams object
There are no default values defined in the spec.
func (*NotificationEndpointListParams) BindRequest ¶
func (o *NotificationEndpointListParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewNotificationEndpointListParams() beforehand.
type NotificationEndpointListURL ¶
type NotificationEndpointListURL struct {
// contains filtered or unexported fields
}
NotificationEndpointListURL generates an URL for the notification endpoint list operation
func (*NotificationEndpointListURL) Build ¶
func (o *NotificationEndpointListURL) Build() (*url.URL, error)
Build a url path and query string
func (*NotificationEndpointListURL) BuildFull ¶
func (o *NotificationEndpointListURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*NotificationEndpointListURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*NotificationEndpointListURL) SetBasePath ¶
func (o *NotificationEndpointListURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*NotificationEndpointListURL) String ¶
func (o *NotificationEndpointListURL) String() string
String returns the string representation of the path with query string
func (*NotificationEndpointListURL) StringFull ¶
func (o *NotificationEndpointListURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*NotificationEndpointListURL) WithBasePath ¶
func (o *NotificationEndpointListURL) WithBasePath(bp string) *NotificationEndpointListURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type ResetConfig ¶
type ResetConfig struct { Context *middleware.Context Handler ResetConfigHandler }
ResetConfig swagger:route POST /configs/{name}/reset Configuration resetConfig
Configuration reset
func NewResetConfig ¶
func NewResetConfig(ctx *middleware.Context, handler ResetConfigHandler) *ResetConfig
NewResetConfig creates a new http.Handler for the reset config operation
func (*ResetConfig) ServeHTTP ¶
func (o *ResetConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ResetConfigDefault ¶
type ResetConfigDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
ResetConfigDefault Generic error response.
swagger:response resetConfigDefault
func NewResetConfigDefault ¶
func NewResetConfigDefault(code int) *ResetConfigDefault
NewResetConfigDefault creates ResetConfigDefault with default headers values
func (*ResetConfigDefault) SetPayload ¶
func (o *ResetConfigDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the reset config default response
func (*ResetConfigDefault) SetStatusCode ¶
func (o *ResetConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the reset config default response
func (*ResetConfigDefault) WithPayload ¶
func (o *ResetConfigDefault) WithPayload(payload *models.Error) *ResetConfigDefault
WithPayload adds the payload to the reset config default response
func (*ResetConfigDefault) WithStatusCode ¶
func (o *ResetConfigDefault) WithStatusCode(code int) *ResetConfigDefault
WithStatusCode adds the status to the reset config default response
func (*ResetConfigDefault) WriteResponse ¶
func (o *ResetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetConfigHandler ¶
type ResetConfigHandler interface {
Handle(ResetConfigParams, *models.Principal) middleware.Responder
}
ResetConfigHandler interface for that can handle valid reset config params
type ResetConfigHandlerFunc ¶
type ResetConfigHandlerFunc func(ResetConfigParams, *models.Principal) middleware.Responder
ResetConfigHandlerFunc turns a function with the right signature into a reset config handler
func (ResetConfigHandlerFunc) Handle ¶
func (fn ResetConfigHandlerFunc) Handle(params ResetConfigParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type ResetConfigOK ¶
type ResetConfigOK struct { /* In: Body */ Payload *models.SetConfigResponse `json:"body,omitempty"` }
ResetConfigOK A successful response.
swagger:response resetConfigOK
func NewResetConfigOK ¶
func NewResetConfigOK() *ResetConfigOK
NewResetConfigOK creates ResetConfigOK with default headers values
func (*ResetConfigOK) SetPayload ¶
func (o *ResetConfigOK) SetPayload(payload *models.SetConfigResponse)
SetPayload sets the payload to the reset config o k response
func (*ResetConfigOK) WithPayload ¶
func (o *ResetConfigOK) WithPayload(payload *models.SetConfigResponse) *ResetConfigOK
WithPayload adds the payload to the reset config o k response
func (*ResetConfigOK) WriteResponse ¶
func (o *ResetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ResetConfigParams ¶
type ResetConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: path */ Name string }
ResetConfigParams contains all the bound params for the reset config operation typically these are obtained from a http.Request
swagger:parameters ResetConfig
func NewResetConfigParams ¶
func NewResetConfigParams() ResetConfigParams
NewResetConfigParams creates a new ResetConfigParams object
There are no default values defined in the spec.
func (*ResetConfigParams) BindRequest ¶
func (o *ResetConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewResetConfigParams() beforehand.
type ResetConfigURL ¶
type ResetConfigURL struct { Name string // contains filtered or unexported fields }
ResetConfigURL generates an URL for the reset config operation
func (*ResetConfigURL) Build ¶
func (o *ResetConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*ResetConfigURL) BuildFull ¶
func (o *ResetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ResetConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ResetConfigURL) SetBasePath ¶
func (o *ResetConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ResetConfigURL) String ¶
func (o *ResetConfigURL) String() string
String returns the string representation of the path with query string
func (*ResetConfigURL) StringFull ¶
func (o *ResetConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ResetConfigURL) WithBasePath ¶
func (o *ResetConfigURL) WithBasePath(bp string) *ResetConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
type SetConfig ¶
type SetConfig struct { Context *middleware.Context Handler SetConfigHandler }
SetConfig swagger:route PUT /configs/{name} Configuration setConfig
Set Configuration
func NewSetConfig ¶
func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig
NewSetConfig creates a new http.Handler for the set config operation
type SetConfigDefault ¶
type SetConfigDefault struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` // contains filtered or unexported fields }
SetConfigDefault Generic error response.
swagger:response setConfigDefault
func NewSetConfigDefault ¶
func NewSetConfigDefault(code int) *SetConfigDefault
NewSetConfigDefault creates SetConfigDefault with default headers values
func (*SetConfigDefault) SetPayload ¶
func (o *SetConfigDefault) SetPayload(payload *models.Error)
SetPayload sets the payload to the set config default response
func (*SetConfigDefault) SetStatusCode ¶
func (o *SetConfigDefault) SetStatusCode(code int)
SetStatusCode sets the status to the set config default response
func (*SetConfigDefault) WithPayload ¶
func (o *SetConfigDefault) WithPayload(payload *models.Error) *SetConfigDefault
WithPayload adds the payload to the set config default response
func (*SetConfigDefault) WithStatusCode ¶
func (o *SetConfigDefault) WithStatusCode(code int) *SetConfigDefault
WithStatusCode adds the status to the set config default response
func (*SetConfigDefault) WriteResponse ¶
func (o *SetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetConfigHandler ¶
type SetConfigHandler interface {
Handle(SetConfigParams, *models.Principal) middleware.Responder
}
SetConfigHandler interface for that can handle valid set config params
type SetConfigHandlerFunc ¶
type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder
SetConfigHandlerFunc turns a function with the right signature into a set config handler
func (SetConfigHandlerFunc) Handle ¶
func (fn SetConfigHandlerFunc) Handle(params SetConfigParams, principal *models.Principal) middleware.Responder
Handle executing the request and returning a response
type SetConfigOK ¶
type SetConfigOK struct { /* In: Body */ Payload *models.SetConfigResponse `json:"body,omitempty"` }
SetConfigOK A successful response.
swagger:response setConfigOK
func NewSetConfigOK ¶
func NewSetConfigOK() *SetConfigOK
NewSetConfigOK creates SetConfigOK with default headers values
func (*SetConfigOK) SetPayload ¶
func (o *SetConfigOK) SetPayload(payload *models.SetConfigResponse)
SetPayload sets the payload to the set config o k response
func (*SetConfigOK) WithPayload ¶
func (o *SetConfigOK) WithPayload(payload *models.SetConfigResponse) *SetConfigOK
WithPayload adds the payload to the set config o k response
func (*SetConfigOK) WriteResponse ¶
func (o *SetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type SetConfigParams ¶
type SetConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* Required: true In: body */ Body *models.SetConfigRequest /* Required: true In: path */ Name string }
SetConfigParams contains all the bound params for the set config operation typically these are obtained from a http.Request
swagger:parameters SetConfig
func NewSetConfigParams ¶
func NewSetConfigParams() SetConfigParams
NewSetConfigParams creates a new SetConfigParams object
There are no default values defined in the spec.
func (*SetConfigParams) BindRequest ¶
func (o *SetConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewSetConfigParams() beforehand.
type SetConfigURL ¶
type SetConfigURL struct { Name string // contains filtered or unexported fields }
SetConfigURL generates an URL for the set config operation
func (*SetConfigURL) Build ¶
func (o *SetConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*SetConfigURL) BuildFull ¶
func (o *SetConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*SetConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*SetConfigURL) SetBasePath ¶
func (o *SetConfigURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*SetConfigURL) String ¶
func (o *SetConfigURL) String() string
String returns the string representation of the path with query string
func (*SetConfigURL) StringFull ¶
func (o *SetConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*SetConfigURL) WithBasePath ¶
func (o *SetConfigURL) WithBasePath(bp string) *SetConfigURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
Source Files ¶
- add_notification_endpoint.go
- add_notification_endpoint_parameters.go
- add_notification_endpoint_responses.go
- add_notification_endpoint_urlbuilder.go
- config_info.go
- config_info_parameters.go
- config_info_responses.go
- config_info_urlbuilder.go
- list_config.go
- list_config_parameters.go
- list_config_responses.go
- list_config_urlbuilder.go
- notification_endpoint_list.go
- notification_endpoint_list_parameters.go
- notification_endpoint_list_responses.go
- notification_endpoint_list_urlbuilder.go
- reset_config.go
- reset_config_parameters.go
- reset_config_responses.go
- reset_config_urlbuilder.go
- set_config.go
- set_config_parameters.go
- set_config_responses.go
- set_config_urlbuilder.go