actions

package
v0.0.0-...-1b308a6 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteActionBadRequestCode int = 400

DeleteActionBadRequestCode is the HTTP code returned for type DeleteActionBadRequest

View Source
const DeleteActionConflictCode int = 409

DeleteActionConflictCode is the HTTP code returned for type DeleteActionConflict

View Source
const DeleteActionForbiddenCode int = 403

DeleteActionForbiddenCode is the HTTP code returned for type DeleteActionForbidden

View Source
const DeleteActionInPackageBadRequestCode int = 400

DeleteActionInPackageBadRequestCode is the HTTP code returned for type DeleteActionInPackageBadRequest

View Source
const DeleteActionInPackageConflictCode int = 409

DeleteActionInPackageConflictCode is the HTTP code returned for type DeleteActionInPackageConflict

View Source
const DeleteActionInPackageForbiddenCode int = 403

DeleteActionInPackageForbiddenCode is the HTTP code returned for type DeleteActionInPackageForbidden

View Source
const DeleteActionInPackageInternalServerErrorCode int = 500

DeleteActionInPackageInternalServerErrorCode is the HTTP code returned for type DeleteActionInPackageInternalServerError

View Source
const DeleteActionInPackageNotFoundCode int = 404

DeleteActionInPackageNotFoundCode is the HTTP code returned for type DeleteActionInPackageNotFound

View Source
const DeleteActionInPackageOKCode int = 200

DeleteActionInPackageOKCode is the HTTP code returned for type DeleteActionInPackageOK

View Source
const DeleteActionInPackageUnauthorizedCode int = 401

DeleteActionInPackageUnauthorizedCode is the HTTP code returned for type DeleteActionInPackageUnauthorized

View Source
const DeleteActionInternalServerErrorCode int = 500

DeleteActionInternalServerErrorCode is the HTTP code returned for type DeleteActionInternalServerError

View Source
const DeleteActionNotFoundCode int = 404

DeleteActionNotFoundCode is the HTTP code returned for type DeleteActionNotFound

View Source
const DeleteActionOKCode int = 200

DeleteActionOKCode is the HTTP code returned for type DeleteActionOK

View Source
const DeleteActionUnauthorizedCode int = 401

DeleteActionUnauthorizedCode is the HTTP code returned for type DeleteActionUnauthorized

View Source
const GetActionByNameForbiddenCode int = 403

GetActionByNameForbiddenCode is the HTTP code returned for type GetActionByNameForbidden

View Source
const GetActionByNameInternalServerErrorCode int = 500

GetActionByNameInternalServerErrorCode is the HTTP code returned for type GetActionByNameInternalServerError

View Source
const GetActionByNameNotFoundCode int = 404

GetActionByNameNotFoundCode is the HTTP code returned for type GetActionByNameNotFound

View Source
const GetActionByNameOKCode int = 200

GetActionByNameOKCode is the HTTP code returned for type GetActionByNameOK

View Source
const GetActionByNameUnauthorizedCode int = 401

GetActionByNameUnauthorizedCode is the HTTP code returned for type GetActionByNameUnauthorized

View Source
const GetActionInPackageByNameForbiddenCode int = 403

GetActionInPackageByNameForbiddenCode is the HTTP code returned for type GetActionInPackageByNameForbidden

View Source
const GetActionInPackageByNameInternalServerErrorCode int = 500

GetActionInPackageByNameInternalServerErrorCode is the HTTP code returned for type GetActionInPackageByNameInternalServerError

View Source
const GetActionInPackageByNameNotFoundCode int = 404

GetActionInPackageByNameNotFoundCode is the HTTP code returned for type GetActionInPackageByNameNotFound

View Source
const GetActionInPackageByNameOKCode int = 200

GetActionInPackageByNameOKCode is the HTTP code returned for type GetActionInPackageByNameOK

View Source
const GetActionInPackageByNameUnauthorizedCode int = 401

GetActionInPackageByNameUnauthorizedCode is the HTTP code returned for type GetActionInPackageByNameUnauthorized

View Source
const GetAllActionsInternalServerErrorCode int = 500

GetAllActionsInternalServerErrorCode is the HTTP code returned for type GetAllActionsInternalServerError

View Source
const GetAllActionsOKCode int = 200

GetAllActionsOKCode is the HTTP code returned for type GetAllActionsOK

View Source
const GetAllActionsUnauthorizedCode int = 401

GetAllActionsUnauthorizedCode is the HTTP code returned for type GetAllActionsUnauthorized

View Source
const InvokeActionAcceptedCode int = 202

InvokeActionAcceptedCode is the HTTP code returned for type InvokeActionAccepted

View Source
const InvokeActionBadGatewayCode int = 502

InvokeActionBadGatewayCode is the HTTP code returned for type InvokeActionBadGateway

View Source
const InvokeActionForbiddenCode int = 403

InvokeActionForbiddenCode is the HTTP code returned for type InvokeActionForbidden

View Source
const InvokeActionInPackageAcceptedCode int = 202

InvokeActionInPackageAcceptedCode is the HTTP code returned for type InvokeActionInPackageAccepted

View Source
const InvokeActionInPackageBadGatewayCode int = 502

InvokeActionInPackageBadGatewayCode is the HTTP code returned for type InvokeActionInPackageBadGateway

View Source
const InvokeActionInPackageForbiddenCode int = 403

InvokeActionInPackageForbiddenCode is the HTTP code returned for type InvokeActionInPackageForbidden

View Source
const InvokeActionInPackageInternalServerErrorCode int = 500

InvokeActionInPackageInternalServerErrorCode is the HTTP code returned for type InvokeActionInPackageInternalServerError

View Source
const InvokeActionInPackageNotFoundCode int = 404

InvokeActionInPackageNotFoundCode is the HTTP code returned for type InvokeActionInPackageNotFound

View Source
const InvokeActionInPackageOKCode int = 200

InvokeActionInPackageOKCode is the HTTP code returned for type InvokeActionInPackageOK

View Source
const InvokeActionInPackageRequestTimeoutCode int = 408

InvokeActionInPackageRequestTimeoutCode is the HTTP code returned for type InvokeActionInPackageRequestTimeout

View Source
const InvokeActionInPackageUnauthorizedCode int = 401

InvokeActionInPackageUnauthorizedCode is the HTTP code returned for type InvokeActionInPackageUnauthorized

View Source
const InvokeActionInternalServerErrorCode int = 500

InvokeActionInternalServerErrorCode is the HTTP code returned for type InvokeActionInternalServerError

View Source
const InvokeActionNotFoundCode int = 404

InvokeActionNotFoundCode is the HTTP code returned for type InvokeActionNotFound

View Source
const InvokeActionOKCode int = 200

InvokeActionOKCode is the HTTP code returned for type InvokeActionOK

View Source
const InvokeActionRequestTimeoutCode int = 408

InvokeActionRequestTimeoutCode is the HTTP code returned for type InvokeActionRequestTimeout

View Source
const InvokeActionUnauthorizedCode int = 401

InvokeActionUnauthorizedCode is the HTTP code returned for type InvokeActionUnauthorized

View Source
const UpdateActionBadRequestCode int = 400

UpdateActionBadRequestCode is the HTTP code returned for type UpdateActionBadRequest

View Source
const UpdateActionConflictCode int = 409

UpdateActionConflictCode is the HTTP code returned for type UpdateActionConflict

View Source
const UpdateActionForbiddenCode int = 403

UpdateActionForbiddenCode is the HTTP code returned for type UpdateActionForbidden

View Source
const UpdateActionInPackageBadRequestCode int = 400

UpdateActionInPackageBadRequestCode is the HTTP code returned for type UpdateActionInPackageBadRequest

View Source
const UpdateActionInPackageConflictCode int = 409

UpdateActionInPackageConflictCode is the HTTP code returned for type UpdateActionInPackageConflict

View Source
const UpdateActionInPackageForbiddenCode int = 403

UpdateActionInPackageForbiddenCode is the HTTP code returned for type UpdateActionInPackageForbidden

View Source
const UpdateActionInPackageInternalServerErrorCode int = 500

UpdateActionInPackageInternalServerErrorCode is the HTTP code returned for type UpdateActionInPackageInternalServerError

View Source
const UpdateActionInPackageOKCode int = 200

UpdateActionInPackageOKCode is the HTTP code returned for type UpdateActionInPackageOK

View Source
const UpdateActionInPackageRequestEntityTooLargeCode int = 413

UpdateActionInPackageRequestEntityTooLargeCode is the HTTP code returned for type UpdateActionInPackageRequestEntityTooLarge

View Source
const UpdateActionInPackageUnauthorizedCode int = 401

UpdateActionInPackageUnauthorizedCode is the HTTP code returned for type UpdateActionInPackageUnauthorized

View Source
const UpdateActionInternalServerErrorCode int = 500

UpdateActionInternalServerErrorCode is the HTTP code returned for type UpdateActionInternalServerError

View Source
const UpdateActionOKCode int = 200

UpdateActionOKCode is the HTTP code returned for type UpdateActionOK

View Source
const UpdateActionRequestEntityTooLargeCode int = 413

UpdateActionRequestEntityTooLargeCode is the HTTP code returned for type UpdateActionRequestEntityTooLarge

View Source
const UpdateActionUnauthorizedCode int = 401

UpdateActionUnauthorizedCode is the HTTP code returned for type UpdateActionUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteAction

type DeleteAction struct {
	Context *middleware.Context
	Handler DeleteActionHandler
}

DeleteAction swagger:route DELETE /namespaces/{namespace}/actions/{actionName} Actions deleteAction

Delete an action

Delete an action

func NewDeleteAction

func NewDeleteAction(ctx *middleware.Context, handler DeleteActionHandler) *DeleteAction

NewDeleteAction creates a new http.Handler for the delete action operation

func (*DeleteAction) ServeHTTP

