config

package
v0.16.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateConfigBadRequestCode int = 400

CreateConfigBadRequestCode is the HTTP code returned for type CreateConfigBadRequest

View Source
const CreateConfigOKCode int = 200

CreateConfigOKCode is the HTTP code returned for type CreateConfigOK

View Source
const CreateConfigTypeBadRequestCode int = 400

CreateConfigTypeBadRequestCode is the HTTP code returned for type CreateConfigTypeBadRequest

View Source
const CreateConfigTypeOKCode int = 200

CreateConfigTypeOKCode is the HTTP code returned for type CreateConfigTypeOK

View Source
const CreateConfigTypeUnauthorizedCode int = 401

CreateConfigTypeUnauthorizedCode is the HTTP code returned for type CreateConfigTypeUnauthorized

View Source
const CreateConfigUnauthorizedCode int = 401

CreateConfigUnauthorizedCode is the HTTP code returned for type CreateConfigUnauthorized

View Source
const DeleteConfigBadRequestCode int = 400

DeleteConfigBadRequestCode is the HTTP code returned for type DeleteConfigBadRequest

View Source
const DeleteConfigConflictCode int = 409

DeleteConfigConflictCode is the HTTP code returned for type DeleteConfigConflict

View Source
const DeleteConfigOKCode int = 200

DeleteConfigOKCode is the HTTP code returned for type DeleteConfigOK

View Source
const DeleteConfigTypeBadRequestCode int = 400

DeleteConfigTypeBadRequestCode is the HTTP code returned for type DeleteConfigTypeBadRequest

View Source
const DeleteConfigTypeConflictCode int = 409

DeleteConfigTypeConflictCode is the HTTP code returned for type DeleteConfigTypeConflict

View Source
const DeleteConfigTypeOKCode int = 200

DeleteConfigTypeOKCode is the HTTP code returned for type DeleteConfigTypeOK

View Source
const DeleteConfigTypeUnauthorizedCode int = 401

DeleteConfigTypeUnauthorizedCode is the HTTP code returned for type DeleteConfigTypeUnauthorized

View Source
const DeleteConfigUnauthorizedCode int = 401

DeleteConfigUnauthorizedCode is the HTTP code returned for type DeleteConfigUnauthorized

View Source
const DetailConfigNotFoundCode int = 404

DetailConfigNotFoundCode is the HTTP code returned for type DetailConfigNotFound

View Source
const DetailConfigOKCode int = 200

DetailConfigOKCode is the HTTP code returned for type DetailConfigOK

View Source
const DetailConfigTypeNotFoundCode int = 404

DetailConfigTypeNotFoundCode is the HTTP code returned for type DetailConfigTypeNotFound

View Source
const DetailConfigTypeOKCode int = 200

DetailConfigTypeOKCode is the HTTP code returned for type DetailConfigTypeOK

View Source
const DetailConfigTypeUnauthorizedCode int = 401

DetailConfigTypeUnauthorizedCode is the HTTP code returned for type DetailConfigTypeUnauthorized

View Source
const DetailConfigUnauthorizedCode int = 401

DetailConfigUnauthorizedCode is the HTTP code returned for type DetailConfigUnauthorized

View Source
const ListConfigTypesOKCode int = 200

ListConfigTypesOKCode is the HTTP code returned for type ListConfigTypesOK

View Source
const ListConfigsForConfigTypeOKCode int = 200

ListConfigsForConfigTypeOKCode is the HTTP code returned for type ListConfigsForConfigTypeOK

View Source
const ListConfigsOKCode int = 200

ListConfigsOKCode is the HTTP code returned for type ListConfigsOK

View Source
const ListConfigsUnauthorizedCode int = 401

ListConfigsUnauthorizedCode is the HTTP code returned for type ListConfigsUnauthorized

View Source
const PatchConfigBadRequestCode int = 400

PatchConfigBadRequestCode is the HTTP code returned for type PatchConfigBadRequest

View Source
const PatchConfigNotFoundCode int = 404

PatchConfigNotFoundCode is the HTTP code returned for type PatchConfigNotFound

View Source
const PatchConfigOKCode int = 200

PatchConfigOKCode is the HTTP code returned for type PatchConfigOK

View Source
const PatchConfigTypeBadRequestCode int = 400

PatchConfigTypeBadRequestCode is the HTTP code returned for type PatchConfigTypeBadRequest

View Source
const PatchConfigTypeNotFoundCode int = 404

PatchConfigTypeNotFoundCode is the HTTP code returned for type PatchConfigTypeNotFound

View Source
const PatchConfigTypeOKCode int = 200

PatchConfigTypeOKCode is the HTTP code returned for type PatchConfigTypeOK

View Source
const PatchConfigTypeUnauthorizedCode int = 401

PatchConfigTypeUnauthorizedCode is the HTTP code returned for type PatchConfigTypeUnauthorized

