operations

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CreateAppBadRequestCode int = 400

CreateAppBadRequestCode is the HTTP code returned for type CreateAppBadRequest

View Source
const CreateAppCreatedCode int = 201

CreateAppCreatedCode is the HTTP code returned for type CreateAppCreated

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 EditAppBadRequestCode int = 400

EditAppBadRequestCode is the HTTP code returned for type EditAppBadRequest

View Source
const EditAppNotFoundCode int = 404

EditAppNotFoundCode is the HTTP code returned for type EditAppNotFound

View Source
const EditAppOKCode int = 200

EditAppOKCode is the HTTP code returned for type EditAppOK

View Source
const GetAppEnvNotFoundCode int = 404

GetAppEnvNotFoundCode is the HTTP code returned for type GetAppEnvNotFound

View Source
const GetAppEnvOKCode int = 200

GetAppEnvOKCode is the HTTP code returned for type GetAppEnvOK

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 GetAppTraefikConfigBadRequestCode int = 400

GetAppTraefikConfigBadRequestCode is the HTTP code returned for type GetAppTraefikConfigBadRequest

View Source
const GetAppTraefikConfigNotFoundCode int = 404

GetAppTraefikConfigNotFoundCode is the HTTP code returned for type GetAppTraefikConfigNotFound

View Source
const GetAppTraefikConfigOKCode int = 200

GetAppTraefikConfigOKCode is the HTTP code returned for type GetAppTraefikConfigOK

View Source
const GetPluginNotFoundCode int = 404

GetPluginNotFoundCode is the HTTP code returned for type GetPluginNotFound

View Source
const GetPluginOKCode int = 200

GetPluginOKCode is the HTTP code returned for type GetPluginOK

View Source
const GetRunConfigNotFoundCode int = 404

GetRunConfigNotFoundCode is the HTTP code returned for type GetRunConfigNotFound

View Source
const GetRunConfigOKCode int = 200

GetRunConfigOKCode is the HTTP code returned for type GetRunConfigOK

View Source
const HealthCheckOKCode int = 200

HealthCheckOKCode is the HTTP code returned for type HealthCheckOK

View Source
const InstallPluginCreatedCode int = 201

InstallPluginCreatedCode is the HTTP code returned for type InstallPluginCreated

View Source
const ListAppsOKCode int = 200

ListAppsOKCode is the HTTP code returned for type ListAppsOK

View Source
const ListPluginsOKCode int = 200

ListPluginsOKCode is the HTTP code returned for type ListPluginsOK

View Source
const RemoveAppTraefikConfigBadRequestCode int = 400

RemoveAppTraefikConfigBadRequestCode is the HTTP code returned for type RemoveAppTraefikConfigBadRequest

View Source
const RemoveAppTraefikConfigOKCode int = 200

RemoveAppTraefikConfigOKCode is the HTTP code returned for type RemoveAppTraefikConfigOK

View Source
const StartAppNoContentCode int = 204

StartAppNoContentCode is the HTTP code returned for type StartAppNoContent

View Source
const StartAppNotFoundCode int = 404

StartAppNotFoundCode is the HTTP code returned for type StartAppNotFound

View Source
const StopAppNoContentCode int = 204

StopAppNoContentCode is the HTTP code returned for type StopAppNoContent

View Source
const StopAppNotFoundCode int = 404

StopAppNotFoundCode is the HTTP code returned for type StopAppNotFound

View Source
const UninstallPluginOKCode int = 200

UninstallPluginOKCode is the HTTP code returned for type UninstallPluginOK

View Source
const UpdateAppEnvBadRequestCode int = 400

UpdateAppEnvBadRequestCode is the HTTP code returned for type UpdateAppEnvBadRequest

View Source
const UpdateAppEnvNotFoundCode int = 404

UpdateAppEnvNotFoundCode is the HTTP code returned for type UpdateAppEnvNotFound

View Source
const UpdateAppEnvOKCode int = 200

UpdateAppEnvOKCode is the HTTP code returned for type UpdateAppEnvOK

View Source
const UpdateAppTraefikConfigBadRequestCode int = 400

UpdateAppTraefikConfigBadRequestCode is the HTTP code returned for type UpdateAppTraefikConfigBadRequest

View Source
const UpdateAppTraefikConfigOKCode int = 200

UpdateAppTraefikConfigOKCode is the HTTP code returned for type UpdateAppTraefikConfigOK

View Source
const UpdateRunConfigBadRequestCode int = 400

UpdateRunConfigBadRequestCode is the HTTP code returned for type UpdateRunConfigBadRequest

View Source
const UpdateRunConfigNotFoundCode int = 404

UpdateRunConfigNotFoundCode is the HTTP code returned for type UpdateRunConfigNotFound

View Source
const UpdateRunConfigOKCode int = 200

UpdateRunConfigOKCode is the HTTP code returned for type UpdateRunConfigOK

View Source
const UpgradeAppBadRequestCode int = 400

UpgradeAppBadRequestCode is the HTTP code returned for type UpgradeAppBadRequest

View Source
const UpgradeAppNoContentCode int = 204

UpgradeAppNoContentCode is the HTTP code returned for type UpgradeAppNoContent

View Source
const UpgradeAppNotFoundCode int = 404

UpgradeAppNotFoundCode is the HTTP code returned for type UpgradeAppNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateApp

type CreateApp struct {
	Context *middleware.Context
	Handler CreateAppHandler
}

CreateApp swagger:route POST /api/apps createApp

Create and start a new app

func NewCreateApp

func NewCreateApp(ctx *middleware.Context, handler CreateAppHandler) *CreateApp

NewCreateApp creates a new http.Handler for the create app operation

func (*CreateApp) ServeHTTP

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

type CreateAppBadRequest

