Documentation ¶
Index ¶
- Constants
- type CreateConfig
- type CreateConfigBadRequest
- type CreateConfigCreated
- type CreateConfigHandler
- type CreateConfigHandlerFunc
- type CreateConfigParams
- type CreateConfigType
- type CreateConfigTypeBadRequest
- func (o *CreateConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTypeBadRequest
- func (o *CreateConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateConfigTypeCreated
- type CreateConfigTypeHandler
- type CreateConfigTypeHandlerFunc
- type CreateConfigTypeParams
- type CreateConfigTypeURL
- func (o *CreateConfigTypeURL) Build() (*url.URL, error)
- func (o *CreateConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateConfigTypeURL) SetBasePath(bp string)
- func (o *CreateConfigTypeURL) String() string
- func (o *CreateConfigTypeURL) StringFull(scheme, host string) string
- func (o *CreateConfigTypeURL) WithBasePath(bp string) *CreateConfigTypeURL
- type CreateConfigTypeUnauthorized
- func (o *CreateConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *CreateConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTypeUnauthorized
- func (o *CreateConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateConfigURL
- func (o *CreateConfigURL) Build() (*url.URL, error)
- func (o *CreateConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateConfigURL) SetBasePath(bp string)
- func (o *CreateConfigURL) String() string
- func (o *CreateConfigURL) StringFull(scheme, host string) string
- func (o *CreateConfigURL) WithBasePath(bp string) *CreateConfigURL
- type CreateConfigUnauthorized
- type DeleteConfig
- type DeleteConfigBadRequest
- type DeleteConfigConflict
- type DeleteConfigHandler
- type DeleteConfigHandlerFunc
- type DeleteConfigOK
- type DeleteConfigParams
- type DeleteConfigType
- type DeleteConfigTypeBadRequest
- func (o *DeleteConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeBadRequest
- func (o *DeleteConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteConfigTypeConflict
- type DeleteConfigTypeHandler
- type DeleteConfigTypeHandlerFunc
- type DeleteConfigTypeOK
- type DeleteConfigTypeParams
- type DeleteConfigTypeURL
- func (o *DeleteConfigTypeURL) Build() (*url.URL, error)
- func (o *DeleteConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteConfigTypeURL) SetBasePath(bp string)
- func (o *DeleteConfigTypeURL) String() string
- func (o *DeleteConfigTypeURL) StringFull(scheme, host string) string
- func (o *DeleteConfigTypeURL) WithBasePath(bp string) *DeleteConfigTypeURL
- type DeleteConfigTypeUnauthorized
- func (o *DeleteConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DeleteConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeUnauthorized
- func (o *DeleteConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DeleteConfigURL
- func (o *DeleteConfigURL) Build() (*url.URL, error)
- func (o *DeleteConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteConfigURL) SetBasePath(bp string)
- func (o *DeleteConfigURL) String() string
- func (o *DeleteConfigURL) StringFull(scheme, host string) string
- func (o *DeleteConfigURL) WithBasePath(bp string) *DeleteConfigURL
- type DeleteConfigUnauthorized
- type DetailConfig
- type DetailConfigHandler
- type DetailConfigHandlerFunc
- type DetailConfigNotFound
- type DetailConfigOK
- type DetailConfigParams
- type DetailConfigType
- type DetailConfigTypeHandler
- type DetailConfigTypeHandlerFunc
- type DetailConfigTypeNotFound
- type DetailConfigTypeOK
- type DetailConfigTypeParams
- type DetailConfigTypeURL
- func (o *DetailConfigTypeURL) Build() (*url.URL, error)
- func (o *DetailConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailConfigTypeURL) SetBasePath(bp string)
- func (o *DetailConfigTypeURL) String() string
- func (o *DetailConfigTypeURL) StringFull(scheme, host string) string
- func (o *DetailConfigTypeURL) WithBasePath(bp string) *DetailConfigTypeURL
- type DetailConfigTypeUnauthorized
- func (o *DetailConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *DetailConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigTypeUnauthorized
- func (o *DetailConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DetailConfigURL
- func (o *DetailConfigURL) Build() (*url.URL, error)
- func (o *DetailConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DetailConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *DetailConfigURL) SetBasePath(bp string)
- func (o *DetailConfigURL) String() string
- func (o *DetailConfigURL) StringFull(scheme, host string) string
- func (o *DetailConfigURL) WithBasePath(bp string) *DetailConfigURL
- type DetailConfigUnauthorized
- type ListConfigTypes
- type ListConfigTypesBadRequest
- type ListConfigTypesHandler
- type ListConfigTypesHandlerFunc
- type ListConfigTypesOK
- type ListConfigTypesParams
- type ListConfigTypesURL
- func (o *ListConfigTypesURL) Build() (*url.URL, error)
- func (o *ListConfigTypesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListConfigTypesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListConfigTypesURL) SetBasePath(bp string)
- func (o *ListConfigTypesURL) String() string
- func (o *ListConfigTypesURL) StringFull(scheme, host string) string
- func (o *ListConfigTypesURL) WithBasePath(bp string) *ListConfigTypesURL
- type ListConfigTypesUnauthorized
- func (o *ListConfigTypesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *ListConfigTypesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigTypesUnauthorized
- func (o *ListConfigTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListConfigs
- type ListConfigsBadRequest
- type ListConfigsForConfigType
- type ListConfigsForConfigTypeHandler
- type ListConfigsForConfigTypeHandlerFunc
- type ListConfigsForConfigTypeOK
- func (o *ListConfigsForConfigTypeOK) SetPayload(payload *rest_model.ListConfigsEnvelope)
- func (o *ListConfigsForConfigTypeOK) WithPayload(payload *rest_model.ListConfigsEnvelope) *ListConfigsForConfigTypeOK
- func (o *ListConfigsForConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListConfigsForConfigTypeParams
- type ListConfigsForConfigTypeURL
- func (o *ListConfigsForConfigTypeURL) Build() (*url.URL, error)
- func (o *ListConfigsForConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListConfigsForConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *ListConfigsForConfigTypeURL) SetBasePath(bp string)
- func (o *ListConfigsForConfigTypeURL) String() string
- func (o *ListConfigsForConfigTypeURL) StringFull(scheme, host string) string
- func (o *ListConfigsForConfigTypeURL) WithBasePath(bp string) *ListConfigsForConfigTypeURL
- type ListConfigsHandler
- type ListConfigsHandlerFunc
- type ListConfigsOK
- type ListConfigsParams
- type ListConfigsURL
- func (o *ListConfigsURL) Build() (*url.URL, error)
- func (o *ListConfigsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListConfigsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListConfigsURL) SetBasePath(bp string)
- func (o *ListConfigsURL) String() string
- func (o *ListConfigsURL) StringFull(scheme, host string) string
- func (o *ListConfigsURL) WithBasePath(bp string) *ListConfigsURL
- type ListConfigsUnauthorized
- type PatchConfig
- type PatchConfigBadRequest
- type PatchConfigHandler
- type PatchConfigHandlerFunc
- type PatchConfigNotFound
- type PatchConfigOK
- type PatchConfigParams
- type PatchConfigType
- type PatchConfigTypeBadRequest
- type PatchConfigTypeHandler
- type PatchConfigTypeHandlerFunc
- type PatchConfigTypeNotFound
- type PatchConfigTypeOK
- type PatchConfigTypeParams
- type PatchConfigTypeURL
- func (o *PatchConfigTypeURL) Build() (*url.URL, error)
- func (o *PatchConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchConfigTypeURL) SetBasePath(bp string)
- func (o *PatchConfigTypeURL) String() string
- func (o *PatchConfigTypeURL) StringFull(scheme, host string) string
- func (o *PatchConfigTypeURL) WithBasePath(bp string) *PatchConfigTypeURL
- type PatchConfigTypeUnauthorized
- func (o *PatchConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *PatchConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTypeUnauthorized
- func (o *PatchConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type PatchConfigURL
- func (o *PatchConfigURL) Build() (*url.URL, error)
- func (o *PatchConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *PatchConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *PatchConfigURL) SetBasePath(bp string)
- func (o *PatchConfigURL) String() string
- func (o *PatchConfigURL) StringFull(scheme, host string) string
- func (o *PatchConfigURL) WithBasePath(bp string) *PatchConfigURL
- type PatchConfigUnauthorized
- type UpdateConfig
- type UpdateConfigBadRequest
- type UpdateConfigHandler
- type UpdateConfigHandlerFunc
- type UpdateConfigNotFound
- type UpdateConfigOK
- type UpdateConfigParams
- type UpdateConfigType
- type UpdateConfigTypeBadRequest
- func (o *UpdateConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeBadRequest
- func (o *UpdateConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateConfigTypeHandler
- type UpdateConfigTypeHandlerFunc
- type UpdateConfigTypeNotFound
- type UpdateConfigTypeOK
- type UpdateConfigTypeParams
- type UpdateConfigTypeURL
- func (o *UpdateConfigTypeURL) Build() (*url.URL, error)
- func (o *UpdateConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateConfigTypeURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateConfigTypeURL) SetBasePath(bp string)
- func (o *UpdateConfigTypeURL) String() string
- func (o *UpdateConfigTypeURL) StringFull(scheme, host string) string
- func (o *UpdateConfigTypeURL) WithBasePath(bp string) *UpdateConfigTypeURL
- type UpdateConfigTypeUnauthorized
- func (o *UpdateConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
- func (o *UpdateConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeUnauthorized
- func (o *UpdateConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UpdateConfigURL
- func (o *UpdateConfigURL) Build() (*url.URL, error)
- func (o *UpdateConfigURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UpdateConfigURL) Must(u *url.URL, err error) *url.URL
- func (o *UpdateConfigURL) SetBasePath(bp string)
- func (o *UpdateConfigURL) String() string
- func (o *UpdateConfigURL) StringFull(scheme, host string) string
- func (o *UpdateConfigURL) WithBasePath(bp string) *UpdateConfigURL
- type UpdateConfigUnauthorized
Constants ¶
const CreateConfigBadRequestCode int = 400
CreateConfigBadRequestCode is the HTTP code returned for type CreateConfigBadRequest
const CreateConfigCreatedCode int = 201
CreateConfigCreatedCode is the HTTP code returned for type CreateConfigCreated
const CreateConfigTypeBadRequestCode int = 400
CreateConfigTypeBadRequestCode is the HTTP code returned for type CreateConfigTypeBadRequest
const CreateConfigTypeCreatedCode int = 201
CreateConfigTypeCreatedCode is the HTTP code returned for type CreateConfigTypeCreated
CreateConfigTypeUnauthorizedCode is the HTTP code returned for type CreateConfigTypeUnauthorized
CreateConfigUnauthorizedCode is the HTTP code returned for type CreateConfigUnauthorized
const DeleteConfigBadRequestCode int = 400
DeleteConfigBadRequestCode is the HTTP code returned for type DeleteConfigBadRequest
const DeleteConfigConflictCode int = 409
DeleteConfigConflictCode is the HTTP code returned for type DeleteConfigConflict
const DeleteConfigOKCode int = 200
DeleteConfigOKCode is the HTTP code returned for type DeleteConfigOK
const DeleteConfigTypeBadRequestCode int = 400
DeleteConfigTypeBadRequestCode is the HTTP code returned for type DeleteConfigTypeBadRequest
const DeleteConfigTypeConflictCode int = 409
DeleteConfigTypeConflictCode is the HTTP code returned for type DeleteConfigTypeConflict
const DeleteConfigTypeOKCode int = 200
DeleteConfigTypeOKCode is the HTTP code returned for type DeleteConfigTypeOK
DeleteConfigTypeUnauthorizedCode is the HTTP code returned for type DeleteConfigTypeUnauthorized
DeleteConfigUnauthorizedCode is the HTTP code returned for type DeleteConfigUnauthorized
const DetailConfigNotFoundCode int = 404
DetailConfigNotFoundCode is the HTTP code returned for type DetailConfigNotFound
const DetailConfigOKCode int = 200
DetailConfigOKCode is the HTTP code returned for type DetailConfigOK
const DetailConfigTypeNotFoundCode int = 404
DetailConfigTypeNotFoundCode is the HTTP code returned for type DetailConfigTypeNotFound
const DetailConfigTypeOKCode int = 200
DetailConfigTypeOKCode is the HTTP code returned for type DetailConfigTypeOK
DetailConfigTypeUnauthorizedCode is the HTTP code returned for type DetailConfigTypeUnauthorized
DetailConfigUnauthorizedCode is the HTTP code returned for type DetailConfigUnauthorized
const ListConfigTypesBadRequestCode int = 400
ListConfigTypesBadRequestCode is the HTTP code returned for type ListConfigTypesBadRequest
const ListConfigTypesOKCode int = 200
ListConfigTypesOKCode is the HTTP code returned for type ListConfigTypesOK
ListConfigTypesUnauthorizedCode is the HTTP code returned for type ListConfigTypesUnauthorized
const ListConfigsBadRequestCode int = 400
ListConfigsBadRequestCode is the HTTP code returned for type ListConfigsBadRequest
const ListConfigsForConfigTypeOKCode int = 200
ListConfigsForConfigTypeOKCode is the HTTP code returned for type ListConfigsForConfigTypeOK
const ListConfigsOKCode int = 200
ListConfigsOKCode is the HTTP code returned for type ListConfigsOK
ListConfigsUnauthorizedCode is the HTTP code returned for type ListConfigsUnauthorized
const PatchConfigBadRequestCode int = 400
PatchConfigBadRequestCode is the HTTP code returned for type PatchConfigBadRequest
const PatchConfigNotFoundCode int = 404
PatchConfigNotFoundCode is the HTTP code returned for type PatchConfigNotFound
const PatchConfigOKCode int = 200
PatchConfigOKCode is the HTTP code returned for type PatchConfigOK
const PatchConfigTypeBadRequestCode int = 400
PatchConfigTypeBadRequestCode is the HTTP code returned for type PatchConfigTypeBadRequest
const PatchConfigTypeNotFoundCode int = 404
PatchConfigTypeNotFoundCode is the HTTP code returned for type PatchConfigTypeNotFound
const PatchConfigTypeOKCode int = 200
PatchConfigTypeOKCode is the HTTP code returned for type PatchConfigTypeOK
PatchConfigTypeUnauthorizedCode is the HTTP code returned for type PatchConfigTypeUnauthorized
PatchConfigUnauthorizedCode is the HTTP code returned for type PatchConfigUnauthorized
const UpdateConfigBadRequestCode int = 400
UpdateConfigBadRequestCode is the HTTP code returned for type UpdateConfigBadRequest
const UpdateConfigNotFoundCode int = 404
UpdateConfigNotFoundCode is the HTTP code returned for type UpdateConfigNotFound
const UpdateConfigOKCode int = 200
UpdateConfigOKCode is the HTTP code returned for type UpdateConfigOK
const UpdateConfigTypeBadRequestCode int = 400
UpdateConfigTypeBadRequestCode is the HTTP code returned for type UpdateConfigTypeBadRequest
const UpdateConfigTypeNotFoundCode int = 404
UpdateConfigTypeNotFoundCode is the HTTP code returned for type UpdateConfigTypeNotFound
const UpdateConfigTypeOKCode int = 200
UpdateConfigTypeOKCode is the HTTP code returned for type UpdateConfigTypeOK
UpdateConfigTypeUnauthorizedCode is the HTTP code returned for type UpdateConfigTypeUnauthorized
UpdateConfigUnauthorizedCode is the HTTP code returned for type UpdateConfigUnauthorized
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateConfig ¶
type CreateConfig struct { Context *middleware.Context Handler CreateConfigHandler }
CreateConfig swagger:route POST /configs Config createConfig
Create a config resource ¶
Create a config resource. Requires admin access.
func NewCreateConfig ¶
func NewCreateConfig(ctx *middleware.Context, handler CreateConfigHandler) *CreateConfig
NewCreateConfig creates a new http.Handler for the create config operation
func (*CreateConfig) ServeHTTP ¶
func (o *CreateConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateConfigBadRequest ¶
type CreateConfigBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateConfigBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createConfigBadRequest
func NewCreateConfigBadRequest ¶
func NewCreateConfigBadRequest() *CreateConfigBadRequest
NewCreateConfigBadRequest creates CreateConfigBadRequest with default headers values
func (*CreateConfigBadRequest) SetPayload ¶
func (o *CreateConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create config bad request response
func (*CreateConfigBadRequest) WithPayload ¶
func (o *CreateConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigBadRequest
WithPayload adds the payload to the create config bad request response
func (*CreateConfigBadRequest) WriteResponse ¶
func (o *CreateConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateConfigCreated ¶
type CreateConfigCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateConfigCreated The create request was successful and the resource has been added at the following location
swagger:response createConfigCreated
func NewCreateConfigCreated ¶
func NewCreateConfigCreated() *CreateConfigCreated
NewCreateConfigCreated creates CreateConfigCreated with default headers values
func (*CreateConfigCreated) SetPayload ¶
func (o *CreateConfigCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create config created response
func (*CreateConfigCreated) WithPayload ¶
func (o *CreateConfigCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateConfigCreated
WithPayload adds the payload to the create config created response
func (*CreateConfigCreated) WriteResponse ¶
func (o *CreateConfigCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateConfigHandler ¶
type CreateConfigHandler interface {
Handle(CreateConfigParams, interface{}) middleware.Responder
}
CreateConfigHandler interface for that can handle valid create config params
type CreateConfigHandlerFunc ¶
type CreateConfigHandlerFunc func(CreateConfigParams, interface{}) middleware.Responder
CreateConfigHandlerFunc turns a function with the right signature into a create config handler
func (CreateConfigHandlerFunc) Handle ¶
func (fn CreateConfigHandlerFunc) Handle(params CreateConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateConfigParams ¶
type CreateConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config to create Required: true In: body */ Config *rest_model.ConfigCreate }
CreateConfigParams contains all the bound params for the create config operation typically these are obtained from a http.Request
swagger:parameters createConfig
func NewCreateConfigParams ¶
func NewCreateConfigParams() CreateConfigParams
NewCreateConfigParams creates a new CreateConfigParams object
There are no default values defined in the spec.
func (*CreateConfigParams) BindRequest ¶
func (o *CreateConfigParams) 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 NewCreateConfigParams() beforehand.
type CreateConfigType ¶
type CreateConfigType struct { Context *middleware.Context Handler CreateConfigTypeHandler }
CreateConfigType swagger:route POST /config-types Config createConfigType
Create a config-type. Requires admin access.
func NewCreateConfigType ¶
func NewCreateConfigType(ctx *middleware.Context, handler CreateConfigTypeHandler) *CreateConfigType
NewCreateConfigType creates a new http.Handler for the create config type operation
func (*CreateConfigType) ServeHTTP ¶
func (o *CreateConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateConfigTypeBadRequest ¶
type CreateConfigTypeBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
CreateConfigTypeBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response createConfigTypeBadRequest
func NewCreateConfigTypeBadRequest ¶
func NewCreateConfigTypeBadRequest() *CreateConfigTypeBadRequest
NewCreateConfigTypeBadRequest creates CreateConfigTypeBadRequest with default headers values
func (*CreateConfigTypeBadRequest) SetPayload ¶
func (o *CreateConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create config type bad request response
func (*CreateConfigTypeBadRequest) WithPayload ¶
func (o *CreateConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTypeBadRequest
WithPayload adds the payload to the create config type bad request response
func (*CreateConfigTypeBadRequest) WriteResponse ¶
func (o *CreateConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateConfigTypeCreated ¶
type CreateConfigTypeCreated struct { /* In: Body */ Payload *rest_model.CreateEnvelope `json:"body,omitempty"` }
CreateConfigTypeCreated The create request was successful and the resource has been added at the following location
swagger:response createConfigTypeCreated
func NewCreateConfigTypeCreated ¶
func NewCreateConfigTypeCreated() *CreateConfigTypeCreated
NewCreateConfigTypeCreated creates CreateConfigTypeCreated with default headers values
func (*CreateConfigTypeCreated) SetPayload ¶
func (o *CreateConfigTypeCreated) SetPayload(payload *rest_model.CreateEnvelope)
SetPayload sets the payload to the create config type created response
func (*CreateConfigTypeCreated) WithPayload ¶
func (o *CreateConfigTypeCreated) WithPayload(payload *rest_model.CreateEnvelope) *CreateConfigTypeCreated
WithPayload adds the payload to the create config type created response
func (*CreateConfigTypeCreated) WriteResponse ¶
func (o *CreateConfigTypeCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateConfigTypeHandler ¶
type CreateConfigTypeHandler interface {
Handle(CreateConfigTypeParams, interface{}) middleware.Responder
}
CreateConfigTypeHandler interface for that can handle valid create config type params
type CreateConfigTypeHandlerFunc ¶
type CreateConfigTypeHandlerFunc func(CreateConfigTypeParams, interface{}) middleware.Responder
CreateConfigTypeHandlerFunc turns a function with the right signature into a create config type handler
func (CreateConfigTypeHandlerFunc) Handle ¶
func (fn CreateConfigTypeHandlerFunc) Handle(params CreateConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type CreateConfigTypeParams ¶
type CreateConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config-type to create Required: true In: body */ ConfigType *rest_model.ConfigTypeCreate }
CreateConfigTypeParams contains all the bound params for the create config type operation typically these are obtained from a http.Request
swagger:parameters createConfigType
func NewCreateConfigTypeParams ¶
func NewCreateConfigTypeParams() CreateConfigTypeParams
NewCreateConfigTypeParams creates a new CreateConfigTypeParams object
There are no default values defined in the spec.
func (*CreateConfigTypeParams) BindRequest ¶
func (o *CreateConfigTypeParams) 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 NewCreateConfigTypeParams() beforehand.
type CreateConfigTypeURL ¶
type CreateConfigTypeURL struct {
// contains filtered or unexported fields
}
CreateConfigTypeURL generates an URL for the create config type operation
func (*CreateConfigTypeURL) Build ¶
func (o *CreateConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateConfigTypeURL) BuildFull ¶
func (o *CreateConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateConfigTypeURL) SetBasePath ¶
func (o *CreateConfigTypeURL) 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 (*CreateConfigTypeURL) String ¶
func (o *CreateConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*CreateConfigTypeURL) StringFull ¶
func (o *CreateConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateConfigTypeURL) WithBasePath ¶
func (o *CreateConfigTypeURL) WithBasePath(bp string) *CreateConfigTypeURL
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 CreateConfigTypeUnauthorized ¶
type CreateConfigTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateConfigTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createConfigTypeUnauthorized
func NewCreateConfigTypeUnauthorized ¶
func NewCreateConfigTypeUnauthorized() *CreateConfigTypeUnauthorized
NewCreateConfigTypeUnauthorized creates CreateConfigTypeUnauthorized with default headers values
func (*CreateConfigTypeUnauthorized) SetPayload ¶
func (o *CreateConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create config type unauthorized response
func (*CreateConfigTypeUnauthorized) WithPayload ¶
func (o *CreateConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigTypeUnauthorized
WithPayload adds the payload to the create config type unauthorized response
func (*CreateConfigTypeUnauthorized) WriteResponse ¶
func (o *CreateConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateConfigURL ¶
type CreateConfigURL struct {
// contains filtered or unexported fields
}
CreateConfigURL generates an URL for the create config operation
func (*CreateConfigURL) Build ¶
func (o *CreateConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateConfigURL) BuildFull ¶
func (o *CreateConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateConfigURL) SetBasePath ¶
func (o *CreateConfigURL) 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 (*CreateConfigURL) String ¶
func (o *CreateConfigURL) String() string
String returns the string representation of the path with query string
func (*CreateConfigURL) StringFull ¶
func (o *CreateConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateConfigURL) WithBasePath ¶
func (o *CreateConfigURL) WithBasePath(bp string) *CreateConfigURL
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 CreateConfigUnauthorized ¶
type CreateConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
CreateConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response createConfigUnauthorized
func NewCreateConfigUnauthorized ¶
func NewCreateConfigUnauthorized() *CreateConfigUnauthorized
NewCreateConfigUnauthorized creates CreateConfigUnauthorized with default headers values
func (*CreateConfigUnauthorized) SetPayload ¶
func (o *CreateConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the create config unauthorized response
func (*CreateConfigUnauthorized) WithPayload ¶
func (o *CreateConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *CreateConfigUnauthorized
WithPayload adds the payload to the create config unauthorized response
func (*CreateConfigUnauthorized) WriteResponse ¶
func (o *CreateConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfig ¶
type DeleteConfig struct { Context *middleware.Context Handler DeleteConfigHandler }
DeleteConfig swagger:route DELETE /configs/{id} Config deleteConfig
Delete a config ¶
Delete a config by id. Requires admin access.
func NewDeleteConfig ¶
func NewDeleteConfig(ctx *middleware.Context, handler DeleteConfigHandler) *DeleteConfig
NewDeleteConfig creates a new http.Handler for the delete config operation
func (*DeleteConfig) ServeHTTP ¶
func (o *DeleteConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteConfigBadRequest ¶
type DeleteConfigBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteConfigBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteConfigBadRequest
func NewDeleteConfigBadRequest ¶
func NewDeleteConfigBadRequest() *DeleteConfigBadRequest
NewDeleteConfigBadRequest creates DeleteConfigBadRequest with default headers values
func (*DeleteConfigBadRequest) SetPayload ¶
func (o *DeleteConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config bad request response
func (*DeleteConfigBadRequest) WithPayload ¶
func (o *DeleteConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigBadRequest
WithPayload adds the payload to the delete config bad request response
func (*DeleteConfigBadRequest) WriteResponse ¶
func (o *DeleteConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigConflict ¶
type DeleteConfigConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteConfigConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteConfigConflict
func NewDeleteConfigConflict ¶
func NewDeleteConfigConflict() *DeleteConfigConflict
NewDeleteConfigConflict creates DeleteConfigConflict with default headers values
func (*DeleteConfigConflict) SetPayload ¶
func (o *DeleteConfigConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config conflict response
func (*DeleteConfigConflict) WithPayload ¶
func (o *DeleteConfigConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigConflict
WithPayload adds the payload to the delete config conflict response
func (*DeleteConfigConflict) WriteResponse ¶
func (o *DeleteConfigConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigHandler ¶
type DeleteConfigHandler interface {
Handle(DeleteConfigParams, interface{}) middleware.Responder
}
DeleteConfigHandler interface for that can handle valid delete config params
type DeleteConfigHandlerFunc ¶
type DeleteConfigHandlerFunc func(DeleteConfigParams, interface{}) middleware.Responder
DeleteConfigHandlerFunc turns a function with the right signature into a delete config handler
func (DeleteConfigHandlerFunc) Handle ¶
func (fn DeleteConfigHandlerFunc) Handle(params DeleteConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteConfigOK ¶
type DeleteConfigOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteConfigOK The delete request was successful and the resource has been removed
swagger:response deleteConfigOK
func NewDeleteConfigOK ¶
func NewDeleteConfigOK() *DeleteConfigOK
NewDeleteConfigOK creates DeleteConfigOK with default headers values
func (*DeleteConfigOK) SetPayload ¶
func (o *DeleteConfigOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete config o k response
func (*DeleteConfigOK) WithPayload ¶
func (o *DeleteConfigOK) WithPayload(payload *rest_model.Empty) *DeleteConfigOK
WithPayload adds the payload to the delete config o k response
func (*DeleteConfigOK) WriteResponse ¶
func (o *DeleteConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigParams ¶
type DeleteConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteConfigParams contains all the bound params for the delete config operation typically these are obtained from a http.Request
swagger:parameters deleteConfig
func NewDeleteConfigParams ¶
func NewDeleteConfigParams() DeleteConfigParams
NewDeleteConfigParams creates a new DeleteConfigParams object
There are no default values defined in the spec.
func (*DeleteConfigParams) BindRequest ¶
func (o *DeleteConfigParams) 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 NewDeleteConfigParams() beforehand.
type DeleteConfigType ¶
type DeleteConfigType struct { Context *middleware.Context Handler DeleteConfigTypeHandler }
DeleteConfigType swagger:route DELETE /config-types/{id} Config deleteConfigType
Delete a config-type ¶
Delete a config-type by id. Removing a configuration type that are in use will result in a 409 conflict HTTP status code and error. All configurations of a type must be removed first.
func NewDeleteConfigType ¶
func NewDeleteConfigType(ctx *middleware.Context, handler DeleteConfigTypeHandler) *DeleteConfigType
NewDeleteConfigType creates a new http.Handler for the delete config type operation
func (*DeleteConfigType) ServeHTTP ¶
func (o *DeleteConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteConfigTypeBadRequest ¶
type DeleteConfigTypeBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteConfigTypeBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response deleteConfigTypeBadRequest
func NewDeleteConfigTypeBadRequest ¶
func NewDeleteConfigTypeBadRequest() *DeleteConfigTypeBadRequest
NewDeleteConfigTypeBadRequest creates DeleteConfigTypeBadRequest with default headers values
func (*DeleteConfigTypeBadRequest) SetPayload ¶
func (o *DeleteConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config type bad request response
func (*DeleteConfigTypeBadRequest) WithPayload ¶
func (o *DeleteConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeBadRequest
WithPayload adds the payload to the delete config type bad request response
func (*DeleteConfigTypeBadRequest) WriteResponse ¶
func (o *DeleteConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigTypeConflict ¶
type DeleteConfigTypeConflict struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DeleteConfigTypeConflict The resource requested to be removed/altered cannot be as it is referenced by another object.
swagger:response deleteConfigTypeConflict
func NewDeleteConfigTypeConflict ¶
func NewDeleteConfigTypeConflict() *DeleteConfigTypeConflict
NewDeleteConfigTypeConflict creates DeleteConfigTypeConflict with default headers values
func (*DeleteConfigTypeConflict) SetPayload ¶
func (o *DeleteConfigTypeConflict) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config type conflict response
func (*DeleteConfigTypeConflict) WithPayload ¶
func (o *DeleteConfigTypeConflict) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeConflict
WithPayload adds the payload to the delete config type conflict response
func (*DeleteConfigTypeConflict) WriteResponse ¶
func (o *DeleteConfigTypeConflict) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigTypeHandler ¶
type DeleteConfigTypeHandler interface {
Handle(DeleteConfigTypeParams, interface{}) middleware.Responder
}
DeleteConfigTypeHandler interface for that can handle valid delete config type params
type DeleteConfigTypeHandlerFunc ¶
type DeleteConfigTypeHandlerFunc func(DeleteConfigTypeParams, interface{}) middleware.Responder
DeleteConfigTypeHandlerFunc turns a function with the right signature into a delete config type handler
func (DeleteConfigTypeHandlerFunc) Handle ¶
func (fn DeleteConfigTypeHandlerFunc) Handle(params DeleteConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DeleteConfigTypeOK ¶
type DeleteConfigTypeOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
DeleteConfigTypeOK The delete request was successful and the resource has been removed
swagger:response deleteConfigTypeOK
func NewDeleteConfigTypeOK ¶
func NewDeleteConfigTypeOK() *DeleteConfigTypeOK
NewDeleteConfigTypeOK creates DeleteConfigTypeOK with default headers values
func (*DeleteConfigTypeOK) SetPayload ¶
func (o *DeleteConfigTypeOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the delete config type o k response
func (*DeleteConfigTypeOK) WithPayload ¶
func (o *DeleteConfigTypeOK) WithPayload(payload *rest_model.Empty) *DeleteConfigTypeOK
WithPayload adds the payload to the delete config type o k response
func (*DeleteConfigTypeOK) WriteResponse ¶
func (o *DeleteConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigTypeParams ¶
type DeleteConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DeleteConfigTypeParams contains all the bound params for the delete config type operation typically these are obtained from a http.Request
swagger:parameters deleteConfigType
func NewDeleteConfigTypeParams ¶
func NewDeleteConfigTypeParams() DeleteConfigTypeParams
NewDeleteConfigTypeParams creates a new DeleteConfigTypeParams object
There are no default values defined in the spec.
func (*DeleteConfigTypeParams) BindRequest ¶
func (o *DeleteConfigTypeParams) 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 NewDeleteConfigTypeParams() beforehand.
type DeleteConfigTypeURL ¶
type DeleteConfigTypeURL struct { ID string // contains filtered or unexported fields }
DeleteConfigTypeURL generates an URL for the delete config type operation
func (*DeleteConfigTypeURL) Build ¶
func (o *DeleteConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteConfigTypeURL) BuildFull ¶
func (o *DeleteConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteConfigTypeURL) SetBasePath ¶
func (o *DeleteConfigTypeURL) 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 (*DeleteConfigTypeURL) String ¶
func (o *DeleteConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*DeleteConfigTypeURL) StringFull ¶
func (o *DeleteConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteConfigTypeURL) WithBasePath ¶
func (o *DeleteConfigTypeURL) WithBasePath(bp string) *DeleteConfigTypeURL
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 DeleteConfigTypeUnauthorized ¶
type DeleteConfigTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteConfigTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteConfigTypeUnauthorized
func NewDeleteConfigTypeUnauthorized ¶
func NewDeleteConfigTypeUnauthorized() *DeleteConfigTypeUnauthorized
NewDeleteConfigTypeUnauthorized creates DeleteConfigTypeUnauthorized with default headers values
func (*DeleteConfigTypeUnauthorized) SetPayload ¶
func (o *DeleteConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config type unauthorized response
func (*DeleteConfigTypeUnauthorized) WithPayload ¶
func (o *DeleteConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigTypeUnauthorized
WithPayload adds the payload to the delete config type unauthorized response
func (*DeleteConfigTypeUnauthorized) WriteResponse ¶
func (o *DeleteConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteConfigURL ¶
type DeleteConfigURL struct { ID string // contains filtered or unexported fields }
DeleteConfigURL generates an URL for the delete config operation
func (*DeleteConfigURL) Build ¶
func (o *DeleteConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteConfigURL) BuildFull ¶
func (o *DeleteConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteConfigURL) SetBasePath ¶
func (o *DeleteConfigURL) 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 (*DeleteConfigURL) String ¶
func (o *DeleteConfigURL) String() string
String returns the string representation of the path with query string
func (*DeleteConfigURL) StringFull ¶
func (o *DeleteConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteConfigURL) WithBasePath ¶
func (o *DeleteConfigURL) WithBasePath(bp string) *DeleteConfigURL
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 DeleteConfigUnauthorized ¶
type DeleteConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DeleteConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response deleteConfigUnauthorized
func NewDeleteConfigUnauthorized ¶
func NewDeleteConfigUnauthorized() *DeleteConfigUnauthorized
NewDeleteConfigUnauthorized creates DeleteConfigUnauthorized with default headers values
func (*DeleteConfigUnauthorized) SetPayload ¶
func (o *DeleteConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the delete config unauthorized response
func (*DeleteConfigUnauthorized) WithPayload ¶
func (o *DeleteConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DeleteConfigUnauthorized
WithPayload adds the payload to the delete config unauthorized response
func (*DeleteConfigUnauthorized) WriteResponse ¶
func (o *DeleteConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfig ¶
type DetailConfig struct { Context *middleware.Context Handler DetailConfigHandler }
DetailConfig swagger:route GET /configs/{id} Config detailConfig
Retrieves a single config ¶
Retrieves a single config by id. Requires admin access.
func NewDetailConfig ¶
func NewDetailConfig(ctx *middleware.Context, handler DetailConfigHandler) *DetailConfig
NewDetailConfig creates a new http.Handler for the detail config operation
func (*DetailConfig) ServeHTTP ¶
func (o *DetailConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailConfigHandler ¶
type DetailConfigHandler interface {
Handle(DetailConfigParams, interface{}) middleware.Responder
}
DetailConfigHandler interface for that can handle valid detail config params
type DetailConfigHandlerFunc ¶
type DetailConfigHandlerFunc func(DetailConfigParams, interface{}) middleware.Responder
DetailConfigHandlerFunc turns a function with the right signature into a detail config handler
func (DetailConfigHandlerFunc) Handle ¶
func (fn DetailConfigHandlerFunc) Handle(params DetailConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailConfigNotFound ¶
type DetailConfigNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailConfigNotFound The requested resource does not exist
swagger:response detailConfigNotFound
func NewDetailConfigNotFound ¶
func NewDetailConfigNotFound() *DetailConfigNotFound
NewDetailConfigNotFound creates DetailConfigNotFound with default headers values
func (*DetailConfigNotFound) SetPayload ¶
func (o *DetailConfigNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail config not found response
func (*DetailConfigNotFound) WithPayload ¶
func (o *DetailConfigNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigNotFound
WithPayload adds the payload to the detail config not found response
func (*DetailConfigNotFound) WriteResponse ¶
func (o *DetailConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfigOK ¶
type DetailConfigOK struct { /* In: Body */ Payload *rest_model.DetailConfigEnvelope `json:"body,omitempty"` }
DetailConfigOK A singular config resource
swagger:response detailConfigOK
func NewDetailConfigOK ¶
func NewDetailConfigOK() *DetailConfigOK
NewDetailConfigOK creates DetailConfigOK with default headers values
func (*DetailConfigOK) SetPayload ¶
func (o *DetailConfigOK) SetPayload(payload *rest_model.DetailConfigEnvelope)
SetPayload sets the payload to the detail config o k response
func (*DetailConfigOK) WithPayload ¶
func (o *DetailConfigOK) WithPayload(payload *rest_model.DetailConfigEnvelope) *DetailConfigOK
WithPayload adds the payload to the detail config o k response
func (*DetailConfigOK) WriteResponse ¶
func (o *DetailConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfigParams ¶
type DetailConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailConfigParams contains all the bound params for the detail config operation typically these are obtained from a http.Request
swagger:parameters detailConfig
func NewDetailConfigParams ¶
func NewDetailConfigParams() DetailConfigParams
NewDetailConfigParams creates a new DetailConfigParams object
There are no default values defined in the spec.
func (*DetailConfigParams) BindRequest ¶
func (o *DetailConfigParams) 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 NewDetailConfigParams() beforehand.
type DetailConfigType ¶
type DetailConfigType struct { Context *middleware.Context Handler DetailConfigTypeHandler }
DetailConfigType swagger:route GET /config-types/{id} Config detailConfigType
Retrieves a single config-type ¶
Retrieves a single config-type by id. Requires admin access.
func NewDetailConfigType ¶
func NewDetailConfigType(ctx *middleware.Context, handler DetailConfigTypeHandler) *DetailConfigType
NewDetailConfigType creates a new http.Handler for the detail config type operation
func (*DetailConfigType) ServeHTTP ¶
func (o *DetailConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DetailConfigTypeHandler ¶
type DetailConfigTypeHandler interface {
Handle(DetailConfigTypeParams, interface{}) middleware.Responder
}
DetailConfigTypeHandler interface for that can handle valid detail config type params
type DetailConfigTypeHandlerFunc ¶
type DetailConfigTypeHandlerFunc func(DetailConfigTypeParams, interface{}) middleware.Responder
DetailConfigTypeHandlerFunc turns a function with the right signature into a detail config type handler
func (DetailConfigTypeHandlerFunc) Handle ¶
func (fn DetailConfigTypeHandlerFunc) Handle(params DetailConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type DetailConfigTypeNotFound ¶
type DetailConfigTypeNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
DetailConfigTypeNotFound The requested resource does not exist
swagger:response detailConfigTypeNotFound
func NewDetailConfigTypeNotFound ¶
func NewDetailConfigTypeNotFound() *DetailConfigTypeNotFound
NewDetailConfigTypeNotFound creates DetailConfigTypeNotFound with default headers values
func (*DetailConfigTypeNotFound) SetPayload ¶
func (o *DetailConfigTypeNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail config type not found response
func (*DetailConfigTypeNotFound) WithPayload ¶
func (o *DetailConfigTypeNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigTypeNotFound
WithPayload adds the payload to the detail config type not found response
func (*DetailConfigTypeNotFound) WriteResponse ¶
func (o *DetailConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfigTypeOK ¶
type DetailConfigTypeOK struct { /* In: Body */ Payload *rest_model.DetailConfigTypeEnvelope `json:"body,omitempty"` }
DetailConfigTypeOK A singular config-type resource
swagger:response detailConfigTypeOK
func NewDetailConfigTypeOK ¶
func NewDetailConfigTypeOK() *DetailConfigTypeOK
NewDetailConfigTypeOK creates DetailConfigTypeOK with default headers values
func (*DetailConfigTypeOK) SetPayload ¶
func (o *DetailConfigTypeOK) SetPayload(payload *rest_model.DetailConfigTypeEnvelope)
SetPayload sets the payload to the detail config type o k response
func (*DetailConfigTypeOK) WithPayload ¶
func (o *DetailConfigTypeOK) WithPayload(payload *rest_model.DetailConfigTypeEnvelope) *DetailConfigTypeOK
WithPayload adds the payload to the detail config type o k response
func (*DetailConfigTypeOK) WriteResponse ¶
func (o *DetailConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfigTypeParams ¶
type DetailConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
DetailConfigTypeParams contains all the bound params for the detail config type operation typically these are obtained from a http.Request
swagger:parameters detailConfigType
func NewDetailConfigTypeParams ¶
func NewDetailConfigTypeParams() DetailConfigTypeParams
NewDetailConfigTypeParams creates a new DetailConfigTypeParams object
There are no default values defined in the spec.
func (*DetailConfigTypeParams) BindRequest ¶
func (o *DetailConfigTypeParams) 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 NewDetailConfigTypeParams() beforehand.
type DetailConfigTypeURL ¶
type DetailConfigTypeURL struct { ID string // contains filtered or unexported fields }
DetailConfigTypeURL generates an URL for the detail config type operation
func (*DetailConfigTypeURL) Build ¶
func (o *DetailConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailConfigTypeURL) BuildFull ¶
func (o *DetailConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailConfigTypeURL) SetBasePath ¶
func (o *DetailConfigTypeURL) 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 (*DetailConfigTypeURL) String ¶
func (o *DetailConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*DetailConfigTypeURL) StringFull ¶
func (o *DetailConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailConfigTypeURL) WithBasePath ¶
func (o *DetailConfigTypeURL) WithBasePath(bp string) *DetailConfigTypeURL
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 DetailConfigTypeUnauthorized ¶
type DetailConfigTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailConfigTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailConfigTypeUnauthorized
func NewDetailConfigTypeUnauthorized ¶
func NewDetailConfigTypeUnauthorized() *DetailConfigTypeUnauthorized
NewDetailConfigTypeUnauthorized creates DetailConfigTypeUnauthorized with default headers values
func (*DetailConfigTypeUnauthorized) SetPayload ¶
func (o *DetailConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail config type unauthorized response
func (*DetailConfigTypeUnauthorized) WithPayload ¶
func (o *DetailConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigTypeUnauthorized
WithPayload adds the payload to the detail config type unauthorized response
func (*DetailConfigTypeUnauthorized) WriteResponse ¶
func (o *DetailConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DetailConfigURL ¶
type DetailConfigURL struct { ID string // contains filtered or unexported fields }
DetailConfigURL generates an URL for the detail config operation
func (*DetailConfigURL) Build ¶
func (o *DetailConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*DetailConfigURL) BuildFull ¶
func (o *DetailConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DetailConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DetailConfigURL) SetBasePath ¶
func (o *DetailConfigURL) 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 (*DetailConfigURL) String ¶
func (o *DetailConfigURL) String() string
String returns the string representation of the path with query string
func (*DetailConfigURL) StringFull ¶
func (o *DetailConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DetailConfigURL) WithBasePath ¶
func (o *DetailConfigURL) WithBasePath(bp string) *DetailConfigURL
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 DetailConfigUnauthorized ¶
type DetailConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
DetailConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response detailConfigUnauthorized
func NewDetailConfigUnauthorized ¶
func NewDetailConfigUnauthorized() *DetailConfigUnauthorized
NewDetailConfigUnauthorized creates DetailConfigUnauthorized with default headers values
func (*DetailConfigUnauthorized) SetPayload ¶
func (o *DetailConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the detail config unauthorized response
func (*DetailConfigUnauthorized) WithPayload ¶
func (o *DetailConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *DetailConfigUnauthorized
WithPayload adds the payload to the detail config unauthorized response
func (*DetailConfigUnauthorized) WriteResponse ¶
func (o *DetailConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigTypes ¶
type ListConfigTypes struct { Context *middleware.Context Handler ListConfigTypesHandler }
ListConfigTypes swagger:route GET /config-types Config listConfigTypes
List config-types ¶
Retrieves a list of config-type resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListConfigTypes ¶
func NewListConfigTypes(ctx *middleware.Context, handler ListConfigTypesHandler) *ListConfigTypes
NewListConfigTypes creates a new http.Handler for the list config types operation
func (*ListConfigTypes) ServeHTTP ¶
func (o *ListConfigTypes) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListConfigTypesBadRequest ¶
type ListConfigTypesBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListConfigTypesBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listConfigTypesBadRequest
func NewListConfigTypesBadRequest ¶
func NewListConfigTypesBadRequest() *ListConfigTypesBadRequest
NewListConfigTypesBadRequest creates ListConfigTypesBadRequest with default headers values
func (*ListConfigTypesBadRequest) SetPayload ¶
func (o *ListConfigTypesBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list config types bad request response
func (*ListConfigTypesBadRequest) WithPayload ¶
func (o *ListConfigTypesBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigTypesBadRequest
WithPayload adds the payload to the list config types bad request response
func (*ListConfigTypesBadRequest) WriteResponse ¶
func (o *ListConfigTypesBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigTypesHandler ¶
type ListConfigTypesHandler interface {
Handle(ListConfigTypesParams, interface{}) middleware.Responder
}
ListConfigTypesHandler interface for that can handle valid list config types params
type ListConfigTypesHandlerFunc ¶
type ListConfigTypesHandlerFunc func(ListConfigTypesParams, interface{}) middleware.Responder
ListConfigTypesHandlerFunc turns a function with the right signature into a list config types handler
func (ListConfigTypesHandlerFunc) Handle ¶
func (fn ListConfigTypesHandlerFunc) Handle(params ListConfigTypesParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListConfigTypesOK ¶
type ListConfigTypesOK struct { /* In: Body */ Payload *rest_model.ListConfigTypesEnvelope `json:"body,omitempty"` }
ListConfigTypesOK A list of config-types
swagger:response listConfigTypesOK
func NewListConfigTypesOK ¶
func NewListConfigTypesOK() *ListConfigTypesOK
NewListConfigTypesOK creates ListConfigTypesOK with default headers values
func (*ListConfigTypesOK) SetPayload ¶
func (o *ListConfigTypesOK) SetPayload(payload *rest_model.ListConfigTypesEnvelope)
SetPayload sets the payload to the list config types o k response
func (*ListConfigTypesOK) WithPayload ¶
func (o *ListConfigTypesOK) WithPayload(payload *rest_model.ListConfigTypesEnvelope) *ListConfigTypesOK
WithPayload adds the payload to the list config types o k response
func (*ListConfigTypesOK) WriteResponse ¶
func (o *ListConfigTypesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigTypesParams ¶
type ListConfigTypesParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListConfigTypesParams contains all the bound params for the list config types operation typically these are obtained from a http.Request
swagger:parameters listConfigTypes
func NewListConfigTypesParams ¶
func NewListConfigTypesParams() ListConfigTypesParams
NewListConfigTypesParams creates a new ListConfigTypesParams object
There are no default values defined in the spec.
func (*ListConfigTypesParams) BindRequest ¶
func (o *ListConfigTypesParams) 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 NewListConfigTypesParams() beforehand.
type ListConfigTypesURL ¶
type ListConfigTypesURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListConfigTypesURL generates an URL for the list config types operation
func (*ListConfigTypesURL) Build ¶
func (o *ListConfigTypesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListConfigTypesURL) BuildFull ¶
func (o *ListConfigTypesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListConfigTypesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListConfigTypesURL) SetBasePath ¶
func (o *ListConfigTypesURL) 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 (*ListConfigTypesURL) String ¶
func (o *ListConfigTypesURL) String() string
String returns the string representation of the path with query string
func (*ListConfigTypesURL) StringFull ¶
func (o *ListConfigTypesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListConfigTypesURL) WithBasePath ¶
func (o *ListConfigTypesURL) WithBasePath(bp string) *ListConfigTypesURL
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 ListConfigTypesUnauthorized ¶
type ListConfigTypesUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListConfigTypesUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listConfigTypesUnauthorized
func NewListConfigTypesUnauthorized ¶
func NewListConfigTypesUnauthorized() *ListConfigTypesUnauthorized
NewListConfigTypesUnauthorized creates ListConfigTypesUnauthorized with default headers values
func (*ListConfigTypesUnauthorized) SetPayload ¶
func (o *ListConfigTypesUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list config types unauthorized response
func (*ListConfigTypesUnauthorized) WithPayload ¶
func (o *ListConfigTypesUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigTypesUnauthorized
WithPayload adds the payload to the list config types unauthorized response
func (*ListConfigTypesUnauthorized) WriteResponse ¶
func (o *ListConfigTypesUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigs ¶
type ListConfigs struct { Context *middleware.Context Handler ListConfigsHandler }
ListConfigs swagger:route GET /configs Config listConfigs
List configs ¶
Retrieves a list of config resources; supports filtering, sorting, and pagination. Requires admin access.
func NewListConfigs ¶
func NewListConfigs(ctx *middleware.Context, handler ListConfigsHandler) *ListConfigs
NewListConfigs creates a new http.Handler for the list configs operation
func (*ListConfigs) ServeHTTP ¶
func (o *ListConfigs) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListConfigsBadRequest ¶
type ListConfigsBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
ListConfigsBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response listConfigsBadRequest
func NewListConfigsBadRequest ¶
func NewListConfigsBadRequest() *ListConfigsBadRequest
NewListConfigsBadRequest creates ListConfigsBadRequest with default headers values
func (*ListConfigsBadRequest) SetPayload ¶
func (o *ListConfigsBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list configs bad request response
func (*ListConfigsBadRequest) WithPayload ¶
func (o *ListConfigsBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigsBadRequest
WithPayload adds the payload to the list configs bad request response
func (*ListConfigsBadRequest) WriteResponse ¶
func (o *ListConfigsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigsForConfigType ¶
type ListConfigsForConfigType struct { Context *middleware.Context Handler ListConfigsForConfigTypeHandler }
ListConfigsForConfigType swagger:route GET /config-types/{id}/configs Config listConfigsForConfigType
Lists the configs of a specific config-type ¶
Lists the configs associated to a config-type. Requires admin access.
func NewListConfigsForConfigType ¶
func NewListConfigsForConfigType(ctx *middleware.Context, handler ListConfigsForConfigTypeHandler) *ListConfigsForConfigType
NewListConfigsForConfigType creates a new http.Handler for the list configs for config type operation
func (*ListConfigsForConfigType) ServeHTTP ¶
func (o *ListConfigsForConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListConfigsForConfigTypeHandler ¶
type ListConfigsForConfigTypeHandler interface {
Handle(ListConfigsForConfigTypeParams, interface{}) middleware.Responder
}
ListConfigsForConfigTypeHandler interface for that can handle valid list configs for config type params
type ListConfigsForConfigTypeHandlerFunc ¶
type ListConfigsForConfigTypeHandlerFunc func(ListConfigsForConfigTypeParams, interface{}) middleware.Responder
ListConfigsForConfigTypeHandlerFunc turns a function with the right signature into a list configs for config type handler
func (ListConfigsForConfigTypeHandlerFunc) Handle ¶
func (fn ListConfigsForConfigTypeHandlerFunc) Handle(params ListConfigsForConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListConfigsForConfigTypeOK ¶
type ListConfigsForConfigTypeOK struct { /* In: Body */ Payload *rest_model.ListConfigsEnvelope `json:"body,omitempty"` }
ListConfigsForConfigTypeOK A list of configs
swagger:response listConfigsForConfigTypeOK
func NewListConfigsForConfigTypeOK ¶
func NewListConfigsForConfigTypeOK() *ListConfigsForConfigTypeOK
NewListConfigsForConfigTypeOK creates ListConfigsForConfigTypeOK with default headers values
func (*ListConfigsForConfigTypeOK) SetPayload ¶
func (o *ListConfigsForConfigTypeOK) SetPayload(payload *rest_model.ListConfigsEnvelope)
SetPayload sets the payload to the list configs for config type o k response
func (*ListConfigsForConfigTypeOK) WithPayload ¶
func (o *ListConfigsForConfigTypeOK) WithPayload(payload *rest_model.ListConfigsEnvelope) *ListConfigsForConfigTypeOK
WithPayload adds the payload to the list configs for config type o k response
func (*ListConfigsForConfigTypeOK) WriteResponse ¶
func (o *ListConfigsForConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigsForConfigTypeParams ¶
type ListConfigsForConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The id of the requested resource Required: true In: path */ ID string }
ListConfigsForConfigTypeParams contains all the bound params for the list configs for config type operation typically these are obtained from a http.Request
swagger:parameters listConfigsForConfigType
func NewListConfigsForConfigTypeParams ¶
func NewListConfigsForConfigTypeParams() ListConfigsForConfigTypeParams
NewListConfigsForConfigTypeParams creates a new ListConfigsForConfigTypeParams object
There are no default values defined in the spec.
func (*ListConfigsForConfigTypeParams) BindRequest ¶
func (o *ListConfigsForConfigTypeParams) 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 NewListConfigsForConfigTypeParams() beforehand.
type ListConfigsForConfigTypeURL ¶
type ListConfigsForConfigTypeURL struct { ID string // contains filtered or unexported fields }
ListConfigsForConfigTypeURL generates an URL for the list configs for config type operation
func (*ListConfigsForConfigTypeURL) Build ¶
func (o *ListConfigsForConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListConfigsForConfigTypeURL) BuildFull ¶
func (o *ListConfigsForConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListConfigsForConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListConfigsForConfigTypeURL) SetBasePath ¶
func (o *ListConfigsForConfigTypeURL) 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 (*ListConfigsForConfigTypeURL) String ¶
func (o *ListConfigsForConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*ListConfigsForConfigTypeURL) StringFull ¶
func (o *ListConfigsForConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListConfigsForConfigTypeURL) WithBasePath ¶
func (o *ListConfigsForConfigTypeURL) WithBasePath(bp string) *ListConfigsForConfigTypeURL
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 ListConfigsHandler ¶
type ListConfigsHandler interface {
Handle(ListConfigsParams, interface{}) middleware.Responder
}
ListConfigsHandler interface for that can handle valid list configs params
type ListConfigsHandlerFunc ¶
type ListConfigsHandlerFunc func(ListConfigsParams, interface{}) middleware.Responder
ListConfigsHandlerFunc turns a function with the right signature into a list configs handler
func (ListConfigsHandlerFunc) Handle ¶
func (fn ListConfigsHandlerFunc) Handle(params ListConfigsParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type ListConfigsOK ¶
type ListConfigsOK struct { /* In: Body */ Payload *rest_model.ListConfigsEnvelope `json:"body,omitempty"` }
ListConfigsOK A list of configs
swagger:response listConfigsOK
func NewListConfigsOK ¶
func NewListConfigsOK() *ListConfigsOK
NewListConfigsOK creates ListConfigsOK with default headers values
func (*ListConfigsOK) SetPayload ¶
func (o *ListConfigsOK) SetPayload(payload *rest_model.ListConfigsEnvelope)
SetPayload sets the payload to the list configs o k response
func (*ListConfigsOK) WithPayload ¶
func (o *ListConfigsOK) WithPayload(payload *rest_model.ListConfigsEnvelope) *ListConfigsOK
WithPayload adds the payload to the list configs o k response
func (*ListConfigsOK) WriteResponse ¶
func (o *ListConfigsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListConfigsParams ¶
type ListConfigsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: query */ Filter *string /* In: query */ Limit *int64 /* In: query */ Offset *int64 }
ListConfigsParams contains all the bound params for the list configs operation typically these are obtained from a http.Request
swagger:parameters listConfigs
func NewListConfigsParams ¶
func NewListConfigsParams() ListConfigsParams
NewListConfigsParams creates a new ListConfigsParams object
There are no default values defined in the spec.
func (*ListConfigsParams) BindRequest ¶
func (o *ListConfigsParams) 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 NewListConfigsParams() beforehand.
type ListConfigsURL ¶
type ListConfigsURL struct { Filter *string Limit *int64 Offset *int64 // contains filtered or unexported fields }
ListConfigsURL generates an URL for the list configs operation
func (*ListConfigsURL) Build ¶
func (o *ListConfigsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListConfigsURL) BuildFull ¶
func (o *ListConfigsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListConfigsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListConfigsURL) SetBasePath ¶
func (o *ListConfigsURL) 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 (*ListConfigsURL) String ¶
func (o *ListConfigsURL) String() string
String returns the string representation of the path with query string
func (*ListConfigsURL) StringFull ¶
func (o *ListConfigsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListConfigsURL) WithBasePath ¶
func (o *ListConfigsURL) WithBasePath(bp string) *ListConfigsURL
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 ListConfigsUnauthorized ¶
type ListConfigsUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
ListConfigsUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response listConfigsUnauthorized
func NewListConfigsUnauthorized ¶
func NewListConfigsUnauthorized() *ListConfigsUnauthorized
NewListConfigsUnauthorized creates ListConfigsUnauthorized with default headers values
func (*ListConfigsUnauthorized) SetPayload ¶
func (o *ListConfigsUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the list configs unauthorized response
func (*ListConfigsUnauthorized) WithPayload ¶
func (o *ListConfigsUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *ListConfigsUnauthorized
WithPayload adds the payload to the list configs unauthorized response
func (*ListConfigsUnauthorized) WriteResponse ¶
func (o *ListConfigsUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfig ¶
type PatchConfig struct { Context *middleware.Context Handler PatchConfigHandler }
PatchConfig swagger:route PATCH /configs/{id} Config patchConfig
Update the supplied fields on a config ¶
Update the supplied fields on a config. Requires admin access.
func NewPatchConfig ¶
func NewPatchConfig(ctx *middleware.Context, handler PatchConfigHandler) *PatchConfig
NewPatchConfig creates a new http.Handler for the patch config operation
func (*PatchConfig) ServeHTTP ¶
func (o *PatchConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchConfigBadRequest ¶
type PatchConfigBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchConfigBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchConfigBadRequest
func NewPatchConfigBadRequest ¶
func NewPatchConfigBadRequest() *PatchConfigBadRequest
NewPatchConfigBadRequest creates PatchConfigBadRequest with default headers values
func (*PatchConfigBadRequest) SetPayload ¶
func (o *PatchConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config bad request response
func (*PatchConfigBadRequest) WithPayload ¶
func (o *PatchConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigBadRequest
WithPayload adds the payload to the patch config bad request response
func (*PatchConfigBadRequest) WriteResponse ¶
func (o *PatchConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigHandler ¶
type PatchConfigHandler interface {
Handle(PatchConfigParams, interface{}) middleware.Responder
}
PatchConfigHandler interface for that can handle valid patch config params
type PatchConfigHandlerFunc ¶
type PatchConfigHandlerFunc func(PatchConfigParams, interface{}) middleware.Responder
PatchConfigHandlerFunc turns a function with the right signature into a patch config handler
func (PatchConfigHandlerFunc) Handle ¶
func (fn PatchConfigHandlerFunc) Handle(params PatchConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchConfigNotFound ¶
type PatchConfigNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchConfigNotFound The requested resource does not exist
swagger:response patchConfigNotFound
func NewPatchConfigNotFound ¶
func NewPatchConfigNotFound() *PatchConfigNotFound
NewPatchConfigNotFound creates PatchConfigNotFound with default headers values
func (*PatchConfigNotFound) SetPayload ¶
func (o *PatchConfigNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config not found response
func (*PatchConfigNotFound) WithPayload ¶
func (o *PatchConfigNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigNotFound
WithPayload adds the payload to the patch config not found response
func (*PatchConfigNotFound) WriteResponse ¶
func (o *PatchConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigOK ¶
type PatchConfigOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchConfigOK The patch request was successful and the resource has been altered
swagger:response patchConfigOK
func NewPatchConfigOK ¶
func NewPatchConfigOK() *PatchConfigOK
NewPatchConfigOK creates PatchConfigOK with default headers values
func (*PatchConfigOK) SetPayload ¶
func (o *PatchConfigOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch config o k response
func (*PatchConfigOK) WithPayload ¶
func (o *PatchConfigOK) WithPayload(payload *rest_model.Empty) *PatchConfigOK
WithPayload adds the payload to the patch config o k response
func (*PatchConfigOK) WriteResponse ¶
func (o *PatchConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigParams ¶
type PatchConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config patch object Required: true In: body */ Config *rest_model.ConfigPatch /*The id of the requested resource Required: true In: path */ ID string }
PatchConfigParams contains all the bound params for the patch config operation typically these are obtained from a http.Request
swagger:parameters patchConfig
func NewPatchConfigParams ¶
func NewPatchConfigParams() PatchConfigParams
NewPatchConfigParams creates a new PatchConfigParams object
There are no default values defined in the spec.
func (*PatchConfigParams) BindRequest ¶
func (o *PatchConfigParams) 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 NewPatchConfigParams() beforehand.
type PatchConfigType ¶
type PatchConfigType struct { Context *middleware.Context Handler PatchConfigTypeHandler }
PatchConfigType swagger:route PATCH /config-types/{id} Config patchConfigType
Update the supplied fields on a config-type ¶
Update the supplied fields on a config-type. Requires admin access.
func NewPatchConfigType ¶
func NewPatchConfigType(ctx *middleware.Context, handler PatchConfigTypeHandler) *PatchConfigType
NewPatchConfigType creates a new http.Handler for the patch config type operation
func (*PatchConfigType) ServeHTTP ¶
func (o *PatchConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type PatchConfigTypeBadRequest ¶
type PatchConfigTypeBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchConfigTypeBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response patchConfigTypeBadRequest
func NewPatchConfigTypeBadRequest ¶
func NewPatchConfigTypeBadRequest() *PatchConfigTypeBadRequest
NewPatchConfigTypeBadRequest creates PatchConfigTypeBadRequest with default headers values
func (*PatchConfigTypeBadRequest) SetPayload ¶
func (o *PatchConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config type bad request response
func (*PatchConfigTypeBadRequest) WithPayload ¶
func (o *PatchConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTypeBadRequest
WithPayload adds the payload to the patch config type bad request response
func (*PatchConfigTypeBadRequest) WriteResponse ¶
func (o *PatchConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigTypeHandler ¶
type PatchConfigTypeHandler interface {
Handle(PatchConfigTypeParams, interface{}) middleware.Responder
}
PatchConfigTypeHandler interface for that can handle valid patch config type params
type PatchConfigTypeHandlerFunc ¶
type PatchConfigTypeHandlerFunc func(PatchConfigTypeParams, interface{}) middleware.Responder
PatchConfigTypeHandlerFunc turns a function with the right signature into a patch config type handler
func (PatchConfigTypeHandlerFunc) Handle ¶
func (fn PatchConfigTypeHandlerFunc) Handle(params PatchConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type PatchConfigTypeNotFound ¶
type PatchConfigTypeNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
PatchConfigTypeNotFound The requested resource does not exist
swagger:response patchConfigTypeNotFound
func NewPatchConfigTypeNotFound ¶
func NewPatchConfigTypeNotFound() *PatchConfigTypeNotFound
NewPatchConfigTypeNotFound creates PatchConfigTypeNotFound with default headers values
func (*PatchConfigTypeNotFound) SetPayload ¶
func (o *PatchConfigTypeNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config type not found response
func (*PatchConfigTypeNotFound) WithPayload ¶
func (o *PatchConfigTypeNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTypeNotFound
WithPayload adds the payload to the patch config type not found response
func (*PatchConfigTypeNotFound) WriteResponse ¶
func (o *PatchConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigTypeOK ¶
type PatchConfigTypeOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
PatchConfigTypeOK The patch request was successful and the resource has been altered
swagger:response patchConfigTypeOK
func NewPatchConfigTypeOK ¶
func NewPatchConfigTypeOK() *PatchConfigTypeOK
NewPatchConfigTypeOK creates PatchConfigTypeOK with default headers values
func (*PatchConfigTypeOK) SetPayload ¶
func (o *PatchConfigTypeOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the patch config type o k response
func (*PatchConfigTypeOK) WithPayload ¶
func (o *PatchConfigTypeOK) WithPayload(payload *rest_model.Empty) *PatchConfigTypeOK
WithPayload adds the payload to the patch config type o k response
func (*PatchConfigTypeOK) WriteResponse ¶
func (o *PatchConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigTypeParams ¶
type PatchConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config-type patch object Required: true In: body */ ConfigType *rest_model.ConfigTypePatch /*The id of the requested resource Required: true In: path */ ID string }
PatchConfigTypeParams contains all the bound params for the patch config type operation typically these are obtained from a http.Request
swagger:parameters patchConfigType
func NewPatchConfigTypeParams ¶
func NewPatchConfigTypeParams() PatchConfigTypeParams
NewPatchConfigTypeParams creates a new PatchConfigTypeParams object
There are no default values defined in the spec.
func (*PatchConfigTypeParams) BindRequest ¶
func (o *PatchConfigTypeParams) 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 NewPatchConfigTypeParams() beforehand.
type PatchConfigTypeURL ¶
type PatchConfigTypeURL struct { ID string // contains filtered or unexported fields }
PatchConfigTypeURL generates an URL for the patch config type operation
func (*PatchConfigTypeURL) Build ¶
func (o *PatchConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchConfigTypeURL) BuildFull ¶
func (o *PatchConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchConfigTypeURL) SetBasePath ¶
func (o *PatchConfigTypeURL) 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 (*PatchConfigTypeURL) String ¶
func (o *PatchConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*PatchConfigTypeURL) StringFull ¶
func (o *PatchConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchConfigTypeURL) WithBasePath ¶
func (o *PatchConfigTypeURL) WithBasePath(bp string) *PatchConfigTypeURL
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 PatchConfigTypeUnauthorized ¶
type PatchConfigTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchConfigTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchConfigTypeUnauthorized
func NewPatchConfigTypeUnauthorized ¶
func NewPatchConfigTypeUnauthorized() *PatchConfigTypeUnauthorized
NewPatchConfigTypeUnauthorized creates PatchConfigTypeUnauthorized with default headers values
func (*PatchConfigTypeUnauthorized) SetPayload ¶
func (o *PatchConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config type unauthorized response
func (*PatchConfigTypeUnauthorized) WithPayload ¶
func (o *PatchConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigTypeUnauthorized
WithPayload adds the payload to the patch config type unauthorized response
func (*PatchConfigTypeUnauthorized) WriteResponse ¶
func (o *PatchConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type PatchConfigURL ¶
type PatchConfigURL struct { ID string // contains filtered or unexported fields }
PatchConfigURL generates an URL for the patch config operation
func (*PatchConfigURL) Build ¶
func (o *PatchConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*PatchConfigURL) BuildFull ¶
func (o *PatchConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*PatchConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*PatchConfigURL) SetBasePath ¶
func (o *PatchConfigURL) 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 (*PatchConfigURL) String ¶
func (o *PatchConfigURL) String() string
String returns the string representation of the path with query string
func (*PatchConfigURL) StringFull ¶
func (o *PatchConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*PatchConfigURL) WithBasePath ¶
func (o *PatchConfigURL) WithBasePath(bp string) *PatchConfigURL
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 PatchConfigUnauthorized ¶
type PatchConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
PatchConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response patchConfigUnauthorized
func NewPatchConfigUnauthorized ¶
func NewPatchConfigUnauthorized() *PatchConfigUnauthorized
NewPatchConfigUnauthorized creates PatchConfigUnauthorized with default headers values
func (*PatchConfigUnauthorized) SetPayload ¶
func (o *PatchConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the patch config unauthorized response
func (*PatchConfigUnauthorized) WithPayload ¶
func (o *PatchConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *PatchConfigUnauthorized
WithPayload adds the payload to the patch config unauthorized response
func (*PatchConfigUnauthorized) WriteResponse ¶
func (o *PatchConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfig ¶
type UpdateConfig struct { Context *middleware.Context Handler UpdateConfigHandler }
UpdateConfig swagger:route PUT /configs/{id} Config updateConfig
Update all fields on a config ¶
Update all fields on a config by id. Requires admin access.
func NewUpdateConfig ¶
func NewUpdateConfig(ctx *middleware.Context, handler UpdateConfigHandler) *UpdateConfig
NewUpdateConfig creates a new http.Handler for the update config operation
func (*UpdateConfig) ServeHTTP ¶
func (o *UpdateConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateConfigBadRequest ¶
type UpdateConfigBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateConfigBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updateConfigBadRequest
func NewUpdateConfigBadRequest ¶
func NewUpdateConfigBadRequest() *UpdateConfigBadRequest
NewUpdateConfigBadRequest creates UpdateConfigBadRequest with default headers values
func (*UpdateConfigBadRequest) SetPayload ¶
func (o *UpdateConfigBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config bad request response
func (*UpdateConfigBadRequest) WithPayload ¶
func (o *UpdateConfigBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigBadRequest
WithPayload adds the payload to the update config bad request response
func (*UpdateConfigBadRequest) WriteResponse ¶
func (o *UpdateConfigBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigHandler ¶
type UpdateConfigHandler interface {
Handle(UpdateConfigParams, interface{}) middleware.Responder
}
UpdateConfigHandler interface for that can handle valid update config params
type UpdateConfigHandlerFunc ¶
type UpdateConfigHandlerFunc func(UpdateConfigParams, interface{}) middleware.Responder
UpdateConfigHandlerFunc turns a function with the right signature into a update config handler
func (UpdateConfigHandlerFunc) Handle ¶
func (fn UpdateConfigHandlerFunc) Handle(params UpdateConfigParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateConfigNotFound ¶
type UpdateConfigNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateConfigNotFound The requested resource does not exist
swagger:response updateConfigNotFound
func NewUpdateConfigNotFound ¶
func NewUpdateConfigNotFound() *UpdateConfigNotFound
NewUpdateConfigNotFound creates UpdateConfigNotFound with default headers values
func (*UpdateConfigNotFound) SetPayload ¶
func (o *UpdateConfigNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config not found response
func (*UpdateConfigNotFound) WithPayload ¶
func (o *UpdateConfigNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigNotFound
WithPayload adds the payload to the update config not found response
func (*UpdateConfigNotFound) WriteResponse ¶
func (o *UpdateConfigNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigOK ¶
type UpdateConfigOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateConfigOK The update request was successful and the resource has been altered
swagger:response updateConfigOK
func NewUpdateConfigOK ¶
func NewUpdateConfigOK() *UpdateConfigOK
NewUpdateConfigOK creates UpdateConfigOK with default headers values
func (*UpdateConfigOK) SetPayload ¶
func (o *UpdateConfigOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update config o k response
func (*UpdateConfigOK) WithPayload ¶
func (o *UpdateConfigOK) WithPayload(payload *rest_model.Empty) *UpdateConfigOK
WithPayload adds the payload to the update config o k response
func (*UpdateConfigOK) WriteResponse ¶
func (o *UpdateConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigParams ¶
type UpdateConfigParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config update object Required: true In: body */ Config *rest_model.ConfigUpdate /*The id of the requested resource Required: true In: path */ ID string }
UpdateConfigParams contains all the bound params for the update config operation typically these are obtained from a http.Request
swagger:parameters updateConfig
func NewUpdateConfigParams ¶
func NewUpdateConfigParams() UpdateConfigParams
NewUpdateConfigParams creates a new UpdateConfigParams object
There are no default values defined in the spec.
func (*UpdateConfigParams) BindRequest ¶
func (o *UpdateConfigParams) 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 NewUpdateConfigParams() beforehand.
type UpdateConfigType ¶
type UpdateConfigType struct { Context *middleware.Context Handler UpdateConfigTypeHandler }
UpdateConfigType swagger:route PUT /config-types/{id} Config updateConfigType
Update all fields on a config-type ¶
Update all fields on a config-type by id. Requires admin access.
func NewUpdateConfigType ¶
func NewUpdateConfigType(ctx *middleware.Context, handler UpdateConfigTypeHandler) *UpdateConfigType
NewUpdateConfigType creates a new http.Handler for the update config type operation
func (*UpdateConfigType) ServeHTTP ¶
func (o *UpdateConfigType) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UpdateConfigTypeBadRequest ¶
type UpdateConfigTypeBadRequest struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateConfigTypeBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information
swagger:response updateConfigTypeBadRequest
func NewUpdateConfigTypeBadRequest ¶
func NewUpdateConfigTypeBadRequest() *UpdateConfigTypeBadRequest
NewUpdateConfigTypeBadRequest creates UpdateConfigTypeBadRequest with default headers values
func (*UpdateConfigTypeBadRequest) SetPayload ¶
func (o *UpdateConfigTypeBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config type bad request response
func (*UpdateConfigTypeBadRequest) WithPayload ¶
func (o *UpdateConfigTypeBadRequest) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeBadRequest
WithPayload adds the payload to the update config type bad request response
func (*UpdateConfigTypeBadRequest) WriteResponse ¶
func (o *UpdateConfigTypeBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigTypeHandler ¶
type UpdateConfigTypeHandler interface {
Handle(UpdateConfigTypeParams, interface{}) middleware.Responder
}
UpdateConfigTypeHandler interface for that can handle valid update config type params
type UpdateConfigTypeHandlerFunc ¶
type UpdateConfigTypeHandlerFunc func(UpdateConfigTypeParams, interface{}) middleware.Responder
UpdateConfigTypeHandlerFunc turns a function with the right signature into a update config type handler
func (UpdateConfigTypeHandlerFunc) Handle ¶
func (fn UpdateConfigTypeHandlerFunc) Handle(params UpdateConfigTypeParams, principal interface{}) middleware.Responder
Handle executing the request and returning a response
type UpdateConfigTypeNotFound ¶
type UpdateConfigTypeNotFound struct { /* In: Body */ Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"` }
UpdateConfigTypeNotFound The requested resource does not exist
swagger:response updateConfigTypeNotFound
func NewUpdateConfigTypeNotFound ¶
func NewUpdateConfigTypeNotFound() *UpdateConfigTypeNotFound
NewUpdateConfigTypeNotFound creates UpdateConfigTypeNotFound with default headers values
func (*UpdateConfigTypeNotFound) SetPayload ¶
func (o *UpdateConfigTypeNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config type not found response
func (*UpdateConfigTypeNotFound) WithPayload ¶
func (o *UpdateConfigTypeNotFound) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeNotFound
WithPayload adds the payload to the update config type not found response
func (*UpdateConfigTypeNotFound) WriteResponse ¶
func (o *UpdateConfigTypeNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigTypeOK ¶
type UpdateConfigTypeOK struct { /* In: Body */ Payload *rest_model.Empty `json:"body,omitempty"` }
UpdateConfigTypeOK The update request was successful and the resource has been altered
swagger:response updateConfigTypeOK
func NewUpdateConfigTypeOK ¶
func NewUpdateConfigTypeOK() *UpdateConfigTypeOK
NewUpdateConfigTypeOK creates UpdateConfigTypeOK with default headers values
func (*UpdateConfigTypeOK) SetPayload ¶
func (o *UpdateConfigTypeOK) SetPayload(payload *rest_model.Empty)
SetPayload sets the payload to the update config type o k response
func (*UpdateConfigTypeOK) WithPayload ¶
func (o *UpdateConfigTypeOK) WithPayload(payload *rest_model.Empty) *UpdateConfigTypeOK
WithPayload adds the payload to the update config type o k response
func (*UpdateConfigTypeOK) WriteResponse ¶
func (o *UpdateConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigTypeParams ¶
type UpdateConfigTypeParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A config-type update object Required: true In: body */ ConfigType *rest_model.ConfigTypeUpdate /*The id of the requested resource Required: true In: path */ ID string }
UpdateConfigTypeParams contains all the bound params for the update config type operation typically these are obtained from a http.Request
swagger:parameters updateConfigType
func NewUpdateConfigTypeParams ¶
func NewUpdateConfigTypeParams() UpdateConfigTypeParams
NewUpdateConfigTypeParams creates a new UpdateConfigTypeParams object
There are no default values defined in the spec.
func (*UpdateConfigTypeParams) BindRequest ¶
func (o *UpdateConfigTypeParams) 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 NewUpdateConfigTypeParams() beforehand.
type UpdateConfigTypeURL ¶
type UpdateConfigTypeURL struct { ID string // contains filtered or unexported fields }
UpdateConfigTypeURL generates an URL for the update config type operation
func (*UpdateConfigTypeURL) Build ¶
func (o *UpdateConfigTypeURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateConfigTypeURL) BuildFull ¶
func (o *UpdateConfigTypeURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateConfigTypeURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateConfigTypeURL) SetBasePath ¶
func (o *UpdateConfigTypeURL) 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 (*UpdateConfigTypeURL) String ¶
func (o *UpdateConfigTypeURL) String() string
String returns the string representation of the path with query string
func (*UpdateConfigTypeURL) StringFull ¶
func (o *UpdateConfigTypeURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateConfigTypeURL) WithBasePath ¶
func (o *UpdateConfigTypeURL) WithBasePath(bp string) *UpdateConfigTypeURL
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 UpdateConfigTypeUnauthorized ¶
type UpdateConfigTypeUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateConfigTypeUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateConfigTypeUnauthorized
func NewUpdateConfigTypeUnauthorized ¶
func NewUpdateConfigTypeUnauthorized() *UpdateConfigTypeUnauthorized
NewUpdateConfigTypeUnauthorized creates UpdateConfigTypeUnauthorized with default headers values
func (*UpdateConfigTypeUnauthorized) SetPayload ¶
func (o *UpdateConfigTypeUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config type unauthorized response
func (*UpdateConfigTypeUnauthorized) WithPayload ¶
func (o *UpdateConfigTypeUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigTypeUnauthorized
WithPayload adds the payload to the update config type unauthorized response
func (*UpdateConfigTypeUnauthorized) WriteResponse ¶
func (o *UpdateConfigTypeUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UpdateConfigURL ¶
type UpdateConfigURL struct { ID string // contains filtered or unexported fields }
UpdateConfigURL generates an URL for the update config operation
func (*UpdateConfigURL) Build ¶
func (o *UpdateConfigURL) Build() (*url.URL, error)
Build a url path and query string
func (*UpdateConfigURL) BuildFull ¶
func (o *UpdateConfigURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UpdateConfigURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UpdateConfigURL) SetBasePath ¶
func (o *UpdateConfigURL) 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 (*UpdateConfigURL) String ¶
func (o *UpdateConfigURL) String() string
String returns the string representation of the path with query string
func (*UpdateConfigURL) StringFull ¶
func (o *UpdateConfigURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UpdateConfigURL) WithBasePath ¶
func (o *UpdateConfigURL) WithBasePath(bp string) *UpdateConfigURL
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 UpdateConfigUnauthorized ¶
type UpdateConfigUnauthorized struct { rest_model.APIErrorEnvelope `json:"body,omitempty"` }Payload *
UpdateConfigUnauthorized The currently supplied session does not have the correct access rights to request this resource
swagger:response updateConfigUnauthorized
func NewUpdateConfigUnauthorized ¶
func NewUpdateConfigUnauthorized() *UpdateConfigUnauthorized
NewUpdateConfigUnauthorized creates UpdateConfigUnauthorized with default headers values
func (*UpdateConfigUnauthorized) SetPayload ¶
func (o *UpdateConfigUnauthorized) SetPayload(payload *rest_model.APIErrorEnvelope)
SetPayload sets the payload to the update config unauthorized response
func (*UpdateConfigUnauthorized) WithPayload ¶
func (o *UpdateConfigUnauthorized) WithPayload(payload *rest_model.APIErrorEnvelope) *UpdateConfigUnauthorized
WithPayload adds the payload to the update config unauthorized response
func (*UpdateConfigUnauthorized) WriteResponse ¶
func (o *UpdateConfigUnauthorized) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files ¶
- create_config.go
- create_config_parameters.go
- create_config_responses.go
- create_config_type.go
- create_config_type_parameters.go
- create_config_type_responses.go
- create_config_type_urlbuilder.go
- create_config_urlbuilder.go
- delete_config.go
- delete_config_parameters.go
- delete_config_responses.go
- delete_config_type.go
- delete_config_type_parameters.go
- delete_config_type_responses.go
- delete_config_type_urlbuilder.go
- delete_config_urlbuilder.go
- detail_config.go
- detail_config_parameters.go
- detail_config_responses.go
- detail_config_type.go
- detail_config_type_parameters.go
- detail_config_type_responses.go
- detail_config_type_urlbuilder.go
- detail_config_urlbuilder.go
- list_config_types.go
- list_config_types_parameters.go
- list_config_types_responses.go
- list_config_types_urlbuilder.go
- list_configs.go
- list_configs_for_config_type.go
- list_configs_for_config_type_parameters.go
- list_configs_for_config_type_responses.go
- list_configs_for_config_type_urlbuilder.go
- list_configs_parameters.go
- list_configs_responses.go
- list_configs_urlbuilder.go
- patch_config.go
- patch_config_parameters.go
- patch_config_responses.go
- patch_config_type.go
- patch_config_type_parameters.go
- patch_config_type_responses.go
- patch_config_type_urlbuilder.go
- patch_config_urlbuilder.go
- update_config.go
- update_config_parameters.go
- update_config_responses.go
- update_config_type.go
- update_config_type_parameters.go
- update_config_type_responses.go
- update_config_type_urlbuilder.go
- update_config_urlbuilder.go