View Source
const PatchConfigUnauthorizedCode int = 401

PatchConfigUnauthorizedCode is the HTTP code returned for type PatchConfigUnauthorized

View Source
const UpdateConfigBadRequestCode int = 400

UpdateConfigBadRequestCode is the HTTP code returned for type UpdateConfigBadRequest

View Source
const UpdateConfigNotFoundCode int = 404

UpdateConfigNotFoundCode is the HTTP code returned for type UpdateConfigNotFound

View Source
const UpdateConfigOKCode int = 200

UpdateConfigOKCode is the HTTP code returned for type UpdateConfigOK

View Source
const UpdateConfigTypeBadRequestCode int = 400

UpdateConfigTypeBadRequestCode is the HTTP code returned for type UpdateConfigTypeBadRequest

View Source
const UpdateConfigTypeNotFoundCode int = 404

UpdateConfigTypeNotFoundCode is the HTTP code returned for type UpdateConfigTypeNotFound

View Source
const UpdateConfigTypeOKCode int = 200

UpdateConfigTypeOKCode is the HTTP code returned for type UpdateConfigTypeOK

View Source
const UpdateConfigTypeUnauthorizedCode int = 401

UpdateConfigTypeUnauthorizedCode is the HTTP code returned for type UpdateConfigTypeUnauthorized

View Source
const UpdateConfigUnauthorizedCode int = 401

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

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 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 CreateConfigOK

type CreateConfigOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

CreateConfigOK The create request was successful and the resource has been added at the following location

swagger:response createConfigOK

func NewCreateConfigOK

func NewCreateConfigOK() *CreateConfigOK

NewCreateConfigOK creates CreateConfigOK with default headers values

func (*CreateConfigOK) SetPayload

func (o *CreateConfigOK) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create config o k response

func (*CreateConfigOK) WithPayload

func (o *CreateConfigOK) WithPayload(payload *rest_model.CreateEnvelope) *CreateConfigOK

WithPayload adds the payload to the create config o k response

func (*CreateConfigOK) WriteResponse

func (o *CreateConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateConfigParams

type CreateConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A config to create
	  Required: true
	  In: body
	*/
	Body *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 no default values defined in 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

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 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 CreateConfigTypeOK

type CreateConfigTypeOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

CreateConfigTypeOK The create request was successful and the resource has been added at the following location

swagger:response createConfigTypeOK

func NewCreateConfigTypeOK

func NewCreateConfigTypeOK() *CreateConfigTypeOK

NewCreateConfigTypeOK creates CreateConfigTypeOK with default headers values

func (*CreateConfigTypeOK) SetPayload

func (o *CreateConfigTypeOK) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create config type o k response

func (*CreateConfigTypeOK) WithPayload

WithPayload adds the payload to the create config type o k response

func (*CreateConfigTypeOK) WriteResponse

func (o *CreateConfigTypeOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type CreateConfigTypeParams

type CreateConfigTypeParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*A config-type to create
	  Required: true
	  In: body
	*/
	Body *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 no default values defined in 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

func (o *CreateConfigTypeURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the create config type unauthorized response

func (*CreateConfigTypeUnauthorized) WithPayload

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

func (o *CreateConfigURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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

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

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 no default values defined in 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

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

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 no default values defined in 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

func (o *DeleteConfigTypeURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the delete config type unauthorized response

func (*DeleteConfigTypeUnauthorized) WithPayload

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

func (o *DeleteConfigURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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

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

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 no default values defined in 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

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

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 no default values defined in 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

func (o *DetailConfigTypeURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the detail config type unauthorized response

func (*DetailConfigTypeUnauthorized) WithPayload

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

func (o *DetailConfigURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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 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

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 no default values defined in 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

func (o *ListConfigTypesURL) Must(u *url.URL, err error) *url.URL

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 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 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

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

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

SetPayload sets the payload to the list configs for config type o k response

func (*ListConfigsForConfigTypeOK) WithPayload

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 no default values defined in spec.

func (*ListConfigsForConfigTypeParams) BindRequest

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

func (o *ListConfigsForConfigTypeURL) Must(u *url.URL, err error) *url.URL

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

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 no default values defined in 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

func (o *ListConfigsURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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

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

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
	*/
	Body *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 no default values defined in 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

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

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
	*/
	Body *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 no default values defined in 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

func (o *PatchConfigTypeURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the patch config type unauthorized response

func (*PatchConfigTypeUnauthorized) WithPayload

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

func (o *PatchConfigURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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

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

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
	*/
	Body *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 no default values defined in 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

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

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
	*/
	Body *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 no default values defined in 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

func (o *UpdateConfigTypeURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

SetPayload sets the payload to the update config type unauthorized response

func (*UpdateConfigTypeUnauthorized) WithPayload

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

func (o *UpdateConfigURL) Must(u *url.URL, err error) *url.URL

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 {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL