application

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AddAppBadRequestCode int = 400

AddAppBadRequestCode is the HTTP code returned for type AddAppBadRequest

View Source
const AddAppConflictCode int = 409

AddAppConflictCode is the HTTP code returned for type AddAppConflict

View Source
const AddAppForbiddenCode int = 403

AddAppForbiddenCode is the HTTP code returned for type AddAppForbidden

View Source
const AddAppOKCode int = 200

AddAppOKCode is the HTTP code returned for type AddAppOK

View Source
const AddAppUnauthorizedCode int = 401

AddAppUnauthorizedCode is the HTTP code returned for type AddAppUnauthorized

View Source
const DeleteAppBadRequestCode int = 400

DeleteAppBadRequestCode is the HTTP code returned for type DeleteAppBadRequest

View Source
const DeleteAppForbiddenCode int = 403

DeleteAppForbiddenCode is the HTTP code returned for type DeleteAppForbidden

View Source
const DeleteAppNotFoundCode int = 404

DeleteAppNotFoundCode is the HTTP code returned for type DeleteAppNotFound

View Source
const DeleteAppOKCode int = 200

DeleteAppOKCode is the HTTP code returned for type DeleteAppOK

View Source
const DeleteAppUnauthorizedCode int = 401

DeleteAppUnauthorizedCode is the HTTP code returned for type DeleteAppUnauthorized

View Source
const GetAppBadRequestCode int = 400

GetAppBadRequestCode is the HTTP code returned for type GetAppBadRequest

View Source
const GetAppForbiddenCode int = 403

GetAppForbiddenCode is the HTTP code returned for type GetAppForbidden

View Source
const GetAppNotFoundCode int = 404

GetAppNotFoundCode is the HTTP code returned for type GetAppNotFound

View Source
const GetAppOKCode int = 200

GetAppOKCode is the HTTP code returned for type GetAppOK

View Source
const GetAppUnauthorizedCode int = 401

GetAppUnauthorizedCode is the HTTP code returned for type GetAppUnauthorized

View Source
const GetAppsForbiddenCode int = 403

GetAppsForbiddenCode is the HTTP code returned for type GetAppsForbidden

View Source
const GetAppsOKCode int = 200

GetAppsOKCode is the HTTP code returned for type GetAppsOK

View Source
const GetAppsUnauthorizedCode int = 401

GetAppsUnauthorizedCode is the HTTP code returned for type GetAppsUnauthorized

View Source
const UpdateAppBadRequestCode int = 400

UpdateAppBadRequestCode is the HTTP code returned for type UpdateAppBadRequest

View Source
const UpdateAppForbiddenCode int = 403

UpdateAppForbiddenCode is the HTTP code returned for type UpdateAppForbidden

View Source
const UpdateAppNotFoundCode int = 404

UpdateAppNotFoundCode is the HTTP code returned for type UpdateAppNotFound

View Source
const UpdateAppOKCode int = 200

UpdateAppOKCode is the HTTP code returned for type UpdateAppOK

View Source
const UpdateAppUnauthorizedCode int = 401

UpdateAppUnauthorizedCode is the HTTP code returned for type UpdateAppUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type AddApp

type AddApp struct {
	Context *middleware.Context
	Handler AddAppHandler
}

AddApp swagger:route POST / application addApp

Add a new Application

func NewAddApp

func NewAddApp(ctx *middleware.Context, handler AddAppHandler) *AddApp

NewAddApp creates a new http.Handler for the add app operation

func (*AddApp) ServeHTTP

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

type AddAppBadRequest

type AddAppBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddAppBadRequest Invalid Input

swagger:response addAppBadRequest

func NewAddAppBadRequest

func NewAddAppBadRequest() *AddAppBadRequest

NewAddAppBadRequest creates AddAppBadRequest with default headers values

func (*AddAppBadRequest) SetPayload