type CreateAppBadRequest struct {

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

CreateAppBadRequest Bad Request

swagger:response createAppBadRequest

func NewCreateAppBadRequest

func NewCreateAppBadRequest() *CreateAppBadRequest

NewCreateAppBadRequest creates CreateAppBadRequest with default headers values

func (*CreateAppBadRequest) SetPayload

func (o *CreateAppBadRequest) SetPayload(payload string)

SetPayload sets the payload to the create app bad request response

func (*CreateAppBadRequest) WithPayload

func (o *CreateAppBadRequest) WithPayload(payload string) *CreateAppBadRequest

WithPayload adds the payload to the create app bad request response

func (*CreateAppBadRequest) WriteResponse

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

WriteResponse to the client

type CreateAppCreated

type CreateAppCreated struct {

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

CreateAppCreated Created

swagger:response createAppCreated

func NewCreateAppCreated

func NewCreateAppCreated() *CreateAppCreated

NewCreateAppCreated creates CreateAppCreated with default headers values

func (*CreateAppCreated) SetPayload

func (o *CreateAppCreated) SetPayload(payload *models.App)

SetPayload sets the payload to the create app created response

func (*CreateAppCreated) WithPayload

func (o *CreateAppCreated) WithPayload(payload *models.App) *CreateAppCreated

WithPayload adds the payload to the create app created response

func (*CreateAppCreated) WriteResponse

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

WriteResponse to the client

type CreateAppDefault

type CreateAppDefault struct {

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

CreateAppDefault Unknown Error

swagger:response createAppDefault

func NewCreateAppDefault

func NewCreateAppDefault(code int) *CreateAppDefault

NewCreateAppDefault creates CreateAppDefault with default headers values

func (*CreateAppDefault) SetPayload

func (o *CreateAppDefault) SetPayload(payload string)

SetPayload sets the payload to the create app default response

func (*CreateAppDefault) SetStatusCode

func (o *CreateAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the create app default response

func (*CreateAppDefault) WithPayload

func (o *CreateAppDefault) WithPayload(payload string) *CreateAppDefault

WithPayload adds the payload to the create app default response

func (*CreateAppDefault) WithStatusCode

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

WithStatusCode adds the status to the create app default response

func (*CreateAppDefault) WriteResponse

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

WriteResponse to the client

type CreateAppHandler

type CreateAppHandler interface {
	Handle(CreateAppParams) middleware.Responder
}

CreateAppHandler interface for that can handle valid create app params

type CreateAppHandlerFunc

type CreateAppHandlerFunc func(CreateAppParams) middleware.Responder

CreateAppHandlerFunc turns a function with the right signature into a create app handler

func (CreateAppHandlerFunc) Handle

Handle executing the request and returning a response

type CreateAppParams

type CreateAppParams struct {

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

	/*
	  In: body
	*/
	App *models.AppInput
}

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

swagger:parameters createApp

func NewCreateAppParams

func NewCreateAppParams() CreateAppParams

NewCreateAppParams creates a new CreateAppParams object no default values defined in spec.

func (*CreateAppParams) BindRequest

func (o *CreateAppParams) 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 NewCreateAppParams() beforehand.

type CreateAppURL

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

CreateAppURL generates an URL for the create app operation

func (*CreateAppURL) Build

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

Build a url path and query string

func (*CreateAppURL) BuildFull

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

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

func (*CreateAppURL) Must

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

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

func (*CreateAppURL) SetBasePath

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

func (o *CreateAppURL) String() string

String returns the string representation of the path with query string

func (*CreateAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateAppURL) WithBasePath

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

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 DeleteApp

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

DeleteApp swagger:route DELETE /api/apps/{appName} deleteApp

Stop and delete an app

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 DeleteAppDefault

type DeleteAppDefault struct {

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

DeleteAppDefault Unknown Error

swagger:response deleteAppDefault

func NewDeleteAppDefault

func NewDeleteAppDefault(code int) *DeleteAppDefault

NewDeleteAppDefault creates DeleteAppDefault with default headers values

func (*DeleteAppDefault) SetPayload

func (o *DeleteAppDefault) SetPayload(payload string)

SetPayload sets the payload to the delete app default response

func (*DeleteAppDefault) SetStatusCode

func (o *DeleteAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete app default response

func (*DeleteAppDefault) WithPayload

func (o *DeleteAppDefault) WithPayload(payload string) *DeleteAppDefault

WithPayload adds the payload to the delete app default response

func (*DeleteAppDefault) WithStatusCode

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

WithStatusCode adds the status to the delete app default response

func (*DeleteAppDefault) WriteResponse

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

WriteResponse to the client

type DeleteAppHandler

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

DeleteAppHandler interface for that can handle valid delete app params

type DeleteAppHandlerFunc

type DeleteAppHandlerFunc func(DeleteAppParams) middleware.Responder

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

func (DeleteAppHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteAppNotFound

type DeleteAppNotFound struct {

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

DeleteAppNotFound 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 string)

SetPayload sets the payload to the delete app not found response

func (*DeleteAppNotFound) WithPayload

func (o *DeleteAppNotFound) WithPayload(payload string) *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 *models.App `json:"body,omitempty"`
}

DeleteAppOK OK

swagger:response deleteAppOK

func NewDeleteAppOK

func NewDeleteAppOK() *DeleteAppOK

NewDeleteAppOK creates DeleteAppOK with default headers values

func (*DeleteAppOK) SetPayload

func (o *DeleteAppOK) SetPayload(payload *models.App)

SetPayload sets the payload to the delete app o k response

func (*DeleteAppOK) WithPayload

func (o *DeleteAppOK) WithPayload(payload *models.App) *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:"-"`

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName 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 {
	AppName 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 EditApp added in v0.4.0

type EditApp struct {
	Context *middleware.Context
	Handler EditAppHandler
}

EditApp swagger:route PUT /api/apps/{appName} editApp

Edit the app details

func NewEditApp added in v0.4.0

func NewEditApp(ctx *middleware.Context, handler EditAppHandler) *EditApp

NewEditApp creates a new http.Handler for the edit app operation

func (*EditApp) ServeHTTP added in v0.4.0

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

type EditAppBadRequest added in v0.4.0

type EditAppBadRequest struct {

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

EditAppBadRequest BadRequest

swagger:response editAppBadRequest

func NewEditAppBadRequest added in v0.4.0

func NewEditAppBadRequest() *EditAppBadRequest

NewEditAppBadRequest creates EditAppBadRequest with default headers values

func (*EditAppBadRequest) SetPayload added in v0.4.0

func (o *EditAppBadRequest) SetPayload(payload string)

SetPayload sets the payload to the edit app bad request response

func (*EditAppBadRequest) WithPayload added in v0.4.0

func (o *EditAppBadRequest) WithPayload(payload string) *EditAppBadRequest

WithPayload adds the payload to the edit app bad request response

func (*EditAppBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type EditAppDefault added in v0.4.0

type EditAppDefault struct {

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

EditAppDefault Unknown Error

swagger:response editAppDefault

func NewEditAppDefault added in v0.4.0

func NewEditAppDefault(code int) *EditAppDefault

NewEditAppDefault creates EditAppDefault with default headers values

func (*EditAppDefault) SetPayload added in v0.4.0

func (o *EditAppDefault) SetPayload(payload string)

SetPayload sets the payload to the edit app default response

func (*EditAppDefault) SetStatusCode added in v0.4.0

func (o *EditAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the edit app default response

func (*EditAppDefault) WithPayload added in v0.4.0

func (o *EditAppDefault) WithPayload(payload string) *EditAppDefault

WithPayload adds the payload to the edit app default response

func (*EditAppDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the edit app default response

func (*EditAppDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type EditAppHandler added in v0.4.0

type EditAppHandler interface {
	Handle(EditAppParams) middleware.Responder
}

EditAppHandler interface for that can handle valid edit app params

type EditAppHandlerFunc added in v0.4.0

type EditAppHandlerFunc func(EditAppParams) middleware.Responder

EditAppHandlerFunc turns a function with the right signature into a edit app handler

func (EditAppHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type EditAppNotFound added in v0.4.0

type EditAppNotFound struct {

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

EditAppNotFound Not Found

swagger:response editAppNotFound

func NewEditAppNotFound added in v0.4.0

func NewEditAppNotFound() *EditAppNotFound

NewEditAppNotFound creates EditAppNotFound with default headers values

func (*EditAppNotFound) SetPayload added in v0.4.0

func (o *EditAppNotFound) SetPayload(payload string)

SetPayload sets the payload to the edit app not found response

func (*EditAppNotFound) WithPayload added in v0.4.0

func (o *EditAppNotFound) WithPayload(payload string) *EditAppNotFound

WithPayload adds the payload to the edit app not found response

func (*EditAppNotFound) WriteResponse added in v0.4.0

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

WriteResponse to the client

type EditAppOK added in v0.4.0

type EditAppOK struct {

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

EditAppOK OK

swagger:response editAppOK

func NewEditAppOK added in v0.4.0

func NewEditAppOK() *EditAppOK

NewEditAppOK creates EditAppOK with default headers values

func (*EditAppOK) SetPayload added in v0.4.0

func (o *EditAppOK) SetPayload(payload *models.App)

SetPayload sets the payload to the edit app o k response

func (*EditAppOK) WithPayload added in v0.4.0

func (o *EditAppOK) WithPayload(payload *models.App) *EditAppOK

WithPayload adds the payload to the edit app o k response

func (*EditAppOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type EditAppParams added in v0.4.0

type EditAppParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
	/*
	  Required: true
	  In: body
	*/
	NewApp *models.AppEdit
}

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

swagger:parameters editApp

func NewEditAppParams added in v0.4.0

func NewEditAppParams() EditAppParams

NewEditAppParams creates a new EditAppParams object no default values defined in spec.

func (*EditAppParams) BindRequest added in v0.4.0

func (o *EditAppParams) 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 NewEditAppParams() beforehand.

type EditAppURL added in v0.4.0

type EditAppURL struct {
	AppName string
	// contains filtered or unexported fields
}

EditAppURL generates an URL for the edit app operation

func (*EditAppURL) Build added in v0.4.0

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

Build a url path and query string

func (*EditAppURL) BuildFull added in v0.4.0

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

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

func (*EditAppURL) Must added in v0.4.0

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

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

func (*EditAppURL) SetBasePath added in v0.4.0

func (o *EditAppURL) 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 (*EditAppURL) String added in v0.4.0

func (o *EditAppURL) String() string

String returns the string representation of the path with query string

func (*EditAppURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*EditAppURL) WithBasePath added in v0.4.0

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

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 GetApp

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

GetApp swagger:route GET /api/apps/{appName} getApp

Get an app 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 GetAppEnv

type GetAppEnv struct {
	Context *middleware.Context
	Handler GetAppEnvHandler
}

GetAppEnv swagger:route GET /api/apps/{appName}/env getAppEnv

get an app's environment variables

func NewGetAppEnv

func NewGetAppEnv(ctx *middleware.Context, handler GetAppEnvHandler) *GetAppEnv

NewGetAppEnv creates a new http.Handler for the get app env operation

func (*GetAppEnv) ServeHTTP

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

type GetAppEnvDefault

type GetAppEnvDefault struct {

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

GetAppEnvDefault Unknown Error

swagger:response getAppEnvDefault

func NewGetAppEnvDefault

func NewGetAppEnvDefault(code int) *GetAppEnvDefault

NewGetAppEnvDefault creates GetAppEnvDefault with default headers values

func (*GetAppEnvDefault) SetPayload

func (o *GetAppEnvDefault) SetPayload(payload string)

SetPayload sets the payload to the get app env default response

func (*GetAppEnvDefault) SetStatusCode

func (o *GetAppEnvDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get app env default response

func (*GetAppEnvDefault) WithPayload

func (o *GetAppEnvDefault) WithPayload(payload string) *GetAppEnvDefault

WithPayload adds the payload to the get app env default response

func (*GetAppEnvDefault) WithStatusCode

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

WithStatusCode adds the status to the get app env default response

func (*GetAppEnvDefault) WriteResponse

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

WriteResponse to the client

type GetAppEnvHandler

type GetAppEnvHandler interface {
	Handle(GetAppEnvParams) middleware.Responder
}

GetAppEnvHandler interface for that can handle valid get app env params

type GetAppEnvHandlerFunc

type GetAppEnvHandlerFunc func(GetAppEnvParams) middleware.Responder

GetAppEnvHandlerFunc turns a function with the right signature into a get app env handler

func (GetAppEnvHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppEnvNotFound

type GetAppEnvNotFound struct {

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

GetAppEnvNotFound Not Found

swagger:response getAppEnvNotFound

func NewGetAppEnvNotFound

func NewGetAppEnvNotFound() *GetAppEnvNotFound

NewGetAppEnvNotFound creates GetAppEnvNotFound with default headers values

func (*GetAppEnvNotFound) SetPayload

func (o *GetAppEnvNotFound) SetPayload(payload string)

SetPayload sets the payload to the get app env not found response

func (*GetAppEnvNotFound) WithPayload

func (o *GetAppEnvNotFound) WithPayload(payload string) *GetAppEnvNotFound

WithPayload adds the payload to the get app env not found response

func (*GetAppEnvNotFound) WriteResponse

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

WriteResponse to the client

type GetAppEnvOK

type GetAppEnvOK struct {

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

GetAppEnvOK OK

swagger:response getAppEnvOK

func NewGetAppEnvOK

func NewGetAppEnvOK() *GetAppEnvOK

NewGetAppEnvOK creates GetAppEnvOK with default headers values

func (*GetAppEnvOK) SetPayload

func (o *GetAppEnvOK) SetPayload(payload interface{})

SetPayload sets the payload to the get app env o k response

func (*GetAppEnvOK) WithPayload

func (o *GetAppEnvOK) WithPayload(payload interface{}) *GetAppEnvOK

WithPayload adds the payload to the get app env o k response

func (*GetAppEnvOK) WriteResponse

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

WriteResponse to the client

type GetAppEnvParams

type GetAppEnvParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
}

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

swagger:parameters getAppEnv

func NewGetAppEnvParams

func NewGetAppEnvParams() GetAppEnvParams

NewGetAppEnvParams creates a new GetAppEnvParams object no default values defined in spec.

func (*GetAppEnvParams) BindRequest

func (o *GetAppEnvParams) 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 NewGetAppEnvParams() beforehand.

type GetAppEnvURL

type GetAppEnvURL struct {
	AppName string
	// contains filtered or unexported fields
}

GetAppEnvURL generates an URL for the get app env operation

func (*GetAppEnvURL) Build

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

Build a url path and query string

func (*GetAppEnvURL) BuildFull

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

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

func (*GetAppEnvURL) Must

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

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

func (*GetAppEnvURL) SetBasePath

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

func (o *GetAppEnvURL) String() string

String returns the string representation of the path with query string

func (*GetAppEnvURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetAppEnvURL) WithBasePath

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

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 GetAppHandler

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

GetAppHandler interface for that can handle valid get app params

type GetAppHandlerFunc

type GetAppHandlerFunc func(GetAppParams) middleware.Responder

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

func (GetAppHandlerFunc) Handle

Handle executing the request and returning a response

type GetAppNotFound

type GetAppNotFound struct {

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

GetAppNotFound 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 string)

SetPayload sets the payload to the get app not found response

func (*GetAppNotFound) WithPayload

func (o *GetAppNotFound) WithPayload(payload string) *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 *models.App `json:"body,omitempty"`
}

GetAppOK OK

swagger:response getAppOK

func NewGetAppOK

func NewGetAppOK() *GetAppOK

NewGetAppOK creates GetAppOK with default headers values

func (*GetAppOK) SetPayload

func (o *GetAppOK) SetPayload(payload *models.App)

SetPayload sets the payload to the get app o k response

func (*GetAppOK) WithPayload

func (o *GetAppOK) WithPayload(payload *models.App) *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:"-"`

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName 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 GetAppTraefikConfig added in v0.4.0

type GetAppTraefikConfig struct {
	Context *middleware.Context
	Handler GetAppTraefikConfigHandler
}

GetAppTraefikConfig swagger:route GET /api/plugins/traefik/{appId} getAppTraefikConfig

Get an app's routing config

func NewGetAppTraefikConfig added in v0.4.0

func NewGetAppTraefikConfig(ctx *middleware.Context, handler GetAppTraefikConfigHandler) *GetAppTraefikConfig

NewGetAppTraefikConfig creates a new http.Handler for the get app traefik config operation

func (*GetAppTraefikConfig) ServeHTTP added in v0.4.0

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

type GetAppTraefikConfigBadRequest added in v0.4.0

type GetAppTraefikConfigBadRequest struct {

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

GetAppTraefikConfigBadRequest Traefik plugin is not installed

swagger:response getAppTraefikConfigBadRequest

func NewGetAppTraefikConfigBadRequest added in v0.4.0

func NewGetAppTraefikConfigBadRequest() *GetAppTraefikConfigBadRequest

NewGetAppTraefikConfigBadRequest creates GetAppTraefikConfigBadRequest with default headers values

func (*GetAppTraefikConfigBadRequest) SetPayload added in v0.4.0

func (o *GetAppTraefikConfigBadRequest) SetPayload(payload string)

SetPayload sets the payload to the get app traefik config bad request response

func (*GetAppTraefikConfigBadRequest) WithPayload added in v0.4.0

WithPayload adds the payload to the get app traefik config bad request response

func (*GetAppTraefikConfigBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetAppTraefikConfigDefault added in v0.4.0

type GetAppTraefikConfigDefault struct {

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

GetAppTraefikConfigDefault Unknown Error

swagger:response getAppTraefikConfigDefault

func NewGetAppTraefikConfigDefault added in v0.4.0

func NewGetAppTraefikConfigDefault(code int) *GetAppTraefikConfigDefault

NewGetAppTraefikConfigDefault creates GetAppTraefikConfigDefault with default headers values

func (*GetAppTraefikConfigDefault) SetPayload added in v0.4.0

func (o *GetAppTraefikConfigDefault) SetPayload(payload string)

SetPayload sets the payload to the get app traefik config default response

func (*GetAppTraefikConfigDefault) SetStatusCode added in v0.4.0

func (o *GetAppTraefikConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get app traefik config default response

func (*GetAppTraefikConfigDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the get app traefik config default response

func (*GetAppTraefikConfigDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the get app traefik config default response

func (*GetAppTraefikConfigDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetAppTraefikConfigHandler added in v0.4.0

type GetAppTraefikConfigHandler interface {
	Handle(GetAppTraefikConfigParams) middleware.Responder
}

GetAppTraefikConfigHandler interface for that can handle valid get app traefik config params

type GetAppTraefikConfigHandlerFunc added in v0.4.0

type GetAppTraefikConfigHandlerFunc func(GetAppTraefikConfigParams) middleware.Responder

GetAppTraefikConfigHandlerFunc turns a function with the right signature into a get app traefik config handler

func (GetAppTraefikConfigHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type GetAppTraefikConfigNotFound added in v0.4.0

type GetAppTraefikConfigNotFound struct {
}

GetAppTraefikConfigNotFound No config for the app

swagger:response getAppTraefikConfigNotFound

func NewGetAppTraefikConfigNotFound added in v0.4.0

func NewGetAppTraefikConfigNotFound() *GetAppTraefikConfigNotFound

NewGetAppTraefikConfigNotFound creates GetAppTraefikConfigNotFound with default headers values

func (*GetAppTraefikConfigNotFound) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetAppTraefikConfigOK added in v0.4.0

type GetAppTraefikConfigOK struct {

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

GetAppTraefikConfigOK Found and returned the config

swagger:response getAppTraefikConfigOK

func NewGetAppTraefikConfigOK added in v0.4.0

func NewGetAppTraefikConfigOK() *GetAppTraefikConfigOK

NewGetAppTraefikConfigOK creates GetAppTraefikConfigOK with default headers values

func (*GetAppTraefikConfigOK) SetPayload added in v0.4.0

func (o *GetAppTraefikConfigOK) SetPayload(payload *models.TraefikPluginConfig)

SetPayload sets the payload to the get app traefik config o k response

func (*GetAppTraefikConfigOK) WithPayload added in v0.4.0

WithPayload adds the payload to the get app traefik config o k response

func (*GetAppTraefikConfigOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetAppTraefikConfigParams added in v0.4.0

type GetAppTraefikConfigParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AppID strfmt.UUID4
}

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

swagger:parameters getAppTraefikConfig

func NewGetAppTraefikConfigParams added in v0.4.0

func NewGetAppTraefikConfigParams() GetAppTraefikConfigParams

NewGetAppTraefikConfigParams creates a new GetAppTraefikConfigParams object no default values defined in spec.

func (*GetAppTraefikConfigParams) BindRequest added in v0.4.0

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 NewGetAppTraefikConfigParams() beforehand.

type GetAppTraefikConfigURL added in v0.4.0

type GetAppTraefikConfigURL struct {
	AppID strfmt.UUID4
	// contains filtered or unexported fields
}

GetAppTraefikConfigURL generates an URL for the get app traefik config operation

func (*GetAppTraefikConfigURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetAppTraefikConfigURL) BuildFull added in v0.4.0

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

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

func (*GetAppTraefikConfigURL) Must added in v0.4.0

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

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

func (*GetAppTraefikConfigURL) SetBasePath added in v0.4.0

func (o *GetAppTraefikConfigURL) 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 (*GetAppTraefikConfigURL) String added in v0.4.0

func (o *GetAppTraefikConfigURL) String() string

String returns the string representation of the path with query string

func (*GetAppTraefikConfigURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetAppTraefikConfigURL) WithBasePath added in v0.4.0

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 GetAppURL

type GetAppURL struct {
	AppName 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 GetPlugin

type GetPlugin struct {
	Context *middleware.Context
	Handler GetPluginHandler
}

GetPlugin swagger:route GET /api/plugins/{pluginName} getPlugin

Get a plugin

func NewGetPlugin

func NewGetPlugin(ctx *middleware.Context, handler GetPluginHandler) *GetPlugin

NewGetPlugin creates a new http.Handler for the get plugin operation

func (*GetPlugin) ServeHTTP

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

type GetPluginDefault

type GetPluginDefault struct {

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

GetPluginDefault Unknown Error

swagger:response getPluginDefault

func NewGetPluginDefault

func NewGetPluginDefault(code int) *GetPluginDefault

NewGetPluginDefault creates GetPluginDefault with default headers values

func (*GetPluginDefault) SetPayload

func (o *GetPluginDefault) SetPayload(payload string)

SetPayload sets the payload to the get plugin default response

func (*GetPluginDefault) SetStatusCode

func (o *GetPluginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get plugin default response

func (*GetPluginDefault) WithPayload

func (o *GetPluginDefault) WithPayload(payload string) *GetPluginDefault

WithPayload adds the payload to the get plugin default response

func (*GetPluginDefault) WithStatusCode

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

WithStatusCode adds the status to the get plugin default response

func (*GetPluginDefault) WriteResponse

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

WriteResponse to the client

type GetPluginHandler

type GetPluginHandler interface {
	Handle(GetPluginParams) middleware.Responder
}

GetPluginHandler interface for that can handle valid get plugin params

type GetPluginHandlerFunc

type GetPluginHandlerFunc func(GetPluginParams) middleware.Responder

GetPluginHandlerFunc turns a function with the right signature into a get plugin handler

func (GetPluginHandlerFunc) Handle

Handle executing the request and returning a response

type GetPluginNotFound

type GetPluginNotFound struct {

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

GetPluginNotFound Not Found

swagger:response getPluginNotFound

func NewGetPluginNotFound

func NewGetPluginNotFound() *GetPluginNotFound

NewGetPluginNotFound creates GetPluginNotFound with default headers values

func (*GetPluginNotFound) SetPayload

func (o *GetPluginNotFound) SetPayload(payload string)

SetPayload sets the payload to the get plugin not found response

func (*GetPluginNotFound) WithPayload

func (o *GetPluginNotFound) WithPayload(payload string) *GetPluginNotFound

WithPayload adds the payload to the get plugin not found response

func (*GetPluginNotFound) WriteResponse

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

WriteResponse to the client

type GetPluginOK

type GetPluginOK struct {

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

GetPluginOK Created

swagger:response getPluginOK

func NewGetPluginOK

func NewGetPluginOK() *GetPluginOK

NewGetPluginOK creates GetPluginOK with default headers values

func (*GetPluginOK) SetPayload

func (o *GetPluginOK) SetPayload(payload *models.Plugin)

SetPayload sets the payload to the get plugin o k response

func (*GetPluginOK) WithPayload

func (o *GetPluginOK) WithPayload(payload *models.Plugin) *GetPluginOK

WithPayload adds the payload to the get plugin o k response

func (*GetPluginOK) WriteResponse

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

WriteResponse to the client

type GetPluginParams

type GetPluginParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	PluginName string
}

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

swagger:parameters getPlugin

func NewGetPluginParams

func NewGetPluginParams() GetPluginParams

NewGetPluginParams creates a new GetPluginParams object no default values defined in spec.

func (*GetPluginParams) BindRequest

func (o *GetPluginParams) 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 NewGetPluginParams() beforehand.

type GetPluginURL

type GetPluginURL struct {
	PluginName string
	// contains filtered or unexported fields
}

GetPluginURL generates an URL for the get plugin operation

func (*GetPluginURL) Build

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

Build a url path and query string

func (*GetPluginURL) BuildFull

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

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

func (*GetPluginURL) Must

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

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

func (*GetPluginURL) SetBasePath

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

func (o *GetPluginURL) String() string

String returns the string representation of the path with query string

func (*GetPluginURL) StringFull

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

StringFull returns the string representation of a complete url

func (*GetPluginURL) WithBasePath

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

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 GetRunConfig added in v0.4.0

type GetRunConfig struct {
	Context *middleware.Context
	Handler GetRunConfigHandler
}

GetRunConfig swagger:route GET /api/apps/{appName}/config getRunConfig

get an app's current config

func NewGetRunConfig added in v0.4.0

func NewGetRunConfig(ctx *middleware.Context, handler GetRunConfigHandler) *GetRunConfig

NewGetRunConfig creates a new http.Handler for the get run config operation

func (*GetRunConfig) ServeHTTP added in v0.4.0

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

type GetRunConfigDefault added in v0.4.0

type GetRunConfigDefault struct {

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

GetRunConfigDefault Unknown Error

swagger:response getRunConfigDefault

func NewGetRunConfigDefault added in v0.4.0

func NewGetRunConfigDefault(code int) *GetRunConfigDefault

NewGetRunConfigDefault creates GetRunConfigDefault with default headers values

func (*GetRunConfigDefault) SetPayload added in v0.4.0

func (o *GetRunConfigDefault) SetPayload(payload string)

SetPayload sets the payload to the get run config default response

func (*GetRunConfigDefault) SetStatusCode added in v0.4.0

func (o *GetRunConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get run config default response

func (*GetRunConfigDefault) WithPayload added in v0.4.0

func (o *GetRunConfigDefault) WithPayload(payload string) *GetRunConfigDefault

WithPayload adds the payload to the get run config default response

func (*GetRunConfigDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the get run config default response

func (*GetRunConfigDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetRunConfigHandler added in v0.4.0

type GetRunConfigHandler interface {
	Handle(GetRunConfigParams) middleware.Responder
}

GetRunConfigHandler interface for that can handle valid get run config params

type GetRunConfigHandlerFunc added in v0.4.0

type GetRunConfigHandlerFunc func(GetRunConfigParams) middleware.Responder

GetRunConfigHandlerFunc turns a function with the right signature into a get run config handler

func (GetRunConfigHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type GetRunConfigNotFound added in v0.4.0

type GetRunConfigNotFound struct {

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

GetRunConfigNotFound Not Found

swagger:response getRunConfigNotFound

func NewGetRunConfigNotFound added in v0.4.0

func NewGetRunConfigNotFound() *GetRunConfigNotFound

NewGetRunConfigNotFound creates GetRunConfigNotFound with default headers values

func (*GetRunConfigNotFound) SetPayload added in v0.4.0

func (o *GetRunConfigNotFound) SetPayload(payload string)

SetPayload sets the payload to the get run config not found response

func (*GetRunConfigNotFound) WithPayload added in v0.4.0

func (o *GetRunConfigNotFound) WithPayload(payload string) *GetRunConfigNotFound

WithPayload adds the payload to the get run config not found response

func (*GetRunConfigNotFound) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetRunConfigOK added in v0.4.0

type GetRunConfigOK struct {

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

GetRunConfigOK OK

swagger:response getRunConfigOK

func NewGetRunConfigOK added in v0.4.0

func NewGetRunConfigOK() *GetRunConfigOK

NewGetRunConfigOK creates GetRunConfigOK with default headers values

func (*GetRunConfigOK) SetPayload added in v0.4.0

func (o *GetRunConfigOK) SetPayload(payload *models.RunConfig)

SetPayload sets the payload to the get run config o k response

func (*GetRunConfigOK) WithPayload added in v0.4.0

func (o *GetRunConfigOK) WithPayload(payload *models.RunConfig) *GetRunConfigOK

WithPayload adds the payload to the get run config o k response

func (*GetRunConfigOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type GetRunConfigParams added in v0.4.0

type GetRunConfigParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
}

GetRunConfigParams contains all the bound params for the get run config operation typically these are obtained from a http.Request

swagger:parameters getRunConfig

func NewGetRunConfigParams added in v0.4.0

func NewGetRunConfigParams() GetRunConfigParams

NewGetRunConfigParams creates a new GetRunConfigParams object no default values defined in spec.

func (*GetRunConfigParams) BindRequest added in v0.4.0

func (o *GetRunConfigParams) 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 NewGetRunConfigParams() beforehand.

type GetRunConfigURL added in v0.4.0

type GetRunConfigURL struct {
	AppName string
	// contains filtered or unexported fields
}

GetRunConfigURL generates an URL for the get run config operation

func (*GetRunConfigURL) Build added in v0.4.0

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

Build a url path and query string

func (*GetRunConfigURL) BuildFull added in v0.4.0

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

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

func (*GetRunConfigURL) Must added in v0.4.0

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

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

func (*GetRunConfigURL) SetBasePath added in v0.4.0

func (o *GetRunConfigURL) 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 (*GetRunConfigURL) String added in v0.4.0

func (o *GetRunConfigURL) String() string

String returns the string representation of the path with query string

func (*GetRunConfigURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*GetRunConfigURL) WithBasePath added in v0.4.0

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

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 HealthCheck added in v0.4.0

type HealthCheck struct {
	Context *middleware.Context
	Handler HealthCheckHandler
}

HealthCheck swagger:route GET /api/health healthCheck

Standard health check endpoint that checks all the service's statuses

func NewHealthCheck added in v0.4.0

func NewHealthCheck(ctx *middleware.Context, handler HealthCheckHandler) *HealthCheck

NewHealthCheck creates a new http.Handler for the health check operation

func (*HealthCheck) ServeHTTP added in v0.4.0

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

type HealthCheckHandler added in v0.4.0

type HealthCheckHandler interface {
	Handle(HealthCheckParams) middleware.Responder
}

HealthCheckHandler interface for that can handle valid health check params

type HealthCheckHandlerFunc added in v0.4.0

type HealthCheckHandlerFunc func(HealthCheckParams) middleware.Responder

HealthCheckHandlerFunc turns a function with the right signature into a health check handler

func (HealthCheckHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type HealthCheckOK added in v0.4.0

type HealthCheckOK struct {

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

HealthCheckOK OK

swagger:response healthCheckOK

func NewHealthCheckOK added in v0.4.0

func NewHealthCheckOK() *HealthCheckOK

NewHealthCheckOK creates HealthCheckOK with default headers values

func (*HealthCheckOK) SetPayload added in v0.4.0

func (o *HealthCheckOK) SetPayload(payload *models.Health)

SetPayload sets the payload to the health check o k response

func (*HealthCheckOK) WithPayload added in v0.4.0

func (o *HealthCheckOK) WithPayload(payload *models.Health) *HealthCheckOK

WithPayload adds the payload to the health check o k response

func (*HealthCheckOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type HealthCheckParams added in v0.4.0

type HealthCheckParams struct {

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

HealthCheckParams contains all the bound params for the health check operation typically these are obtained from a http.Request

swagger:parameters healthCheck

func NewHealthCheckParams added in v0.4.0

func NewHealthCheckParams() HealthCheckParams

NewHealthCheckParams creates a new HealthCheckParams object no default values defined in spec.

func (*HealthCheckParams) BindRequest added in v0.4.0

func (o *HealthCheckParams) 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 NewHealthCheckParams() beforehand.

type HealthCheckURL added in v0.4.0

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

HealthCheckURL generates an URL for the health check operation

func (*HealthCheckURL) Build added in v0.4.0

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

Build a url path and query string

func (*HealthCheckURL) BuildFull added in v0.4.0

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

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

func (*HealthCheckURL) Must added in v0.4.0

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

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

func (*HealthCheckURL) SetBasePath added in v0.4.0

func (o *HealthCheckURL) 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 (*HealthCheckURL) String added in v0.4.0

func (o *HealthCheckURL) String() string

String returns the string representation of the path with query string

func (*HealthCheckURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*HealthCheckURL) WithBasePath added in v0.4.0

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

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 InstallPlugin

type InstallPlugin struct {
	Context *middleware.Context
	Handler InstallPluginHandler
}

InstallPlugin swagger:route POST /api/plugins/{pluginName} installPlugin

Install (and start) a plugin

func NewInstallPlugin

func NewInstallPlugin(ctx *middleware.Context, handler InstallPluginHandler) *InstallPlugin

NewInstallPlugin creates a new http.Handler for the install plugin operation

func (*InstallPlugin) ServeHTTP

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

type InstallPluginCreated

type InstallPluginCreated struct {

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

InstallPluginCreated Created

swagger:response installPluginCreated

func NewInstallPluginCreated

func NewInstallPluginCreated() *InstallPluginCreated

NewInstallPluginCreated creates InstallPluginCreated with default headers values

func (*InstallPluginCreated) SetPayload

func (o *InstallPluginCreated) SetPayload(payload *models.Plugin)

SetPayload sets the payload to the install plugin created response

func (*InstallPluginCreated) WithPayload

func (o *InstallPluginCreated) WithPayload(payload *models.Plugin) *InstallPluginCreated

WithPayload adds the payload to the install plugin created response

func (*InstallPluginCreated) WriteResponse

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

WriteResponse to the client

type InstallPluginDefault

type InstallPluginDefault struct {

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

InstallPluginDefault Unknown Error

swagger:response installPluginDefault

func NewInstallPluginDefault

func NewInstallPluginDefault(code int) *InstallPluginDefault

NewInstallPluginDefault creates InstallPluginDefault with default headers values

func (*InstallPluginDefault) SetPayload

func (o *InstallPluginDefault) SetPayload(payload string)

SetPayload sets the payload to the install plugin default response

func (*InstallPluginDefault) SetStatusCode

func (o *InstallPluginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the install plugin default response

func (*InstallPluginDefault) WithPayload

func (o *InstallPluginDefault) WithPayload(payload string) *InstallPluginDefault

WithPayload adds the payload to the install plugin default response

func (*InstallPluginDefault) WithStatusCode

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

WithStatusCode adds the status to the install plugin default response

func (*InstallPluginDefault) WriteResponse

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

WriteResponse to the client

type InstallPluginHandler

type InstallPluginHandler interface {
	Handle(InstallPluginParams) middleware.Responder
}

InstallPluginHandler interface for that can handle valid install plugin params

type InstallPluginHandlerFunc

type InstallPluginHandlerFunc func(InstallPluginParams) middleware.Responder

InstallPluginHandlerFunc turns a function with the right signature into a install plugin handler

func (InstallPluginHandlerFunc) Handle

Handle executing the request and returning a response

type InstallPluginParams

type InstallPluginParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	PluginName string
}

InstallPluginParams contains all the bound params for the install plugin operation typically these are obtained from a http.Request

swagger:parameters installPlugin

func NewInstallPluginParams

func NewInstallPluginParams() InstallPluginParams

NewInstallPluginParams creates a new InstallPluginParams object no default values defined in spec.

func (*InstallPluginParams) BindRequest

func (o *InstallPluginParams) 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 NewInstallPluginParams() beforehand.

type InstallPluginURL

type InstallPluginURL struct {
	PluginName string
	// contains filtered or unexported fields
}

InstallPluginURL generates an URL for the install plugin operation

func (*InstallPluginURL) Build

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

Build a url path and query string

func (*InstallPluginURL) BuildFull

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

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

func (*InstallPluginURL) Must

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

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

func (*InstallPluginURL) SetBasePath

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

func (o *InstallPluginURL) String() string

String returns the string representation of the path with query string

func (*InstallPluginURL) StringFull

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

StringFull returns the string representation of a complete url

func (*InstallPluginURL) WithBasePath

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

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 ListApps added in v0.4.0

type ListApps struct {
	Context *middleware.Context
	Handler ListAppsHandler
}

ListApps swagger:route GET /api/apps listApps

List all the running apps

func NewListApps added in v0.4.0

func NewListApps(ctx *middleware.Context, handler ListAppsHandler) *ListApps

NewListApps creates a new http.Handler for the list apps operation

func (*ListApps) ServeHTTP added in v0.4.0

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

type ListAppsDefault added in v0.4.0

type ListAppsDefault struct {

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

ListAppsDefault Unknown Error

swagger:response listAppsDefault

func NewListAppsDefault added in v0.4.0

func NewListAppsDefault(code int) *ListAppsDefault

NewListAppsDefault creates ListAppsDefault with default headers values

func (*ListAppsDefault) SetPayload added in v0.4.0

func (o *ListAppsDefault) SetPayload(payload string)

SetPayload sets the payload to the list apps default response

func (*ListAppsDefault) SetStatusCode added in v0.4.0

func (o *ListAppsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list apps default response

func (*ListAppsDefault) WithPayload added in v0.4.0

func (o *ListAppsDefault) WithPayload(payload string) *ListAppsDefault

WithPayload adds the payload to the list apps default response

func (*ListAppsDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the list apps default response

func (*ListAppsDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListAppsHandler added in v0.4.0

type ListAppsHandler interface {
	Handle(ListAppsParams) middleware.Responder
}

ListAppsHandler interface for that can handle valid list apps params

type ListAppsHandlerFunc added in v0.4.0

type ListAppsHandlerFunc func(ListAppsParams) middleware.Responder

ListAppsHandlerFunc turns a function with the right signature into a list apps handler

func (ListAppsHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type ListAppsOK added in v0.4.0

type ListAppsOK struct {

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

ListAppsOK OK

swagger:response listAppsOK

func NewListAppsOK added in v0.4.0

func NewListAppsOK() *ListAppsOK

NewListAppsOK creates ListAppsOK with default headers values

func (*ListAppsOK) SetPayload added in v0.4.0

func (o *ListAppsOK) SetPayload(payload []*models.App)

SetPayload sets the payload to the list apps o k response

func (*ListAppsOK) WithPayload added in v0.4.0

func (o *ListAppsOK) WithPayload(payload []*models.App) *ListAppsOK

WithPayload adds the payload to the list apps o k response

func (*ListAppsOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type ListAppsParams added in v0.4.0

type ListAppsParams struct {

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

	/*Whether or not to show hidden apps
	  In: query
	*/
	Hidden *bool
}

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

swagger:parameters listApps

func NewListAppsParams added in v0.4.0

func NewListAppsParams() ListAppsParams

NewListAppsParams creates a new ListAppsParams object no default values defined in spec.

func (*ListAppsParams) BindRequest added in v0.4.0

func (o *ListAppsParams) 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 NewListAppsParams() beforehand.

type ListAppsURL added in v0.4.0

type ListAppsURL struct {
	Hidden *bool
	// contains filtered or unexported fields
}

ListAppsURL generates an URL for the list apps operation

func (*ListAppsURL) Build added in v0.4.0

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

Build a url path and query string

func (*ListAppsURL) BuildFull added in v0.4.0

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

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

func (*ListAppsURL) Must added in v0.4.0

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

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

func (*ListAppsURL) SetBasePath added in v0.4.0

func (o *ListAppsURL) 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 (*ListAppsURL) String added in v0.4.0

func (o *ListAppsURL) String() string

String returns the string representation of the path with query string

func (*ListAppsURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*ListAppsURL) WithBasePath added in v0.4.0

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

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 ListPlugins

type ListPlugins struct {
	Context *middleware.Context
	Handler ListPluginsHandler
}

ListPlugins swagger:route GET /api/plugins listPlugins

List all available plugins and if they are installed

func NewListPlugins

func NewListPlugins(ctx *middleware.Context, handler ListPluginsHandler) *ListPlugins

NewListPlugins creates a new http.Handler for the list plugins operation

func (*ListPlugins) ServeHTTP

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

type ListPluginsDefault

type ListPluginsDefault struct {

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

ListPluginsDefault Unknown Error

swagger:response listPluginsDefault

func NewListPluginsDefault

func NewListPluginsDefault(code int) *ListPluginsDefault

NewListPluginsDefault creates ListPluginsDefault with default headers values

func (*ListPluginsDefault) SetPayload

func (o *ListPluginsDefault) SetPayload(payload string)

SetPayload sets the payload to the list plugins default response

func (*ListPluginsDefault) SetStatusCode

func (o *ListPluginsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list plugins default response

func (*ListPluginsDefault) WithPayload

func (o *ListPluginsDefault) WithPayload(payload string) *ListPluginsDefault

WithPayload adds the payload to the list plugins default response

func (*ListPluginsDefault) WithStatusCode

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

WithStatusCode adds the status to the list plugins default response

func (*ListPluginsDefault) WriteResponse

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

WriteResponse to the client

type ListPluginsHandler

type ListPluginsHandler interface {
	Handle(ListPluginsParams) middleware.Responder
}

ListPluginsHandler interface for that can handle valid list plugins params

type ListPluginsHandlerFunc

type ListPluginsHandlerFunc func(ListPluginsParams) middleware.Responder

ListPluginsHandlerFunc turns a function with the right signature into a list plugins handler

func (ListPluginsHandlerFunc) Handle

Handle executing the request and returning a response

type ListPluginsOK

type ListPluginsOK struct {

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

ListPluginsOK OK

swagger:response listPluginsOK

func NewListPluginsOK

func NewListPluginsOK() *ListPluginsOK

NewListPluginsOK creates ListPluginsOK with default headers values

func (*ListPluginsOK) SetPayload

func (o *ListPluginsOK) SetPayload(payload []*models.Plugin)

SetPayload sets the payload to the list plugins o k response

func (*ListPluginsOK) WithPayload

func (o *ListPluginsOK) WithPayload(payload []*models.Plugin) *ListPluginsOK

WithPayload adds the payload to the list plugins o k response

func (*ListPluginsOK) WriteResponse

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

WriteResponse to the client

type ListPluginsParams

type ListPluginsParams struct {

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

ListPluginsParams contains all the bound params for the list plugins operation typically these are obtained from a http.Request

swagger:parameters listPlugins

func NewListPluginsParams

func NewListPluginsParams() ListPluginsParams

NewListPluginsParams creates a new ListPluginsParams object no default values defined in spec.

func (*ListPluginsParams) BindRequest

func (o *ListPluginsParams) 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 NewListPluginsParams() beforehand.

type ListPluginsURL

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

ListPluginsURL generates an URL for the list plugins operation

func (*ListPluginsURL) Build

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

Build a url path and query string

func (*ListPluginsURL) BuildFull

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

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

func (*ListPluginsURL) Must

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

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

func (*ListPluginsURL) SetBasePath

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

func (o *ListPluginsURL) String() string

String returns the string representation of the path with query string

func (*ListPluginsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListPluginsURL) WithBasePath

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

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 MiasmaAPI

type MiasmaAPI struct {
	Middleware func(middleware.Builder) http.Handler

	// BasicAuthenticator generates a runtime.Authenticator from the supplied basic auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BasicAuthenticator func(security.UserPassAuthentication) runtime.Authenticator
	// APIKeyAuthenticator generates a runtime.Authenticator from the supplied token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	APIKeyAuthenticator func(string, string, security.TokenAuthentication) runtime.Authenticator
	// BearerAuthenticator generates a runtime.Authenticator from the supplied bearer token auth function.
	// It has a default implementation in the security package, however you can replace it for your particular usage.
	BearerAuthenticator func(string, security.ScopedTokenAuthentication) runtime.Authenticator

	// JSONConsumer registers a consumer for the following mime types:
	//   - application/json
	JSONConsumer runtime.Consumer

	// JSONProducer registers a producer for the following mime types:
	//   - application/json
	JSONProducer runtime.Producer

	// CreateAppHandler sets the operation handler for the create app operation
	CreateAppHandler CreateAppHandler
	// DeleteAppHandler sets the operation handler for the delete app operation
	DeleteAppHandler DeleteAppHandler
	// EditAppHandler sets the operation handler for the edit app operation
	EditAppHandler EditAppHandler
	// GetAppHandler sets the operation handler for the get app operation
	GetAppHandler GetAppHandler
	// GetAppEnvHandler sets the operation handler for the get app env operation
	GetAppEnvHandler GetAppEnvHandler
	// GetAppTraefikConfigHandler sets the operation handler for the get app traefik config operation
	GetAppTraefikConfigHandler GetAppTraefikConfigHandler
	// GetPluginHandler sets the operation handler for the get plugin operation
	GetPluginHandler GetPluginHandler
	// GetRunConfigHandler sets the operation handler for the get run config operation
	GetRunConfigHandler GetRunConfigHandler
	// HealthCheckHandler sets the operation handler for the health check operation
	HealthCheckHandler HealthCheckHandler
	// InstallPluginHandler sets the operation handler for the install plugin operation
	InstallPluginHandler InstallPluginHandler
	// ListAppsHandler sets the operation handler for the list apps operation
	ListAppsHandler ListAppsHandler
	// ListPluginsHandler sets the operation handler for the list plugins operation
	ListPluginsHandler ListPluginsHandler
	// RemoveAppTraefikConfigHandler sets the operation handler for the remove app traefik config operation
	RemoveAppTraefikConfigHandler RemoveAppTraefikConfigHandler
	// StartAppHandler sets the operation handler for the start app operation
	StartAppHandler StartAppHandler
	// StopAppHandler sets the operation handler for the stop app operation
	StopAppHandler StopAppHandler
	// UninstallPluginHandler sets the operation handler for the uninstall plugin operation
	UninstallPluginHandler UninstallPluginHandler
	// UpdateAppEnvHandler sets the operation handler for the update app env operation
	UpdateAppEnvHandler UpdateAppEnvHandler
	// UpdateAppTraefikConfigHandler sets the operation handler for the update app traefik config operation
	UpdateAppTraefikConfigHandler UpdateAppTraefikConfigHandler
	// UpdateRunConfigHandler sets the operation handler for the update run config operation
	UpdateRunConfigHandler UpdateRunConfigHandler
	// UpgradeAppHandler sets the operation handler for the upgrade app operation
	UpgradeAppHandler UpgradeAppHandler
	// ServeError is called when an error is received, there is a default handler
	// but you can set your own with this
	ServeError func(http.ResponseWriter, *http.Request, error)

	// PreServerShutdown is called before the HTTP(S) server is shutdown
	// This allows for custom functions to get executed before the HTTP(S) server stops accepting traffic
	PreServerShutdown func()

	// ServerShutdown is called when the HTTP(S) server is shut down and done
	// handling all active connections and does not accept connections any more
	ServerShutdown func()

	// Custom command line argument groups with their descriptions
	CommandLineOptionsGroups []swag.CommandLineOptionsGroup

	// User defined logger function.
	Logger func(string, ...interface{})
	// contains filtered or unexported fields
}

MiasmaAPI the miasma API

func NewMiasmaAPI

func NewMiasmaAPI(spec *loads.Document) *MiasmaAPI

NewMiasmaAPI creates a new Miasma instance

func (*MiasmaAPI) AddMiddlewareFor

func (o *MiasmaAPI) AddMiddlewareFor(method, path string, builder middleware.Builder)

AddMiddlewareFor adds a http middleware to existing handler

func (*MiasmaAPI) AuthenticatorsFor

func (o *MiasmaAPI) AuthenticatorsFor(schemes map[string]spec.SecurityScheme) map[string]runtime.Authenticator

AuthenticatorsFor gets the authenticators for the specified security schemes

func (*MiasmaAPI) Authorizer

func (o *MiasmaAPI) Authorizer() runtime.Authorizer

Authorizer returns the registered authorizer

func (*MiasmaAPI) ConsumersFor

func (o *MiasmaAPI) ConsumersFor(mediaTypes []string) map[string]runtime.Consumer

ConsumersFor gets the consumers for the specified media types. MIME type parameters are ignored here.

func (*MiasmaAPI) Context

func (o *MiasmaAPI) Context() *middleware.Context

Context returns the middleware context for the miasma API

func (*MiasmaAPI) DefaultConsumes

func (o *MiasmaAPI) DefaultConsumes() string

DefaultConsumes returns the default consumes media type

func (*MiasmaAPI) DefaultProduces

func (o *MiasmaAPI) DefaultProduces() string

DefaultProduces returns the default produces media type

func (*MiasmaAPI) Formats

func (o *MiasmaAPI) Formats() strfmt.Registry

Formats returns the registered string formats

func (*MiasmaAPI) HandlerFor

func (o *MiasmaAPI) HandlerFor(method, path string) (http.Handler, bool)

HandlerFor gets a http.Handler for the provided operation method and path

func (*MiasmaAPI) Init

func (o *MiasmaAPI) Init()

Init allows you to just initialize the handler cache, you can then recompose the middleware as you see fit

func (*MiasmaAPI) ProducersFor

func (o *MiasmaAPI) ProducersFor(mediaTypes []string) map[string]runtime.Producer

ProducersFor gets the producers for the specified media types. MIME type parameters are ignored here.

func (*MiasmaAPI) RegisterConsumer

func (o *MiasmaAPI) RegisterConsumer(mediaType string, consumer runtime.Consumer)

RegisterConsumer allows you to add (or override) a consumer for a media type.

func (*MiasmaAPI) RegisterFormat

func (o *MiasmaAPI) RegisterFormat(name string, format strfmt.Format, validator strfmt.Validator)

RegisterFormat registers a custom format validator

func (*MiasmaAPI) RegisterProducer

func (o *MiasmaAPI) RegisterProducer(mediaType string, producer runtime.Producer)

RegisterProducer allows you to add (or override) a producer for a media type.

func (*MiasmaAPI) Serve

func (o *MiasmaAPI) Serve(builder middleware.Builder) http.Handler

Serve creates a http handler to serve the API over HTTP can be used directly in http.ListenAndServe(":8000", api.Serve(nil))

func (*MiasmaAPI) ServeErrorFor

func (o *MiasmaAPI) ServeErrorFor(operationID string) func(http.ResponseWriter, *http.Request, error)

ServeErrorFor gets a error handler for a given operation id

func (*MiasmaAPI) SetDefaultConsumes

func (o *MiasmaAPI) SetDefaultConsumes(mediaType string)

SetDefaultConsumes returns the default consumes media type

func (*MiasmaAPI) SetDefaultProduces

func (o *MiasmaAPI) SetDefaultProduces(mediaType string)

SetDefaultProduces sets the default produces media type

func (*MiasmaAPI) SetSpec

func (o *MiasmaAPI) SetSpec(spec *loads.Document)

SetSpec sets a spec that will be served for the clients.

func (*MiasmaAPI) UseRedoc

func (o *MiasmaAPI) UseRedoc()

UseRedoc for documentation at /docs

func (*MiasmaAPI) UseSwaggerUI

func (o *MiasmaAPI) UseSwaggerUI()

UseSwaggerUI for documentation at /docs

func (*MiasmaAPI) Validate

func (o *MiasmaAPI) Validate() error

Validate validates the registrations in the MiasmaAPI

type RemoveAppTraefikConfig added in v0.4.0

type RemoveAppTraefikConfig struct {
	Context *middleware.Context
	Handler RemoveAppTraefikConfigHandler
}

RemoveAppTraefikConfig swagger:route DELETE /api/plugins/traefik/{appId} removeAppTraefikConfig

Removes an app's routing config

func NewRemoveAppTraefikConfig added in v0.4.0

func NewRemoveAppTraefikConfig(ctx *middleware.Context, handler RemoveAppTraefikConfigHandler) *RemoveAppTraefikConfig

NewRemoveAppTraefikConfig creates a new http.Handler for the remove app traefik config operation

func (*RemoveAppTraefikConfig) ServeHTTP added in v0.4.0

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

type RemoveAppTraefikConfigBadRequest added in v0.4.0

type RemoveAppTraefikConfigBadRequest struct {

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

RemoveAppTraefikConfigBadRequest Traefik plugin is not installed

swagger:response removeAppTraefikConfigBadRequest

func NewRemoveAppTraefikConfigBadRequest added in v0.4.0

func NewRemoveAppTraefikConfigBadRequest() *RemoveAppTraefikConfigBadRequest

NewRemoveAppTraefikConfigBadRequest creates RemoveAppTraefikConfigBadRequest with default headers values

func (*RemoveAppTraefikConfigBadRequest) SetPayload added in v0.4.0

func (o *RemoveAppTraefikConfigBadRequest) SetPayload(payload string)

SetPayload sets the payload to the remove app traefik config bad request response

func (*RemoveAppTraefikConfigBadRequest) WithPayload added in v0.4.0

WithPayload adds the payload to the remove app traefik config bad request response

func (*RemoveAppTraefikConfigBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type RemoveAppTraefikConfigDefault added in v0.4.0

type RemoveAppTraefikConfigDefault struct {

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

RemoveAppTraefikConfigDefault Unknown Error

swagger:response removeAppTraefikConfigDefault

func NewRemoveAppTraefikConfigDefault added in v0.4.0

func NewRemoveAppTraefikConfigDefault(code int) *RemoveAppTraefikConfigDefault

NewRemoveAppTraefikConfigDefault creates RemoveAppTraefikConfigDefault with default headers values

func (*RemoveAppTraefikConfigDefault) SetPayload added in v0.4.0

func (o *RemoveAppTraefikConfigDefault) SetPayload(payload string)

SetPayload sets the payload to the remove app traefik config default response

func (*RemoveAppTraefikConfigDefault) SetStatusCode added in v0.4.0

func (o *RemoveAppTraefikConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the remove app traefik config default response

func (*RemoveAppTraefikConfigDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the remove app traefik config default response

func (*RemoveAppTraefikConfigDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the remove app traefik config default response

func (*RemoveAppTraefikConfigDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type RemoveAppTraefikConfigHandler added in v0.4.0

type RemoveAppTraefikConfigHandler interface {
	Handle(RemoveAppTraefikConfigParams) middleware.Responder
}

RemoveAppTraefikConfigHandler interface for that can handle valid remove app traefik config params

type RemoveAppTraefikConfigHandlerFunc added in v0.4.0

type RemoveAppTraefikConfigHandlerFunc func(RemoveAppTraefikConfigParams) middleware.Responder

RemoveAppTraefikConfigHandlerFunc turns a function with the right signature into a remove app traefik config handler

func (RemoveAppTraefikConfigHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type RemoveAppTraefikConfigOK added in v0.4.0

type RemoveAppTraefikConfigOK struct {

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

RemoveAppTraefikConfigOK Created

swagger:response removeAppTraefikConfigOK

func NewRemoveAppTraefikConfigOK added in v0.4.0

func NewRemoveAppTraefikConfigOK() *RemoveAppTraefikConfigOK

NewRemoveAppTraefikConfigOK creates RemoveAppTraefikConfigOK with default headers values

func (*RemoveAppTraefikConfigOK) SetPayload added in v0.4.0

func (o *RemoveAppTraefikConfigOK) SetPayload(payload *models.TraefikPluginConfig)

SetPayload sets the payload to the remove app traefik config o k response

func (*RemoveAppTraefikConfigOK) WithPayload added in v0.4.0

WithPayload adds the payload to the remove app traefik config o k response

func (*RemoveAppTraefikConfigOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type RemoveAppTraefikConfigParams added in v0.4.0

type RemoveAppTraefikConfigParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AppID strfmt.UUID4
}

RemoveAppTraefikConfigParams contains all the bound params for the remove app traefik config operation typically these are obtained from a http.Request

swagger:parameters removeAppTraefikConfig

func NewRemoveAppTraefikConfigParams added in v0.4.0

func NewRemoveAppTraefikConfigParams() RemoveAppTraefikConfigParams

NewRemoveAppTraefikConfigParams creates a new RemoveAppTraefikConfigParams object no default values defined in spec.

func (*RemoveAppTraefikConfigParams) BindRequest added in v0.4.0

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 NewRemoveAppTraefikConfigParams() beforehand.

type RemoveAppTraefikConfigURL added in v0.4.0

type RemoveAppTraefikConfigURL struct {
	AppID strfmt.UUID4
	// contains filtered or unexported fields
}

RemoveAppTraefikConfigURL generates an URL for the remove app traefik config operation

func (*RemoveAppTraefikConfigURL) Build added in v0.4.0

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

Build a url path and query string

func (*RemoveAppTraefikConfigURL) BuildFull added in v0.4.0

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

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

func (*RemoveAppTraefikConfigURL) Must added in v0.4.0

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

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

func (*RemoveAppTraefikConfigURL) SetBasePath added in v0.4.0

func (o *RemoveAppTraefikConfigURL) 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 (*RemoveAppTraefikConfigURL) String added in v0.4.0

func (o *RemoveAppTraefikConfigURL) String() string

String returns the string representation of the path with query string

func (*RemoveAppTraefikConfigURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*RemoveAppTraefikConfigURL) WithBasePath added in v0.4.0

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 StartApp

type StartApp struct {
	Context *middleware.Context
	Handler StartAppHandler
}

StartApp swagger:route POST /api/apps/{appName}/start startApp

start the app

func NewStartApp

func NewStartApp(ctx *middleware.Context, handler StartAppHandler) *StartApp

NewStartApp creates a new http.Handler for the start app operation

func (*StartApp) ServeHTTP

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

type StartAppDefault

type StartAppDefault struct {

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

StartAppDefault Unknown Error

swagger:response startAppDefault

func NewStartAppDefault

func NewStartAppDefault(code int) *StartAppDefault

NewStartAppDefault creates StartAppDefault with default headers values

func (*StartAppDefault) SetPayload

func (o *StartAppDefault) SetPayload(payload string)

SetPayload sets the payload to the start app default response

func (*StartAppDefault) SetStatusCode

func (o *StartAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the start app default response

func (*StartAppDefault) WithPayload

func (o *StartAppDefault) WithPayload(payload string) *StartAppDefault

WithPayload adds the payload to the start app default response

func (*StartAppDefault) WithStatusCode

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

WithStatusCode adds the status to the start app default response

func (*StartAppDefault) WriteResponse

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

WriteResponse to the client

type StartAppHandler

type StartAppHandler interface {
	Handle(StartAppParams) middleware.Responder
}

StartAppHandler interface for that can handle valid start app params

type StartAppHandlerFunc

type StartAppHandlerFunc func(StartAppParams) middleware.Responder

StartAppHandlerFunc turns a function with the right signature into a start app handler

func (StartAppHandlerFunc) Handle

Handle executing the request and returning a response

type StartAppNoContent added in v0.4.0

type StartAppNoContent struct {
}

StartAppNoContent Started

swagger:response startAppNoContent

func NewStartAppNoContent added in v0.4.0

func NewStartAppNoContent() *StartAppNoContent

NewStartAppNoContent creates StartAppNoContent with default headers values

func (*StartAppNoContent) WriteResponse added in v0.4.0

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

WriteResponse to the client

type StartAppNotFound

type StartAppNotFound struct {

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

StartAppNotFound Not Found

swagger:response startAppNotFound

func NewStartAppNotFound

func NewStartAppNotFound() *StartAppNotFound

NewStartAppNotFound creates StartAppNotFound with default headers values

func (*StartAppNotFound) SetPayload

func (o *StartAppNotFound) SetPayload(payload string)

SetPayload sets the payload to the start app not found response

func (*StartAppNotFound) WithPayload

func (o *StartAppNotFound) WithPayload(payload string) *StartAppNotFound

WithPayload adds the payload to the start app not found response

func (*StartAppNotFound) WriteResponse

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

WriteResponse to the client

type StartAppParams

type StartAppParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
}

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

swagger:parameters startApp

func NewStartAppParams

func NewStartAppParams() StartAppParams

NewStartAppParams creates a new StartAppParams object no default values defined in spec.

func (*StartAppParams) BindRequest

func (o *StartAppParams) 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 NewStartAppParams() beforehand.

type StartAppURL

type StartAppURL struct {
	AppName string
	// contains filtered or unexported fields
}

StartAppURL generates an URL for the start app operation

func (*StartAppURL) Build

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

Build a url path and query string

func (*StartAppURL) BuildFull

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

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

func (*StartAppURL) Must

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

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

func (*StartAppURL) SetBasePath

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

func (o *StartAppURL) String() string

String returns the string representation of the path with query string

func (*StartAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*StartAppURL) WithBasePath

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

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 StopApp

type StopApp struct {
	Context *middleware.Context
	Handler StopAppHandler
}

StopApp swagger:route POST /api/apps/{appName}/stop stopApp

stop the app

func NewStopApp

func NewStopApp(ctx *middleware.Context, handler StopAppHandler) *StopApp

NewStopApp creates a new http.Handler for the stop app operation

func (*StopApp) ServeHTTP

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

type StopAppDefault

type StopAppDefault struct {

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

StopAppDefault Unknown Error

swagger:response stopAppDefault

func NewStopAppDefault

func NewStopAppDefault(code int) *StopAppDefault

NewStopAppDefault creates StopAppDefault with default headers values

func (*StopAppDefault) SetPayload

func (o *StopAppDefault) SetPayload(payload string)

SetPayload sets the payload to the stop app default response

func (*StopAppDefault) SetStatusCode

func (o *StopAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the stop app default response

func (*StopAppDefault) WithPayload

func (o *StopAppDefault) WithPayload(payload string) *StopAppDefault

WithPayload adds the payload to the stop app default response

func (*StopAppDefault) WithStatusCode

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

WithStatusCode adds the status to the stop app default response

func (*StopAppDefault) WriteResponse

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

WriteResponse to the client

type StopAppHandler

type StopAppHandler interface {
	Handle(StopAppParams) middleware.Responder
}

StopAppHandler interface for that can handle valid stop app params

type StopAppHandlerFunc

type StopAppHandlerFunc func(StopAppParams) middleware.Responder

StopAppHandlerFunc turns a function with the right signature into a stop app handler

func (StopAppHandlerFunc) Handle

Handle executing the request and returning a response

type StopAppNoContent added in v0.4.0

type StopAppNoContent struct {
}

StopAppNoContent Stopped

swagger:response stopAppNoContent

func NewStopAppNoContent added in v0.4.0

func NewStopAppNoContent() *StopAppNoContent

NewStopAppNoContent creates StopAppNoContent with default headers values

func (*StopAppNoContent) WriteResponse added in v0.4.0

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

WriteResponse to the client

type StopAppNotFound

type StopAppNotFound struct {

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

StopAppNotFound Not Found

swagger:response stopAppNotFound

func NewStopAppNotFound

func NewStopAppNotFound() *StopAppNotFound

NewStopAppNotFound creates StopAppNotFound with default headers values

func (*StopAppNotFound) SetPayload

func (o *StopAppNotFound) SetPayload(payload string)

SetPayload sets the payload to the stop app not found response

func (*StopAppNotFound) WithPayload

func (o *StopAppNotFound) WithPayload(payload string) *StopAppNotFound

WithPayload adds the payload to the stop app not found response

func (*StopAppNotFound) WriteResponse

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

WriteResponse to the client

type StopAppParams

type StopAppParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
}

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

swagger:parameters stopApp

func NewStopAppParams

func NewStopAppParams() StopAppParams

NewStopAppParams creates a new StopAppParams object no default values defined in spec.

func (*StopAppParams) BindRequest

func (o *StopAppParams) 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 NewStopAppParams() beforehand.

type StopAppURL

type StopAppURL struct {
	AppName string
	// contains filtered or unexported fields
}

StopAppURL generates an URL for the stop app operation

func (*StopAppURL) Build

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

Build a url path and query string

func (*StopAppURL) BuildFull

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

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

func (*StopAppURL) Must

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

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

func (*StopAppURL) SetBasePath

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

func (o *StopAppURL) String() string

String returns the string representation of the path with query string

func (*StopAppURL) StringFull

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

StringFull returns the string representation of a complete url

func (*StopAppURL) WithBasePath

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

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 UninstallPlugin

type UninstallPlugin struct {
	Context *middleware.Context
	Handler UninstallPluginHandler
}

UninstallPlugin swagger:route DELETE /api/plugins/{pluginName} uninstallPlugin

Stop and uninstall a plugin

func NewUninstallPlugin

func NewUninstallPlugin(ctx *middleware.Context, handler UninstallPluginHandler) *UninstallPlugin

NewUninstallPlugin creates a new http.Handler for the uninstall plugin operation

func (*UninstallPlugin) ServeHTTP

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

type UninstallPluginDefault

type UninstallPluginDefault struct {

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

UninstallPluginDefault Unknown Error

swagger:response uninstallPluginDefault

func NewUninstallPluginDefault

func NewUninstallPluginDefault(code int) *UninstallPluginDefault

NewUninstallPluginDefault creates UninstallPluginDefault with default headers values

func (*UninstallPluginDefault) SetPayload

func (o *UninstallPluginDefault) SetPayload(payload string)

SetPayload sets the payload to the uninstall plugin default response

func (*UninstallPluginDefault) SetStatusCode

func (o *UninstallPluginDefault) SetStatusCode(code int)

SetStatusCode sets the status to the uninstall plugin default response

func (*UninstallPluginDefault) WithPayload

func (o *UninstallPluginDefault) WithPayload(payload string) *UninstallPluginDefault

WithPayload adds the payload to the uninstall plugin default response

func (*UninstallPluginDefault) WithStatusCode

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

WithStatusCode adds the status to the uninstall plugin default response

func (*UninstallPluginDefault) WriteResponse

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

WriteResponse to the client

type UninstallPluginHandler

type UninstallPluginHandler interface {
	Handle(UninstallPluginParams) middleware.Responder
}

UninstallPluginHandler interface for that can handle valid uninstall plugin params

type UninstallPluginHandlerFunc

type UninstallPluginHandlerFunc func(UninstallPluginParams) middleware.Responder

UninstallPluginHandlerFunc turns a function with the right signature into a uninstall plugin handler

func (UninstallPluginHandlerFunc) Handle

Handle executing the request and returning a response

type UninstallPluginOK

type UninstallPluginOK struct {

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

UninstallPluginOK Created

swagger:response uninstallPluginOK

func NewUninstallPluginOK

func NewUninstallPluginOK() *UninstallPluginOK

NewUninstallPluginOK creates UninstallPluginOK with default headers values

func (*UninstallPluginOK) SetPayload

func (o *UninstallPluginOK) SetPayload(payload *models.Plugin)

SetPayload sets the payload to the uninstall plugin o k response

func (*UninstallPluginOK) WithPayload

func (o *UninstallPluginOK) WithPayload(payload *models.Plugin) *UninstallPluginOK

WithPayload adds the payload to the uninstall plugin o k response

func (*UninstallPluginOK) WriteResponse

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

WriteResponse to the client

type UninstallPluginParams

type UninstallPluginParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	PluginName string
}

UninstallPluginParams contains all the bound params for the uninstall plugin operation typically these are obtained from a http.Request

swagger:parameters uninstallPlugin

func NewUninstallPluginParams

func NewUninstallPluginParams() UninstallPluginParams

NewUninstallPluginParams creates a new UninstallPluginParams object no default values defined in spec.

func (*UninstallPluginParams) BindRequest

func (o *UninstallPluginParams) 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 NewUninstallPluginParams() beforehand.

type UninstallPluginURL

type UninstallPluginURL struct {
	PluginName string
	// contains filtered or unexported fields
}

UninstallPluginURL generates an URL for the uninstall plugin operation

func (*UninstallPluginURL) Build

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

Build a url path and query string

func (*UninstallPluginURL) BuildFull

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

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

func (*UninstallPluginURL) Must

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

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

func (*UninstallPluginURL) SetBasePath

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

func (o *UninstallPluginURL) String() string

String returns the string representation of the path with query string

func (*UninstallPluginURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UninstallPluginURL) WithBasePath

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

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 UpdateAppEnv

type UpdateAppEnv struct {
	Context *middleware.Context
	Handler UpdateAppEnvHandler
}

UpdateAppEnv swagger:route PUT /api/apps/{appName}/env updateAppEnv

update an app's env

func NewUpdateAppEnv

func NewUpdateAppEnv(ctx *middleware.Context, handler UpdateAppEnvHandler) *UpdateAppEnv

NewUpdateAppEnv creates a new http.Handler for the update app env operation

func (*UpdateAppEnv) ServeHTTP

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

type UpdateAppEnvBadRequest

type UpdateAppEnvBadRequest struct {

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

UpdateAppEnvBadRequest Bad Request

swagger:response updateAppEnvBadRequest

func NewUpdateAppEnvBadRequest

func NewUpdateAppEnvBadRequest() *UpdateAppEnvBadRequest

NewUpdateAppEnvBadRequest creates UpdateAppEnvBadRequest with default headers values

func (*UpdateAppEnvBadRequest) SetPayload

func (o *UpdateAppEnvBadRequest) SetPayload(payload string)

SetPayload sets the payload to the update app env bad request response

func (*UpdateAppEnvBadRequest) WithPayload

func (o *UpdateAppEnvBadRequest) WithPayload(payload string) *UpdateAppEnvBadRequest

WithPayload adds the payload to the update app env bad request response

func (*UpdateAppEnvBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateAppEnvDefault

type UpdateAppEnvDefault struct {

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

UpdateAppEnvDefault Unknown Error

swagger:response updateAppEnvDefault

func NewUpdateAppEnvDefault

func NewUpdateAppEnvDefault(code int) *UpdateAppEnvDefault

NewUpdateAppEnvDefault creates UpdateAppEnvDefault with default headers values

func (*UpdateAppEnvDefault) SetPayload

func (o *UpdateAppEnvDefault) SetPayload(payload string)

SetPayload sets the payload to the update app env default response

func (*UpdateAppEnvDefault) SetStatusCode

func (o *UpdateAppEnvDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update app env default response

func (*UpdateAppEnvDefault) WithPayload

func (o *UpdateAppEnvDefault) WithPayload(payload string) *UpdateAppEnvDefault

WithPayload adds the payload to the update app env default response

func (*UpdateAppEnvDefault) WithStatusCode

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

WithStatusCode adds the status to the update app env default response

func (*UpdateAppEnvDefault) WriteResponse

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

WriteResponse to the client

type UpdateAppEnvHandler

type UpdateAppEnvHandler interface {
	Handle(UpdateAppEnvParams) middleware.Responder
}

UpdateAppEnvHandler interface for that can handle valid update app env params

type UpdateAppEnvHandlerFunc

type UpdateAppEnvHandlerFunc func(UpdateAppEnvParams) middleware.Responder

UpdateAppEnvHandlerFunc turns a function with the right signature into a update app env handler

func (UpdateAppEnvHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateAppEnvNotFound

type UpdateAppEnvNotFound struct {

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

UpdateAppEnvNotFound Not Found

swagger:response updateAppEnvNotFound

func NewUpdateAppEnvNotFound

func NewUpdateAppEnvNotFound() *UpdateAppEnvNotFound

NewUpdateAppEnvNotFound creates UpdateAppEnvNotFound with default headers values

func (*UpdateAppEnvNotFound) SetPayload

func (o *UpdateAppEnvNotFound) SetPayload(payload string)

SetPayload sets the payload to the update app env not found response

func (*UpdateAppEnvNotFound) WithPayload

func (o *UpdateAppEnvNotFound) WithPayload(payload string) *UpdateAppEnvNotFound

WithPayload adds the payload to the update app env not found response

func (*UpdateAppEnvNotFound) WriteResponse

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

WriteResponse to the client

type UpdateAppEnvOK

type UpdateAppEnvOK struct {

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

UpdateAppEnvOK OK

swagger:response updateAppEnvOK

func NewUpdateAppEnvOK

func NewUpdateAppEnvOK() *UpdateAppEnvOK

NewUpdateAppEnvOK creates UpdateAppEnvOK with default headers values

func (*UpdateAppEnvOK) SetPayload

func (o *UpdateAppEnvOK) SetPayload(payload interface{})

SetPayload sets the payload to the update app env o k response

func (*UpdateAppEnvOK) WithPayload

func (o *UpdateAppEnvOK) WithPayload(payload interface{}) *UpdateAppEnvOK

WithPayload adds the payload to the update app env o k response

func (*UpdateAppEnvOK) WriteResponse

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

WriteResponse to the client

type UpdateAppEnvParams

type UpdateAppEnvParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
	/*
	  In: body
	*/
	NewEnv interface{}
}

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

swagger:parameters updateAppEnv

func NewUpdateAppEnvParams

func NewUpdateAppEnvParams() UpdateAppEnvParams

NewUpdateAppEnvParams creates a new UpdateAppEnvParams object no default values defined in spec.

func (*UpdateAppEnvParams) BindRequest

func (o *UpdateAppEnvParams) 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 NewUpdateAppEnvParams() beforehand.

type UpdateAppEnvURL

type UpdateAppEnvURL struct {
	AppName string
	// contains filtered or unexported fields
}

UpdateAppEnvURL generates an URL for the update app env operation

func (*UpdateAppEnvURL) Build

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

Build a url path and query string

func (*UpdateAppEnvURL) BuildFull

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

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

func (*UpdateAppEnvURL) Must

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

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

func (*UpdateAppEnvURL) SetBasePath

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

func (o *UpdateAppEnvURL) String() string

String returns the string representation of the path with query string

func (*UpdateAppEnvURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateAppEnvURL) WithBasePath

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

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 UpdateAppTraefikConfig added in v0.4.0

type UpdateAppTraefikConfig struct {
	Context *middleware.Context
	Handler UpdateAppTraefikConfigHandler
}

UpdateAppTraefikConfig swagger:route PUT /api/plugins/traefik/{appId} updateAppTraefikConfig

Update an app's routing config

func NewUpdateAppTraefikConfig added in v0.4.0

func NewUpdateAppTraefikConfig(ctx *middleware.Context, handler UpdateAppTraefikConfigHandler) *UpdateAppTraefikConfig

NewUpdateAppTraefikConfig creates a new http.Handler for the update app traefik config operation

func (*UpdateAppTraefikConfig) ServeHTTP added in v0.4.0

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

type UpdateAppTraefikConfigBadRequest added in v0.4.0

type UpdateAppTraefikConfigBadRequest struct {

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

UpdateAppTraefikConfigBadRequest Traefik plugin is not installed

swagger:response updateAppTraefikConfigBadRequest

func NewUpdateAppTraefikConfigBadRequest added in v0.4.0

func NewUpdateAppTraefikConfigBadRequest() *UpdateAppTraefikConfigBadRequest

NewUpdateAppTraefikConfigBadRequest creates UpdateAppTraefikConfigBadRequest with default headers values

func (*UpdateAppTraefikConfigBadRequest) SetPayload added in v0.4.0

func (o *UpdateAppTraefikConfigBadRequest) SetPayload(payload string)

SetPayload sets the payload to the update app traefik config bad request response

func (*UpdateAppTraefikConfigBadRequest) WithPayload added in v0.4.0

WithPayload adds the payload to the update app traefik config bad request response

func (*UpdateAppTraefikConfigBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateAppTraefikConfigDefault added in v0.4.0

type UpdateAppTraefikConfigDefault struct {

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

UpdateAppTraefikConfigDefault Unknown Error

swagger:response updateAppTraefikConfigDefault

func NewUpdateAppTraefikConfigDefault added in v0.4.0

func NewUpdateAppTraefikConfigDefault(code int) *UpdateAppTraefikConfigDefault

NewUpdateAppTraefikConfigDefault creates UpdateAppTraefikConfigDefault with default headers values

func (*UpdateAppTraefikConfigDefault) SetPayload added in v0.4.0

func (o *UpdateAppTraefikConfigDefault) SetPayload(payload string)

SetPayload sets the payload to the update app traefik config default response

func (*UpdateAppTraefikConfigDefault) SetStatusCode added in v0.4.0

func (o *UpdateAppTraefikConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update app traefik config default response

func (*UpdateAppTraefikConfigDefault) WithPayload added in v0.4.0

WithPayload adds the payload to the update app traefik config default response

func (*UpdateAppTraefikConfigDefault) WithStatusCode added in v0.4.0

WithStatusCode adds the status to the update app traefik config default response

func (*UpdateAppTraefikConfigDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateAppTraefikConfigHandler added in v0.4.0

type UpdateAppTraefikConfigHandler interface {
	Handle(UpdateAppTraefikConfigParams) middleware.Responder
}

UpdateAppTraefikConfigHandler interface for that can handle valid update app traefik config params

type UpdateAppTraefikConfigHandlerFunc added in v0.4.0

type UpdateAppTraefikConfigHandlerFunc func(UpdateAppTraefikConfigParams) middleware.Responder

UpdateAppTraefikConfigHandlerFunc turns a function with the right signature into a update app traefik config handler

func (UpdateAppTraefikConfigHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type UpdateAppTraefikConfigOK added in v0.4.0

type UpdateAppTraefikConfigOK struct {

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

UpdateAppTraefikConfigOK Created

swagger:response updateAppTraefikConfigOK

func NewUpdateAppTraefikConfigOK added in v0.4.0

func NewUpdateAppTraefikConfigOK() *UpdateAppTraefikConfigOK

NewUpdateAppTraefikConfigOK creates UpdateAppTraefikConfigOK with default headers values

func (*UpdateAppTraefikConfigOK) SetPayload added in v0.4.0

func (o *UpdateAppTraefikConfigOK) SetPayload(payload *models.TraefikPluginConfig)

SetPayload sets the payload to the update app traefik config o k response

func (*UpdateAppTraefikConfigOK) WithPayload added in v0.4.0

WithPayload adds the payload to the update app traefik config o k response

func (*UpdateAppTraefikConfigOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateAppTraefikConfigParams added in v0.4.0

type UpdateAppTraefikConfigParams struct {

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

	/*
	  Required: true
	  In: path
	*/
	AppID strfmt.UUID4
	/*
	  In: body
	*/
	NewTraefikConfig *models.InputTraefikPluginConfig
}

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

swagger:parameters updateAppTraefikConfig

func NewUpdateAppTraefikConfigParams added in v0.4.0

func NewUpdateAppTraefikConfigParams() UpdateAppTraefikConfigParams

NewUpdateAppTraefikConfigParams creates a new UpdateAppTraefikConfigParams object no default values defined in spec.

func (*UpdateAppTraefikConfigParams) BindRequest added in v0.4.0

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 NewUpdateAppTraefikConfigParams() beforehand.

type UpdateAppTraefikConfigURL added in v0.4.0

type UpdateAppTraefikConfigURL struct {
	AppID strfmt.UUID4
	// contains filtered or unexported fields
}

UpdateAppTraefikConfigURL generates an URL for the update app traefik config operation

func (*UpdateAppTraefikConfigURL) Build added in v0.4.0

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

Build a url path and query string

func (*UpdateAppTraefikConfigURL) BuildFull added in v0.4.0

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

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

func (*UpdateAppTraefikConfigURL) Must added in v0.4.0

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

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

func (*UpdateAppTraefikConfigURL) SetBasePath added in v0.4.0

func (o *UpdateAppTraefikConfigURL) 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 (*UpdateAppTraefikConfigURL) String added in v0.4.0

func (o *UpdateAppTraefikConfigURL) String() string

String returns the string representation of the path with query string

func (*UpdateAppTraefikConfigURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*UpdateAppTraefikConfigURL) WithBasePath added in v0.4.0

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 UpdateRunConfig added in v0.4.0

type UpdateRunConfig struct {
	Context *middleware.Context
	Handler UpdateRunConfigHandler
}

UpdateRunConfig swagger:route PUT /api/apps/{appName}/config updateRunConfig

update an app's config

func NewUpdateRunConfig added in v0.4.0

func NewUpdateRunConfig(ctx *middleware.Context, handler UpdateRunConfigHandler) *UpdateRunConfig

NewUpdateRunConfig creates a new http.Handler for the update run config operation

func (*UpdateRunConfig) ServeHTTP added in v0.4.0

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

type UpdateRunConfigBadRequest added in v0.4.0

type UpdateRunConfigBadRequest struct {

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

UpdateRunConfigBadRequest Bad Request

swagger:response updateRunConfigBadRequest

func NewUpdateRunConfigBadRequest added in v0.4.0

func NewUpdateRunConfigBadRequest() *UpdateRunConfigBadRequest

NewUpdateRunConfigBadRequest creates UpdateRunConfigBadRequest with default headers values

func (*UpdateRunConfigBadRequest) SetPayload added in v0.4.0

func (o *UpdateRunConfigBadRequest) SetPayload(payload string)

SetPayload sets the payload to the update run config bad request response

func (*UpdateRunConfigBadRequest) WithPayload added in v0.4.0

WithPayload adds the payload to the update run config bad request response

func (*UpdateRunConfigBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateRunConfigDefault added in v0.4.0

type UpdateRunConfigDefault struct {

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

UpdateRunConfigDefault Unknown Error

swagger:response updateRunConfigDefault

func NewUpdateRunConfigDefault added in v0.4.0

func NewUpdateRunConfigDefault(code int) *UpdateRunConfigDefault

NewUpdateRunConfigDefault creates UpdateRunConfigDefault with default headers values

func (*UpdateRunConfigDefault) SetPayload added in v0.4.0

func (o *UpdateRunConfigDefault) SetPayload(payload string)

SetPayload sets the payload to the update run config default response

func (*UpdateRunConfigDefault) SetStatusCode added in v0.4.0

func (o *UpdateRunConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the update run config default response

func (*UpdateRunConfigDefault) WithPayload added in v0.4.0

func (o *UpdateRunConfigDefault) WithPayload(payload string) *UpdateRunConfigDefault

WithPayload adds the payload to the update run config default response

func (*UpdateRunConfigDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the update run config default response

func (*UpdateRunConfigDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateRunConfigHandler added in v0.4.0

type UpdateRunConfigHandler interface {
	Handle(UpdateRunConfigParams) middleware.Responder
}

UpdateRunConfigHandler interface for that can handle valid update run config params

type UpdateRunConfigHandlerFunc added in v0.4.0

type UpdateRunConfigHandlerFunc func(UpdateRunConfigParams) middleware.Responder

UpdateRunConfigHandlerFunc turns a function with the right signature into a update run config handler

func (UpdateRunConfigHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type UpdateRunConfigNotFound added in v0.4.0

type UpdateRunConfigNotFound struct {

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

UpdateRunConfigNotFound Not Found

swagger:response updateRunConfigNotFound

func NewUpdateRunConfigNotFound added in v0.4.0

func NewUpdateRunConfigNotFound() *UpdateRunConfigNotFound

NewUpdateRunConfigNotFound creates UpdateRunConfigNotFound with default headers values

func (*UpdateRunConfigNotFound) SetPayload added in v0.4.0

func (o *UpdateRunConfigNotFound) SetPayload(payload string)

SetPayload sets the payload to the update run config not found response

func (*UpdateRunConfigNotFound) WithPayload added in v0.4.0

func (o *UpdateRunConfigNotFound) WithPayload(payload string) *UpdateRunConfigNotFound

WithPayload adds the payload to the update run config not found response

func (*UpdateRunConfigNotFound) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateRunConfigOK added in v0.4.0

type UpdateRunConfigOK struct {

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

UpdateRunConfigOK OK

swagger:response updateRunConfigOK

func NewUpdateRunConfigOK added in v0.4.0

func NewUpdateRunConfigOK() *UpdateRunConfigOK

NewUpdateRunConfigOK creates UpdateRunConfigOK with default headers values

func (*UpdateRunConfigOK) SetPayload added in v0.4.0

func (o *UpdateRunConfigOK) SetPayload(payload *models.RunConfig)

SetPayload sets the payload to the update run config o k response

func (*UpdateRunConfigOK) WithPayload added in v0.4.0

func (o *UpdateRunConfigOK) WithPayload(payload *models.RunConfig) *UpdateRunConfigOK

WithPayload adds the payload to the update run config o k response

func (*UpdateRunConfigOK) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpdateRunConfigParams added in v0.4.0

type UpdateRunConfigParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
	/*
	  In: body
	*/
	NewRunConfig *models.InputRunConfig
}

UpdateRunConfigParams contains all the bound params for the update run config operation typically these are obtained from a http.Request

swagger:parameters updateRunConfig

func NewUpdateRunConfigParams added in v0.4.0

func NewUpdateRunConfigParams() UpdateRunConfigParams

NewUpdateRunConfigParams creates a new UpdateRunConfigParams object no default values defined in spec.

func (*UpdateRunConfigParams) BindRequest added in v0.4.0

func (o *UpdateRunConfigParams) 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 NewUpdateRunConfigParams() beforehand.

type UpdateRunConfigURL added in v0.4.0

type UpdateRunConfigURL struct {
	AppName string
	// contains filtered or unexported fields
}

UpdateRunConfigURL generates an URL for the update run config operation

func (*UpdateRunConfigURL) Build added in v0.4.0

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

Build a url path and query string

func (*UpdateRunConfigURL) BuildFull added in v0.4.0

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

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

func (*UpdateRunConfigURL) Must added in v0.4.0

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

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

func (*UpdateRunConfigURL) SetBasePath added in v0.4.0

func (o *UpdateRunConfigURL) 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 (*UpdateRunConfigURL) String added in v0.4.0

func (o *UpdateRunConfigURL) String() string

String returns the string representation of the path with query string

func (*UpdateRunConfigURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*UpdateRunConfigURL) WithBasePath added in v0.4.0

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

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 UpgradeApp added in v0.4.0

type UpgradeApp struct {
	Context *middleware.Context
	Handler UpgradeAppHandler
}

UpgradeApp swagger:route PUT /api/apps/{appName}/upgrade upgradeApp

pull the app's image and restart it

func NewUpgradeApp added in v0.4.0

func NewUpgradeApp(ctx *middleware.Context, handler UpgradeAppHandler) *UpgradeApp

NewUpgradeApp creates a new http.Handler for the upgrade app operation

func (*UpgradeApp) ServeHTTP added in v0.4.0

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

type UpgradeAppBadRequest added in v0.4.0

type UpgradeAppBadRequest struct {

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

UpgradeAppBadRequest Bad Request

swagger:response upgradeAppBadRequest

func NewUpgradeAppBadRequest added in v0.4.0

func NewUpgradeAppBadRequest() *UpgradeAppBadRequest

NewUpgradeAppBadRequest creates UpgradeAppBadRequest with default headers values

func (*UpgradeAppBadRequest) SetPayload added in v0.4.0

func (o *UpgradeAppBadRequest) SetPayload(payload string)

SetPayload sets the payload to the upgrade app bad request response

func (*UpgradeAppBadRequest) WithPayload added in v0.4.0

func (o *UpgradeAppBadRequest) WithPayload(payload string) *UpgradeAppBadRequest

WithPayload adds the payload to the upgrade app bad request response

func (*UpgradeAppBadRequest) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpgradeAppDefault added in v0.4.0

type UpgradeAppDefault struct {

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

UpgradeAppDefault Unknown Error

swagger:response upgradeAppDefault

func NewUpgradeAppDefault added in v0.4.0

func NewUpgradeAppDefault(code int) *UpgradeAppDefault

NewUpgradeAppDefault creates UpgradeAppDefault with default headers values

func (*UpgradeAppDefault) SetPayload added in v0.4.0

func (o *UpgradeAppDefault) SetPayload(payload string)

SetPayload sets the payload to the upgrade app default response

func (*UpgradeAppDefault) SetStatusCode added in v0.4.0

func (o *UpgradeAppDefault) SetStatusCode(code int)

SetStatusCode sets the status to the upgrade app default response

func (*UpgradeAppDefault) WithPayload added in v0.4.0

func (o *UpgradeAppDefault) WithPayload(payload string) *UpgradeAppDefault

WithPayload adds the payload to the upgrade app default response

func (*UpgradeAppDefault) WithStatusCode added in v0.4.0

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

WithStatusCode adds the status to the upgrade app default response

func (*UpgradeAppDefault) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpgradeAppHandler added in v0.4.0

type UpgradeAppHandler interface {
	Handle(UpgradeAppParams) middleware.Responder
}

UpgradeAppHandler interface for that can handle valid upgrade app params

type UpgradeAppHandlerFunc added in v0.4.0

type UpgradeAppHandlerFunc func(UpgradeAppParams) middleware.Responder

UpgradeAppHandlerFunc turns a function with the right signature into a upgrade app handler

func (UpgradeAppHandlerFunc) Handle added in v0.4.0

Handle executing the request and returning a response

type UpgradeAppNoContent added in v0.4.0

type UpgradeAppNoContent struct {
}

UpgradeAppNoContent Upgrade success

swagger:response upgradeAppNoContent

func NewUpgradeAppNoContent added in v0.4.0

func NewUpgradeAppNoContent() *UpgradeAppNoContent

NewUpgradeAppNoContent creates UpgradeAppNoContent with default headers values

func (*UpgradeAppNoContent) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpgradeAppNotFound added in v0.4.0

type UpgradeAppNotFound struct {

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

UpgradeAppNotFound Not Found

swagger:response upgradeAppNotFound

func NewUpgradeAppNotFound added in v0.4.0

func NewUpgradeAppNotFound() *UpgradeAppNotFound

NewUpgradeAppNotFound creates UpgradeAppNotFound with default headers values

func (*UpgradeAppNotFound) SetPayload added in v0.4.0

func (o *UpgradeAppNotFound) SetPayload(payload string)

SetPayload sets the payload to the upgrade app not found response

func (*UpgradeAppNotFound) WithPayload added in v0.4.0

func (o *UpgradeAppNotFound) WithPayload(payload string) *UpgradeAppNotFound

WithPayload adds the payload to the upgrade app not found response

func (*UpgradeAppNotFound) WriteResponse added in v0.4.0

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

WriteResponse to the client

type UpgradeAppParams added in v0.4.0

type UpgradeAppParams struct {

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

	/*App name from the `-a|--app` flag
	  Required: true
	  In: path
	*/
	AppName string
	/*A new image to base the app off of
	  In: query
	*/
	NewImage *string
}

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

swagger:parameters upgradeApp

func NewUpgradeAppParams added in v0.4.0

func NewUpgradeAppParams() UpgradeAppParams

NewUpgradeAppParams creates a new UpgradeAppParams object no default values defined in spec.

func (*UpgradeAppParams) BindRequest added in v0.4.0

func (o *UpgradeAppParams) 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 NewUpgradeAppParams() beforehand.

type UpgradeAppURL added in v0.4.0

type UpgradeAppURL struct {
	AppName string

	NewImage *string
	// contains filtered or unexported fields
}

UpgradeAppURL generates an URL for the upgrade app operation

func (*UpgradeAppURL) Build added in v0.4.0

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

Build a url path and query string

func (*UpgradeAppURL) BuildFull added in v0.4.0

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

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

func (*UpgradeAppURL) Must added in v0.4.0

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

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

func (*UpgradeAppURL) SetBasePath added in v0.4.0

func (o *UpgradeAppURL) 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 (*UpgradeAppURL) String added in v0.4.0

func (o *UpgradeAppURL) String() string

String returns the string representation of the path with query string

func (*UpgradeAppURL) StringFull added in v0.4.0

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

StringFull returns the string representation of a complete url

func (*UpgradeAppURL) WithBasePath added in v0.4.0

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Source Files

Jump to

Keyboard shortcuts

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