Documentation ¶
Index ¶
- Constants
- type DeleteStack
- type DeleteStackHandler
- type DeleteStackHandlerFunc
- type DeleteStackNoContent
- type DeleteStackParams
- type DeleteStackURL
- func (o *DeleteStackURL) Build() (*url.URL, error)
- func (o *DeleteStackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DeleteStackURL) Must(u *url.URL, err error) *url.URL
- func (o *DeleteStackURL) SetBasePath(bp string)
- func (o *DeleteStackURL) String() string
- func (o *DeleteStackURL) StringFull(scheme, host string) string
- func (o *DeleteStackURL) WithBasePath(bp string) *DeleteStackURL
- type ListAllStacks
- type ListAllStacksHandler
- type ListAllStacksHandlerFunc
- type ListAllStacksOK
- type ListAllStacksParams
- type ListAllStacksURL
- func (o *ListAllStacksURL) Build() (*url.URL, error)
- func (o *ListAllStacksURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListAllStacksURL) Must(u *url.URL, err error) *url.URL
- func (o *ListAllStacksURL) SetBasePath(bp string)
- func (o *ListAllStacksURL) String() string
- func (o *ListAllStacksURL) StringFull(scheme, host string) string
- func (o *ListAllStacksURL) WithBasePath(bp string) *ListAllStacksURL
- type RetrieveStack
- type RetrieveStackHandler
- type RetrieveStackHandlerFunc
- type RetrieveStackOK
- type RetrieveStackParams
- type RetrieveStackURL
- func (o *RetrieveStackURL) Build() (*url.URL, error)
- func (o *RetrieveStackURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *RetrieveStackURL) Must(u *url.URL, err error) *url.URL
- func (o *RetrieveStackURL) SetBasePath(bp string)
- func (o *RetrieveStackURL) String() string
- func (o *RetrieveStackURL) StringFull(scheme, host string) string
- func (o *RetrieveStackURL) WithBasePath(bp string) *RetrieveStackURL
Constants ¶
const DeleteStackNoContentCode int = 204
DeleteStackNoContentCode is the HTTP code returned for type DeleteStackNoContent
const ListAllStacksOKCode int = 200
ListAllStacksOKCode is the HTTP code returned for type ListAllStacksOK
const RetrieveStackOKCode int = 200
RetrieveStackOKCode is the HTTP code returned for type RetrieveStackOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteStack ¶
type DeleteStack struct { Context *middleware.Context Handler DeleteStackHandler }
DeleteStack swagger:route DELETE /stacks/{guid} stacks deleteStack
Delete a Particular Stack ¶
curl --insecure -i %s/v2/stacks/{guid} -X DELETE -H 'Authorization: %s'
func NewDeleteStack ¶
func NewDeleteStack(ctx *middleware.Context, handler DeleteStackHandler) *DeleteStack
NewDeleteStack creates a new http.Handler for the delete stack operation
func (*DeleteStack) ServeHTTP ¶
func (o *DeleteStack) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DeleteStackHandler ¶
type DeleteStackHandler interface {
Handle(DeleteStackParams) middleware.Responder
}
DeleteStackHandler interface for that can handle valid delete stack params
type DeleteStackHandlerFunc ¶
type DeleteStackHandlerFunc func(DeleteStackParams) middleware.Responder
DeleteStackHandlerFunc turns a function with the right signature into a delete stack handler
func (DeleteStackHandlerFunc) Handle ¶
func (fn DeleteStackHandlerFunc) Handle(params DeleteStackParams) middleware.Responder
Handle executing the request and returning a response
type DeleteStackNoContent ¶
type DeleteStackNoContent struct { }
DeleteStackNoContent successful response
swagger:response deleteStackNoContent
func NewDeleteStackNoContent ¶
func NewDeleteStackNoContent() *DeleteStackNoContent
NewDeleteStackNoContent creates DeleteStackNoContent with default headers values
func (*DeleteStackNoContent) WriteResponse ¶
func (o *DeleteStackNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DeleteStackParams ¶
type DeleteStackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/stacks/:guid' Required: true In: path */ GUID string }
DeleteStackParams contains all the bound params for the delete stack operation typically these are obtained from a http.Request
swagger:parameters deleteStack
func NewDeleteStackParams ¶
func NewDeleteStackParams() DeleteStackParams
NewDeleteStackParams creates a new DeleteStackParams object no default values defined in spec.
func (*DeleteStackParams) BindRequest ¶
func (o *DeleteStackParams) 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 NewDeleteStackParams() beforehand.
type DeleteStackURL ¶
type DeleteStackURL struct { GUID string // contains filtered or unexported fields }
DeleteStackURL generates an URL for the delete stack operation
func (*DeleteStackURL) Build ¶
func (o *DeleteStackURL) Build() (*url.URL, error)
Build a url path and query string
func (*DeleteStackURL) BuildFull ¶
func (o *DeleteStackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DeleteStackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DeleteStackURL) SetBasePath ¶
func (o *DeleteStackURL) 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 (*DeleteStackURL) String ¶
func (o *DeleteStackURL) String() string
String returns the string representation of the path with query string
func (*DeleteStackURL) StringFull ¶
func (o *DeleteStackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DeleteStackURL) WithBasePath ¶
func (o *DeleteStackURL) WithBasePath(bp string) *DeleteStackURL
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 ListAllStacks ¶
type ListAllStacks struct { Context *middleware.Context Handler ListAllStacksHandler }
ListAllStacks swagger:route GET /stacks stacks listAllStacks
List all Stacks ¶
curl --insecure -i %s/v2/stacks -X GET -H 'Authorization: %s'
func NewListAllStacks ¶
func NewListAllStacks(ctx *middleware.Context, handler ListAllStacksHandler) *ListAllStacks
NewListAllStacks creates a new http.Handler for the list all stacks operation
func (*ListAllStacks) ServeHTTP ¶
func (o *ListAllStacks) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListAllStacksHandler ¶
type ListAllStacksHandler interface {
Handle(ListAllStacksParams) middleware.Responder
}
ListAllStacksHandler interface for that can handle valid list all stacks params
type ListAllStacksHandlerFunc ¶
type ListAllStacksHandlerFunc func(ListAllStacksParams) middleware.Responder
ListAllStacksHandlerFunc turns a function with the right signature into a list all stacks handler
func (ListAllStacksHandlerFunc) Handle ¶
func (fn ListAllStacksHandlerFunc) Handle(params ListAllStacksParams) middleware.Responder
Handle executing the request and returning a response
type ListAllStacksOK ¶
type ListAllStacksOK struct { /* In: Body */ Payload *models.ListAllStacksResponsePaged `json:"body,omitempty"` }
ListAllStacksOK successful response
swagger:response listAllStacksOK
func NewListAllStacksOK ¶
func NewListAllStacksOK() *ListAllStacksOK
NewListAllStacksOK creates ListAllStacksOK with default headers values
func (*ListAllStacksOK) SetPayload ¶
func (o *ListAllStacksOK) SetPayload(payload *models.ListAllStacksResponsePaged)
SetPayload sets the payload to the list all stacks o k response
func (*ListAllStacksOK) WithPayload ¶
func (o *ListAllStacksOK) WithPayload(payload *models.ListAllStacksResponsePaged) *ListAllStacksOK
WithPayload adds the payload to the list all stacks o k response
func (*ListAllStacksOK) WriteResponse ¶
func (o *ListAllStacksOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListAllStacksParams ¶
ListAllStacksParams contains all the bound params for the list all stacks operation typically these are obtained from a http.Request
swagger:parameters listAllStacks
func NewListAllStacksParams ¶
func NewListAllStacksParams() ListAllStacksParams
NewListAllStacksParams creates a new ListAllStacksParams object no default values defined in spec.
func (*ListAllStacksParams) BindRequest ¶
func (o *ListAllStacksParams) 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 NewListAllStacksParams() beforehand.
type ListAllStacksURL ¶
type ListAllStacksURL struct {
// contains filtered or unexported fields
}
ListAllStacksURL generates an URL for the list all stacks operation
func (*ListAllStacksURL) Build ¶
func (o *ListAllStacksURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListAllStacksURL) BuildFull ¶
func (o *ListAllStacksURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListAllStacksURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListAllStacksURL) SetBasePath ¶
func (o *ListAllStacksURL) 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 (*ListAllStacksURL) String ¶
func (o *ListAllStacksURL) String() string
String returns the string representation of the path with query string
func (*ListAllStacksURL) StringFull ¶
func (o *ListAllStacksURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListAllStacksURL) WithBasePath ¶
func (o *ListAllStacksURL) WithBasePath(bp string) *ListAllStacksURL
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 RetrieveStack ¶
type RetrieveStack struct { Context *middleware.Context Handler RetrieveStackHandler }
RetrieveStack swagger:route GET /stacks/{guid} stacks retrieveStack
Retrieve a Particular Stack ¶
curl --insecure -i %s/v2/stacks/{guid} -X GET -H 'Authorization: %s'
func NewRetrieveStack ¶
func NewRetrieveStack(ctx *middleware.Context, handler RetrieveStackHandler) *RetrieveStack
NewRetrieveStack creates a new http.Handler for the retrieve stack operation
func (*RetrieveStack) ServeHTTP ¶
func (o *RetrieveStack) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type RetrieveStackHandler ¶
type RetrieveStackHandler interface {
Handle(RetrieveStackParams) middleware.Responder
}
RetrieveStackHandler interface for that can handle valid retrieve stack params
type RetrieveStackHandlerFunc ¶
type RetrieveStackHandlerFunc func(RetrieveStackParams) middleware.Responder
RetrieveStackHandlerFunc turns a function with the right signature into a retrieve stack handler
func (RetrieveStackHandlerFunc) Handle ¶
func (fn RetrieveStackHandlerFunc) Handle(params RetrieveStackParams) middleware.Responder
Handle executing the request and returning a response
type RetrieveStackOK ¶
type RetrieveStackOK struct { /* In: Body */ Payload *models.RetrieveStackResponseResource `json:"body,omitempty"` }
RetrieveStackOK successful response
swagger:response retrieveStackOK
func NewRetrieveStackOK ¶
func NewRetrieveStackOK() *RetrieveStackOK
NewRetrieveStackOK creates RetrieveStackOK with default headers values
func (*RetrieveStackOK) SetPayload ¶
func (o *RetrieveStackOK) SetPayload(payload *models.RetrieveStackResponseResource)
SetPayload sets the payload to the retrieve stack o k response
func (*RetrieveStackOK) WithPayload ¶
func (o *RetrieveStackOK) WithPayload(payload *models.RetrieveStackResponseResource) *RetrieveStackOK
WithPayload adds the payload to the retrieve stack o k response
func (*RetrieveStackOK) WriteResponse ¶
func (o *RetrieveStackOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type RetrieveStackParams ¶
type RetrieveStackParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*The guid parameter is used as a part of the request URL: '/v2/stacks/:guid' Required: true In: path */ GUID string }
RetrieveStackParams contains all the bound params for the retrieve stack operation typically these are obtained from a http.Request
swagger:parameters retrieveStack
func NewRetrieveStackParams ¶
func NewRetrieveStackParams() RetrieveStackParams
NewRetrieveStackParams creates a new RetrieveStackParams object no default values defined in spec.
func (*RetrieveStackParams) BindRequest ¶
func (o *RetrieveStackParams) 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 NewRetrieveStackParams() beforehand.
type RetrieveStackURL ¶
type RetrieveStackURL struct { GUID string // contains filtered or unexported fields }
RetrieveStackURL generates an URL for the retrieve stack operation
func (*RetrieveStackURL) Build ¶
func (o *RetrieveStackURL) Build() (*url.URL, error)
Build a url path and query string
func (*RetrieveStackURL) BuildFull ¶
func (o *RetrieveStackURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*RetrieveStackURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*RetrieveStackURL) SetBasePath ¶
func (o *RetrieveStackURL) 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 (*RetrieveStackURL) String ¶
func (o *RetrieveStackURL) String() string
String returns the string representation of the path with query string
func (*RetrieveStackURL) StringFull ¶
func (o *RetrieveStackURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*RetrieveStackURL) WithBasePath ¶
func (o *RetrieveStackURL) WithBasePath(bp string) *RetrieveStackURL
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 ¶
- delete_stack.go
- delete_stack_parameters.go
- delete_stack_responses.go
- delete_stack_urlbuilder.go
- list_all_stacks.go
- list_all_stacks_parameters.go
- list_all_stacks_responses.go
- list_all_stacks_urlbuilder.go
- retrieve_stack.go
- retrieve_stack_parameters.go
- retrieve_stack_responses.go
- retrieve_stack_urlbuilder.go