func (o *AddAppBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add app bad request response

func (*AddAppBadRequest) WithPayload

func (o *AddAppBadRequest) WithPayload(payload *v1.Error) *AddAppBadRequest

WithPayload adds the payload to the add app bad request response

func (*AddAppBadRequest) WriteResponse

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

WriteResponse to the client

type AddAppConflict

type AddAppConflict struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddAppConflict Already Exists

swagger:response addAppConflict

func NewAddAppConflict

func NewAddAppConflict() *AddAppConflict

NewAddAppConflict creates AddAppConflict with default headers values

func (*AddAppConflict) SetPayload

func (o *AddAppConflict) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add app conflict response

func (*AddAppConflict) WithPayload

func (o *AddAppConflict) WithPayload(payload *v1.Error) *AddAppConflict

WithPayload adds the payload to the add app conflict response

func (*AddAppConflict) WriteResponse

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

WriteResponse to the client

type AddAppDefault added in v0.1.18

type AddAppDefault struct {

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

AddAppDefault Unknown error

swagger:response addAppDefault

func NewAddAppDefault added in v0.1.18

func NewAddAppDefault(code int) *AddAppDefault

NewAddAppDefault creates AddAppDefault with default headers values

func (*AddAppDefault) SetPayload added in v0.1.18

func (o *AddAppDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add app default response

func (*AddAppDefault) SetStatusCode added in v0.1.18

func (o *AddAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add app default response

func (*AddAppDefault) WithPayload added in v0.1.18

func (o *AddAppDefault) WithPayload(payload *v1.Error) *AddAppDefault

WithPayload adds the payload to the add app default response

func (*AddAppDefault) WithStatusCode added in v0.1.18

func (o *AddAppDefault) WithStatusCode(code int) *AddAppDefault

WithStatusCode adds the status to the add app default response

func (*AddAppDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddAppForbidden added in v0.1.18

type AddAppForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddAppForbidden access to this resource is forbidden

swagger:response addAppForbidden

func NewAddAppForbidden added in v0.1.18

func NewAddAppForbidden() *AddAppForbidden

NewAddAppForbidden creates AddAppForbidden with default headers values

func (*AddAppForbidden) SetPayload added in v0.1.18

func (o *AddAppForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add app forbidden response

func (*AddAppForbidden) WithPayload added in v0.1.18

func (o *AddAppForbidden) WithPayload(payload *v1.Error) *AddAppForbidden

WithPayload adds the payload to the add app forbidden response

func (*AddAppForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type AddAppHandler

type AddAppHandler interface {
	Handle(AddAppParams, interface{}) middleware.Responder
}

AddAppHandler interface for that can handle valid add app params

type AddAppHandlerFunc

type AddAppHandlerFunc func(AddAppParams, interface{}) middleware.Responder

AddAppHandlerFunc turns a function with the right signature into a add app handler

func (AddAppHandlerFunc) Handle

func (fn AddAppHandlerFunc) Handle(params AddAppParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type AddAppOK

type AddAppOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Application `json:"body,omitempty"`
}

AddAppOK Application created

swagger:response addAppOK

func NewAddAppOK

func NewAddAppOK() *AddAppOK

NewAddAppOK creates AddAppOK with default headers values

func (*AddAppOK) SetPayload

func (o *AddAppOK) SetPayload(payload *v1.Application)

SetPayload sets the payload to the add app o k response

func (*AddAppOK) WithPayload

func (o *AddAppOK) WithPayload(payload *v1.Application) *AddAppOK

WithPayload adds the payload to the add app o k response

func (*AddAppOK) WriteResponse

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

WriteResponse to the client

type AddAppParams

type AddAppParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Application object
	  Required: true
	  In: body
	*/
	Body *v1.Application
}

AddAppParams contains all the bound params for the add app operation typically these are obtained from a http.Request

swagger:parameters addApp

func NewAddAppParams

func NewAddAppParams() AddAppParams

NewAddAppParams creates a new AddAppParams object no default values defined in spec.

func (*AddAppParams) BindRequest

func (o *AddAppParams) 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 NewAddAppParams() beforehand.

type AddAppURL

type AddAppURL struct {
	// contains filtered or unexported fields
}

AddAppURL generates an URL for the add app operation

func (*AddAppURL) Build

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

Build a url path and query string

func (*AddAppURL) BuildFull

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

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

func (*AddAppURL) Must

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

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

func (*AddAppURL) SetBasePath

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

func (o *AddAppURL) String() string

String returns the string representation of the path with query string

func (*AddAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*AddAppURL) WithBasePath

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

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 AddAppUnauthorized

type AddAppUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

AddAppUnauthorized Unauthorized Request

swagger:response addAppUnauthorized

func NewAddAppUnauthorized

func NewAddAppUnauthorized() *AddAppUnauthorized

NewAddAppUnauthorized creates AddAppUnauthorized with default headers values

func (*AddAppUnauthorized) SetPayload

func (o *AddAppUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the add app unauthorized response

func (*AddAppUnauthorized) WithPayload

func (o *AddAppUnauthorized) WithPayload(payload *v1.Error) *AddAppUnauthorized

WithPayload adds the payload to the add app unauthorized response

func (*AddAppUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteApp

type DeleteApp struct {
	Context *middleware.Context
	Handler DeleteAppHandler
}

DeleteApp swagger:route DELETE /{application} application deleteApp

Deletes an Application

func NewDeleteApp

func NewDeleteApp(ctx *middleware.Context, handler DeleteAppHandler) *DeleteApp

NewDeleteApp creates a new http.Handler for the delete app operation

func (*DeleteApp) ServeHTTP

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

type DeleteAppBadRequest

type DeleteAppBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteAppBadRequest Invalid Name supplied

swagger:response deleteAppBadRequest

func NewDeleteAppBadRequest

func NewDeleteAppBadRequest() *DeleteAppBadRequest

NewDeleteAppBadRequest creates DeleteAppBadRequest with default headers values

func (*DeleteAppBadRequest) SetPayload

func (o *DeleteAppBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete app bad request response

func (*DeleteAppBadRequest) WithPayload

func (o *DeleteAppBadRequest) WithPayload(payload *v1.Error) *DeleteAppBadRequest

WithPayload adds the payload to the delete app bad request response

func (*DeleteAppBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteAppDefault added in v0.1.18

type DeleteAppDefault struct {

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

DeleteAppDefault Unknown error

swagger:response deleteAppDefault

func NewDeleteAppDefault added in v0.1.18

func NewDeleteAppDefault(code int) *DeleteAppDefault

NewDeleteAppDefault creates DeleteAppDefault with default headers values

func (*DeleteAppDefault) SetPayload added in v0.1.18

func (o *DeleteAppDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete app default response

func (*DeleteAppDefault) SetStatusCode added in v0.1.18

func (o *DeleteAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete app default response

func (*DeleteAppDefault) WithPayload added in v0.1.18

func (o *DeleteAppDefault) WithPayload(payload *v1.Error) *DeleteAppDefault

WithPayload adds the payload to the delete app default response

func (*DeleteAppDefault) WithStatusCode added in v0.1.18

func (o *DeleteAppDefault) WithStatusCode(code int) *DeleteAppDefault

WithStatusCode adds the status to the delete app default response

func (*DeleteAppDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteAppForbidden added in v0.1.18

type DeleteAppForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteAppForbidden access to this resource is forbidden

swagger:response deleteAppForbidden

func NewDeleteAppForbidden added in v0.1.18

func NewDeleteAppForbidden() *DeleteAppForbidden

NewDeleteAppForbidden creates DeleteAppForbidden with default headers values

func (*DeleteAppForbidden) SetPayload added in v0.1.18

func (o *DeleteAppForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete app forbidden response

func (*DeleteAppForbidden) WithPayload added in v0.1.18

func (o *DeleteAppForbidden) WithPayload(payload *v1.Error) *DeleteAppForbidden

WithPayload adds the payload to the delete app forbidden response

func (*DeleteAppForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type DeleteAppHandler

type DeleteAppHandler interface {
	Handle(DeleteAppParams, interface{}) middleware.Responder
}

DeleteAppHandler interface for that can handle valid delete app params

type DeleteAppHandlerFunc

type DeleteAppHandlerFunc func(DeleteAppParams, interface{}) middleware.Responder

DeleteAppHandlerFunc turns a function with the right signature into a delete app handler

func (DeleteAppHandlerFunc) Handle

func (fn DeleteAppHandlerFunc) Handle(params DeleteAppParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteAppNotFound

type DeleteAppNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteAppNotFound Application not found

swagger:response deleteAppNotFound

func NewDeleteAppNotFound

func NewDeleteAppNotFound() *DeleteAppNotFound

NewDeleteAppNotFound creates DeleteAppNotFound with default headers values

func (*DeleteAppNotFound) SetPayload

func (o *DeleteAppNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete app not found response

func (*DeleteAppNotFound) WithPayload

func (o *DeleteAppNotFound) WithPayload(payload *v1.Error) *DeleteAppNotFound

WithPayload adds the payload to the delete app not found response

func (*DeleteAppNotFound) WriteResponse

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

WriteResponse to the client

type DeleteAppOK

type DeleteAppOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Application `json:"body,omitempty"`
}

DeleteAppOK Successful operation

swagger:response deleteAppOK

func NewDeleteAppOK

func NewDeleteAppOK() *DeleteAppOK

NewDeleteAppOK creates DeleteAppOK with default headers values

func (*DeleteAppOK) SetPayload

func (o *DeleteAppOK) SetPayload(payload *v1.Application)

SetPayload sets the payload to the delete app o k response

func (*DeleteAppOK) WithPayload

func (o *DeleteAppOK) WithPayload(payload *v1.Application) *DeleteAppOK

WithPayload adds the payload to the delete app o k response

func (*DeleteAppOK) WriteResponse

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

WriteResponse to the client

type DeleteAppParams

type DeleteAppParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of Application to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	Application string
}

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

swagger:parameters deleteApp

func NewDeleteAppParams

func NewDeleteAppParams() DeleteAppParams

NewDeleteAppParams creates a new DeleteAppParams object no default values defined in spec.

func (*DeleteAppParams) BindRequest

func (o *DeleteAppParams) 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 NewDeleteAppParams() beforehand.

type DeleteAppURL

type DeleteAppURL struct {
	Application string
	// contains filtered or unexported fields
}

DeleteAppURL generates an URL for the delete app operation

func (*DeleteAppURL) Build

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

Build a url path and query string

func (*DeleteAppURL) BuildFull

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

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

func (*DeleteAppURL) Must

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

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

func (*DeleteAppURL) SetBasePath

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

func (o *DeleteAppURL) String() string

String returns the string representation of the path with query string

func (*DeleteAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteAppURL) WithBasePath

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

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 DeleteAppUnauthorized added in v0.1.18

type DeleteAppUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

DeleteAppUnauthorized Unauthorized Request

swagger:response deleteAppUnauthorized

func NewDeleteAppUnauthorized added in v0.1.18

func NewDeleteAppUnauthorized() *DeleteAppUnauthorized

NewDeleteAppUnauthorized creates DeleteAppUnauthorized with default headers values

func (*DeleteAppUnauthorized) SetPayload added in v0.1.18

func (o *DeleteAppUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the delete app unauthorized response

func (*DeleteAppUnauthorized) WithPayload added in v0.1.18

func (o *DeleteAppUnauthorized) WithPayload(payload *v1.Error) *DeleteAppUnauthorized

WithPayload adds the payload to the delete app unauthorized response

func (*DeleteAppUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetApp

type GetApp struct {
	Context *middleware.Context
	Handler GetAppHandler
}

GetApp swagger:route GET /{application} application getApp

Find Application by name

get an Application by name

func NewGetApp

func NewGetApp(ctx *middleware.Context, handler GetAppHandler) *GetApp

NewGetApp creates a new http.Handler for the get app operation

func (*GetApp) ServeHTTP

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

type GetAppBadRequest

type GetAppBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppBadRequest Invalid Name supplied

swagger:response getAppBadRequest

func NewGetAppBadRequest

func NewGetAppBadRequest() *GetAppBadRequest

NewGetAppBadRequest creates GetAppBadRequest with default headers values

func (*GetAppBadRequest) SetPayload

func (o *GetAppBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get app bad request response

func (*GetAppBadRequest) WithPayload

func (o *GetAppBadRequest) WithPayload(payload *v1.Error) *GetAppBadRequest

WithPayload adds the payload to the get app bad request response

func (*GetAppBadRequest) WriteResponse

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

WriteResponse to the client

type GetAppDefault added in v0.1.18

type GetAppDefault struct {

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

GetAppDefault Unknown error

swagger:response getAppDefault

func NewGetAppDefault added in v0.1.18

func NewGetAppDefault(code int) *GetAppDefault

NewGetAppDefault creates GetAppDefault with default headers values

func (*GetAppDefault) SetPayload added in v0.1.18

func (o *GetAppDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get app default response

func (*GetAppDefault) SetStatusCode added in v0.1.18

func (o *GetAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get app default response

func (*GetAppDefault) WithPayload added in v0.1.18

func (o *GetAppDefault) WithPayload(payload *v1.Error) *GetAppDefault

WithPayload adds the payload to the get app default response

func (*GetAppDefault) WithStatusCode added in v0.1.18

func (o *GetAppDefault) WithStatusCode(code int) *GetAppDefault

WithStatusCode adds the status to the get app default response

func (*GetAppDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetAppForbidden added in v0.1.18

type GetAppForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppForbidden access to this resource is forbidden

swagger:response getAppForbidden

func NewGetAppForbidden added in v0.1.18

func NewGetAppForbidden() *GetAppForbidden

NewGetAppForbidden creates GetAppForbidden with default headers values

func (*GetAppForbidden) SetPayload added in v0.1.18

func (o *GetAppForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get app forbidden response

func (*GetAppForbidden) WithPayload added in v0.1.18

func (o *GetAppForbidden) WithPayload(payload *v1.Error) *GetAppForbidden

WithPayload adds the payload to the get app forbidden response

func (*GetAppForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetAppHandler

type GetAppHandler interface {
	Handle(GetAppParams, interface{}) middleware.Responder
}

GetAppHandler interface for that can handle valid get app params

type GetAppHandlerFunc

type GetAppHandlerFunc func(GetAppParams, interface{}) middleware.Responder

GetAppHandlerFunc turns a function with the right signature into a get app handler

func (GetAppHandlerFunc) Handle

func (fn GetAppHandlerFunc) Handle(params GetAppParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetAppNotFound

type GetAppNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppNotFound Application not found

swagger:response getAppNotFound

func NewGetAppNotFound

func NewGetAppNotFound() *GetAppNotFound

NewGetAppNotFound creates GetAppNotFound with default headers values

func (*GetAppNotFound) SetPayload

func (o *GetAppNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get app not found response

func (*GetAppNotFound) WithPayload

func (o *GetAppNotFound) WithPayload(payload *v1.Error) *GetAppNotFound

WithPayload adds the payload to the get app not found response

func (*GetAppNotFound) WriteResponse

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

WriteResponse to the client

type GetAppOK

type GetAppOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Application `json:"body,omitempty"`
}

GetAppOK Successful operation

swagger:response getAppOK

func NewGetAppOK

func NewGetAppOK() *GetAppOK

NewGetAppOK creates GetAppOK with default headers values

func (*GetAppOK) SetPayload

func (o *GetAppOK) SetPayload(payload *v1.Application)

SetPayload sets the payload to the get app o k response

func (*GetAppOK) WithPayload

func (o *GetAppOK) WithPayload(payload *v1.Application) *GetAppOK

WithPayload adds the payload to the get app o k response

func (*GetAppOK) WriteResponse

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

WriteResponse to the client

type GetAppParams

type GetAppParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of Application to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	Application string
}

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

swagger:parameters getApp

func NewGetAppParams

func NewGetAppParams() GetAppParams

NewGetAppParams creates a new GetAppParams object no default values defined in spec.

func (*GetAppParams) BindRequest

func (o *GetAppParams) 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 NewGetAppParams() beforehand.

type GetAppURL

type GetAppURL struct {
	Application string
	// contains filtered or unexported fields
}

GetAppURL generates an URL for the get app operation

func (*GetAppURL) Build

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

Build a url path and query string

func (*GetAppURL) BuildFull

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

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

func (*GetAppURL) Must

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

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

func (*GetAppURL) SetBasePath

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

func (o *GetAppURL) String() string

String returns the string representation of the path with query string

func (*GetAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAppURL) WithBasePath

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

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 GetAppUnauthorized added in v0.1.18

type GetAppUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppUnauthorized Unauthorized Request

swagger:response getAppUnauthorized

func NewGetAppUnauthorized added in v0.1.18

func NewGetAppUnauthorized() *GetAppUnauthorized

NewGetAppUnauthorized creates GetAppUnauthorized with default headers values

func (*GetAppUnauthorized) SetPayload added in v0.1.18

func (o *GetAppUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get app unauthorized response

func (*GetAppUnauthorized) WithPayload added in v0.1.18

func (o *GetAppUnauthorized) WithPayload(payload *v1.Error) *GetAppUnauthorized

WithPayload adds the payload to the get app unauthorized response

func (*GetAppUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetApps

type GetApps struct {
	Context *middleware.Context
	Handler GetAppsHandler
}

GetApps swagger:route GET / application getApps

List all existing Applications

func NewGetApps

func NewGetApps(ctx *middleware.Context, handler GetAppsHandler) *GetApps

NewGetApps creates a new http.Handler for the get apps operation

func (*GetApps) ServeHTTP

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

type GetAppsDefault

type GetAppsDefault struct {

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

GetAppsDefault Unexpected Error

swagger:response getAppsDefault

func NewGetAppsDefault

func NewGetAppsDefault(code int) *GetAppsDefault

NewGetAppsDefault creates GetAppsDefault with default headers values

func (*GetAppsDefault) SetPayload

func (o *GetAppsDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get apps default response

func (*GetAppsDefault) SetStatusCode

func (o *GetAppsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get apps default response

func (*GetAppsDefault) WithPayload

func (o *GetAppsDefault) WithPayload(payload *v1.Error) *GetAppsDefault

WithPayload adds the payload to the get apps default response

func (*GetAppsDefault) WithStatusCode

func (o *GetAppsDefault) WithStatusCode(code int) *GetAppsDefault

WithStatusCode adds the status to the get apps default response

func (*GetAppsDefault) WriteResponse

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

WriteResponse to the client

type GetAppsForbidden added in v0.1.18

type GetAppsForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppsForbidden access to this resource is forbidden

swagger:response getAppsForbidden

func NewGetAppsForbidden added in v0.1.18

func NewGetAppsForbidden() *GetAppsForbidden

NewGetAppsForbidden creates GetAppsForbidden with default headers values

func (*GetAppsForbidden) SetPayload added in v0.1.18

func (o *GetAppsForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get apps forbidden response

func (*GetAppsForbidden) WithPayload added in v0.1.18

func (o *GetAppsForbidden) WithPayload(payload *v1.Error) *GetAppsForbidden

WithPayload adds the payload to the get apps forbidden response

func (*GetAppsForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type GetAppsHandler

type GetAppsHandler interface {
	Handle(GetAppsParams, interface{}) middleware.Responder
}

GetAppsHandler interface for that can handle valid get apps params

type GetAppsHandlerFunc

type GetAppsHandlerFunc func(GetAppsParams, interface{}) middleware.Responder

GetAppsHandlerFunc turns a function with the right signature into a get apps handler

func (GetAppsHandlerFunc) Handle

func (fn GetAppsHandlerFunc) Handle(params GetAppsParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type GetAppsOK

type GetAppsOK struct {

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

GetAppsOK Successful operation

swagger:response getAppsOK

func NewGetAppsOK

func NewGetAppsOK() *GetAppsOK

NewGetAppsOK creates GetAppsOK with default headers values

func (*GetAppsOK) SetPayload

func (o *GetAppsOK) SetPayload(payload []*v1.Application)

SetPayload sets the payload to the get apps o k response

func (*GetAppsOK) WithPayload

func (o *GetAppsOK) WithPayload(payload []*v1.Application) *GetAppsOK

WithPayload adds the payload to the get apps o k response

func (*GetAppsOK) WriteResponse

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

WriteResponse to the client

type GetAppsParams

type GetAppsParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Filter on Application tags
	  In: query
	  Collection Format: multi
	*/
	Tags []string
}

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

swagger:parameters getApps

func NewGetAppsParams

func NewGetAppsParams() GetAppsParams

NewGetAppsParams creates a new GetAppsParams object no default values defined in spec.

func (*GetAppsParams) BindRequest

func (o *GetAppsParams) 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 NewGetAppsParams() beforehand.

type GetAppsURL

type GetAppsURL struct {
	Tags []string
	// contains filtered or unexported fields
}

GetAppsURL generates an URL for the get apps operation

func (*GetAppsURL) Build

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

Build a url path and query string

func (*GetAppsURL) BuildFull

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

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

func (*GetAppsURL) Must

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

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

func (*GetAppsURL) SetBasePath

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

func (o *GetAppsURL) String() string

String returns the string representation of the path with query string

func (*GetAppsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAppsURL) WithBasePath

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

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 GetAppsUnauthorized added in v0.1.18

type GetAppsUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

GetAppsUnauthorized Unauthorized Request

swagger:response getAppsUnauthorized

func NewGetAppsUnauthorized added in v0.1.18

func NewGetAppsUnauthorized() *GetAppsUnauthorized

NewGetAppsUnauthorized creates GetAppsUnauthorized with default headers values

func (*GetAppsUnauthorized) SetPayload added in v0.1.18

func (o *GetAppsUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the get apps unauthorized response

func (*GetAppsUnauthorized) WithPayload added in v0.1.18

func (o *GetAppsUnauthorized) WithPayload(payload *v1.Error) *GetAppsUnauthorized

WithPayload adds the payload to the get apps unauthorized response

func (*GetAppsUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateApp

type UpdateApp struct {
	Context *middleware.Context
	Handler UpdateAppHandler
}

UpdateApp swagger:route PUT /{application} application updateApp

Update an Application

func NewUpdateApp

func NewUpdateApp(ctx *middleware.Context, handler UpdateAppHandler) *UpdateApp

NewUpdateApp creates a new http.Handler for the update app operation

func (*UpdateApp) ServeHTTP

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

type UpdateAppBadRequest

type UpdateAppBadRequest struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateAppBadRequest Invalid input

swagger:response updateAppBadRequest

func NewUpdateAppBadRequest

func NewUpdateAppBadRequest() *UpdateAppBadRequest

NewUpdateAppBadRequest creates UpdateAppBadRequest with default headers values

func (*UpdateAppBadRequest) SetPayload

func (o *UpdateAppBadRequest) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update app bad request response

func (*UpdateAppBadRequest) WithPayload

func (o *UpdateAppBadRequest) WithPayload(payload *v1.Error) *UpdateAppBadRequest

WithPayload adds the payload to the update app bad request response

func (*UpdateAppBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateAppDefault added in v0.1.18

type UpdateAppDefault struct {

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

UpdateAppDefault Unknown error

swagger:response updateAppDefault

func NewUpdateAppDefault added in v0.1.18

func NewUpdateAppDefault(code int) *UpdateAppDefault

NewUpdateAppDefault creates UpdateAppDefault with default headers values

func (*UpdateAppDefault) SetPayload added in v0.1.18

func (o *UpdateAppDefault) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update app default response

func (*UpdateAppDefault) SetStatusCode added in v0.1.18

func (o *UpdateAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update app default response

func (*UpdateAppDefault) WithPayload added in v0.1.18

func (o *UpdateAppDefault) WithPayload(payload *v1.Error) *UpdateAppDefault

WithPayload adds the payload to the update app default response

func (*UpdateAppDefault) WithStatusCode added in v0.1.18

func (o *UpdateAppDefault) WithStatusCode(code int) *UpdateAppDefault

WithStatusCode adds the status to the update app default response

func (*UpdateAppDefault) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateAppForbidden added in v0.1.18

type UpdateAppForbidden struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateAppForbidden access to this resource is forbidden

swagger:response updateAppForbidden

func NewUpdateAppForbidden added in v0.1.18

func NewUpdateAppForbidden() *UpdateAppForbidden

NewUpdateAppForbidden creates UpdateAppForbidden with default headers values

func (*UpdateAppForbidden) SetPayload added in v0.1.18

func (o *UpdateAppForbidden) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update app forbidden response

func (*UpdateAppForbidden) WithPayload added in v0.1.18

func (o *UpdateAppForbidden) WithPayload(payload *v1.Error) *UpdateAppForbidden

WithPayload adds the payload to the update app forbidden response

func (*UpdateAppForbidden) WriteResponse added in v0.1.18

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

WriteResponse to the client

type UpdateAppHandler

type UpdateAppHandler interface {
	Handle(UpdateAppParams, interface{}) middleware.Responder
}

UpdateAppHandler interface for that can handle valid update app params

type UpdateAppHandlerFunc

type UpdateAppHandlerFunc func(UpdateAppParams, interface{}) middleware.Responder

UpdateAppHandlerFunc turns a function with the right signature into a update app handler

func (UpdateAppHandlerFunc) Handle

func (fn UpdateAppHandlerFunc) Handle(params UpdateAppParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateAppNotFound

type UpdateAppNotFound struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateAppNotFound Application not found

swagger:response updateAppNotFound

func NewUpdateAppNotFound

func NewUpdateAppNotFound() *UpdateAppNotFound

NewUpdateAppNotFound creates UpdateAppNotFound with default headers values

func (*UpdateAppNotFound) SetPayload

func (o *UpdateAppNotFound) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update app not found response

func (*UpdateAppNotFound) WithPayload

func (o *UpdateAppNotFound) WithPayload(payload *v1.Error) *UpdateAppNotFound

WithPayload adds the payload to the update app not found response

func (*UpdateAppNotFound) WriteResponse

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

WriteResponse to the client

type UpdateAppOK

type UpdateAppOK struct {

	/*
	  In: Body
	*/
	Payload *v1.Application `json:"body,omitempty"`
}

UpdateAppOK Successful update

swagger:response updateAppOK

func NewUpdateAppOK

func NewUpdateAppOK() *UpdateAppOK

NewUpdateAppOK creates UpdateAppOK with default headers values

func (*UpdateAppOK) SetPayload

func (o *UpdateAppOK) SetPayload(payload *v1.Application)

SetPayload sets the payload to the update app o k response

func (*UpdateAppOK) WithPayload

func (o *UpdateAppOK) WithPayload(payload *v1.Application) *UpdateAppOK

WithPayload adds the payload to the update app o k response

func (*UpdateAppOK) WriteResponse

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

WriteResponse to the client

type UpdateAppParams

type UpdateAppParams struct {

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

	/*
	  Required: true
	  In: header
	*/
	XDispatchOrg string
	/*Name of Application to work on
	  Required: true
	  Pattern: ^[\w\d\-]+$
	  In: path
	*/
	Application string
	/*Application object
	  Required: true
	  In: body
	*/
	Body *v1.Application
}

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

swagger:parameters updateApp

func NewUpdateAppParams

func NewUpdateAppParams() UpdateAppParams

NewUpdateAppParams creates a new UpdateAppParams object no default values defined in spec.

func (*UpdateAppParams) BindRequest

func (o *UpdateAppParams) 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 NewUpdateAppParams() beforehand.

type UpdateAppURL

type UpdateAppURL struct {
	Application string
	// contains filtered or unexported fields
}

UpdateAppURL generates an URL for the update app operation

func (*UpdateAppURL) Build

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

Build a url path and query string

func (*UpdateAppURL) BuildFull

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

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

func (*UpdateAppURL) Must

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

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

func (*UpdateAppURL) SetBasePath

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

func (o *UpdateAppURL) String() string

String returns the string representation of the path with query string

func (*UpdateAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateAppURL) WithBasePath

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

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 UpdateAppUnauthorized added in v0.1.18

type UpdateAppUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *v1.Error `json:"body,omitempty"`
}

UpdateAppUnauthorized Unauthorized Request

swagger:response updateAppUnauthorized

func NewUpdateAppUnauthorized added in v0.1.18

func NewUpdateAppUnauthorized() *UpdateAppUnauthorized

NewUpdateAppUnauthorized creates UpdateAppUnauthorized with default headers values

func (*UpdateAppUnauthorized) SetPayload added in v0.1.18

func (o *UpdateAppUnauthorized) SetPayload(payload *v1.Error)

SetPayload sets the payload to the update app unauthorized response

func (*UpdateAppUnauthorized) WithPayload added in v0.1.18

func (o *UpdateAppUnauthorized) WithPayload(payload *v1.Error) *UpdateAppUnauthorized

WithPayload adds the payload to the update app unauthorized response

func (*UpdateAppUnauthorized) WriteResponse added in v0.1.18

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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