Documentation
¶
Index ¶
- Constants
- type CreateWorkspace
- type CreateWorkspaceBadRequest
- type CreateWorkspaceCreated
- type CreateWorkspaceHandler
- type CreateWorkspaceHandlerFunc
- type CreateWorkspaceInternalServerError
- func (o *CreateWorkspaceInternalServerError) SetPayload(payload *models.ServerError)
- func (o *CreateWorkspaceInternalServerError) WithPayload(payload *models.ServerError) *CreateWorkspaceInternalServerError
- func (o *CreateWorkspaceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type CreateWorkspaceNotFound
- type CreateWorkspaceOK
- type CreateWorkspaceParams
- type CreateWorkspaceURL
- func (o *CreateWorkspaceURL) Build() (*url.URL, error)
- func (o *CreateWorkspaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *CreateWorkspaceURL) Must(u *url.URL, err error) *url.URL
- func (o *CreateWorkspaceURL) SetBasePath(bp string)
- func (o *CreateWorkspaceURL) String() string
- func (o *CreateWorkspaceURL) StringFull(scheme, host string) string
- func (o *CreateWorkspaceURL) WithBasePath(bp string) *CreateWorkspaceURL
- type DescribeWorkspace
- type DescribeWorkspaceHandler
- type DescribeWorkspaceHandlerFunc
- type DescribeWorkspaceInternalServerError
- func (o *DescribeWorkspaceInternalServerError) SetPayload(payload *models.ServerError)
- func (o *DescribeWorkspaceInternalServerError) WithPayload(payload *models.ServerError) *DescribeWorkspaceInternalServerError
- func (o *DescribeWorkspaceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type DescribeWorkspaceNotFound
- type DescribeWorkspaceOK
- type DescribeWorkspaceParams
- type DescribeWorkspaceURL
- func (o *DescribeWorkspaceURL) Build() (*url.URL, error)
- func (o *DescribeWorkspaceURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *DescribeWorkspaceURL) Must(u *url.URL, err error) *url.URL
- func (o *DescribeWorkspaceURL) SetBasePath(bp string)
- func (o *DescribeWorkspaceURL) String() string
- func (o *DescribeWorkspaceURL) StringFull(scheme, host string) string
- func (o *DescribeWorkspaceURL) WithBasePath(bp string) *DescribeWorkspaceURL
- type ListWorkspaces
- type ListWorkspacesHandler
- type ListWorkspacesHandlerFunc
- type ListWorkspacesInternalServerError
- func (o *ListWorkspacesInternalServerError) SetPayload(payload *models.ServerError)
- func (o *ListWorkspacesInternalServerError) WithPayload(payload *models.ServerError) *ListWorkspacesInternalServerError
- func (o *ListWorkspacesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListWorkspacesNotFound
- type ListWorkspacesOK
- type ListWorkspacesParams
- type ListWorkspacesURL
- func (o *ListWorkspacesURL) Build() (*url.URL, error)
- func (o *ListWorkspacesURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListWorkspacesURL) Must(u *url.URL, err error) *url.URL
- func (o *ListWorkspacesURL) SetBasePath(bp string)
- func (o *ListWorkspacesURL) String() string
- func (o *ListWorkspacesURL) StringFull(scheme, host string) string
- func (o *ListWorkspacesURL) WithBasePath(bp string) *ListWorkspacesURL
Constants ¶
const CreateWorkspaceBadRequestCode int = 400
CreateWorkspaceBadRequestCode is the HTTP code returned for type CreateWorkspaceBadRequest
const CreateWorkspaceCreatedCode int = 201
CreateWorkspaceCreatedCode is the HTTP code returned for type CreateWorkspaceCreated
const CreateWorkspaceInternalServerErrorCode int = 500
CreateWorkspaceInternalServerErrorCode is the HTTP code returned for type CreateWorkspaceInternalServerError
const CreateWorkspaceNotFoundCode int = 404
CreateWorkspaceNotFoundCode is the HTTP code returned for type CreateWorkspaceNotFound
const CreateWorkspaceOKCode int = 200
CreateWorkspaceOKCode is the HTTP code returned for type CreateWorkspaceOK
const DescribeWorkspaceInternalServerErrorCode int = 500
DescribeWorkspaceInternalServerErrorCode is the HTTP code returned for type DescribeWorkspaceInternalServerError
const DescribeWorkspaceNotFoundCode int = 404
DescribeWorkspaceNotFoundCode is the HTTP code returned for type DescribeWorkspaceNotFound
const DescribeWorkspaceOKCode int = 200
DescribeWorkspaceOKCode is the HTTP code returned for type DescribeWorkspaceOK
const ListWorkspacesInternalServerErrorCode int = 500
ListWorkspacesInternalServerErrorCode is the HTTP code returned for type ListWorkspacesInternalServerError
const ListWorkspacesNotFoundCode int = 404
ListWorkspacesNotFoundCode is the HTTP code returned for type ListWorkspacesNotFound
const ListWorkspacesOKCode int = 200
ListWorkspacesOKCode is the HTTP code returned for type ListWorkspacesOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateWorkspace ¶
type CreateWorkspace struct { Context *middleware.Context Handler CreateWorkspaceHandler }
CreateWorkspace swagger:route PUT /tf/workspace/{name} workspaces createWorkspace
Create a Terraform workspace
func NewCreateWorkspace ¶
func NewCreateWorkspace(ctx *middleware.Context, handler CreateWorkspaceHandler) *CreateWorkspace
NewCreateWorkspace creates a new http.Handler for the create workspace operation
func (*CreateWorkspace) ServeHTTP ¶
func (o *CreateWorkspace) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type CreateWorkspaceBadRequest ¶
type CreateWorkspaceBadRequest struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
CreateWorkspaceBadRequest Bad Request
swagger:response createWorkspaceBadRequest
func NewCreateWorkspaceBadRequest ¶
func NewCreateWorkspaceBadRequest() *CreateWorkspaceBadRequest
NewCreateWorkspaceBadRequest creates CreateWorkspaceBadRequest with default headers values
func (*CreateWorkspaceBadRequest) SetPayload ¶
func (o *CreateWorkspaceBadRequest) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the create workspace bad request response
func (*CreateWorkspaceBadRequest) WithPayload ¶
func (o *CreateWorkspaceBadRequest) WithPayload(payload *models.ServerError) *CreateWorkspaceBadRequest
WithPayload adds the payload to the create workspace bad request response
func (*CreateWorkspaceBadRequest) WriteResponse ¶
func (o *CreateWorkspaceBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWorkspaceCreated ¶
type CreateWorkspaceCreated struct { /* In: Body */ Payload *models.ResourceTfWorkspace `json:"body,omitempty"` }
CreateWorkspaceCreated Created
swagger:response createWorkspaceCreated
func NewCreateWorkspaceCreated ¶
func NewCreateWorkspaceCreated() *CreateWorkspaceCreated
NewCreateWorkspaceCreated creates CreateWorkspaceCreated with default headers values
func (*CreateWorkspaceCreated) SetPayload ¶
func (o *CreateWorkspaceCreated) SetPayload(payload *models.ResourceTfWorkspace)
SetPayload sets the payload to the create workspace created response
func (*CreateWorkspaceCreated) WithPayload ¶
func (o *CreateWorkspaceCreated) WithPayload(payload *models.ResourceTfWorkspace) *CreateWorkspaceCreated
WithPayload adds the payload to the create workspace created response
func (*CreateWorkspaceCreated) WriteResponse ¶
func (o *CreateWorkspaceCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWorkspaceHandler ¶
type CreateWorkspaceHandler interface {
Handle(CreateWorkspaceParams, *models.ResourceAuthUser) middleware.Responder
}
CreateWorkspaceHandler interface for that can handle valid create workspace params
type CreateWorkspaceHandlerFunc ¶
type CreateWorkspaceHandlerFunc func(CreateWorkspaceParams, *models.ResourceAuthUser) middleware.Responder
CreateWorkspaceHandlerFunc turns a function with the right signature into a create workspace handler
func (CreateWorkspaceHandlerFunc) Handle ¶
func (fn CreateWorkspaceHandlerFunc) Handle(params CreateWorkspaceParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type CreateWorkspaceInternalServerError ¶
type CreateWorkspaceInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
CreateWorkspaceInternalServerError Internal Server Error
swagger:response createWorkspaceInternalServerError
func NewCreateWorkspaceInternalServerError ¶
func NewCreateWorkspaceInternalServerError() *CreateWorkspaceInternalServerError
NewCreateWorkspaceInternalServerError creates CreateWorkspaceInternalServerError with default headers values
func (*CreateWorkspaceInternalServerError) SetPayload ¶
func (o *CreateWorkspaceInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the create workspace internal server error response
func (*CreateWorkspaceInternalServerError) WithPayload ¶
func (o *CreateWorkspaceInternalServerError) WithPayload(payload *models.ServerError) *CreateWorkspaceInternalServerError
WithPayload adds the payload to the create workspace internal server error response
func (*CreateWorkspaceInternalServerError) WriteResponse ¶
func (o *CreateWorkspaceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWorkspaceNotFound ¶
type CreateWorkspaceNotFound struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
CreateWorkspaceNotFound Not Found
swagger:response createWorkspaceNotFound
func NewCreateWorkspaceNotFound ¶
func NewCreateWorkspaceNotFound() *CreateWorkspaceNotFound
NewCreateWorkspaceNotFound creates CreateWorkspaceNotFound with default headers values
func (*CreateWorkspaceNotFound) SetPayload ¶
func (o *CreateWorkspaceNotFound) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the create workspace not found response
func (*CreateWorkspaceNotFound) WithPayload ¶
func (o *CreateWorkspaceNotFound) WithPayload(payload *models.ServerError) *CreateWorkspaceNotFound
WithPayload adds the payload to the create workspace not found response
func (*CreateWorkspaceNotFound) WriteResponse ¶
func (o *CreateWorkspaceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWorkspaceOK ¶
type CreateWorkspaceOK struct { /* In: Body */ Payload *models.ResourceTfWorkspace `json:"body,omitempty"` }
CreateWorkspaceOK OK
swagger:response createWorkspaceOK
func NewCreateWorkspaceOK ¶
func NewCreateWorkspaceOK() *CreateWorkspaceOK
NewCreateWorkspaceOK creates CreateWorkspaceOK with default headers values
func (*CreateWorkspaceOK) SetPayload ¶
func (o *CreateWorkspaceOK) SetPayload(payload *models.ResourceTfWorkspace)
SetPayload sets the payload to the create workspace o k response
func (*CreateWorkspaceOK) WithPayload ¶
func (o *CreateWorkspaceOK) WithPayload(payload *models.ResourceTfWorkspace) *CreateWorkspaceOK
WithPayload adds the payload to the create workspace o k response
func (*CreateWorkspaceOK) WriteResponse ¶
func (o *CreateWorkspaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type CreateWorkspaceParams ¶
type CreateWorkspaceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A terraform workspace Required: true In: path */ Name string /*A terraform workspace In: body */ TerraformWorkspace *models.ResourceTfWorkspace }
CreateWorkspaceParams contains all the bound params for the create workspace operation typically these are obtained from a http.Request
swagger:parameters create-workspace
func NewCreateWorkspaceParams ¶
func NewCreateWorkspaceParams() CreateWorkspaceParams
NewCreateWorkspaceParams creates a new CreateWorkspaceParams object no default values defined in spec.
func (*CreateWorkspaceParams) BindRequest ¶
func (o *CreateWorkspaceParams) 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 NewCreateWorkspaceParams() beforehand.
type CreateWorkspaceURL ¶
type CreateWorkspaceURL struct { Name string // contains filtered or unexported fields }
CreateWorkspaceURL generates an URL for the create workspace operation
func (*CreateWorkspaceURL) Build ¶
func (o *CreateWorkspaceURL) Build() (*url.URL, error)
Build a url path and query string
func (*CreateWorkspaceURL) BuildFull ¶
func (o *CreateWorkspaceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*CreateWorkspaceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*CreateWorkspaceURL) SetBasePath ¶
func (o *CreateWorkspaceURL) 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 (*CreateWorkspaceURL) String ¶
func (o *CreateWorkspaceURL) String() string
String returns the string representation of the path with query string
func (*CreateWorkspaceURL) StringFull ¶
func (o *CreateWorkspaceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*CreateWorkspaceURL) WithBasePath ¶
func (o *CreateWorkspaceURL) WithBasePath(bp string) *CreateWorkspaceURL
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 DescribeWorkspace ¶
type DescribeWorkspace struct { Context *middleware.Context Handler DescribeWorkspaceHandler }
DescribeWorkspace swagger:route GET /tf/workspace/{name} workspaces describeWorkspace
Describe a terraform workspace
func NewDescribeWorkspace ¶
func NewDescribeWorkspace(ctx *middleware.Context, handler DescribeWorkspaceHandler) *DescribeWorkspace
NewDescribeWorkspace creates a new http.Handler for the describe workspace operation
func (*DescribeWorkspace) ServeHTTP ¶
func (o *DescribeWorkspace) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type DescribeWorkspaceHandler ¶
type DescribeWorkspaceHandler interface {
Handle(DescribeWorkspaceParams, *models.ResourceAuthUser) middleware.Responder
}
DescribeWorkspaceHandler interface for that can handle valid describe workspace params
type DescribeWorkspaceHandlerFunc ¶
type DescribeWorkspaceHandlerFunc func(DescribeWorkspaceParams, *models.ResourceAuthUser) middleware.Responder
DescribeWorkspaceHandlerFunc turns a function with the right signature into a describe workspace handler
func (DescribeWorkspaceHandlerFunc) Handle ¶
func (fn DescribeWorkspaceHandlerFunc) Handle(params DescribeWorkspaceParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type DescribeWorkspaceInternalServerError ¶
type DescribeWorkspaceInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
DescribeWorkspaceInternalServerError Internal Server Error
swagger:response describeWorkspaceInternalServerError
func NewDescribeWorkspaceInternalServerError ¶
func NewDescribeWorkspaceInternalServerError() *DescribeWorkspaceInternalServerError
NewDescribeWorkspaceInternalServerError creates DescribeWorkspaceInternalServerError with default headers values
func (*DescribeWorkspaceInternalServerError) SetPayload ¶
func (o *DescribeWorkspaceInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the describe workspace internal server error response
func (*DescribeWorkspaceInternalServerError) WithPayload ¶
func (o *DescribeWorkspaceInternalServerError) WithPayload(payload *models.ServerError) *DescribeWorkspaceInternalServerError
WithPayload adds the payload to the describe workspace internal server error response
func (*DescribeWorkspaceInternalServerError) WriteResponse ¶
func (o *DescribeWorkspaceInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DescribeWorkspaceNotFound ¶
type DescribeWorkspaceNotFound struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
DescribeWorkspaceNotFound Not Found
swagger:response describeWorkspaceNotFound
func NewDescribeWorkspaceNotFound ¶
func NewDescribeWorkspaceNotFound() *DescribeWorkspaceNotFound
NewDescribeWorkspaceNotFound creates DescribeWorkspaceNotFound with default headers values
func (*DescribeWorkspaceNotFound) SetPayload ¶
func (o *DescribeWorkspaceNotFound) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the describe workspace not found response
func (*DescribeWorkspaceNotFound) WithPayload ¶
func (o *DescribeWorkspaceNotFound) WithPayload(payload *models.ServerError) *DescribeWorkspaceNotFound
WithPayload adds the payload to the describe workspace not found response
func (*DescribeWorkspaceNotFound) WriteResponse ¶
func (o *DescribeWorkspaceNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DescribeWorkspaceOK ¶
type DescribeWorkspaceOK struct { /* In: Body */ Payload *models.ResourceTfWorkspace `json:"body,omitempty"` }
DescribeWorkspaceOK OK
swagger:response describeWorkspaceOK
func NewDescribeWorkspaceOK ¶
func NewDescribeWorkspaceOK() *DescribeWorkspaceOK
NewDescribeWorkspaceOK creates DescribeWorkspaceOK with default headers values
func (*DescribeWorkspaceOK) SetPayload ¶
func (o *DescribeWorkspaceOK) SetPayload(payload *models.ResourceTfWorkspace)
SetPayload sets the payload to the describe workspace o k response
func (*DescribeWorkspaceOK) WithPayload ¶
func (o *DescribeWorkspaceOK) WithPayload(payload *models.ResourceTfWorkspace) *DescribeWorkspaceOK
WithPayload adds the payload to the describe workspace o k response
func (*DescribeWorkspaceOK) WriteResponse ¶
func (o *DescribeWorkspaceOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type DescribeWorkspaceParams ¶
type DescribeWorkspaceParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /*A terraform workspace Required: true In: path */ Name string }
DescribeWorkspaceParams contains all the bound params for the describe workspace operation typically these are obtained from a http.Request
swagger:parameters describe-workspace
func NewDescribeWorkspaceParams ¶
func NewDescribeWorkspaceParams() DescribeWorkspaceParams
NewDescribeWorkspaceParams creates a new DescribeWorkspaceParams object no default values defined in spec.
func (*DescribeWorkspaceParams) BindRequest ¶
func (o *DescribeWorkspaceParams) 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 NewDescribeWorkspaceParams() beforehand.
type DescribeWorkspaceURL ¶
type DescribeWorkspaceURL struct { Name string // contains filtered or unexported fields }
DescribeWorkspaceURL generates an URL for the describe workspace operation
func (*DescribeWorkspaceURL) Build ¶
func (o *DescribeWorkspaceURL) Build() (*url.URL, error)
Build a url path and query string
func (*DescribeWorkspaceURL) BuildFull ¶
func (o *DescribeWorkspaceURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*DescribeWorkspaceURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*DescribeWorkspaceURL) SetBasePath ¶
func (o *DescribeWorkspaceURL) 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 (*DescribeWorkspaceURL) String ¶
func (o *DescribeWorkspaceURL) String() string
String returns the string representation of the path with query string
func (*DescribeWorkspaceURL) StringFull ¶
func (o *DescribeWorkspaceURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*DescribeWorkspaceURL) WithBasePath ¶
func (o *DescribeWorkspaceURL) WithBasePath(bp string) *DescribeWorkspaceURL
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 ListWorkspaces ¶
type ListWorkspaces struct { Context *middleware.Context Handler ListWorkspacesHandler }
ListWorkspaces swagger:route GET /tf/workspaces workspaces listWorkspaces
List approved terraform workspaces
func NewListWorkspaces ¶
func NewListWorkspaces(ctx *middleware.Context, handler ListWorkspacesHandler) *ListWorkspaces
NewListWorkspaces creates a new http.Handler for the list workspaces operation
func (*ListWorkspaces) ServeHTTP ¶
func (o *ListWorkspaces) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListWorkspacesHandler ¶
type ListWorkspacesHandler interface {
Handle(ListWorkspacesParams, *models.ResourceAuthUser) middleware.Responder
}
ListWorkspacesHandler interface for that can handle valid list workspaces params
type ListWorkspacesHandlerFunc ¶
type ListWorkspacesHandlerFunc func(ListWorkspacesParams, *models.ResourceAuthUser) middleware.Responder
ListWorkspacesHandlerFunc turns a function with the right signature into a list workspaces handler
func (ListWorkspacesHandlerFunc) Handle ¶
func (fn ListWorkspacesHandlerFunc) Handle(params ListWorkspacesParams, principal *models.ResourceAuthUser) middleware.Responder
Handle executing the request and returning a response
type ListWorkspacesInternalServerError ¶
type ListWorkspacesInternalServerError struct { /* In: Body */ Payload *models.ServerError `json:"body,omitempty"` }
ListWorkspacesInternalServerError Internal Server Error
swagger:response listWorkspacesInternalServerError
func NewListWorkspacesInternalServerError ¶
func NewListWorkspacesInternalServerError() *ListWorkspacesInternalServerError
NewListWorkspacesInternalServerError creates ListWorkspacesInternalServerError with default headers values
func (*ListWorkspacesInternalServerError) SetPayload ¶
func (o *ListWorkspacesInternalServerError) SetPayload(payload *models.ServerError)
SetPayload sets the payload to the list workspaces internal server error response
func (*ListWorkspacesInternalServerError) WithPayload ¶
func (o *ListWorkspacesInternalServerError) WithPayload(payload *models.ServerError) *ListWorkspacesInternalServerError
WithPayload adds the payload to the list workspaces internal server error response
func (*ListWorkspacesInternalServerError) WriteResponse ¶
func (o *ListWorkspacesInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListWorkspacesNotFound ¶
type ListWorkspacesNotFound struct { }
ListWorkspacesNotFound Not Found
swagger:response listWorkspacesNotFound
func NewListWorkspacesNotFound ¶
func NewListWorkspacesNotFound() *ListWorkspacesNotFound
NewListWorkspacesNotFound creates ListWorkspacesNotFound with default headers values
func (*ListWorkspacesNotFound) WriteResponse ¶
func (o *ListWorkspacesNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListWorkspacesOK ¶
type ListWorkspacesOK struct { /* In: Body */ Payload *models.ResponseListTfWorkspaces `json:"body,omitempty"` }
ListWorkspacesOK OK
swagger:response listWorkspacesOK
func NewListWorkspacesOK ¶
func NewListWorkspacesOK() *ListWorkspacesOK
NewListWorkspacesOK creates ListWorkspacesOK with default headers values
func (*ListWorkspacesOK) SetPayload ¶
func (o *ListWorkspacesOK) SetPayload(payload *models.ResponseListTfWorkspaces)
SetPayload sets the payload to the list workspaces o k response
func (*ListWorkspacesOK) WithPayload ¶
func (o *ListWorkspacesOK) WithPayload(payload *models.ResponseListTfWorkspaces) *ListWorkspacesOK
WithPayload adds the payload to the list workspaces o k response
func (*ListWorkspacesOK) WriteResponse ¶
func (o *ListWorkspacesOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListWorkspacesParams ¶
ListWorkspacesParams contains all the bound params for the list workspaces operation typically these are obtained from a http.Request
swagger:parameters list-workspaces
func NewListWorkspacesParams ¶
func NewListWorkspacesParams() ListWorkspacesParams
NewListWorkspacesParams creates a new ListWorkspacesParams object no default values defined in spec.
func (*ListWorkspacesParams) BindRequest ¶
func (o *ListWorkspacesParams) 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 NewListWorkspacesParams() beforehand.
type ListWorkspacesURL ¶
type ListWorkspacesURL struct {
// contains filtered or unexported fields
}
ListWorkspacesURL generates an URL for the list workspaces operation
func (*ListWorkspacesURL) Build ¶
func (o *ListWorkspacesURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListWorkspacesURL) BuildFull ¶
func (o *ListWorkspacesURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListWorkspacesURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListWorkspacesURL) SetBasePath ¶
func (o *ListWorkspacesURL) 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 (*ListWorkspacesURL) String ¶
func (o *ListWorkspacesURL) String() string
String returns the string representation of the path with query string
func (*ListWorkspacesURL) StringFull ¶
func (o *ListWorkspacesURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListWorkspacesURL) WithBasePath ¶
func (o *ListWorkspacesURL) WithBasePath(bp string) *ListWorkspacesURL
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
¶
- create_workspace.go
- create_workspace_parameters.go
- create_workspace_responses.go
- create_workspace_urlbuilder.go
- describe_workspace.go
- describe_workspace_parameters.go
- describe_workspace_responses.go
- describe_workspace_urlbuilder.go
- list_workspaces.go
- list_workspaces_parameters.go
- list_workspaces_responses.go
- list_workspaces_urlbuilder.go