Documentation
¶
Index ¶
- Constants
- type DeployStack
- type DeployStackAccepted
- type DeployStackBadRequest
- type DeployStackHandler
- type DeployStackHandlerFunc
- type DeployStackParams
- type DeployStackURL
- func (o *DeployStackURL) Build() (*url.URL, error)
- func (o *DeployStackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeployStackURL) Must(u *url.URL, err error) *url.URL
- func (o *DeployStackURL) SetBasePath(bp string)
- func (o *DeployStackURL) String() string
- func (o *DeployStackURL) StringFull(scheme, host string) string
- func (o *DeployStackURL) WithBasePath(bp string) *DeployStackURL
- type GetStack
- type GetStackHandler
- type GetStackHandlerFunc
- type GetStackInternalServerError
- type GetStackNotFound
- type GetStackOK
- type GetStackParams
- type GetStackURL
- func (o *GetStackURL) Build() (*url.URL, error)
- func (o *GetStackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetStackURL) Must(u *url.URL, err error) *url.URL
- func (o *GetStackURL) SetBasePath(bp string)
- func (o *GetStackURL) String() string
- func (o *GetStackURL) StringFull(scheme, host string) string
- func (o *GetStackURL) WithBasePath(bp string) *GetStackURL
- type ListDeployments
- type ListDeploymentsHandler
- type ListDeploymentsHandlerFunc
- type ListDeploymentsOK
- type ListDeploymentsParams
- type ListDeploymentsURL
- func (o *ListDeploymentsURL) Build() (*url.URL, error)
- func (o *ListDeploymentsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListDeploymentsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListDeploymentsURL) SetBasePath(bp string)
- func (o *ListDeploymentsURL) String() string
- func (o *ListDeploymentsURL) StringFull(scheme, host string) string
- func (o *ListDeploymentsURL) WithBasePath(bp string) *ListDeploymentsURL
- type ListStacks
- type ListStacksHandler
- type ListStacksHandlerFunc
- type ListStacksInternalServerError
- type ListStacksNotFound
- type ListStacksOK
- type ListStacksParams
- type ListStacksURL
- func (o *ListStacksURL) Build() (*url.URL, error)
- func (o *ListStacksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListStacksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListStacksURL) SetBasePath(bp string)
- func (o *ListStacksURL) String() string
- func (o *ListStacksURL) StringFull(scheme, host string) string
- func (o *ListStacksURL) WithBasePath(bp string) *ListStacksURL
- type UndeployStack
- type UndeployStackHandler
- type UndeployStackHandlerFunc
- type UndeployStackInternalServerError
- func (o *UndeployStackInternalServerError) SetPayload(payload *models.ServerError)
- func (o *UndeployStackInternalServerError) WithPayload(payload *models.ServerError) *UndeployStackInternalServerError
- func (o *UndeployStackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type UndeployStackNoContent
- type UndeployStackNotFound
- type UndeployStackParams
- type UndeployStackURL
- func (o *UndeployStackURL) Build() (*url.URL, error)
- func (o *UndeployStackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *UndeployStackURL) Must(u *url.URL, err error) *url.URL
- func (o *UndeployStackURL) SetBasePath(bp string)
- func (o *UndeployStackURL) String() string
- func (o *UndeployStackURL) StringFull(scheme, host string) string
- func (o *UndeployStackURL) WithBasePath(bp string) *UndeployStackURL
- type UndeployStackUnprocessableEntity
- func (o *UndeployStackUnprocessableEntity) SetPayload(payload *models.ServerError)
- func (o *UndeployStackUnprocessableEntity) WithPayload(payload *models.ServerError) *UndeployStackUnprocessableEntity
- func (o *UndeployStackUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
Constants ¶
const DeployStackAcceptedCode int = 202
DeployStackAcceptedCode is the HTTP code returned for type DeployStackAccepted
const DeployStackBadRequestCode int = 400
DeployStackBadRequestCode is the HTTP code returned for type DeployStackBadRequest
const GetStackInternalServerErrorCode int = 500
GetStackInternalServerErrorCode is the HTTP code returned for type GetStackInternalServerError
const GetStackNotFoundCode int = 404
GetStackNotFoundCode is the HTTP code returned for type GetStackNotFound
const GetStackOKCode int = 200
GetStackOKCode is the HTTP code returned for type GetStackOK
const ListDeploymentsOKCode int = 200
ListDeploymentsOKCode is the HTTP code returned for type ListDeploymentsOK
const ListStacksInternalServerErrorCode int = 500
ListStacksInternalServerErrorCode is the HTTP code returned for type ListStacksInternalServerError
const ListStacksNotFoundCode int = 404
ListStacksNotFoundCode is the HTTP code returned for type ListStacksNotFound
const ListStacksOKCode int = 200
ListStacksOKCode is the HTTP code returned for type ListStacksOK
const UndeployStackInternalServerErrorCode int = 500
UndeployStackInternalServerErrorCode is the HTTP code returned for type UndeployStackInternalServerError
const UndeployStackNoContentCode int = 204
UndeployStackNoContentCode is the HTTP code returned for type UndeployStackNoContent
const UndeployStackNotFoundCode int = 404
UndeployStackNotFoundCode is the HTTP code returned for type UndeployStackNotFound
const UndeployStackUnprocessableEntityCode int = 422
UndeployStackUnprocessableEntityCode is the HTTP code returned for type UndeployStackUnprocessableEntity
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployStack ¶
type DeployStack struct { Context *middleware.Context Handler DeployStackHandler }
DeployStack swagger:route POST /tf/stacks stacks deployStack
Deploy a stack from a module
func NewDeployStack ¶
func NewDeployStack(ctx *middleware.Context, handler DeployStackHandler) *DeployStack
NewDeployStack creates a new http.Handler for the deploy stack operation
func (*DeployStack) ServeHTTP ¶
func (o *DeployStack) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeployStackAccepted ¶
type DeployStackAccepted struct { /* In: Body */ Payload *models.ResourceTfStack `json:"body,omitempty"` }
DeployStackAccepted Accepted
swagger:response deployStackAccepted
func NewDeployStackAccepted ¶
func NewDeployStackAccepted() *DeployStackAccepted
NewDeployStackAccepted creates DeployStackAccepted with default headers values
func (*DeployStackAccepted) SetPayload ¶
func (o *DeployStackAccepted) SetPayload(payload *models.ResourceTfStack)
SetPayload sets the payload to the deploy stack accepted response
func (*DeployStackAccepted) WithPayload ¶
func (o *DeployStackAccepted) WithPayload(payload *models.ResourceTfStack) *DeployStackAccepted
WithPayload adds the payload to the deploy stack accepted response
func (*DeployStackAccepted) WriteResponse ¶
func (o *DeployStackAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeployStackBadRequest ¶
type DeployStackBadRequest struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
DeployStackBadRequest Bad Request
swagger:response deployStackBadRequest
func NewDeployStackBadRequest ¶
func NewDeployStackBadRequest() *DeployStackBadRequest
NewDeployStackBadRequest creates DeployStackBadRequest with default headers values
func (*DeployStackBadRequest) SetPayload ¶
func (o *DeployStackBadRequest) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the deploy stack bad request response
func (*DeployStackBadRequest) WithPayload ¶
func (o *DeployStackBadRequest) WithPayload(payload *models.ServerError) *DeployStackBadRequest
WithPayload adds the payload to the deploy stack bad request response
func (*DeployStackBadRequest) WriteResponse ¶
func (o *DeployStackBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeployStackHandler ¶
type DeployStackHandler interface {
Handle(DeployStackParams, *models.ResourceAuthUser) middleware.Responder
}
DeployStackHandler interface for that can handle valid deploy stack params
type DeployStackHandlerFunc ¶
type DeployStackHandlerFunc func(DeployStackParams, *models.ResourceAuthUser) middleware.Responder
DeployStackHandlerFunc turns a function with the right signature into a deploy stack handler
func (DeployStackHandlerFunc) Handle ¶
func (fn DeployStackHandlerFunc) Handle(params DeployStackParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type DeployStackParams ¶
type DeployStackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A deployed terraform module In: body */ TerraformStack *models.ResourceTfStack }
DeployStackParams contains all the bound params for the deploy stack operation typically these are obtained from a http.Request
swagger:parameters deploy-stack
func NewDeployStackParams ¶
func NewDeployStackParams() DeployStackParams
NewDeployStackParams creates a new DeployStackParams object no default values defined in spec.
func (*DeployStackParams) BindRequest ¶
func (o *DeployStackParams) 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 NewDeployStackParams() beforehand.
type DeployStackURL ¶
type DeployStackURL struct {
// contains filtered or unexported fields
}
DeployStackURL generates an URL for the deploy stack operation
func (*DeployStackURL) Build ¶
func (o *DeployStackURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeployStackURL) BuildFull ¶
func (o *DeployStackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeployStackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeployStackURL) SetBasePath ¶
func (o *DeployStackURL) 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 (*DeployStackURL) String ¶
func (o *DeployStackURL) String() string
String returns the string representation of the path with query string
func (*DeployStackURL) StringFull ¶
func (o *DeployStackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeployStackURL) WithBasePath ¶
func (o *DeployStackURL) WithBasePath(bp string) *DeployStackURL
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 GetStack ¶
type GetStack struct { Context *middleware.Context Handler GetStackHandler }
GetStack swagger:route GET /tf/stack/{id} stacks getStack
Get a stack
func NewGetStack ¶
func NewGetStack(ctx *middleware.Context, handler GetStackHandler) *GetStack
NewGetStack creates a new http.Handler for the get stack operation
type GetStackHandler ¶
type GetStackHandler interface {
Handle(GetStackParams, *models.ResourceAuthUser) middleware.Responder
}
GetStackHandler interface for that can handle valid get stack params
type GetStackHandlerFunc ¶
type GetStackHandlerFunc func(GetStackParams, *models.ResourceAuthUser) middleware.Responder
GetStackHandlerFunc turns a function with the right signature into a get stack handler
func (GetStackHandlerFunc) Handle ¶
func (fn GetStackHandlerFunc) Handle(params GetStackParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type GetStackInternalServerError ¶
type GetStackInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
GetStackInternalServerError Internal Server Error
swagger:response getStackInternalServerError
func NewGetStackInternalServerError ¶
func NewGetStackInternalServerError() *GetStackInternalServerError
NewGetStackInternalServerError creates GetStackInternalServerError with default headers values
func (*GetStackInternalServerError) SetPayload ¶
func (o *GetStackInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the get stack internal server error response
func (*GetStackInternalServerError) WithPayload ¶
func (o *GetStackInternalServerError) WithPayload(payload *models.ServerError) *GetStackInternalServerError
WithPayload adds the payload to the get stack internal server error response
func (*GetStackInternalServerError) WriteResponse ¶
func (o *GetStackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStackNotFound ¶
type GetStackNotFound struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
GetStackNotFound Not Found
swagger:response getStackNotFound
func NewGetStackNotFound ¶
func NewGetStackNotFound() *GetStackNotFound
NewGetStackNotFound creates GetStackNotFound with default headers values
func (*GetStackNotFound) SetPayload ¶
func (o *GetStackNotFound) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the get stack not found response
func (*GetStackNotFound) WithPayload ¶
func (o *GetStackNotFound) WithPayload(payload *models.ServerError) *GetStackNotFound
WithPayload adds the payload to the get stack not found response
func (*GetStackNotFound) WriteResponse ¶
func (o *GetStackNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStackOK ¶
type GetStackOK struct { /* In: Body */ Payload *models.ResourceTfStack `json:"body,omitempty"` }
GetStackOK OK
swagger:response getStackOK
func NewGetStackOK ¶
func NewGetStackOK() *GetStackOK
NewGetStackOK creates GetStackOK with default headers values
func (*GetStackOK) SetPayload ¶
func (o *GetStackOK) SetPayload(payload *models.ResourceTfStack)
SetPayload sets the payload to the get stack o k response
func (*GetStackOK) WithPayload ¶
func (o *GetStackOK) WithPayload(payload *models.ResourceTfStack) *GetStackOK
WithPayload adds the payload to the get stack o k response
func (*GetStackOK) WriteResponse ¶
func (o *GetStackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetStackParams ¶
type GetStackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Unique identifier for this stack Required: true In: path */ ID string }
GetStackParams contains all the bound params for the get stack operation typically these are obtained from a http.Request
swagger:parameters get-stack
func NewGetStackParams ¶
func NewGetStackParams() GetStackParams
NewGetStackParams creates a new GetStackParams object no default values defined in spec.
func (*GetStackParams) BindRequest ¶
func (o *GetStackParams) 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 NewGetStackParams() beforehand.
type GetStackURL ¶
type GetStackURL struct { ID string // contains filtered or unexported fields }
GetStackURL generates an URL for the get stack operation
func (*GetStackURL) Build ¶
func (o *GetStackURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetStackURL) BuildFull ¶
func (o *GetStackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetStackURL) SetBasePath ¶
func (o *GetStackURL) 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 (*GetStackURL) String ¶
func (o *GetStackURL) String() string
String returns the string representation of the path with query string
func (*GetStackURL) StringFull ¶
func (o *GetStackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetStackURL) WithBasePath ¶
func (o *GetStackURL) WithBasePath(bp string) *GetStackURL
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 ListDeployments ¶
type ListDeployments struct { Context *middleware.Context Handler ListDeploymentsHandler }
ListDeployments swagger:route GET /tf/stack/{id}/deployments stacks listDeployments
List the deployments for this stack
func NewListDeployments ¶
func NewListDeployments(ctx *middleware.Context, handler ListDeploymentsHandler) *ListDeployments
NewListDeployments creates a new http.Handler for the list deployments operation
func (*ListDeployments) ServeHTTP ¶
func (o *ListDeployments) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListDeploymentsHandler ¶
type ListDeploymentsHandler interface {
Handle(ListDeploymentsParams, *models.ResourceAuthUser) middleware.Responder
}
ListDeploymentsHandler interface for that can handle valid list deployments params
type ListDeploymentsHandlerFunc ¶
type ListDeploymentsHandlerFunc func(ListDeploymentsParams, *models.ResourceAuthUser) middleware.Responder
ListDeploymentsHandlerFunc turns a function with the right signature into a list deployments handler
func (ListDeploymentsHandlerFunc) Handle ¶
func (fn ListDeploymentsHandlerFunc) Handle(params ListDeploymentsParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type ListDeploymentsOK ¶
type ListDeploymentsOK struct { /* In: Body */ Payload *models.ResponseListTfDeployments `json:"body,omitempty"` }
ListDeploymentsOK OK
swagger:response listDeploymentsOK
func NewListDeploymentsOK ¶
func NewListDeploymentsOK() *ListDeploymentsOK
NewListDeploymentsOK creates ListDeploymentsOK with default headers values
func (*ListDeploymentsOK) SetPayload ¶
func (o *ListDeploymentsOK) SetPayload(payload *models.ResponseListTfDeployments)
SetPayload sets the payload to the list deployments o k response
func (*ListDeploymentsOK) WithPayload ¶
func (o *ListDeploymentsOK) WithPayload(payload *models.ResponseListTfDeployments) *ListDeploymentsOK
WithPayload adds the payload to the list deployments o k response
func (*ListDeploymentsOK) WriteResponse ¶
func (o *ListDeploymentsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListDeploymentsParams ¶
type ListDeploymentsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Unique identifier for this stack Required: true In: path */ ID string }
ListDeploymentsParams contains all the bound params for the list deployments operation typically these are obtained from a http.Request
swagger:parameters list-deployments
func NewListDeploymentsParams ¶
func NewListDeploymentsParams() ListDeploymentsParams
NewListDeploymentsParams creates a new ListDeploymentsParams object no default values defined in spec.
func (*ListDeploymentsParams) BindRequest ¶
func (o *ListDeploymentsParams) 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 NewListDeploymentsParams() beforehand.
type ListDeploymentsURL ¶
type ListDeploymentsURL struct { ID string // contains filtered or unexported fields }
ListDeploymentsURL generates an URL for the list deployments operation
func (*ListDeploymentsURL) Build ¶
func (o *ListDeploymentsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListDeploymentsURL) BuildFull ¶
func (o *ListDeploymentsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListDeploymentsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListDeploymentsURL) SetBasePath ¶
func (o *ListDeploymentsURL) 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 (*ListDeploymentsURL) String ¶
func (o *ListDeploymentsURL) String() string
String returns the string representation of the path with query string
func (*ListDeploymentsURL) StringFull ¶
func (o *ListDeploymentsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListDeploymentsURL) WithBasePath ¶
func (o *ListDeploymentsURL) WithBasePath(bp string) *ListDeploymentsURL
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 ListStacks ¶
type ListStacks struct { Context *middleware.Context Handler ListStacksHandler }
ListStacks swagger:route GET /tf/stacks stacks listStacks
List deployed TF modules
func NewListStacks ¶
func NewListStacks(ctx *middleware.Context, handler ListStacksHandler) *ListStacks
NewListStacks creates a new http.Handler for the list stacks operation
func (*ListStacks) ServeHTTP ¶
func (o *ListStacks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListStacksHandler ¶
type ListStacksHandler interface {
Handle(ListStacksParams, *models.ResourceAuthUser) middleware.Responder
}
ListStacksHandler interface for that can handle valid list stacks params
type ListStacksHandlerFunc ¶
type ListStacksHandlerFunc func(ListStacksParams, *models.ResourceAuthUser) middleware.Responder
ListStacksHandlerFunc turns a function with the right signature into a list stacks handler
func (ListStacksHandlerFunc) Handle ¶
func (fn ListStacksHandlerFunc) Handle(params ListStacksParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type ListStacksInternalServerError ¶
type ListStacksInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
ListStacksInternalServerError Internal Server Error
swagger:response listStacksInternalServerError
func NewListStacksInternalServerError ¶
func NewListStacksInternalServerError() *ListStacksInternalServerError
NewListStacksInternalServerError creates ListStacksInternalServerError with default headers values
func (*ListStacksInternalServerError) SetPayload ¶
func (o *ListStacksInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the list stacks internal server error response
func (*ListStacksInternalServerError) WithPayload ¶
func (o *ListStacksInternalServerError) WithPayload(payload *models.ServerError) *ListStacksInternalServerError
WithPayload adds the payload to the list stacks internal server error response
func (*ListStacksInternalServerError) WriteResponse ¶
func (o *ListStacksInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListStacksNotFound ¶
type ListStacksNotFound struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
ListStacksNotFound Not Found
swagger:response listStacksNotFound
func NewListStacksNotFound ¶
func NewListStacksNotFound() *ListStacksNotFound
NewListStacksNotFound creates ListStacksNotFound with default headers values
func (*ListStacksNotFound) SetPayload ¶
func (o *ListStacksNotFound) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the list stacks not found response
func (*ListStacksNotFound) WithPayload ¶
func (o *ListStacksNotFound) WithPayload(payload *models.ServerError) *ListStacksNotFound
WithPayload adds the payload to the list stacks not found response
func (*ListStacksNotFound) WriteResponse ¶
func (o *ListStacksNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListStacksOK ¶
type ListStacksOK struct { /* In: Body */ Payload *models.ResponseListTfStacks `json:"body,omitempty"` }
ListStacksOK OK
swagger:response listStacksOK
func NewListStacksOK ¶
func NewListStacksOK() *ListStacksOK
NewListStacksOK creates ListStacksOK with default headers values
func (*ListStacksOK) SetPayload ¶
func (o *ListStacksOK) SetPayload(payload *models.ResponseListTfStacks)
SetPayload sets the payload to the list stacks o k response
func (*ListStacksOK) WithPayload ¶
func (o *ListStacksOK) WithPayload(payload *models.ResponseListTfStacks) *ListStacksOK
WithPayload adds the payload to the list stacks o k response
func (*ListStacksOK) WriteResponse ¶
func (o *ListStacksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListStacksParams ¶
ListStacksParams contains all the bound params for the list stacks operation typically these are obtained from a http.Request
swagger:parameters list-stacks
func NewListStacksParams ¶
func NewListStacksParams() ListStacksParams
NewListStacksParams creates a new ListStacksParams object no default values defined in spec.
func (*ListStacksParams) BindRequest ¶
func (o *ListStacksParams) 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 NewListStacksParams() beforehand.
type ListStacksURL ¶
type ListStacksURL struct {
// contains filtered or unexported fields
}
ListStacksURL generates an URL for the list stacks operation
func (*ListStacksURL) Build ¶
func (o *ListStacksURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListStacksURL) BuildFull ¶
func (o *ListStacksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListStacksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListStacksURL) SetBasePath ¶
func (o *ListStacksURL) 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 (*ListStacksURL) String ¶
func (o *ListStacksURL) String() string
String returns the string representation of the path with query string
func (*ListStacksURL) StringFull ¶
func (o *ListStacksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListStacksURL) WithBasePath ¶
func (o *ListStacksURL) WithBasePath(bp string) *ListStacksURL
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 UndeployStack ¶
type UndeployStack struct { Context *middleware.Context Handler UndeployStackHandler }
UndeployStack swagger:route DELETE /tf/stack/{id} stacks undeployStack
Undeploy a teraform module
func NewUndeployStack ¶
func NewUndeployStack(ctx *middleware.Context, handler UndeployStackHandler) *UndeployStack
NewUndeployStack creates a new http.Handler for the undeploy stack operation
func (*UndeployStack) ServeHTTP ¶
func (o *UndeployStack) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type UndeployStackHandler ¶
type UndeployStackHandler interface {
Handle(UndeployStackParams, *models.ResourceAuthUser) middleware.Responder
}
UndeployStackHandler interface for that can handle valid undeploy stack params
type UndeployStackHandlerFunc ¶
type UndeployStackHandlerFunc func(UndeployStackParams, *models.ResourceAuthUser) middleware.Responder
UndeployStackHandlerFunc turns a function with the right signature into a undeploy stack handler
func (UndeployStackHandlerFunc) Handle ¶
func (fn UndeployStackHandlerFunc) Handle(params UndeployStackParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type UndeployStackInternalServerError ¶
type UndeployStackInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
UndeployStackInternalServerError Internal Server Error
swagger:response undeployStackInternalServerError
func NewUndeployStackInternalServerError ¶
func NewUndeployStackInternalServerError() *UndeployStackInternalServerError
NewUndeployStackInternalServerError creates UndeployStackInternalServerError with default headers values
func (*UndeployStackInternalServerError) SetPayload ¶
func (o *UndeployStackInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the undeploy stack internal server error response
func (*UndeployStackInternalServerError) WithPayload ¶
func (o *UndeployStackInternalServerError) WithPayload(payload *models.ServerError) *UndeployStackInternalServerError
WithPayload adds the payload to the undeploy stack internal server error response
func (*UndeployStackInternalServerError) WriteResponse ¶
func (o *UndeployStackInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UndeployStackNoContent ¶
type UndeployStackNoContent struct { }
UndeployStackNoContent No Content
swagger:response undeployStackNoContent
func NewUndeployStackNoContent ¶
func NewUndeployStackNoContent() *UndeployStackNoContent
NewUndeployStackNoContent creates UndeployStackNoContent with default headers values
func (*UndeployStackNoContent) WriteResponse ¶
func (o *UndeployStackNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UndeployStackNotFound ¶
type UndeployStackNotFound struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
UndeployStackNotFound Not Found
swagger:response undeployStackNotFound
func NewUndeployStackNotFound ¶
func NewUndeployStackNotFound() *UndeployStackNotFound
NewUndeployStackNotFound creates UndeployStackNotFound with default headers values
func (*UndeployStackNotFound) SetPayload ¶
func (o *UndeployStackNotFound) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the undeploy stack not found response
func (*UndeployStackNotFound) WithPayload ¶
func (o *UndeployStackNotFound) WithPayload(payload *models.ServerError) *UndeployStackNotFound
WithPayload adds the payload to the undeploy stack not found response
func (*UndeployStackNotFound) WriteResponse ¶
func (o *UndeployStackNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type UndeployStackParams ¶
type UndeployStackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*Unique identifier for this stack Required: true In: path */ ID string }
UndeployStackParams contains all the bound params for the undeploy stack operation typically these are obtained from a http.Request
swagger:parameters undeploy-stack
func NewUndeployStackParams ¶
func NewUndeployStackParams() UndeployStackParams
NewUndeployStackParams creates a new UndeployStackParams object no default values defined in spec.
func (*UndeployStackParams) BindRequest ¶
func (o *UndeployStackParams) 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 NewUndeployStackParams() beforehand.
type UndeployStackURL ¶
type UndeployStackURL struct { ID string // contains filtered or unexported fields }
UndeployStackURL generates an URL for the undeploy stack operation
func (*UndeployStackURL) Build ¶
func (o *UndeployStackURL) Build() (*url.URL, error)
Build a url path and query string
func (*UndeployStackURL) BuildFull ¶
func (o *UndeployStackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*UndeployStackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*UndeployStackURL) SetBasePath ¶
func (o *UndeployStackURL) 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 (*UndeployStackURL) String ¶
func (o *UndeployStackURL) String() string
String returns the string representation of the path with query string
func (*UndeployStackURL) StringFull ¶
func (o *UndeployStackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*UndeployStackURL) WithBasePath ¶
func (o *UndeployStackURL) WithBasePath(bp string) *UndeployStackURL
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 UndeployStackUnprocessableEntity ¶
type UndeployStackUnprocessableEntity struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
UndeployStackUnprocessableEntity Unprocessable Entity
swagger:response undeployStackUnprocessableEntity
func NewUndeployStackUnprocessableEntity ¶
func NewUndeployStackUnprocessableEntity() *UndeployStackUnprocessableEntity
NewUndeployStackUnprocessableEntity creates UndeployStackUnprocessableEntity with default headers values
func (*UndeployStackUnprocessableEntity) SetPayload ¶
func (o *UndeployStackUnprocessableEntity) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the undeploy stack unprocessable entity response
func (*UndeployStackUnprocessableEntity) WithPayload ¶
func (o *UndeployStackUnprocessableEntity) WithPayload(payload *models.ServerError) *UndeployStackUnprocessableEntity
WithPayload adds the payload to the undeploy stack unprocessable entity response
func (*UndeployStackUnprocessableEntity) WriteResponse ¶
func (o *UndeployStackUnprocessableEntity) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
Source Files
¶
- deploy_stack.go
- deploy_stack_parameters.go
- deploy_stack_responses.go
- deploy_stack_urlbuilder.go
- get_stack.go
- get_stack_parameters.go
- get_stack_responses.go
- get_stack_urlbuilder.go
- list_deployments.go
- list_deployments_parameters.go
- list_deployments_responses.go
- list_deployments_urlbuilder.go
- list_stacks.go
- list_stacks_parameters.go
- list_stacks_responses.go
- list_stacks_urlbuilder.go
- undeploy_stack.go
- undeploy_stack_parameters.go
- undeploy_stack_responses.go
- undeploy_stack_urlbuilder.go