func (o *DeleteAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteActionBadRequest

type DeleteActionBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionBadRequest Bad request

swagger:response deleteActionBadRequest

func NewDeleteActionBadRequest

func NewDeleteActionBadRequest() *DeleteActionBadRequest

NewDeleteActionBadRequest creates DeleteActionBadRequest with default headers values

func (*DeleteActionBadRequest) SetPayload

func (o *DeleteActionBadRequest) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action bad request response

func (*DeleteActionBadRequest) WithPayload

WithPayload adds the payload to the delete action bad request response

func (*DeleteActionBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteActionConflict

type DeleteActionConflict struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionConflict Conflicting item already exists

swagger:response deleteActionConflict

func NewDeleteActionConflict

func NewDeleteActionConflict() *DeleteActionConflict

NewDeleteActionConflict creates DeleteActionConflict with default headers values

func (*DeleteActionConflict) SetPayload

func (o *DeleteActionConflict) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action conflict response

func (*DeleteActionConflict) WithPayload

WithPayload adds the payload to the delete action conflict response

func (*DeleteActionConflict) WriteResponse

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

WriteResponse to the client

type DeleteActionForbidden

type DeleteActionForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionForbidden Unauthorized request

swagger:response deleteActionForbidden

func NewDeleteActionForbidden

func NewDeleteActionForbidden() *DeleteActionForbidden

NewDeleteActionForbidden creates DeleteActionForbidden with default headers values

func (*DeleteActionForbidden) SetPayload

func (o *DeleteActionForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action forbidden response

func (*DeleteActionForbidden) WithPayload

WithPayload adds the payload to the delete action forbidden response

func (*DeleteActionForbidden) WriteResponse

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

WriteResponse to the client

type DeleteActionHandler

type DeleteActionHandler interface {
	Handle(DeleteActionParams, *models.Principal) middleware.Responder
}

DeleteActionHandler interface for that can handle valid delete action params

type DeleteActionHandlerFunc

type DeleteActionHandlerFunc func(DeleteActionParams, *models.Principal) middleware.Responder

DeleteActionHandlerFunc turns a function with the right signature into a delete action handler

func (DeleteActionHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteActionInPackage

type DeleteActionInPackage struct {
	Context *middleware.Context
	Handler DeleteActionInPackageHandler
}

DeleteActionInPackage swagger:route DELETE /namespaces/{namespace}/actions/{packageName}/{actionName} Actions deleteActionInPackage

Delete an action

Delete an action

func NewDeleteActionInPackage

func NewDeleteActionInPackage(ctx *middleware.Context, handler DeleteActionInPackageHandler) *DeleteActionInPackage

NewDeleteActionInPackage creates a new http.Handler for the delete action in package operation

func (*DeleteActionInPackage) ServeHTTP

func (o *DeleteActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteActionInPackageBadRequest

type DeleteActionInPackageBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageBadRequest Bad request

swagger:response deleteActionInPackageBadRequest

func NewDeleteActionInPackageBadRequest

func NewDeleteActionInPackageBadRequest() *DeleteActionInPackageBadRequest

NewDeleteActionInPackageBadRequest creates DeleteActionInPackageBadRequest with default headers values

func (*DeleteActionInPackageBadRequest) SetPayload

func (o *DeleteActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action in package bad request response

func (*DeleteActionInPackageBadRequest) WithPayload

WithPayload adds the payload to the delete action in package bad request response

func (*DeleteActionInPackageBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteActionInPackageConflict

type DeleteActionInPackageConflict struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageConflict Conflicting item already exists

swagger:response deleteActionInPackageConflict

func NewDeleteActionInPackageConflict

func NewDeleteActionInPackageConflict() *DeleteActionInPackageConflict

NewDeleteActionInPackageConflict creates DeleteActionInPackageConflict with default headers values

func (*DeleteActionInPackageConflict) SetPayload

func (o *DeleteActionInPackageConflict) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action in package conflict response

func (*DeleteActionInPackageConflict) WithPayload

WithPayload adds the payload to the delete action in package conflict response

func (*DeleteActionInPackageConflict) WriteResponse

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

WriteResponse to the client

type DeleteActionInPackageForbidden

type DeleteActionInPackageForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageForbidden Unauthorized request

swagger:response deleteActionInPackageForbidden

func NewDeleteActionInPackageForbidden

func NewDeleteActionInPackageForbidden() *DeleteActionInPackageForbidden

NewDeleteActionInPackageForbidden creates DeleteActionInPackageForbidden with default headers values

func (*DeleteActionInPackageForbidden) SetPayload

func (o *DeleteActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action in package forbidden response

func (*DeleteActionInPackageForbidden) WithPayload

WithPayload adds the payload to the delete action in package forbidden response

func (*DeleteActionInPackageForbidden) WriteResponse

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

WriteResponse to the client

type DeleteActionInPackageHandler

type DeleteActionInPackageHandler interface {
	Handle(DeleteActionInPackageParams, *models.Principal) middleware.Responder
}

DeleteActionInPackageHandler interface for that can handle valid delete action in package params

type DeleteActionInPackageHandlerFunc

type DeleteActionInPackageHandlerFunc func(DeleteActionInPackageParams, *models.Principal) middleware.Responder

DeleteActionInPackageHandlerFunc turns a function with the right signature into a delete action in package handler

func (DeleteActionInPackageHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteActionInPackageInternalServerError

type DeleteActionInPackageInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageInternalServerError Server error

swagger:response deleteActionInPackageInternalServerError

func NewDeleteActionInPackageInternalServerError

func NewDeleteActionInPackageInternalServerError() *DeleteActionInPackageInternalServerError

NewDeleteActionInPackageInternalServerError creates DeleteActionInPackageInternalServerError with default headers values

func (*DeleteActionInPackageInternalServerError) SetPayload

SetPayload sets the payload to the delete action in package internal server error response

func (*DeleteActionInPackageInternalServerError) WithPayload

WithPayload adds the payload to the delete action in package internal server error response

func (*DeleteActionInPackageInternalServerError) WriteResponse

WriteResponse to the client

type DeleteActionInPackageNotFound

type DeleteActionInPackageNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageNotFound Item not found

swagger:response deleteActionInPackageNotFound

func NewDeleteActionInPackageNotFound

func NewDeleteActionInPackageNotFound() *DeleteActionInPackageNotFound

NewDeleteActionInPackageNotFound creates DeleteActionInPackageNotFound with default headers values

func (*DeleteActionInPackageNotFound) SetPayload

func (o *DeleteActionInPackageNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action in package not found response

func (*DeleteActionInPackageNotFound) WithPayload

WithPayload adds the payload to the delete action in package not found response

func (*DeleteActionInPackageNotFound) WriteResponse

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

WriteResponse to the client

type DeleteActionInPackageOK

type DeleteActionInPackageOK struct {
}

DeleteActionInPackageOK Deleted Item

swagger:response deleteActionInPackageOK

func NewDeleteActionInPackageOK

func NewDeleteActionInPackageOK() *DeleteActionInPackageOK

NewDeleteActionInPackageOK creates DeleteActionInPackageOK with default headers values

func (*DeleteActionInPackageOK) WriteResponse

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

WriteResponse to the client

type DeleteActionInPackageParams

type DeleteActionInPackageParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Name of package that contains action
	  Required: true
	  In: path
	*/
	PackageName string
}

DeleteActionInPackageParams contains all the bound params for the delete action in package operation typically these are obtained from a http.Request

swagger:parameters deleteActionInPackage

func NewDeleteActionInPackageParams

func NewDeleteActionInPackageParams() DeleteActionInPackageParams

NewDeleteActionInPackageParams creates a new DeleteActionInPackageParams object no default values defined in spec.

func (*DeleteActionInPackageParams) 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 NewDeleteActionInPackageParams() beforehand.

type DeleteActionInPackageURL

type DeleteActionInPackageURL struct {
	ActionName  string
	Namespace   string
	PackageName string
	// contains filtered or unexported fields
}

DeleteActionInPackageURL generates an URL for the delete action in package operation

func (*DeleteActionInPackageURL) Build

func (o *DeleteActionInPackageURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteActionInPackageURL) BuildFull

func (o *DeleteActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteActionInPackageURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteActionInPackageURL) SetBasePath

func (o *DeleteActionInPackageURL) 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 (*DeleteActionInPackageURL) String

func (o *DeleteActionInPackageURL) String() string

String returns the string representation of the path with query string

func (*DeleteActionInPackageURL) StringFull

func (o *DeleteActionInPackageURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteActionInPackageURL) 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 DeleteActionInPackageUnauthorized

type DeleteActionInPackageUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInPackageUnauthorized Unauthorized request

swagger:response deleteActionInPackageUnauthorized

func NewDeleteActionInPackageUnauthorized

func NewDeleteActionInPackageUnauthorized() *DeleteActionInPackageUnauthorized

NewDeleteActionInPackageUnauthorized creates DeleteActionInPackageUnauthorized with default headers values

func (*DeleteActionInPackageUnauthorized) SetPayload

func (o *DeleteActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action in package unauthorized response

func (*DeleteActionInPackageUnauthorized) WithPayload

WithPayload adds the payload to the delete action in package unauthorized response

func (*DeleteActionInPackageUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteActionInternalServerError

type DeleteActionInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionInternalServerError Server error

swagger:response deleteActionInternalServerError

func NewDeleteActionInternalServerError

func NewDeleteActionInternalServerError() *DeleteActionInternalServerError

NewDeleteActionInternalServerError creates DeleteActionInternalServerError with default headers values

func (*DeleteActionInternalServerError) SetPayload

func (o *DeleteActionInternalServerError) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action internal server error response

func (*DeleteActionInternalServerError) WithPayload

WithPayload adds the payload to the delete action internal server error response

func (*DeleteActionInternalServerError) WriteResponse

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

WriteResponse to the client

type DeleteActionNotFound

type DeleteActionNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionNotFound Item not found

swagger:response deleteActionNotFound

func NewDeleteActionNotFound

func NewDeleteActionNotFound() *DeleteActionNotFound

NewDeleteActionNotFound creates DeleteActionNotFound with default headers values

func (*DeleteActionNotFound) SetPayload

func (o *DeleteActionNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action not found response

func (*DeleteActionNotFound) WithPayload

WithPayload adds the payload to the delete action not found response

func (*DeleteActionNotFound) WriteResponse

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

WriteResponse to the client

type DeleteActionOK

type DeleteActionOK struct {
}

DeleteActionOK Deleted Item

swagger:response deleteActionOK

func NewDeleteActionOK

func NewDeleteActionOK() *DeleteActionOK

NewDeleteActionOK creates DeleteActionOK with default headers values

func (*DeleteActionOK) WriteResponse

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

WriteResponse to the client

type DeleteActionParams

type DeleteActionParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
}

DeleteActionParams contains all the bound params for the delete action operation typically these are obtained from a http.Request

swagger:parameters deleteAction

func NewDeleteActionParams

func NewDeleteActionParams() DeleteActionParams

NewDeleteActionParams creates a new DeleteActionParams object no default values defined in spec.

func (*DeleteActionParams) BindRequest

func (o *DeleteActionParams) 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 NewDeleteActionParams() beforehand.

type DeleteActionURL

type DeleteActionURL struct {
	ActionName string
	Namespace  string
	// contains filtered or unexported fields
}

DeleteActionURL generates an URL for the delete action operation

func (*DeleteActionURL) Build

func (o *DeleteActionURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteActionURL) BuildFull

func (o *DeleteActionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteActionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*DeleteActionURL) SetBasePath

func (o *DeleteActionURL) 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 (*DeleteActionURL) String

func (o *DeleteActionURL) String() string

String returns the string representation of the path with query string

func (*DeleteActionURL) StringFull

func (o *DeleteActionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteActionURL) WithBasePath

func (o *DeleteActionURL) WithBasePath(bp string) *DeleteActionURL

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 DeleteActionUnauthorized

type DeleteActionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

DeleteActionUnauthorized Unauthorized request

swagger:response deleteActionUnauthorized

func NewDeleteActionUnauthorized

func NewDeleteActionUnauthorized() *DeleteActionUnauthorized

NewDeleteActionUnauthorized creates DeleteActionUnauthorized with default headers values

func (*DeleteActionUnauthorized) SetPayload

func (o *DeleteActionUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the delete action unauthorized response

func (*DeleteActionUnauthorized) WithPayload

WithPayload adds the payload to the delete action unauthorized response

func (*DeleteActionUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteWebNamespacePackageNameActionNameExtension

type DeleteWebNamespacePackageNameActionNameExtension struct {
	Context *middleware.Context
	Handler DeleteWebNamespacePackageNameActionNameExtensionHandler
}

DeleteWebNamespacePackageNameActionNameExtension swagger:route DELETE /web/{namespace}/{packageName}/{actionName}.{extension} Actions deleteWebNamespacePackageNameActionNameExtension

DeleteWebNamespacePackageNameActionNameExtension delete web namespace package name action name extension API

func NewDeleteWebNamespacePackageNameActionNameExtension

NewDeleteWebNamespacePackageNameActionNameExtension creates a new http.Handler for the delete web namespace package name action name extension operation

func (*DeleteWebNamespacePackageNameActionNameExtension) ServeHTTP

type DeleteWebNamespacePackageNameActionNameExtensionDefault

type DeleteWebNamespacePackageNameActionNameExtensionDefault struct {

	/*
	  In: Body
	*/
	Payload DeleteWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteWebNamespacePackageNameActionNameExtensionDefault any response

swagger:response deleteWebNamespacePackageNameActionNameExtensionDefault

func NewDeleteWebNamespacePackageNameActionNameExtensionDefault

func NewDeleteWebNamespacePackageNameActionNameExtensionDefault(code int) *DeleteWebNamespacePackageNameActionNameExtensionDefault

NewDeleteWebNamespacePackageNameActionNameExtensionDefault creates DeleteWebNamespacePackageNameActionNameExtensionDefault with default headers values

func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) SetPayload

SetPayload sets the payload to the delete web namespace package name action name extension default response

func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode

SetStatusCode sets the status to the delete web namespace package name action name extension default response

func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WithPayload

WithPayload adds the payload to the delete web namespace package name action name extension default response

func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode

WithStatusCode adds the status to the delete web namespace package name action name extension default response

func (*DeleteWebNamespacePackageNameActionNameExtensionDefault) WriteResponse

WriteResponse to the client

type DeleteWebNamespacePackageNameActionNameExtensionDefaultBody

type DeleteWebNamespacePackageNameActionNameExtensionDefaultBody interface{}

DeleteWebNamespacePackageNameActionNameExtensionDefaultBody delete web namespace package name action name extension default body swagger:model DeleteWebNamespacePackageNameActionNameExtensionDefaultBody

type DeleteWebNamespacePackageNameActionNameExtensionHandler

type DeleteWebNamespacePackageNameActionNameExtensionHandler interface {
	Handle(DeleteWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}

DeleteWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid delete web namespace package name action name extension params

type DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc

type DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc func(DeleteWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder

DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a delete web namespace package name action name extension handler

func (DeleteWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteWebNamespacePackageNameActionNameExtensionParams

type DeleteWebNamespacePackageNameActionNameExtensionParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	ActionName string
	/*
	  Required: true
	  In: path
	*/
	Extension string
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PackageName string
}

DeleteWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the delete web namespace package name action name extension operation typically these are obtained from a http.Request

swagger:parameters DeleteWebNamespacePackageNameActionNameExtension

func NewDeleteWebNamespacePackageNameActionNameExtensionParams

func NewDeleteWebNamespacePackageNameActionNameExtensionParams() DeleteWebNamespacePackageNameActionNameExtensionParams

NewDeleteWebNamespacePackageNameActionNameExtensionParams creates a new DeleteWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.

func (*DeleteWebNamespacePackageNameActionNameExtensionParams) 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 NewDeleteWebNamespacePackageNameActionNameExtensionParams() beforehand.

type DeleteWebNamespacePackageNameActionNameExtensionURL

type DeleteWebNamespacePackageNameActionNameExtensionURL struct {
	ActionName  string
	Extension   string
	Namespace   string
	PackageName string
	// contains filtered or unexported fields
}

DeleteWebNamespacePackageNameActionNameExtensionURL generates an URL for the delete web namespace package name action name extension operation

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) Build

Build a url path and query string

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) BuildFull

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) Must

Must is a helper function to panic when the url builder returns an error

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) SetBasePath

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 (*DeleteWebNamespacePackageNameActionNameExtensionURL) String

String returns the string representation of the path with query string

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) StringFull

StringFull returns the string representation of a complete url

func (*DeleteWebNamespacePackageNameActionNameExtensionURL) 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 GetActionByName

type GetActionByName struct {
	Context *middleware.Context
	Handler GetActionByNameHandler
}

GetActionByName swagger:route GET /namespaces/{namespace}/actions/{actionName} Actions getActionByName

Get action information

Get action information.

func NewGetActionByName

func NewGetActionByName(ctx *middleware.Context, handler GetActionByNameHandler) *GetActionByName

NewGetActionByName creates a new http.Handler for the get action by name operation

func (*GetActionByName) ServeHTTP

func (o *GetActionByName) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetActionByNameForbidden

type GetActionByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionByNameForbidden Unauthorized request

swagger:response getActionByNameForbidden

func NewGetActionByNameForbidden

func NewGetActionByNameForbidden() *GetActionByNameForbidden

NewGetActionByNameForbidden creates GetActionByNameForbidden with default headers values

func (*GetActionByNameForbidden) SetPayload

func (o *GetActionByNameForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action by name forbidden response

func (*GetActionByNameForbidden) WithPayload

WithPayload adds the payload to the get action by name forbidden response

func (*GetActionByNameForbidden) WriteResponse

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

WriteResponse to the client

type GetActionByNameHandler

type GetActionByNameHandler interface {
	Handle(GetActionByNameParams, *models.Principal) middleware.Responder
}

GetActionByNameHandler interface for that can handle valid get action by name params

type GetActionByNameHandlerFunc

type GetActionByNameHandlerFunc func(GetActionByNameParams, *models.Principal) middleware.Responder

GetActionByNameHandlerFunc turns a function with the right signature into a get action by name handler

func (GetActionByNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetActionByNameInternalServerError

type GetActionByNameInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionByNameInternalServerError Server error

swagger:response getActionByNameInternalServerError

func NewGetActionByNameInternalServerError

func NewGetActionByNameInternalServerError() *GetActionByNameInternalServerError

NewGetActionByNameInternalServerError creates GetActionByNameInternalServerError with default headers values

func (*GetActionByNameInternalServerError) SetPayload

func (o *GetActionByNameInternalServerError) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action by name internal server error response

func (*GetActionByNameInternalServerError) WithPayload

WithPayload adds the payload to the get action by name internal server error response

func (*GetActionByNameInternalServerError) WriteResponse

WriteResponse to the client

type GetActionByNameNotFound

type GetActionByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionByNameNotFound Item not found

swagger:response getActionByNameNotFound

func NewGetActionByNameNotFound

func NewGetActionByNameNotFound() *GetActionByNameNotFound

NewGetActionByNameNotFound creates GetActionByNameNotFound with default headers values

func (*GetActionByNameNotFound) SetPayload

func (o *GetActionByNameNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action by name not found response

func (*GetActionByNameNotFound) WithPayload

WithPayload adds the payload to the get action by name not found response

func (*GetActionByNameNotFound) WriteResponse

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

WriteResponse to the client

type GetActionByNameOK

type GetActionByNameOK struct {

	/*
	  In: Body
	*/
	Payload *models.Action `json:"body,omitempty"`
}

GetActionByNameOK Returned action

swagger:response getActionByNameOK

func NewGetActionByNameOK

func NewGetActionByNameOK() *GetActionByNameOK

NewGetActionByNameOK creates GetActionByNameOK with default headers values

func (*GetActionByNameOK) SetPayload

func (o *GetActionByNameOK) SetPayload(payload *models.Action)

SetPayload sets the payload to the get action by name o k response

func (*GetActionByNameOK) WithPayload

func (o *GetActionByNameOK) WithPayload(payload *models.Action) *GetActionByNameOK

WithPayload adds the payload to the get action by name o k response

func (*GetActionByNameOK) WriteResponse

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

WriteResponse to the client

type GetActionByNameParams

type GetActionByNameParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*Include action code in the result
	  In: query
	*/
	Code *bool
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
}

GetActionByNameParams contains all the bound params for the get action by name operation typically these are obtained from a http.Request

swagger:parameters getActionByName

func NewGetActionByNameParams

func NewGetActionByNameParams() GetActionByNameParams

NewGetActionByNameParams creates a new GetActionByNameParams object no default values defined in spec.

func (*GetActionByNameParams) BindRequest

func (o *GetActionByNameParams) 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 NewGetActionByNameParams() beforehand.

type GetActionByNameURL

type GetActionByNameURL struct {
	ActionName string
	Namespace  string

	Code *bool
	// contains filtered or unexported fields
}

GetActionByNameURL generates an URL for the get action by name operation

func (*GetActionByNameURL) Build

func (o *GetActionByNameURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetActionByNameURL) BuildFull

func (o *GetActionByNameURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetActionByNameURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetActionByNameURL) SetBasePath

func (o *GetActionByNameURL) 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 (*GetActionByNameURL) String

func (o *GetActionByNameURL) String() string

String returns the string representation of the path with query string

func (*GetActionByNameURL) StringFull

func (o *GetActionByNameURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetActionByNameURL) WithBasePath

func (o *GetActionByNameURL) WithBasePath(bp string) *GetActionByNameURL

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 GetActionByNameUnauthorized

type GetActionByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionByNameUnauthorized Unauthorized request

swagger:response getActionByNameUnauthorized

func NewGetActionByNameUnauthorized

func NewGetActionByNameUnauthorized() *GetActionByNameUnauthorized

NewGetActionByNameUnauthorized creates GetActionByNameUnauthorized with default headers values

func (*GetActionByNameUnauthorized) SetPayload

func (o *GetActionByNameUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action by name unauthorized response

func (*GetActionByNameUnauthorized) WithPayload

WithPayload adds the payload to the get action by name unauthorized response

func (*GetActionByNameUnauthorized) WriteResponse

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

WriteResponse to the client

type GetActionInPackageByName

type GetActionInPackageByName struct {
	Context *middleware.Context
	Handler GetActionInPackageByNameHandler
}

GetActionInPackageByName swagger:route GET /namespaces/{namespace}/actions/{packageName}/{actionName} Actions getActionInPackageByName

Get action information

Get action information.

func NewGetActionInPackageByName

func NewGetActionInPackageByName(ctx *middleware.Context, handler GetActionInPackageByNameHandler) *GetActionInPackageByName

NewGetActionInPackageByName creates a new http.Handler for the get action in package by name operation

func (*GetActionInPackageByName) ServeHTTP

type GetActionInPackageByNameForbidden

type GetActionInPackageByNameForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionInPackageByNameForbidden Unauthorized request

swagger:response getActionInPackageByNameForbidden

func NewGetActionInPackageByNameForbidden

func NewGetActionInPackageByNameForbidden() *GetActionInPackageByNameForbidden

NewGetActionInPackageByNameForbidden creates GetActionInPackageByNameForbidden with default headers values

func (*GetActionInPackageByNameForbidden) SetPayload

func (o *GetActionInPackageByNameForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action in package by name forbidden response

func (*GetActionInPackageByNameForbidden) WithPayload

WithPayload adds the payload to the get action in package by name forbidden response

func (*GetActionInPackageByNameForbidden) WriteResponse

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

WriteResponse to the client

type GetActionInPackageByNameHandler

type GetActionInPackageByNameHandler interface {
	Handle(GetActionInPackageByNameParams, *models.Principal) middleware.Responder
}

GetActionInPackageByNameHandler interface for that can handle valid get action in package by name params

type GetActionInPackageByNameHandlerFunc

type GetActionInPackageByNameHandlerFunc func(GetActionInPackageByNameParams, *models.Principal) middleware.Responder

GetActionInPackageByNameHandlerFunc turns a function with the right signature into a get action in package by name handler

func (GetActionInPackageByNameHandlerFunc) Handle

Handle executing the request and returning a response

type GetActionInPackageByNameInternalServerError

type GetActionInPackageByNameInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionInPackageByNameInternalServerError Server error

swagger:response getActionInPackageByNameInternalServerError

func NewGetActionInPackageByNameInternalServerError

func NewGetActionInPackageByNameInternalServerError() *GetActionInPackageByNameInternalServerError

NewGetActionInPackageByNameInternalServerError creates GetActionInPackageByNameInternalServerError with default headers values

func (*GetActionInPackageByNameInternalServerError) SetPayload

SetPayload sets the payload to the get action in package by name internal server error response

func (*GetActionInPackageByNameInternalServerError) WithPayload

WithPayload adds the payload to the get action in package by name internal server error response

func (*GetActionInPackageByNameInternalServerError) WriteResponse

WriteResponse to the client

type GetActionInPackageByNameNotFound

type GetActionInPackageByNameNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionInPackageByNameNotFound Item not found

swagger:response getActionInPackageByNameNotFound

func NewGetActionInPackageByNameNotFound

func NewGetActionInPackageByNameNotFound() *GetActionInPackageByNameNotFound

NewGetActionInPackageByNameNotFound creates GetActionInPackageByNameNotFound with default headers values

func (*GetActionInPackageByNameNotFound) SetPayload

func (o *GetActionInPackageByNameNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get action in package by name not found response

func (*GetActionInPackageByNameNotFound) WithPayload

WithPayload adds the payload to the get action in package by name not found response

func (*GetActionInPackageByNameNotFound) WriteResponse

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

WriteResponse to the client

type GetActionInPackageByNameOK

type GetActionInPackageByNameOK struct {

	/*
	  In: Body
	*/
	Payload *models.Action `json:"body,omitempty"`
}

GetActionInPackageByNameOK Returned action

swagger:response getActionInPackageByNameOK

func NewGetActionInPackageByNameOK

func NewGetActionInPackageByNameOK() *GetActionInPackageByNameOK

NewGetActionInPackageByNameOK creates GetActionInPackageByNameOK with default headers values

func (*GetActionInPackageByNameOK) SetPayload

func (o *GetActionInPackageByNameOK) SetPayload(payload *models.Action)

SetPayload sets the payload to the get action in package by name o k response

func (*GetActionInPackageByNameOK) WithPayload

WithPayload adds the payload to the get action in package by name o k response

func (*GetActionInPackageByNameOK) WriteResponse

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

WriteResponse to the client

type GetActionInPackageByNameParams

type GetActionInPackageByNameParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*Include action code in the result
	  In: query
	*/
	Code *bool
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Name of package that contains action
	  Required: true
	  In: path
	*/
	PackageName string
}

GetActionInPackageByNameParams contains all the bound params for the get action in package by name operation typically these are obtained from a http.Request

swagger:parameters getActionInPackageByName

func NewGetActionInPackageByNameParams

func NewGetActionInPackageByNameParams() GetActionInPackageByNameParams

NewGetActionInPackageByNameParams creates a new GetActionInPackageByNameParams object no default values defined in spec.

func (*GetActionInPackageByNameParams) 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 NewGetActionInPackageByNameParams() beforehand.

type GetActionInPackageByNameURL

type GetActionInPackageByNameURL struct {
	ActionName  string
	Namespace   string
	PackageName string

	Code *bool
	// contains filtered or unexported fields
}

GetActionInPackageByNameURL generates an URL for the get action in package by name operation

func (*GetActionInPackageByNameURL) Build

func (o *GetActionInPackageByNameURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetActionInPackageByNameURL) BuildFull

func (o *GetActionInPackageByNameURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetActionInPackageByNameURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetActionInPackageByNameURL) SetBasePath

func (o *GetActionInPackageByNameURL) 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 (*GetActionInPackageByNameURL) String

func (o *GetActionInPackageByNameURL) String() string

String returns the string representation of the path with query string

func (*GetActionInPackageByNameURL) StringFull

func (o *GetActionInPackageByNameURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetActionInPackageByNameURL) 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 GetActionInPackageByNameUnauthorized

type GetActionInPackageByNameUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetActionInPackageByNameUnauthorized Unauthorized request

swagger:response getActionInPackageByNameUnauthorized

func NewGetActionInPackageByNameUnauthorized

func NewGetActionInPackageByNameUnauthorized() *GetActionInPackageByNameUnauthorized

NewGetActionInPackageByNameUnauthorized creates GetActionInPackageByNameUnauthorized with default headers values

func (*GetActionInPackageByNameUnauthorized) SetPayload

SetPayload sets the payload to the get action in package by name unauthorized response

func (*GetActionInPackageByNameUnauthorized) WithPayload

WithPayload adds the payload to the get action in package by name unauthorized response

func (*GetActionInPackageByNameUnauthorized) WriteResponse

WriteResponse to the client

type GetAllActions

type GetAllActions struct {
	Context *middleware.Context
	Handler GetAllActionsHandler
}

GetAllActions swagger:route GET /namespaces/{namespace}/actions Actions getAllActions

Get all actions

Get all actions

func NewGetAllActions

func NewGetAllActions(ctx *middleware.Context, handler GetAllActionsHandler) *GetAllActions

NewGetAllActions creates a new http.Handler for the get all actions operation

func (*GetAllActions) ServeHTTP

func (o *GetAllActions) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetAllActionsHandler

type GetAllActionsHandler interface {
	Handle(GetAllActionsParams, *models.Principal) middleware.Responder
}

GetAllActionsHandler interface for that can handle valid get all actions params

type GetAllActionsHandlerFunc

type GetAllActionsHandlerFunc func(GetAllActionsParams, *models.Principal) middleware.Responder

GetAllActionsHandlerFunc turns a function with the right signature into a get all actions handler

func (GetAllActionsHandlerFunc) Handle

Handle executing the request and returning a response

type GetAllActionsInternalServerError

type GetAllActionsInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetAllActionsInternalServerError Server error

swagger:response getAllActionsInternalServerError

func NewGetAllActionsInternalServerError

func NewGetAllActionsInternalServerError() *GetAllActionsInternalServerError

NewGetAllActionsInternalServerError creates GetAllActionsInternalServerError with default headers values

func (*GetAllActionsInternalServerError) SetPayload

func (o *GetAllActionsInternalServerError) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get all actions internal server error response

func (*GetAllActionsInternalServerError) WithPayload

WithPayload adds the payload to the get all actions internal server error response

func (*GetAllActionsInternalServerError) WriteResponse

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

WriteResponse to the client

type GetAllActionsOK

type GetAllActionsOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Action `json:"body,omitempty"`
}

GetAllActionsOK Actions response

swagger:response getAllActionsOK

func NewGetAllActionsOK

func NewGetAllActionsOK() *GetAllActionsOK

NewGetAllActionsOK creates GetAllActionsOK with default headers values

func (*GetAllActionsOK) SetPayload

func (o *GetAllActionsOK) SetPayload(payload []*models.Action)

SetPayload sets the payload to the get all actions o k response

func (*GetAllActionsOK) WithPayload

func (o *GetAllActionsOK) WithPayload(payload []*models.Action) *GetAllActionsOK

WithPayload adds the payload to the get all actions o k response

func (*GetAllActionsOK) WriteResponse

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

WriteResponse to the client

type GetAllActionsParams

type GetAllActionsParams struct {

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

	/*Number of entities to include in the result (0-200). The default limit is 30. A value of 0 sets the limit to the maximum.
	  In: query
	*/
	Limit *int64
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Number of entities to skip in the result.
	  In: query
	*/
	Skip *int64
}

GetAllActionsParams contains all the bound params for the get all actions operation typically these are obtained from a http.Request

swagger:parameters getAllActions

func NewGetAllActionsParams

func NewGetAllActionsParams() GetAllActionsParams

NewGetAllActionsParams creates a new GetAllActionsParams object no default values defined in spec.

func (*GetAllActionsParams) BindRequest

func (o *GetAllActionsParams) 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 NewGetAllActionsParams() beforehand.

type GetAllActionsURL

type GetAllActionsURL struct {
	Namespace string

	Limit *int64
	Skip  *int64
	// contains filtered or unexported fields
}

GetAllActionsURL generates an URL for the get all actions operation

func (*GetAllActionsURL) Build

func (o *GetAllActionsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetAllActionsURL) BuildFull

func (o *GetAllActionsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetAllActionsURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*GetAllActionsURL) SetBasePath

func (o *GetAllActionsURL) 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 (*GetAllActionsURL) String

func (o *GetAllActionsURL) String() string

String returns the string representation of the path with query string

func (*GetAllActionsURL) StringFull

func (o *GetAllActionsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetAllActionsURL) WithBasePath

func (o *GetAllActionsURL) WithBasePath(bp string) *GetAllActionsURL

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 GetAllActionsUnauthorized

type GetAllActionsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

GetAllActionsUnauthorized Unauthorized request

swagger:response getAllActionsUnauthorized

func NewGetAllActionsUnauthorized

func NewGetAllActionsUnauthorized() *GetAllActionsUnauthorized

NewGetAllActionsUnauthorized creates GetAllActionsUnauthorized with default headers values

func (*GetAllActionsUnauthorized) SetPayload

func (o *GetAllActionsUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the get all actions unauthorized response

func (*GetAllActionsUnauthorized) WithPayload

WithPayload adds the payload to the get all actions unauthorized response

func (*GetAllActionsUnauthorized) WriteResponse

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

WriteResponse to the client

type GetWebNamespacePackageNameActionNameExtension

type GetWebNamespacePackageNameActionNameExtension struct {
	Context *middleware.Context
	Handler GetWebNamespacePackageNameActionNameExtensionHandler
}

GetWebNamespacePackageNameActionNameExtension swagger:route GET /web/{namespace}/{packageName}/{actionName}.{extension} Actions getWebNamespacePackageNameActionNameExtension

GetWebNamespacePackageNameActionNameExtension get web namespace package name action name extension API

func NewGetWebNamespacePackageNameActionNameExtension

NewGetWebNamespacePackageNameActionNameExtension creates a new http.Handler for the get web namespace package name action name extension operation

func (*GetWebNamespacePackageNameActionNameExtension) ServeHTTP

type GetWebNamespacePackageNameActionNameExtensionDefault

type GetWebNamespacePackageNameActionNameExtensionDefault struct {

	/*
	  In: Body
	*/
	Payload GetWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetWebNamespacePackageNameActionNameExtensionDefault any response

swagger:response getWebNamespacePackageNameActionNameExtensionDefault

func NewGetWebNamespacePackageNameActionNameExtensionDefault

func NewGetWebNamespacePackageNameActionNameExtensionDefault(code int) *GetWebNamespacePackageNameActionNameExtensionDefault

NewGetWebNamespacePackageNameActionNameExtensionDefault creates GetWebNamespacePackageNameActionNameExtensionDefault with default headers values

func (*GetWebNamespacePackageNameActionNameExtensionDefault) SetPayload

SetPayload sets the payload to the get web namespace package name action name extension default response

func (*GetWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode

SetStatusCode sets the status to the get web namespace package name action name extension default response

func (*GetWebNamespacePackageNameActionNameExtensionDefault) WithPayload

WithPayload adds the payload to the get web namespace package name action name extension default response

func (*GetWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode

WithStatusCode adds the status to the get web namespace package name action name extension default response

func (*GetWebNamespacePackageNameActionNameExtensionDefault) WriteResponse

WriteResponse to the client

type GetWebNamespacePackageNameActionNameExtensionDefaultBody

type GetWebNamespacePackageNameActionNameExtensionDefaultBody interface{}

GetWebNamespacePackageNameActionNameExtensionDefaultBody get web namespace package name action name extension default body swagger:model GetWebNamespacePackageNameActionNameExtensionDefaultBody

type GetWebNamespacePackageNameActionNameExtensionHandler

type GetWebNamespacePackageNameActionNameExtensionHandler interface {
	Handle(GetWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}

GetWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid get web namespace package name action name extension params

type GetWebNamespacePackageNameActionNameExtensionHandlerFunc

type GetWebNamespacePackageNameActionNameExtensionHandlerFunc func(GetWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder

GetWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a get web namespace package name action name extension handler

func (GetWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type GetWebNamespacePackageNameActionNameExtensionParams

type GetWebNamespacePackageNameActionNameExtensionParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	ActionName string
	/*
	  Required: true
	  In: path
	*/
	Extension string
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PackageName string
}

GetWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the get web namespace package name action name extension operation typically these are obtained from a http.Request

swagger:parameters GetWebNamespacePackageNameActionNameExtension

func NewGetWebNamespacePackageNameActionNameExtensionParams

func NewGetWebNamespacePackageNameActionNameExtensionParams() GetWebNamespacePackageNameActionNameExtensionParams

NewGetWebNamespacePackageNameActionNameExtensionParams creates a new GetWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.

func (*GetWebNamespacePackageNameActionNameExtensionParams) 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 NewGetWebNamespacePackageNameActionNameExtensionParams() beforehand.

type GetWebNamespacePackageNameActionNameExtensionURL

type GetWebNamespacePackageNameActionNameExtensionURL struct {
	ActionName  string
	Extension   string
	Namespace   string
	PackageName string
	// contains filtered or unexported fields
}

GetWebNamespacePackageNameActionNameExtensionURL generates an URL for the get web namespace package name action name extension operation

func (*GetWebNamespacePackageNameActionNameExtensionURL) Build

Build a url path and query string

func (*GetWebNamespacePackageNameActionNameExtensionURL) BuildFull

func (o *GetWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetWebNamespacePackageNameActionNameExtensionURL) Must

Must is a helper function to panic when the url builder returns an error

func (*GetWebNamespacePackageNameActionNameExtensionURL) SetBasePath

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 (*GetWebNamespacePackageNameActionNameExtensionURL) String

String returns the string representation of the path with query string

func (*GetWebNamespacePackageNameActionNameExtensionURL) StringFull

StringFull returns the string representation of a complete url

func (*GetWebNamespacePackageNameActionNameExtensionURL) 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 InvokeAction

type InvokeAction struct {
	Context *middleware.Context
	Handler InvokeActionHandler
}

InvokeAction swagger:route POST /namespaces/{namespace}/actions/{actionName} Actions invokeAction

Invoke an action

Invoke an action

func NewInvokeAction

func NewInvokeAction(ctx *middleware.Context, handler InvokeActionHandler) *InvokeAction

NewInvokeAction creates a new http.Handler for the invoke action operation

func (*InvokeAction) ServeHTTP

func (o *InvokeAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type InvokeActionAccepted

type InvokeActionAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.ActivationID `json:"body,omitempty"`
}

InvokeActionAccepted Accepted activation request

swagger:response invokeActionAccepted

func NewInvokeActionAccepted

func NewInvokeActionAccepted() *InvokeActionAccepted

NewInvokeActionAccepted creates InvokeActionAccepted with default headers values

func (*InvokeActionAccepted) SetPayload

func (o *InvokeActionAccepted) SetPayload(payload *models.ActivationID)

SetPayload sets the payload to the invoke action accepted response

func (*InvokeActionAccepted) WithPayload

WithPayload adds the payload to the invoke action accepted response

func (*InvokeActionAccepted) WriteResponse

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

WriteResponse to the client

type InvokeActionBadGateway

type InvokeActionBadGateway struct {
}

InvokeActionBadGateway Activation produced an application error

swagger:response invokeActionBadGateway

func NewInvokeActionBadGateway

func NewInvokeActionBadGateway() *InvokeActionBadGateway

NewInvokeActionBadGateway creates InvokeActionBadGateway with default headers values

func (*InvokeActionBadGateway) WriteResponse

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

WriteResponse to the client

type InvokeActionForbidden

type InvokeActionForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionForbidden Unauthorized request

swagger:response invokeActionForbidden

func NewInvokeActionForbidden

func NewInvokeActionForbidden() *InvokeActionForbidden

NewInvokeActionForbidden creates InvokeActionForbidden with default headers values

func (*InvokeActionForbidden) SetPayload

func (o *InvokeActionForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action forbidden response

func (*InvokeActionForbidden) WithPayload

WithPayload adds the payload to the invoke action forbidden response

func (*InvokeActionForbidden) WriteResponse

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

WriteResponse to the client

type InvokeActionHandler

type InvokeActionHandler interface {
	Handle(InvokeActionParams, *models.Principal) middleware.Responder
}

InvokeActionHandler interface for that can handle valid invoke action params

type InvokeActionHandlerFunc

type InvokeActionHandlerFunc func(InvokeActionParams, *models.Principal) middleware.Responder

InvokeActionHandlerFunc turns a function with the right signature into a invoke action handler

func (InvokeActionHandlerFunc) Handle

Handle executing the request and returning a response

type InvokeActionInPackage

type InvokeActionInPackage struct {
	Context *middleware.Context
	Handler InvokeActionInPackageHandler
}

InvokeActionInPackage swagger:route POST /namespaces/{namespace}/actions/{packageName}/{actionName} Actions invokeActionInPackage

Invoke an action

Invoke an action

func NewInvokeActionInPackage

func NewInvokeActionInPackage(ctx *middleware.Context, handler InvokeActionInPackageHandler) *InvokeActionInPackage

NewInvokeActionInPackage creates a new http.Handler for the invoke action in package operation

func (*InvokeActionInPackage) ServeHTTP

func (o *InvokeActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type InvokeActionInPackageAccepted

type InvokeActionInPackageAccepted struct {

	/*
	  In: Body
	*/
	Payload *models.ActivationID `json:"body,omitempty"`
}

InvokeActionInPackageAccepted Accepted activation request

swagger:response invokeActionInPackageAccepted

func NewInvokeActionInPackageAccepted

func NewInvokeActionInPackageAccepted() *InvokeActionInPackageAccepted

NewInvokeActionInPackageAccepted creates InvokeActionInPackageAccepted with default headers values

func (*InvokeActionInPackageAccepted) SetPayload

func (o *InvokeActionInPackageAccepted) SetPayload(payload *models.ActivationID)

SetPayload sets the payload to the invoke action in package accepted response

func (*InvokeActionInPackageAccepted) WithPayload

WithPayload adds the payload to the invoke action in package accepted response

func (*InvokeActionInPackageAccepted) WriteResponse

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

WriteResponse to the client

type InvokeActionInPackageBadGateway

type InvokeActionInPackageBadGateway struct {
}

InvokeActionInPackageBadGateway Activation produced an application error

swagger:response invokeActionInPackageBadGateway

func NewInvokeActionInPackageBadGateway

func NewInvokeActionInPackageBadGateway() *InvokeActionInPackageBadGateway

NewInvokeActionInPackageBadGateway creates InvokeActionInPackageBadGateway with default headers values

func (*InvokeActionInPackageBadGateway) WriteResponse

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

WriteResponse to the client

type InvokeActionInPackageForbidden

type InvokeActionInPackageForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionInPackageForbidden Unauthorized request

swagger:response invokeActionInPackageForbidden

func NewInvokeActionInPackageForbidden

func NewInvokeActionInPackageForbidden() *InvokeActionInPackageForbidden

NewInvokeActionInPackageForbidden creates InvokeActionInPackageForbidden with default headers values

func (*InvokeActionInPackageForbidden) SetPayload

func (o *InvokeActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action in package forbidden response

func (*InvokeActionInPackageForbidden) WithPayload

WithPayload adds the payload to the invoke action in package forbidden response

func (*InvokeActionInPackageForbidden) WriteResponse

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

WriteResponse to the client

type InvokeActionInPackageHandler

type InvokeActionInPackageHandler interface {
	Handle(InvokeActionInPackageParams, *models.Principal) middleware.Responder
}

InvokeActionInPackageHandler interface for that can handle valid invoke action in package params

type InvokeActionInPackageHandlerFunc

type InvokeActionInPackageHandlerFunc func(InvokeActionInPackageParams, *models.Principal) middleware.Responder

InvokeActionInPackageHandlerFunc turns a function with the right signature into a invoke action in package handler

func (InvokeActionInPackageHandlerFunc) Handle

Handle executing the request and returning a response

type InvokeActionInPackageInternalServerError

type InvokeActionInPackageInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionInPackageInternalServerError Server error

swagger:response invokeActionInPackageInternalServerError

func NewInvokeActionInPackageInternalServerError

func NewInvokeActionInPackageInternalServerError() *InvokeActionInPackageInternalServerError

NewInvokeActionInPackageInternalServerError creates InvokeActionInPackageInternalServerError with default headers values

func (*InvokeActionInPackageInternalServerError) SetPayload

SetPayload sets the payload to the invoke action in package internal server error response

func (*InvokeActionInPackageInternalServerError) WithPayload

WithPayload adds the payload to the invoke action in package internal server error response

func (*InvokeActionInPackageInternalServerError) WriteResponse

WriteResponse to the client

type InvokeActionInPackageNotFound

type InvokeActionInPackageNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionInPackageNotFound Item not found

swagger:response invokeActionInPackageNotFound

func NewInvokeActionInPackageNotFound

func NewInvokeActionInPackageNotFound() *InvokeActionInPackageNotFound

NewInvokeActionInPackageNotFound creates InvokeActionInPackageNotFound with default headers values

func (*InvokeActionInPackageNotFound) SetPayload

func (o *InvokeActionInPackageNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action in package not found response

func (*InvokeActionInPackageNotFound) WithPayload

WithPayload adds the payload to the invoke action in package not found response

func (*InvokeActionInPackageNotFound) WriteResponse

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

WriteResponse to the client

type InvokeActionInPackageOK

type InvokeActionInPackageOK struct {
}

InvokeActionInPackageOK Successful activation

swagger:response invokeActionInPackageOK

func NewInvokeActionInPackageOK

func NewInvokeActionInPackageOK() *InvokeActionInPackageOK

NewInvokeActionInPackageOK creates InvokeActionInPackageOK with default headers values

func (*InvokeActionInPackageOK) WriteResponse

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

WriteResponse to the client

type InvokeActionInPackageParams

type InvokeActionInPackageParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*Blocking or non-blocking invocation. Default is non-blocking.
	  In: query
	*/
	Blocking *string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Name of package that contains action
	  Required: true
	  In: path
	*/
	PackageName string
	/*The parameters for the action being invoked
	  In: body
	*/
	Payload interface{}
	/*Return only the result of a blocking activation. Default is false.
	  In: query
	*/
	Result *string
	/*Wait no more than specified duration in milliseconds for a blocking response. Default value and max allowed timeout are 60000.
	  In: query
	*/
	Timeout *int64
}

InvokeActionInPackageParams contains all the bound params for the invoke action in package operation typically these are obtained from a http.Request

swagger:parameters invokeActionInPackage

func NewInvokeActionInPackageParams

func NewInvokeActionInPackageParams() InvokeActionInPackageParams

NewInvokeActionInPackageParams creates a new InvokeActionInPackageParams object no default values defined in spec.

func (*InvokeActionInPackageParams) 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 NewInvokeActionInPackageParams() beforehand.

type InvokeActionInPackageRequestTimeout

type InvokeActionInPackageRequestTimeout struct {
}

InvokeActionInPackageRequestTimeout Request timed out

swagger:response invokeActionInPackageRequestTimeout

func NewInvokeActionInPackageRequestTimeout

func NewInvokeActionInPackageRequestTimeout() *InvokeActionInPackageRequestTimeout

NewInvokeActionInPackageRequestTimeout creates InvokeActionInPackageRequestTimeout with default headers values

func (*InvokeActionInPackageRequestTimeout) WriteResponse

WriteResponse to the client

type InvokeActionInPackageURL

type InvokeActionInPackageURL struct {
	ActionName  string
	Namespace   string
	PackageName string

	Blocking *string
	Result   *string
	Timeout  *int64
	// contains filtered or unexported fields
}

InvokeActionInPackageURL generates an URL for the invoke action in package operation

func (*InvokeActionInPackageURL) Build

func (o *InvokeActionInPackageURL) Build() (*url.URL, error)

Build a url path and query string

func (*InvokeActionInPackageURL) BuildFull

func (o *InvokeActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*InvokeActionInPackageURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*InvokeActionInPackageURL) SetBasePath

func (o *InvokeActionInPackageURL) 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 (*InvokeActionInPackageURL) String

func (o *InvokeActionInPackageURL) String() string

String returns the string representation of the path with query string

func (*InvokeActionInPackageURL) StringFull

func (o *InvokeActionInPackageURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*InvokeActionInPackageURL) 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 InvokeActionInPackageUnauthorized

type InvokeActionInPackageUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionInPackageUnauthorized Unauthorized request

swagger:response invokeActionInPackageUnauthorized

func NewInvokeActionInPackageUnauthorized

func NewInvokeActionInPackageUnauthorized() *InvokeActionInPackageUnauthorized

NewInvokeActionInPackageUnauthorized creates InvokeActionInPackageUnauthorized with default headers values

func (*InvokeActionInPackageUnauthorized) SetPayload

func (o *InvokeActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action in package unauthorized response

func (*InvokeActionInPackageUnauthorized) WithPayload

WithPayload adds the payload to the invoke action in package unauthorized response

func (*InvokeActionInPackageUnauthorized) WriteResponse

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

WriteResponse to the client

type InvokeActionInternalServerError

type InvokeActionInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionInternalServerError Server error

swagger:response invokeActionInternalServerError

func NewInvokeActionInternalServerError

func NewInvokeActionInternalServerError() *InvokeActionInternalServerError

NewInvokeActionInternalServerError creates InvokeActionInternalServerError with default headers values

func (*InvokeActionInternalServerError) SetPayload

func (o *InvokeActionInternalServerError) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action internal server error response

func (*InvokeActionInternalServerError) WithPayload

WithPayload adds the payload to the invoke action internal server error response

func (*InvokeActionInternalServerError) WriteResponse

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

WriteResponse to the client

type InvokeActionNotFound

type InvokeActionNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionNotFound Item not found

swagger:response invokeActionNotFound

func NewInvokeActionNotFound

func NewInvokeActionNotFound() *InvokeActionNotFound

NewInvokeActionNotFound creates InvokeActionNotFound with default headers values

func (*InvokeActionNotFound) SetPayload

func (o *InvokeActionNotFound) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action not found response

func (*InvokeActionNotFound) WithPayload

WithPayload adds the payload to the invoke action not found response

func (*InvokeActionNotFound) WriteResponse

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

WriteResponse to the client

type InvokeActionOK

type InvokeActionOK struct {

	/*
	  In: Body
	*/
	Payload InvokeActionOKBody `json:"body,omitempty"`
}

InvokeActionOK Successful activation

swagger:response invokeActionOK

func NewInvokeActionOK

func NewInvokeActionOK() *InvokeActionOK

NewInvokeActionOK creates InvokeActionOK with default headers values

func (*InvokeActionOK) SetPayload

func (o *InvokeActionOK) SetPayload(payload InvokeActionOKBody)

SetPayload sets the payload to the invoke action o k response

func (*InvokeActionOK) WithPayload

func (o *InvokeActionOK) WithPayload(payload InvokeActionOKBody) *InvokeActionOK

WithPayload adds the payload to the invoke action o k response

func (*InvokeActionOK) WriteResponse

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

WriteResponse to the client

type InvokeActionOKBody

type InvokeActionOKBody interface{}

InvokeActionOKBody invoke action o k body swagger:model InvokeActionOKBody

type InvokeActionParams

type InvokeActionParams struct {

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

	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*Blocking or non-blocking invocation. Default is non-blocking.
	  In: query
	*/
	Blocking *string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*The parameters for the action being invoked
	  In: body
	*/
	Payload interface{}
	/*Return only the result of a blocking activation. Default is false.
	  In: query
	*/
	Result *string
	/*Wait no more than specified duration in milliseconds for a blocking response. Default value and max allowed timeout are 60000.
	  In: query
	*/
	Timeout *int64
}

InvokeActionParams contains all the bound params for the invoke action operation typically these are obtained from a http.Request

swagger:parameters invokeAction

func NewInvokeActionParams

func NewInvokeActionParams() InvokeActionParams

NewInvokeActionParams creates a new InvokeActionParams object no default values defined in spec.

func (*InvokeActionParams) BindRequest

func (o *InvokeActionParams) 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 NewInvokeActionParams() beforehand.

type InvokeActionRequestTimeout

type InvokeActionRequestTimeout struct {
}

InvokeActionRequestTimeout Request timed out

swagger:response invokeActionRequestTimeout

func NewInvokeActionRequestTimeout

func NewInvokeActionRequestTimeout() *InvokeActionRequestTimeout

NewInvokeActionRequestTimeout creates InvokeActionRequestTimeout with default headers values

func (*InvokeActionRequestTimeout) WriteResponse

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

WriteResponse to the client

type InvokeActionURL

type InvokeActionURL struct {
	ActionName string
	Namespace  string

	Blocking *string
	Result   *string
	Timeout  *int64
	// contains filtered or unexported fields
}

InvokeActionURL generates an URL for the invoke action operation

func (*InvokeActionURL) Build

func (o *InvokeActionURL) Build() (*url.URL, error)

Build a url path and query string

func (*InvokeActionURL) BuildFull

func (o *InvokeActionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*InvokeActionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*InvokeActionURL) SetBasePath

func (o *InvokeActionURL) 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 (*InvokeActionURL) String

func (o *InvokeActionURL) String() string

String returns the string representation of the path with query string

func (*InvokeActionURL) StringFull

func (o *InvokeActionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*InvokeActionURL) WithBasePath

func (o *InvokeActionURL) WithBasePath(bp string) *InvokeActionURL

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 InvokeActionUnauthorized

type InvokeActionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

InvokeActionUnauthorized Unauthorized request

swagger:response invokeActionUnauthorized

func NewInvokeActionUnauthorized

func NewInvokeActionUnauthorized() *InvokeActionUnauthorized

NewInvokeActionUnauthorized creates InvokeActionUnauthorized with default headers values

func (*InvokeActionUnauthorized) SetPayload

func (o *InvokeActionUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the invoke action unauthorized response

func (*InvokeActionUnauthorized) WithPayload

WithPayload adds the payload to the invoke action unauthorized response

func (*InvokeActionUnauthorized) WriteResponse

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

WriteResponse to the client

type PostWebNamespacePackageNameActionNameExtension

type PostWebNamespacePackageNameActionNameExtension struct {
	Context *middleware.Context
	Handler PostWebNamespacePackageNameActionNameExtensionHandler
}

PostWebNamespacePackageNameActionNameExtension swagger:route POST /web/{namespace}/{packageName}/{actionName}.{extension} Actions postWebNamespacePackageNameActionNameExtension

PostWebNamespacePackageNameActionNameExtension post web namespace package name action name extension API

func NewPostWebNamespacePackageNameActionNameExtension

NewPostWebNamespacePackageNameActionNameExtension creates a new http.Handler for the post web namespace package name action name extension operation

func (*PostWebNamespacePackageNameActionNameExtension) ServeHTTP

type PostWebNamespacePackageNameActionNameExtensionDefault

type PostWebNamespacePackageNameActionNameExtensionDefault struct {

	/*
	  In: Body
	*/
	Payload PostWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostWebNamespacePackageNameActionNameExtensionDefault any response

swagger:response postWebNamespacePackageNameActionNameExtensionDefault

func NewPostWebNamespacePackageNameActionNameExtensionDefault

func NewPostWebNamespacePackageNameActionNameExtensionDefault(code int) *PostWebNamespacePackageNameActionNameExtensionDefault

NewPostWebNamespacePackageNameActionNameExtensionDefault creates PostWebNamespacePackageNameActionNameExtensionDefault with default headers values

func (*PostWebNamespacePackageNameActionNameExtensionDefault) SetPayload

SetPayload sets the payload to the post web namespace package name action name extension default response

func (*PostWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode

SetStatusCode sets the status to the post web namespace package name action name extension default response

func (*PostWebNamespacePackageNameActionNameExtensionDefault) WithPayload

WithPayload adds the payload to the post web namespace package name action name extension default response

func (*PostWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode

WithStatusCode adds the status to the post web namespace package name action name extension default response

func (*PostWebNamespacePackageNameActionNameExtensionDefault) WriteResponse

WriteResponse to the client

type PostWebNamespacePackageNameActionNameExtensionDefaultBody

type PostWebNamespacePackageNameActionNameExtensionDefaultBody interface{}

PostWebNamespacePackageNameActionNameExtensionDefaultBody post web namespace package name action name extension default body swagger:model PostWebNamespacePackageNameActionNameExtensionDefaultBody

type PostWebNamespacePackageNameActionNameExtensionHandler

type PostWebNamespacePackageNameActionNameExtensionHandler interface {
	Handle(PostWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}

PostWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid post web namespace package name action name extension params

type PostWebNamespacePackageNameActionNameExtensionHandlerFunc

type PostWebNamespacePackageNameActionNameExtensionHandlerFunc func(PostWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder

PostWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a post web namespace package name action name extension handler

func (PostWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type PostWebNamespacePackageNameActionNameExtensionParams

type PostWebNamespacePackageNameActionNameExtensionParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	ActionName string
	/*
	  Required: true
	  In: path
	*/
	Extension string
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PackageName string
	/*The parameters for the action being invoked
	  In: body
	*/
	Payload interface{}
}

PostWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the post web namespace package name action name extension operation typically these are obtained from a http.Request

swagger:parameters PostWebNamespacePackageNameActionNameExtension

func NewPostWebNamespacePackageNameActionNameExtensionParams

func NewPostWebNamespacePackageNameActionNameExtensionParams() PostWebNamespacePackageNameActionNameExtensionParams

NewPostWebNamespacePackageNameActionNameExtensionParams creates a new PostWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.

func (*PostWebNamespacePackageNameActionNameExtensionParams) 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 NewPostWebNamespacePackageNameActionNameExtensionParams() beforehand.

type PostWebNamespacePackageNameActionNameExtensionURL

type PostWebNamespacePackageNameActionNameExtensionURL struct {
	ActionName  string
	Extension   string
	Namespace   string
	PackageName string
	// contains filtered or unexported fields
}

PostWebNamespacePackageNameActionNameExtensionURL generates an URL for the post web namespace package name action name extension operation

func (*PostWebNamespacePackageNameActionNameExtensionURL) Build

Build a url path and query string

func (*PostWebNamespacePackageNameActionNameExtensionURL) BuildFull

func (o *PostWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostWebNamespacePackageNameActionNameExtensionURL) Must

Must is a helper function to panic when the url builder returns an error

func (*PostWebNamespacePackageNameActionNameExtensionURL) SetBasePath

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 (*PostWebNamespacePackageNameActionNameExtensionURL) String

String returns the string representation of the path with query string

func (*PostWebNamespacePackageNameActionNameExtensionURL) StringFull

StringFull returns the string representation of a complete url

func (*PostWebNamespacePackageNameActionNameExtensionURL) 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 PutWebNamespacePackageNameActionNameExtension

type PutWebNamespacePackageNameActionNameExtension struct {
	Context *middleware.Context
	Handler PutWebNamespacePackageNameActionNameExtensionHandler
}

PutWebNamespacePackageNameActionNameExtension swagger:route PUT /web/{namespace}/{packageName}/{actionName}.{extension} Actions putWebNamespacePackageNameActionNameExtension

PutWebNamespacePackageNameActionNameExtension put web namespace package name action name extension API

func NewPutWebNamespacePackageNameActionNameExtension

NewPutWebNamespacePackageNameActionNameExtension creates a new http.Handler for the put web namespace package name action name extension operation

func (*PutWebNamespacePackageNameActionNameExtension) ServeHTTP

type PutWebNamespacePackageNameActionNameExtensionDefault

type PutWebNamespacePackageNameActionNameExtensionDefault struct {

	/*
	  In: Body
	*/
	Payload PutWebNamespacePackageNameActionNameExtensionDefaultBody `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PutWebNamespacePackageNameActionNameExtensionDefault any response

swagger:response putWebNamespacePackageNameActionNameExtensionDefault

func NewPutWebNamespacePackageNameActionNameExtensionDefault

func NewPutWebNamespacePackageNameActionNameExtensionDefault(code int) *PutWebNamespacePackageNameActionNameExtensionDefault

NewPutWebNamespacePackageNameActionNameExtensionDefault creates PutWebNamespacePackageNameActionNameExtensionDefault with default headers values

func (*PutWebNamespacePackageNameActionNameExtensionDefault) SetPayload

SetPayload sets the payload to the put web namespace package name action name extension default response

func (*PutWebNamespacePackageNameActionNameExtensionDefault) SetStatusCode

SetStatusCode sets the status to the put web namespace package name action name extension default response

func (*PutWebNamespacePackageNameActionNameExtensionDefault) WithPayload

WithPayload adds the payload to the put web namespace package name action name extension default response

func (*PutWebNamespacePackageNameActionNameExtensionDefault) WithStatusCode

WithStatusCode adds the status to the put web namespace package name action name extension default response

func (*PutWebNamespacePackageNameActionNameExtensionDefault) WriteResponse

WriteResponse to the client

type PutWebNamespacePackageNameActionNameExtensionDefaultBody

type PutWebNamespacePackageNameActionNameExtensionDefaultBody interface{}

PutWebNamespacePackageNameActionNameExtensionDefaultBody put web namespace package name action name extension default body swagger:model PutWebNamespacePackageNameActionNameExtensionDefaultBody

type PutWebNamespacePackageNameActionNameExtensionHandler

type PutWebNamespacePackageNameActionNameExtensionHandler interface {
	Handle(PutWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder
}

PutWebNamespacePackageNameActionNameExtensionHandler interface for that can handle valid put web namespace package name action name extension params

type PutWebNamespacePackageNameActionNameExtensionHandlerFunc

type PutWebNamespacePackageNameActionNameExtensionHandlerFunc func(PutWebNamespacePackageNameActionNameExtensionParams, *models.Principal) middleware.Responder

PutWebNamespacePackageNameActionNameExtensionHandlerFunc turns a function with the right signature into a put web namespace package name action name extension handler

func (PutWebNamespacePackageNameActionNameExtensionHandlerFunc) Handle

Handle executing the request and returning a response

type PutWebNamespacePackageNameActionNameExtensionParams

type PutWebNamespacePackageNameActionNameExtensionParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	ActionName string
	/*
	  Required: true
	  In: path
	*/
	Extension string
	/*
	  Required: true
	  In: path
	*/
	Namespace string
	/*
	  Required: true
	  In: path
	*/
	PackageName string
}

PutWebNamespacePackageNameActionNameExtensionParams contains all the bound params for the put web namespace package name action name extension operation typically these are obtained from a http.Request

swagger:parameters PutWebNamespacePackageNameActionNameExtension

func NewPutWebNamespacePackageNameActionNameExtensionParams

func NewPutWebNamespacePackageNameActionNameExtensionParams() PutWebNamespacePackageNameActionNameExtensionParams

NewPutWebNamespacePackageNameActionNameExtensionParams creates a new PutWebNamespacePackageNameActionNameExtensionParams object no default values defined in spec.

func (*PutWebNamespacePackageNameActionNameExtensionParams) 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 NewPutWebNamespacePackageNameActionNameExtensionParams() beforehand.

type PutWebNamespacePackageNameActionNameExtensionURL

type PutWebNamespacePackageNameActionNameExtensionURL struct {
	ActionName  string
	Extension   string
	Namespace   string
	PackageName string
	// contains filtered or unexported fields
}

PutWebNamespacePackageNameActionNameExtensionURL generates an URL for the put web namespace package name action name extension operation

func (*PutWebNamespacePackageNameActionNameExtensionURL) Build

Build a url path and query string

func (*PutWebNamespacePackageNameActionNameExtensionURL) BuildFull

func (o *PutWebNamespacePackageNameActionNameExtensionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutWebNamespacePackageNameActionNameExtensionURL) Must

Must is a helper function to panic when the url builder returns an error

func (*PutWebNamespacePackageNameActionNameExtensionURL) SetBasePath

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 (*PutWebNamespacePackageNameActionNameExtensionURL) String

String returns the string representation of the path with query string

func (*PutWebNamespacePackageNameActionNameExtensionURL) StringFull

StringFull returns the string representation of a complete url

func (*PutWebNamespacePackageNameActionNameExtensionURL) 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 UpdateAction

type UpdateAction struct {
	Context *middleware.Context
	Handler UpdateActionHandler
}

UpdateAction swagger:route PUT /namespaces/{namespace}/actions/{actionName} Actions updateAction

Create or update an action

Create or update an action

func NewUpdateAction

func NewUpdateAction(ctx *middleware.Context, handler UpdateActionHandler) *UpdateAction

NewUpdateAction creates a new http.Handler for the update action operation

func (*UpdateAction) ServeHTTP

func (o *UpdateAction) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateActionBadRequest

type UpdateActionBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionBadRequest Bad request

swagger:response updateActionBadRequest

func NewUpdateActionBadRequest

func NewUpdateActionBadRequest() *UpdateActionBadRequest

NewUpdateActionBadRequest creates UpdateActionBadRequest with default headers values

func (*UpdateActionBadRequest) SetPayload

func (o *UpdateActionBadRequest) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action bad request response

func (*UpdateActionBadRequest) WithPayload

WithPayload adds the payload to the update action bad request response

func (*UpdateActionBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateActionConflict

type UpdateActionConflict struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionConflict Conflicting item already exists

swagger:response updateActionConflict

func NewUpdateActionConflict

func NewUpdateActionConflict() *UpdateActionConflict

NewUpdateActionConflict creates UpdateActionConflict with default headers values

func (*UpdateActionConflict) SetPayload

func (o *UpdateActionConflict) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action conflict response

func (*UpdateActionConflict) WithPayload

WithPayload adds the payload to the update action conflict response

func (*UpdateActionConflict) WriteResponse

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

WriteResponse to the client

type UpdateActionForbidden

type UpdateActionForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionForbidden Unauthorized request

swagger:response updateActionForbidden

func NewUpdateActionForbidden

func NewUpdateActionForbidden() *UpdateActionForbidden

NewUpdateActionForbidden creates UpdateActionForbidden with default headers values

func (*UpdateActionForbidden) SetPayload

func (o *UpdateActionForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action forbidden response

func (*UpdateActionForbidden) WithPayload

WithPayload adds the payload to the update action forbidden response

func (*UpdateActionForbidden) WriteResponse

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

WriteResponse to the client

type UpdateActionHandler

type UpdateActionHandler interface {
	Handle(UpdateActionParams, *models.Principal) middleware.Responder
}

UpdateActionHandler interface for that can handle valid update action params

type UpdateActionHandlerFunc

type UpdateActionHandlerFunc func(UpdateActionParams, *models.Principal) middleware.Responder

UpdateActionHandlerFunc turns a function with the right signature into a update action handler

func (UpdateActionHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateActionInPackage

type UpdateActionInPackage struct {
	Context *middleware.Context
	Handler UpdateActionInPackageHandler
}

UpdateActionInPackage swagger:route PUT /namespaces/{namespace}/actions/{packageName}/{actionName} Actions updateActionInPackage

Create or update an action

Create or update an action

func NewUpdateActionInPackage

func NewUpdateActionInPackage(ctx *middleware.Context, handler UpdateActionInPackageHandler) *UpdateActionInPackage

NewUpdateActionInPackage creates a new http.Handler for the update action in package operation

func (*UpdateActionInPackage) ServeHTTP

func (o *UpdateActionInPackage) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type UpdateActionInPackageBadRequest

type UpdateActionInPackageBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageBadRequest Bad request

swagger:response updateActionInPackageBadRequest

func NewUpdateActionInPackageBadRequest

func NewUpdateActionInPackageBadRequest() *UpdateActionInPackageBadRequest

NewUpdateActionInPackageBadRequest creates UpdateActionInPackageBadRequest with default headers values

func (*UpdateActionInPackageBadRequest) SetPayload

func (o *UpdateActionInPackageBadRequest) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action in package bad request response

func (*UpdateActionInPackageBadRequest) WithPayload

WithPayload adds the payload to the update action in package bad request response

func (*UpdateActionInPackageBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateActionInPackageConflict

type UpdateActionInPackageConflict struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageConflict Conflicting item already exists

swagger:response updateActionInPackageConflict

func NewUpdateActionInPackageConflict

func NewUpdateActionInPackageConflict() *UpdateActionInPackageConflict

NewUpdateActionInPackageConflict creates UpdateActionInPackageConflict with default headers values

func (*UpdateActionInPackageConflict) SetPayload

func (o *UpdateActionInPackageConflict) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action in package conflict response

func (*UpdateActionInPackageConflict) WithPayload

WithPayload adds the payload to the update action in package conflict response

func (*UpdateActionInPackageConflict) WriteResponse

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

WriteResponse to the client

type UpdateActionInPackageForbidden

type UpdateActionInPackageForbidden struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageForbidden Unauthorized request

swagger:response updateActionInPackageForbidden

func NewUpdateActionInPackageForbidden

func NewUpdateActionInPackageForbidden() *UpdateActionInPackageForbidden

NewUpdateActionInPackageForbidden creates UpdateActionInPackageForbidden with default headers values

func (*UpdateActionInPackageForbidden) SetPayload

func (o *UpdateActionInPackageForbidden) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action in package forbidden response

func (*UpdateActionInPackageForbidden) WithPayload

WithPayload adds the payload to the update action in package forbidden response

func (*UpdateActionInPackageForbidden) WriteResponse

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

WriteResponse to the client

type UpdateActionInPackageHandler

type UpdateActionInPackageHandler interface {
	Handle(UpdateActionInPackageParams, *models.Principal) middleware.Responder
}

UpdateActionInPackageHandler interface for that can handle valid update action in package params

type UpdateActionInPackageHandlerFunc

type UpdateActionInPackageHandlerFunc func(UpdateActionInPackageParams, *models.Principal) middleware.Responder

UpdateActionInPackageHandlerFunc turns a function with the right signature into a update action in package handler

func (UpdateActionInPackageHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateActionInPackageInternalServerError

type UpdateActionInPackageInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageInternalServerError Server error

swagger:response updateActionInPackageInternalServerError

func NewUpdateActionInPackageInternalServerError

func NewUpdateActionInPackageInternalServerError() *UpdateActionInPackageInternalServerError

NewUpdateActionInPackageInternalServerError creates UpdateActionInPackageInternalServerError with default headers values

func (*UpdateActionInPackageInternalServerError) SetPayload

SetPayload sets the payload to the update action in package internal server error response

func (*UpdateActionInPackageInternalServerError) WithPayload

WithPayload adds the payload to the update action in package internal server error response

func (*UpdateActionInPackageInternalServerError) WriteResponse

WriteResponse to the client

type UpdateActionInPackageOK

type UpdateActionInPackageOK struct {

	/*
	  In: Body
	*/
	Payload *models.Action `json:"body,omitempty"`
}

UpdateActionInPackageOK Updated Action

swagger:response updateActionInPackageOK

func NewUpdateActionInPackageOK

func NewUpdateActionInPackageOK() *UpdateActionInPackageOK

NewUpdateActionInPackageOK creates UpdateActionInPackageOK with default headers values

func (*UpdateActionInPackageOK) SetPayload

func (o *UpdateActionInPackageOK) SetPayload(payload *models.Action)

SetPayload sets the payload to the update action in package o k response

func (*UpdateActionInPackageOK) WithPayload

WithPayload adds the payload to the update action in package o k response

func (*UpdateActionInPackageOK) WriteResponse

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

WriteResponse to the client

type UpdateActionInPackageParams

type UpdateActionInPackageParams struct {

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

	/*The action being updated
	  Required: true
	  In: body
	*/
	Action *models.ActionPut
	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Overwrite item if it exists. Default is false.
	  In: query
	*/
	Overwrite *string
	/*Name of package that contains action
	  Required: true
	  In: path
	*/
	PackageName string
}

UpdateActionInPackageParams contains all the bound params for the update action in package operation typically these are obtained from a http.Request

swagger:parameters updateActionInPackage

func NewUpdateActionInPackageParams

func NewUpdateActionInPackageParams() UpdateActionInPackageParams

NewUpdateActionInPackageParams creates a new UpdateActionInPackageParams object no default values defined in spec.

func (*UpdateActionInPackageParams) 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 NewUpdateActionInPackageParams() beforehand.

type UpdateActionInPackageRequestEntityTooLarge

type UpdateActionInPackageRequestEntityTooLarge struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageRequestEntityTooLarge Request entity too large

swagger:response updateActionInPackageRequestEntityTooLarge

func NewUpdateActionInPackageRequestEntityTooLarge

func NewUpdateActionInPackageRequestEntityTooLarge() *UpdateActionInPackageRequestEntityTooLarge

NewUpdateActionInPackageRequestEntityTooLarge creates UpdateActionInPackageRequestEntityTooLarge with default headers values

func (*UpdateActionInPackageRequestEntityTooLarge) SetPayload

SetPayload sets the payload to the update action in package request entity too large response

func (*UpdateActionInPackageRequestEntityTooLarge) WithPayload

WithPayload adds the payload to the update action in package request entity too large response

func (*UpdateActionInPackageRequestEntityTooLarge) WriteResponse

WriteResponse to the client

type UpdateActionInPackageURL

type UpdateActionInPackageURL struct {
	ActionName  string
	Namespace   string
	PackageName string

	Overwrite *string
	// contains filtered or unexported fields
}

UpdateActionInPackageURL generates an URL for the update action in package operation

func (*UpdateActionInPackageURL) Build

func (o *UpdateActionInPackageURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateActionInPackageURL) BuildFull

func (o *UpdateActionInPackageURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateActionInPackageURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateActionInPackageURL) SetBasePath

func (o *UpdateActionInPackageURL) 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 (*UpdateActionInPackageURL) String

func (o *UpdateActionInPackageURL) String() string

String returns the string representation of the path with query string

func (*UpdateActionInPackageURL) StringFull

func (o *UpdateActionInPackageURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateActionInPackageURL) 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 UpdateActionInPackageUnauthorized

type UpdateActionInPackageUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInPackageUnauthorized Unauthorized request

swagger:response updateActionInPackageUnauthorized

func NewUpdateActionInPackageUnauthorized

func NewUpdateActionInPackageUnauthorized() *UpdateActionInPackageUnauthorized

NewUpdateActionInPackageUnauthorized creates UpdateActionInPackageUnauthorized with default headers values

func (*UpdateActionInPackageUnauthorized) SetPayload

func (o *UpdateActionInPackageUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action in package unauthorized response

func (*UpdateActionInPackageUnauthorized) WithPayload

WithPayload adds the payload to the update action in package unauthorized response

func (*UpdateActionInPackageUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateActionInternalServerError

type UpdateActionInternalServerError struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionInternalServerError Server error

swagger:response updateActionInternalServerError

func NewUpdateActionInternalServerError

func NewUpdateActionInternalServerError() *UpdateActionInternalServerError

NewUpdateActionInternalServerError creates UpdateActionInternalServerError with default headers values

func (*UpdateActionInternalServerError) SetPayload

func (o *UpdateActionInternalServerError) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action internal server error response

func (*UpdateActionInternalServerError) WithPayload

WithPayload adds the payload to the update action internal server error response

func (*UpdateActionInternalServerError) WriteResponse

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

WriteResponse to the client

type UpdateActionOK

type UpdateActionOK struct {

	/*
	  In: Body
	*/
	Payload *models.Action `json:"body,omitempty"`
}

UpdateActionOK Updated Action

swagger:response updateActionOK

func NewUpdateActionOK

func NewUpdateActionOK() *UpdateActionOK

NewUpdateActionOK creates UpdateActionOK with default headers values

func (*UpdateActionOK) SetPayload

func (o *UpdateActionOK) SetPayload(payload *models.Action)

SetPayload sets the payload to the update action o k response

func (*UpdateActionOK) WithPayload

func (o *UpdateActionOK) WithPayload(payload *models.Action) *UpdateActionOK

WithPayload adds the payload to the update action o k response

func (*UpdateActionOK) WriteResponse

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

WriteResponse to the client

type UpdateActionParams

type UpdateActionParams struct {

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

	/*The action being updated
	  Required: true
	  In: body
	*/
	Action *models.ActionPut
	/*Name of action to fetch
	  Required: true
	  In: path
	*/
	ActionName string
	/*The entity namespace
	  Required: true
	  In: path
	*/
	Namespace string
	/*Overwrite item if it exists. Default is false.
	  In: query
	*/
	Overwrite *string
}

UpdateActionParams contains all the bound params for the update action operation typically these are obtained from a http.Request

swagger:parameters updateAction

func NewUpdateActionParams

func NewUpdateActionParams() UpdateActionParams

NewUpdateActionParams creates a new UpdateActionParams object no default values defined in spec.

func (*UpdateActionParams) BindRequest

func (o *UpdateActionParams) 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 NewUpdateActionParams() beforehand.

type UpdateActionRequestEntityTooLarge

type UpdateActionRequestEntityTooLarge struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionRequestEntityTooLarge Request entity too large

swagger:response updateActionRequestEntityTooLarge

func NewUpdateActionRequestEntityTooLarge

func NewUpdateActionRequestEntityTooLarge() *UpdateActionRequestEntityTooLarge

NewUpdateActionRequestEntityTooLarge creates UpdateActionRequestEntityTooLarge with default headers values

func (*UpdateActionRequestEntityTooLarge) SetPayload

func (o *UpdateActionRequestEntityTooLarge) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action request entity too large response

func (*UpdateActionRequestEntityTooLarge) WithPayload

WithPayload adds the payload to the update action request entity too large response

func (*UpdateActionRequestEntityTooLarge) WriteResponse

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

WriteResponse to the client

type UpdateActionURL

type UpdateActionURL struct {
	ActionName string
	Namespace  string

	Overwrite *string
	// contains filtered or unexported fields
}

UpdateActionURL generates an URL for the update action operation

func (*UpdateActionURL) Build

func (o *UpdateActionURL) Build() (*url.URL, error)

Build a url path and query string

func (*UpdateActionURL) BuildFull

func (o *UpdateActionURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*UpdateActionURL) Must

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

Must is a helper function to panic when the url builder returns an error

func (*UpdateActionURL) SetBasePath

func (o *UpdateActionURL) 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 (*UpdateActionURL) String

func (o *UpdateActionURL) String() string

String returns the string representation of the path with query string

func (*UpdateActionURL) StringFull

func (o *UpdateActionURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*UpdateActionURL) WithBasePath

func (o *UpdateActionURL) WithBasePath(bp string) *UpdateActionURL

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 UpdateActionUnauthorized

type UpdateActionUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *models.ErrorMessage `json:"body,omitempty"`
}

UpdateActionUnauthorized Unauthorized request

swagger:response updateActionUnauthorized

func NewUpdateActionUnauthorized

func NewUpdateActionUnauthorized() *UpdateActionUnauthorized

NewUpdateActionUnauthorized creates UpdateActionUnauthorized with default headers values

func (*UpdateActionUnauthorized) SetPayload

func (o *UpdateActionUnauthorized) SetPayload(payload *models.ErrorMessage)

SetPayload sets the payload to the update action unauthorized response

func (*UpdateActionUnauthorized) WithPayload

WithPayload adds the payload to the update action unauthorized response

func (*UpdateActionUnauthorized) WriteResponse

func (o *UpdateActionUnauthorized) 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