Documentation ¶
Index ¶
- type Client
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) V1WorkspacesGet(params *V1WorkspacesGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1WorkspacesGetOK, error)
- func (a *Client) V1WorkspacesGetall(params *V1WorkspacesGetallParams, authInfo runtime.ClientAuthInfoWriter, ...) (*V1WorkspacesGetallOK, error)
- type ClientOption
- type ClientService
- type V1WorkspacesGetBadRequest
- func (o *V1WorkspacesGetBadRequest) Code() int
- func (o *V1WorkspacesGetBadRequest) Error() string
- func (o *V1WorkspacesGetBadRequest) GetPayload() *models.Error
- func (o *V1WorkspacesGetBadRequest) IsClientError() bool
- func (o *V1WorkspacesGetBadRequest) IsCode(code int) bool
- func (o *V1WorkspacesGetBadRequest) IsRedirect() bool
- func (o *V1WorkspacesGetBadRequest) IsServerError() bool
- func (o *V1WorkspacesGetBadRequest) IsSuccess() bool
- func (o *V1WorkspacesGetBadRequest) String() string
- type V1WorkspacesGetForbidden
- func (o *V1WorkspacesGetForbidden) Code() int
- func (o *V1WorkspacesGetForbidden) Error() string
- func (o *V1WorkspacesGetForbidden) GetPayload() *models.Error
- func (o *V1WorkspacesGetForbidden) IsClientError() bool
- func (o *V1WorkspacesGetForbidden) IsCode(code int) bool
- func (o *V1WorkspacesGetForbidden) IsRedirect() bool
- func (o *V1WorkspacesGetForbidden) IsServerError() bool
- func (o *V1WorkspacesGetForbidden) IsSuccess() bool
- func (o *V1WorkspacesGetForbidden) String() string
- type V1WorkspacesGetInternalServerError
- func (o *V1WorkspacesGetInternalServerError) Code() int
- func (o *V1WorkspacesGetInternalServerError) Error() string
- func (o *V1WorkspacesGetInternalServerError) GetPayload() *models.Error
- func (o *V1WorkspacesGetInternalServerError) IsClientError() bool
- func (o *V1WorkspacesGetInternalServerError) IsCode(code int) bool
- func (o *V1WorkspacesGetInternalServerError) IsRedirect() bool
- func (o *V1WorkspacesGetInternalServerError) IsServerError() bool
- func (o *V1WorkspacesGetInternalServerError) IsSuccess() bool
- func (o *V1WorkspacesGetInternalServerError) String() string
- type V1WorkspacesGetNotFound
- func (o *V1WorkspacesGetNotFound) Code() int
- func (o *V1WorkspacesGetNotFound) Error() string
- func (o *V1WorkspacesGetNotFound) GetPayload() *models.Error
- func (o *V1WorkspacesGetNotFound) IsClientError() bool
- func (o *V1WorkspacesGetNotFound) IsCode(code int) bool
- func (o *V1WorkspacesGetNotFound) IsRedirect() bool
- func (o *V1WorkspacesGetNotFound) IsServerError() bool
- func (o *V1WorkspacesGetNotFound) IsSuccess() bool
- func (o *V1WorkspacesGetNotFound) String() string
- type V1WorkspacesGetOK
- func (o *V1WorkspacesGetOK) Code() int
- func (o *V1WorkspacesGetOK) Error() string
- func (o *V1WorkspacesGetOK) GetPayload() *models.Workspace
- func (o *V1WorkspacesGetOK) IsClientError() bool
- func (o *V1WorkspacesGetOK) IsCode(code int) bool
- func (o *V1WorkspacesGetOK) IsRedirect() bool
- func (o *V1WorkspacesGetOK) IsServerError() bool
- func (o *V1WorkspacesGetOK) IsSuccess() bool
- func (o *V1WorkspacesGetOK) String() string
- type V1WorkspacesGetParams
- func NewV1WorkspacesGetParams() *V1WorkspacesGetParams
- func NewV1WorkspacesGetParamsWithContext(ctx context.Context) *V1WorkspacesGetParams
- func NewV1WorkspacesGetParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetParams
- func NewV1WorkspacesGetParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) SetContext(ctx context.Context)
- func (o *V1WorkspacesGetParams) SetDefaults()
- func (o *V1WorkspacesGetParams) SetHTTPClient(client *http.Client)
- func (o *V1WorkspacesGetParams) SetTimeout(timeout time.Duration)
- func (o *V1WorkspacesGetParams) SetWorkspaceID(workspaceID string)
- func (o *V1WorkspacesGetParams) WithContext(ctx context.Context) *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) WithDefaults() *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) WithHTTPClient(client *http.Client) *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) WithTimeout(timeout time.Duration) *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) WithWorkspaceID(workspaceID string) *V1WorkspacesGetParams
- func (o *V1WorkspacesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1WorkspacesGetReader
- type V1WorkspacesGetTooManyRequests
- func (o *V1WorkspacesGetTooManyRequests) Code() int
- func (o *V1WorkspacesGetTooManyRequests) Error() string
- func (o *V1WorkspacesGetTooManyRequests) GetPayload() *models.Error
- func (o *V1WorkspacesGetTooManyRequests) IsClientError() bool
- func (o *V1WorkspacesGetTooManyRequests) IsCode(code int) bool
- func (o *V1WorkspacesGetTooManyRequests) IsRedirect() bool
- func (o *V1WorkspacesGetTooManyRequests) IsServerError() bool
- func (o *V1WorkspacesGetTooManyRequests) IsSuccess() bool
- func (o *V1WorkspacesGetTooManyRequests) String() string
- type V1WorkspacesGetUnauthorized
- func (o *V1WorkspacesGetUnauthorized) Code() int
- func (o *V1WorkspacesGetUnauthorized) Error() string
- func (o *V1WorkspacesGetUnauthorized) GetPayload() *models.Error
- func (o *V1WorkspacesGetUnauthorized) IsClientError() bool
- func (o *V1WorkspacesGetUnauthorized) IsCode(code int) bool
- func (o *V1WorkspacesGetUnauthorized) IsRedirect() bool
- func (o *V1WorkspacesGetUnauthorized) IsServerError() bool
- func (o *V1WorkspacesGetUnauthorized) IsSuccess() bool
- func (o *V1WorkspacesGetUnauthorized) String() string
- type V1WorkspacesGetallForbidden
- func (o *V1WorkspacesGetallForbidden) Code() int
- func (o *V1WorkspacesGetallForbidden) Error() string
- func (o *V1WorkspacesGetallForbidden) GetPayload() *models.Error
- func (o *V1WorkspacesGetallForbidden) IsClientError() bool
- func (o *V1WorkspacesGetallForbidden) IsCode(code int) bool
- func (o *V1WorkspacesGetallForbidden) IsRedirect() bool
- func (o *V1WorkspacesGetallForbidden) IsServerError() bool
- func (o *V1WorkspacesGetallForbidden) IsSuccess() bool
- func (o *V1WorkspacesGetallForbidden) String() string
- type V1WorkspacesGetallInternalServerError
- func (o *V1WorkspacesGetallInternalServerError) Code() int
- func (o *V1WorkspacesGetallInternalServerError) Error() string
- func (o *V1WorkspacesGetallInternalServerError) GetPayload() *models.Error
- func (o *V1WorkspacesGetallInternalServerError) IsClientError() bool
- func (o *V1WorkspacesGetallInternalServerError) IsCode(code int) bool
- func (o *V1WorkspacesGetallInternalServerError) IsRedirect() bool
- func (o *V1WorkspacesGetallInternalServerError) IsServerError() bool
- func (o *V1WorkspacesGetallInternalServerError) IsSuccess() bool
- func (o *V1WorkspacesGetallInternalServerError) String() string
- type V1WorkspacesGetallOK
- func (o *V1WorkspacesGetallOK) Code() int
- func (o *V1WorkspacesGetallOK) Error() string
- func (o *V1WorkspacesGetallOK) GetPayload() *models.Workspaces
- func (o *V1WorkspacesGetallOK) IsClientError() bool
- func (o *V1WorkspacesGetallOK) IsCode(code int) bool
- func (o *V1WorkspacesGetallOK) IsRedirect() bool
- func (o *V1WorkspacesGetallOK) IsServerError() bool
- func (o *V1WorkspacesGetallOK) IsSuccess() bool
- func (o *V1WorkspacesGetallOK) String() string
- type V1WorkspacesGetallParams
- func NewV1WorkspacesGetallParams() *V1WorkspacesGetallParams
- func NewV1WorkspacesGetallParamsWithContext(ctx context.Context) *V1WorkspacesGetallParams
- func NewV1WorkspacesGetallParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetallParams
- func NewV1WorkspacesGetallParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetallParams
- func (o *V1WorkspacesGetallParams) SetContext(ctx context.Context)
- func (o *V1WorkspacesGetallParams) SetDefaults()
- func (o *V1WorkspacesGetallParams) SetHTTPClient(client *http.Client)
- func (o *V1WorkspacesGetallParams) SetTimeout(timeout time.Duration)
- func (o *V1WorkspacesGetallParams) WithContext(ctx context.Context) *V1WorkspacesGetallParams
- func (o *V1WorkspacesGetallParams) WithDefaults() *V1WorkspacesGetallParams
- func (o *V1WorkspacesGetallParams) WithHTTPClient(client *http.Client) *V1WorkspacesGetallParams
- func (o *V1WorkspacesGetallParams) WithTimeout(timeout time.Duration) *V1WorkspacesGetallParams
- func (o *V1WorkspacesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type V1WorkspacesGetallReader
- type V1WorkspacesGetallTooManyRequests
- func (o *V1WorkspacesGetallTooManyRequests) Code() int
- func (o *V1WorkspacesGetallTooManyRequests) Error() string
- func (o *V1WorkspacesGetallTooManyRequests) GetPayload() *models.Error
- func (o *V1WorkspacesGetallTooManyRequests) IsClientError() bool
- func (o *V1WorkspacesGetallTooManyRequests) IsCode(code int) bool
- func (o *V1WorkspacesGetallTooManyRequests) IsRedirect() bool
- func (o *V1WorkspacesGetallTooManyRequests) IsServerError() bool
- func (o *V1WorkspacesGetallTooManyRequests) IsSuccess() bool
- func (o *V1WorkspacesGetallTooManyRequests) String() string
- type V1WorkspacesGetallUnauthorized
- func (o *V1WorkspacesGetallUnauthorized) Code() int
- func (o *V1WorkspacesGetallUnauthorized) Error() string
- func (o *V1WorkspacesGetallUnauthorized) GetPayload() *models.Error
- func (o *V1WorkspacesGetallUnauthorized) IsClientError() bool
- func (o *V1WorkspacesGetallUnauthorized) IsCode(code int) bool
- func (o *V1WorkspacesGetallUnauthorized) IsRedirect() bool
- func (o *V1WorkspacesGetallUnauthorized) IsServerError() bool
- func (o *V1WorkspacesGetallUnauthorized) IsSuccess() bool
- func (o *V1WorkspacesGetallUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for workspaces API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) V1WorkspacesGet ¶
func (a *Client) V1WorkspacesGet(params *V1WorkspacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetOK, error)
V1WorkspacesGet gets a workspace s information and capabilities
func (*Client) V1WorkspacesGetall ¶ added in v1.5.1
func (a *Client) V1WorkspacesGetall(params *V1WorkspacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetallOK, error)
V1WorkspacesGetall gets all workspaces information and capabilities for a tenant
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { V1WorkspacesGet(params *V1WorkspacesGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetOK, error) V1WorkspacesGetall(params *V1WorkspacesGetallParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*V1WorkspacesGetallOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new workspaces API client.
type V1WorkspacesGetBadRequest ¶
V1WorkspacesGetBadRequest describes a response with status code 400, with default header values.
Bad Request
func NewV1WorkspacesGetBadRequest ¶
func NewV1WorkspacesGetBadRequest() *V1WorkspacesGetBadRequest
NewV1WorkspacesGetBadRequest creates a V1WorkspacesGetBadRequest with default headers values
func (*V1WorkspacesGetBadRequest) Code ¶
func (o *V1WorkspacesGetBadRequest) Code() int
Code gets the status code for the v1 workspaces get bad request response
func (*V1WorkspacesGetBadRequest) Error ¶
func (o *V1WorkspacesGetBadRequest) Error() string
func (*V1WorkspacesGetBadRequest) GetPayload ¶
func (o *V1WorkspacesGetBadRequest) GetPayload() *models.Error
func (*V1WorkspacesGetBadRequest) IsClientError ¶
func (o *V1WorkspacesGetBadRequest) IsClientError() bool
IsClientError returns true when this v1 workspaces get bad request response has a 4xx status code
func (*V1WorkspacesGetBadRequest) IsCode ¶
func (o *V1WorkspacesGetBadRequest) IsCode(code int) bool
IsCode returns true when this v1 workspaces get bad request response a status code equal to that given
func (*V1WorkspacesGetBadRequest) IsRedirect ¶
func (o *V1WorkspacesGetBadRequest) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get bad request response has a 3xx status code
func (*V1WorkspacesGetBadRequest) IsServerError ¶
func (o *V1WorkspacesGetBadRequest) IsServerError() bool
IsServerError returns true when this v1 workspaces get bad request response has a 5xx status code
func (*V1WorkspacesGetBadRequest) IsSuccess ¶
func (o *V1WorkspacesGetBadRequest) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get bad request response has a 2xx status code
func (*V1WorkspacesGetBadRequest) String ¶
func (o *V1WorkspacesGetBadRequest) String() string
type V1WorkspacesGetForbidden ¶
V1WorkspacesGetForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1WorkspacesGetForbidden ¶
func NewV1WorkspacesGetForbidden() *V1WorkspacesGetForbidden
NewV1WorkspacesGetForbidden creates a V1WorkspacesGetForbidden with default headers values
func (*V1WorkspacesGetForbidden) Code ¶
func (o *V1WorkspacesGetForbidden) Code() int
Code gets the status code for the v1 workspaces get forbidden response
func (*V1WorkspacesGetForbidden) Error ¶
func (o *V1WorkspacesGetForbidden) Error() string
func (*V1WorkspacesGetForbidden) GetPayload ¶
func (o *V1WorkspacesGetForbidden) GetPayload() *models.Error
func (*V1WorkspacesGetForbidden) IsClientError ¶
func (o *V1WorkspacesGetForbidden) IsClientError() bool
IsClientError returns true when this v1 workspaces get forbidden response has a 4xx status code
func (*V1WorkspacesGetForbidden) IsCode ¶
func (o *V1WorkspacesGetForbidden) IsCode(code int) bool
IsCode returns true when this v1 workspaces get forbidden response a status code equal to that given
func (*V1WorkspacesGetForbidden) IsRedirect ¶
func (o *V1WorkspacesGetForbidden) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get forbidden response has a 3xx status code
func (*V1WorkspacesGetForbidden) IsServerError ¶
func (o *V1WorkspacesGetForbidden) IsServerError() bool
IsServerError returns true when this v1 workspaces get forbidden response has a 5xx status code
func (*V1WorkspacesGetForbidden) IsSuccess ¶
func (o *V1WorkspacesGetForbidden) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get forbidden response has a 2xx status code
func (*V1WorkspacesGetForbidden) String ¶
func (o *V1WorkspacesGetForbidden) String() string
type V1WorkspacesGetInternalServerError ¶
V1WorkspacesGetInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1WorkspacesGetInternalServerError ¶
func NewV1WorkspacesGetInternalServerError() *V1WorkspacesGetInternalServerError
NewV1WorkspacesGetInternalServerError creates a V1WorkspacesGetInternalServerError with default headers values
func (*V1WorkspacesGetInternalServerError) Code ¶
func (o *V1WorkspacesGetInternalServerError) Code() int
Code gets the status code for the v1 workspaces get internal server error response
func (*V1WorkspacesGetInternalServerError) Error ¶
func (o *V1WorkspacesGetInternalServerError) Error() string
func (*V1WorkspacesGetInternalServerError) GetPayload ¶
func (o *V1WorkspacesGetInternalServerError) GetPayload() *models.Error
func (*V1WorkspacesGetInternalServerError) IsClientError ¶
func (o *V1WorkspacesGetInternalServerError) IsClientError() bool
IsClientError returns true when this v1 workspaces get internal server error response has a 4xx status code
func (*V1WorkspacesGetInternalServerError) IsCode ¶
func (o *V1WorkspacesGetInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 workspaces get internal server error response a status code equal to that given
func (*V1WorkspacesGetInternalServerError) IsRedirect ¶
func (o *V1WorkspacesGetInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get internal server error response has a 3xx status code
func (*V1WorkspacesGetInternalServerError) IsServerError ¶
func (o *V1WorkspacesGetInternalServerError) IsServerError() bool
IsServerError returns true when this v1 workspaces get internal server error response has a 5xx status code
func (*V1WorkspacesGetInternalServerError) IsSuccess ¶
func (o *V1WorkspacesGetInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get internal server error response has a 2xx status code
func (*V1WorkspacesGetInternalServerError) String ¶
func (o *V1WorkspacesGetInternalServerError) String() string
type V1WorkspacesGetNotFound ¶
V1WorkspacesGetNotFound describes a response with status code 404, with default header values.
Not Found
func NewV1WorkspacesGetNotFound ¶
func NewV1WorkspacesGetNotFound() *V1WorkspacesGetNotFound
NewV1WorkspacesGetNotFound creates a V1WorkspacesGetNotFound with default headers values
func (*V1WorkspacesGetNotFound) Code ¶
func (o *V1WorkspacesGetNotFound) Code() int
Code gets the status code for the v1 workspaces get not found response
func (*V1WorkspacesGetNotFound) Error ¶
func (o *V1WorkspacesGetNotFound) Error() string
func (*V1WorkspacesGetNotFound) GetPayload ¶
func (o *V1WorkspacesGetNotFound) GetPayload() *models.Error
func (*V1WorkspacesGetNotFound) IsClientError ¶
func (o *V1WorkspacesGetNotFound) IsClientError() bool
IsClientError returns true when this v1 workspaces get not found response has a 4xx status code
func (*V1WorkspacesGetNotFound) IsCode ¶
func (o *V1WorkspacesGetNotFound) IsCode(code int) bool
IsCode returns true when this v1 workspaces get not found response a status code equal to that given
func (*V1WorkspacesGetNotFound) IsRedirect ¶
func (o *V1WorkspacesGetNotFound) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get not found response has a 3xx status code
func (*V1WorkspacesGetNotFound) IsServerError ¶
func (o *V1WorkspacesGetNotFound) IsServerError() bool
IsServerError returns true when this v1 workspaces get not found response has a 5xx status code
func (*V1WorkspacesGetNotFound) IsSuccess ¶
func (o *V1WorkspacesGetNotFound) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get not found response has a 2xx status code
func (*V1WorkspacesGetNotFound) String ¶
func (o *V1WorkspacesGetNotFound) String() string
type V1WorkspacesGetOK ¶
V1WorkspacesGetOK describes a response with status code 200, with default header values.
OK
func NewV1WorkspacesGetOK ¶
func NewV1WorkspacesGetOK() *V1WorkspacesGetOK
NewV1WorkspacesGetOK creates a V1WorkspacesGetOK with default headers values
func (*V1WorkspacesGetOK) Code ¶
func (o *V1WorkspacesGetOK) Code() int
Code gets the status code for the v1 workspaces get o k response
func (*V1WorkspacesGetOK) Error ¶
func (o *V1WorkspacesGetOK) Error() string
func (*V1WorkspacesGetOK) GetPayload ¶
func (o *V1WorkspacesGetOK) GetPayload() *models.Workspace
func (*V1WorkspacesGetOK) IsClientError ¶
func (o *V1WorkspacesGetOK) IsClientError() bool
IsClientError returns true when this v1 workspaces get o k response has a 4xx status code
func (*V1WorkspacesGetOK) IsCode ¶
func (o *V1WorkspacesGetOK) IsCode(code int) bool
IsCode returns true when this v1 workspaces get o k response a status code equal to that given
func (*V1WorkspacesGetOK) IsRedirect ¶
func (o *V1WorkspacesGetOK) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get o k response has a 3xx status code
func (*V1WorkspacesGetOK) IsServerError ¶
func (o *V1WorkspacesGetOK) IsServerError() bool
IsServerError returns true when this v1 workspaces get o k response has a 5xx status code
func (*V1WorkspacesGetOK) IsSuccess ¶
func (o *V1WorkspacesGetOK) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get o k response has a 2xx status code
func (*V1WorkspacesGetOK) String ¶
func (o *V1WorkspacesGetOK) String() string
type V1WorkspacesGetParams ¶
type V1WorkspacesGetParams struct { /* WorkspaceID. Workspace ID */ WorkspaceID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1WorkspacesGetParams contains all the parameters to send to the API endpoint
for the v1 workspaces get operation. Typically these are written to a http.Request.
func NewV1WorkspacesGetParams ¶
func NewV1WorkspacesGetParams() *V1WorkspacesGetParams
NewV1WorkspacesGetParams creates a new V1WorkspacesGetParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewV1WorkspacesGetParamsWithContext ¶
func NewV1WorkspacesGetParamsWithContext(ctx context.Context) *V1WorkspacesGetParams
NewV1WorkspacesGetParamsWithContext creates a new V1WorkspacesGetParams object with the ability to set a context for a request.
func NewV1WorkspacesGetParamsWithHTTPClient ¶
func NewV1WorkspacesGetParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetParams
NewV1WorkspacesGetParamsWithHTTPClient creates a new V1WorkspacesGetParams object with the ability to set a custom HTTPClient for a request.
func NewV1WorkspacesGetParamsWithTimeout ¶
func NewV1WorkspacesGetParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetParams
NewV1WorkspacesGetParamsWithTimeout creates a new V1WorkspacesGetParams object with the ability to set a timeout on a request.
func (*V1WorkspacesGetParams) SetContext ¶
func (o *V1WorkspacesGetParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 workspaces get params
func (*V1WorkspacesGetParams) SetDefaults ¶
func (o *V1WorkspacesGetParams) SetDefaults()
SetDefaults hydrates default values in the v1 workspaces get params (not the query body).
All values with no default are reset to their zero value.
func (*V1WorkspacesGetParams) SetHTTPClient ¶
func (o *V1WorkspacesGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 workspaces get params
func (*V1WorkspacesGetParams) SetTimeout ¶
func (o *V1WorkspacesGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 workspaces get params
func (*V1WorkspacesGetParams) SetWorkspaceID ¶
func (o *V1WorkspacesGetParams) SetWorkspaceID(workspaceID string)
SetWorkspaceID adds the workspaceId to the v1 workspaces get params
func (*V1WorkspacesGetParams) WithContext ¶
func (o *V1WorkspacesGetParams) WithContext(ctx context.Context) *V1WorkspacesGetParams
WithContext adds the context to the v1 workspaces get params
func (*V1WorkspacesGetParams) WithDefaults ¶
func (o *V1WorkspacesGetParams) WithDefaults() *V1WorkspacesGetParams
WithDefaults hydrates default values in the v1 workspaces get params (not the query body).
All values with no default are reset to their zero value.
func (*V1WorkspacesGetParams) WithHTTPClient ¶
func (o *V1WorkspacesGetParams) WithHTTPClient(client *http.Client) *V1WorkspacesGetParams
WithHTTPClient adds the HTTPClient to the v1 workspaces get params
func (*V1WorkspacesGetParams) WithTimeout ¶
func (o *V1WorkspacesGetParams) WithTimeout(timeout time.Duration) *V1WorkspacesGetParams
WithTimeout adds the timeout to the v1 workspaces get params
func (*V1WorkspacesGetParams) WithWorkspaceID ¶
func (o *V1WorkspacesGetParams) WithWorkspaceID(workspaceID string) *V1WorkspacesGetParams
WithWorkspaceID adds the workspaceID to the v1 workspaces get params
func (*V1WorkspacesGetParams) WriteToRequest ¶
func (o *V1WorkspacesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1WorkspacesGetReader ¶
type V1WorkspacesGetReader struct {
// contains filtered or unexported fields
}
V1WorkspacesGetReader is a Reader for the V1WorkspacesGet structure.
func (*V1WorkspacesGetReader) ReadResponse ¶
func (o *V1WorkspacesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1WorkspacesGetTooManyRequests ¶
V1WorkspacesGetTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewV1WorkspacesGetTooManyRequests ¶
func NewV1WorkspacesGetTooManyRequests() *V1WorkspacesGetTooManyRequests
NewV1WorkspacesGetTooManyRequests creates a V1WorkspacesGetTooManyRequests with default headers values
func (*V1WorkspacesGetTooManyRequests) Code ¶
func (o *V1WorkspacesGetTooManyRequests) Code() int
Code gets the status code for the v1 workspaces get too many requests response
func (*V1WorkspacesGetTooManyRequests) Error ¶
func (o *V1WorkspacesGetTooManyRequests) Error() string
func (*V1WorkspacesGetTooManyRequests) GetPayload ¶
func (o *V1WorkspacesGetTooManyRequests) GetPayload() *models.Error
func (*V1WorkspacesGetTooManyRequests) IsClientError ¶
func (o *V1WorkspacesGetTooManyRequests) IsClientError() bool
IsClientError returns true when this v1 workspaces get too many requests response has a 4xx status code
func (*V1WorkspacesGetTooManyRequests) IsCode ¶
func (o *V1WorkspacesGetTooManyRequests) IsCode(code int) bool
IsCode returns true when this v1 workspaces get too many requests response a status code equal to that given
func (*V1WorkspacesGetTooManyRequests) IsRedirect ¶
func (o *V1WorkspacesGetTooManyRequests) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get too many requests response has a 3xx status code
func (*V1WorkspacesGetTooManyRequests) IsServerError ¶
func (o *V1WorkspacesGetTooManyRequests) IsServerError() bool
IsServerError returns true when this v1 workspaces get too many requests response has a 5xx status code
func (*V1WorkspacesGetTooManyRequests) IsSuccess ¶
func (o *V1WorkspacesGetTooManyRequests) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get too many requests response has a 2xx status code
func (*V1WorkspacesGetTooManyRequests) String ¶
func (o *V1WorkspacesGetTooManyRequests) String() string
type V1WorkspacesGetUnauthorized ¶
type V1WorkspacesGetUnauthorized struct {
}V1WorkspacesGetUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1WorkspacesGetUnauthorized ¶
func NewV1WorkspacesGetUnauthorized() *V1WorkspacesGetUnauthorized
NewV1WorkspacesGetUnauthorized creates a V1WorkspacesGetUnauthorized with default headers values
func (*V1WorkspacesGetUnauthorized) Code ¶
func (o *V1WorkspacesGetUnauthorized) Code() int
Code gets the status code for the v1 workspaces get unauthorized response
func (*V1WorkspacesGetUnauthorized) Error ¶
func (o *V1WorkspacesGetUnauthorized) Error() string
func (*V1WorkspacesGetUnauthorized) GetPayload ¶
func (o *V1WorkspacesGetUnauthorized) GetPayload() *models.Error
func (*V1WorkspacesGetUnauthorized) IsClientError ¶
func (o *V1WorkspacesGetUnauthorized) IsClientError() bool
IsClientError returns true when this v1 workspaces get unauthorized response has a 4xx status code
func (*V1WorkspacesGetUnauthorized) IsCode ¶
func (o *V1WorkspacesGetUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 workspaces get unauthorized response a status code equal to that given
func (*V1WorkspacesGetUnauthorized) IsRedirect ¶
func (o *V1WorkspacesGetUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 workspaces get unauthorized response has a 3xx status code
func (*V1WorkspacesGetUnauthorized) IsServerError ¶
func (o *V1WorkspacesGetUnauthorized) IsServerError() bool
IsServerError returns true when this v1 workspaces get unauthorized response has a 5xx status code
func (*V1WorkspacesGetUnauthorized) IsSuccess ¶
func (o *V1WorkspacesGetUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 workspaces get unauthorized response has a 2xx status code
func (*V1WorkspacesGetUnauthorized) String ¶
func (o *V1WorkspacesGetUnauthorized) String() string
type V1WorkspacesGetallForbidden ¶ added in v1.5.1
V1WorkspacesGetallForbidden describes a response with status code 403, with default header values.
Forbidden
func NewV1WorkspacesGetallForbidden ¶ added in v1.5.1
func NewV1WorkspacesGetallForbidden() *V1WorkspacesGetallForbidden
NewV1WorkspacesGetallForbidden creates a V1WorkspacesGetallForbidden with default headers values
func (*V1WorkspacesGetallForbidden) Code ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) Code() int
Code gets the status code for the v1 workspaces getall forbidden response
func (*V1WorkspacesGetallForbidden) Error ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) Error() string
func (*V1WorkspacesGetallForbidden) GetPayload ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) GetPayload() *models.Error
func (*V1WorkspacesGetallForbidden) IsClientError ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) IsClientError() bool
IsClientError returns true when this v1 workspaces getall forbidden response has a 4xx status code
func (*V1WorkspacesGetallForbidden) IsCode ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) IsCode(code int) bool
IsCode returns true when this v1 workspaces getall forbidden response a status code equal to that given
func (*V1WorkspacesGetallForbidden) IsRedirect ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) IsRedirect() bool
IsRedirect returns true when this v1 workspaces getall forbidden response has a 3xx status code
func (*V1WorkspacesGetallForbidden) IsServerError ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) IsServerError() bool
IsServerError returns true when this v1 workspaces getall forbidden response has a 5xx status code
func (*V1WorkspacesGetallForbidden) IsSuccess ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) IsSuccess() bool
IsSuccess returns true when this v1 workspaces getall forbidden response has a 2xx status code
func (*V1WorkspacesGetallForbidden) String ¶ added in v1.5.1
func (o *V1WorkspacesGetallForbidden) String() string
type V1WorkspacesGetallInternalServerError ¶ added in v1.5.1
V1WorkspacesGetallInternalServerError describes a response with status code 500, with default header values.
Internal Server Error
func NewV1WorkspacesGetallInternalServerError ¶ added in v1.5.1
func NewV1WorkspacesGetallInternalServerError() *V1WorkspacesGetallInternalServerError
NewV1WorkspacesGetallInternalServerError creates a V1WorkspacesGetallInternalServerError with default headers values
func (*V1WorkspacesGetallInternalServerError) Code ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) Code() int
Code gets the status code for the v1 workspaces getall internal server error response
func (*V1WorkspacesGetallInternalServerError) Error ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) Error() string
func (*V1WorkspacesGetallInternalServerError) GetPayload ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) GetPayload() *models.Error
func (*V1WorkspacesGetallInternalServerError) IsClientError ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) IsClientError() bool
IsClientError returns true when this v1 workspaces getall internal server error response has a 4xx status code
func (*V1WorkspacesGetallInternalServerError) IsCode ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) IsCode(code int) bool
IsCode returns true when this v1 workspaces getall internal server error response a status code equal to that given
func (*V1WorkspacesGetallInternalServerError) IsRedirect ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) IsRedirect() bool
IsRedirect returns true when this v1 workspaces getall internal server error response has a 3xx status code
func (*V1WorkspacesGetallInternalServerError) IsServerError ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) IsServerError() bool
IsServerError returns true when this v1 workspaces getall internal server error response has a 5xx status code
func (*V1WorkspacesGetallInternalServerError) IsSuccess ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) IsSuccess() bool
IsSuccess returns true when this v1 workspaces getall internal server error response has a 2xx status code
func (*V1WorkspacesGetallInternalServerError) String ¶ added in v1.5.1
func (o *V1WorkspacesGetallInternalServerError) String() string
type V1WorkspacesGetallOK ¶ added in v1.5.1
type V1WorkspacesGetallOK struct {
Payload *models.Workspaces
}
V1WorkspacesGetallOK describes a response with status code 200, with default header values.
OK
func NewV1WorkspacesGetallOK ¶ added in v1.5.1
func NewV1WorkspacesGetallOK() *V1WorkspacesGetallOK
NewV1WorkspacesGetallOK creates a V1WorkspacesGetallOK with default headers values
func (*V1WorkspacesGetallOK) Code ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) Code() int
Code gets the status code for the v1 workspaces getall o k response
func (*V1WorkspacesGetallOK) Error ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) Error() string
func (*V1WorkspacesGetallOK) GetPayload ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) GetPayload() *models.Workspaces
func (*V1WorkspacesGetallOK) IsClientError ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) IsClientError() bool
IsClientError returns true when this v1 workspaces getall o k response has a 4xx status code
func (*V1WorkspacesGetallOK) IsCode ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) IsCode(code int) bool
IsCode returns true when this v1 workspaces getall o k response a status code equal to that given
func (*V1WorkspacesGetallOK) IsRedirect ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) IsRedirect() bool
IsRedirect returns true when this v1 workspaces getall o k response has a 3xx status code
func (*V1WorkspacesGetallOK) IsServerError ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) IsServerError() bool
IsServerError returns true when this v1 workspaces getall o k response has a 5xx status code
func (*V1WorkspacesGetallOK) IsSuccess ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) IsSuccess() bool
IsSuccess returns true when this v1 workspaces getall o k response has a 2xx status code
func (*V1WorkspacesGetallOK) String ¶ added in v1.5.1
func (o *V1WorkspacesGetallOK) String() string
type V1WorkspacesGetallParams ¶ added in v1.5.1
type V1WorkspacesGetallParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
V1WorkspacesGetallParams contains all the parameters to send to the API endpoint
for the v1 workspaces getall operation. Typically these are written to a http.Request.
func NewV1WorkspacesGetallParams ¶ added in v1.5.1
func NewV1WorkspacesGetallParams() *V1WorkspacesGetallParams
NewV1WorkspacesGetallParams creates a new V1WorkspacesGetallParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewV1WorkspacesGetallParamsWithContext ¶ added in v1.5.1
func NewV1WorkspacesGetallParamsWithContext(ctx context.Context) *V1WorkspacesGetallParams
NewV1WorkspacesGetallParamsWithContext creates a new V1WorkspacesGetallParams object with the ability to set a context for a request.
func NewV1WorkspacesGetallParamsWithHTTPClient ¶ added in v1.5.1
func NewV1WorkspacesGetallParamsWithHTTPClient(client *http.Client) *V1WorkspacesGetallParams
NewV1WorkspacesGetallParamsWithHTTPClient creates a new V1WorkspacesGetallParams object with the ability to set a custom HTTPClient for a request.
func NewV1WorkspacesGetallParamsWithTimeout ¶ added in v1.5.1
func NewV1WorkspacesGetallParamsWithTimeout(timeout time.Duration) *V1WorkspacesGetallParams
NewV1WorkspacesGetallParamsWithTimeout creates a new V1WorkspacesGetallParams object with the ability to set a timeout on a request.
func (*V1WorkspacesGetallParams) SetContext ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) SetContext(ctx context.Context)
SetContext adds the context to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) SetDefaults ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) SetDefaults()
SetDefaults hydrates default values in the v1 workspaces getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1WorkspacesGetallParams) SetHTTPClient ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) SetTimeout ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) WithContext ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) WithContext(ctx context.Context) *V1WorkspacesGetallParams
WithContext adds the context to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) WithDefaults ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) WithDefaults() *V1WorkspacesGetallParams
WithDefaults hydrates default values in the v1 workspaces getall params (not the query body).
All values with no default are reset to their zero value.
func (*V1WorkspacesGetallParams) WithHTTPClient ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) WithHTTPClient(client *http.Client) *V1WorkspacesGetallParams
WithHTTPClient adds the HTTPClient to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) WithTimeout ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) WithTimeout(timeout time.Duration) *V1WorkspacesGetallParams
WithTimeout adds the timeout to the v1 workspaces getall params
func (*V1WorkspacesGetallParams) WriteToRequest ¶ added in v1.5.1
func (o *V1WorkspacesGetallParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type V1WorkspacesGetallReader ¶ added in v1.5.1
type V1WorkspacesGetallReader struct {
// contains filtered or unexported fields
}
V1WorkspacesGetallReader is a Reader for the V1WorkspacesGetall structure.
func (*V1WorkspacesGetallReader) ReadResponse ¶ added in v1.5.1
func (o *V1WorkspacesGetallReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type V1WorkspacesGetallTooManyRequests ¶ added in v1.5.1
V1WorkspacesGetallTooManyRequests describes a response with status code 429, with default header values.
Too Many Requests
func NewV1WorkspacesGetallTooManyRequests ¶ added in v1.5.1
func NewV1WorkspacesGetallTooManyRequests() *V1WorkspacesGetallTooManyRequests
NewV1WorkspacesGetallTooManyRequests creates a V1WorkspacesGetallTooManyRequests with default headers values
func (*V1WorkspacesGetallTooManyRequests) Code ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) Code() int
Code gets the status code for the v1 workspaces getall too many requests response
func (*V1WorkspacesGetallTooManyRequests) Error ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) Error() string
func (*V1WorkspacesGetallTooManyRequests) GetPayload ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) GetPayload() *models.Error
func (*V1WorkspacesGetallTooManyRequests) IsClientError ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) IsClientError() bool
IsClientError returns true when this v1 workspaces getall too many requests response has a 4xx status code
func (*V1WorkspacesGetallTooManyRequests) IsCode ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) IsCode(code int) bool
IsCode returns true when this v1 workspaces getall too many requests response a status code equal to that given
func (*V1WorkspacesGetallTooManyRequests) IsRedirect ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) IsRedirect() bool
IsRedirect returns true when this v1 workspaces getall too many requests response has a 3xx status code
func (*V1WorkspacesGetallTooManyRequests) IsServerError ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) IsServerError() bool
IsServerError returns true when this v1 workspaces getall too many requests response has a 5xx status code
func (*V1WorkspacesGetallTooManyRequests) IsSuccess ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) IsSuccess() bool
IsSuccess returns true when this v1 workspaces getall too many requests response has a 2xx status code
func (*V1WorkspacesGetallTooManyRequests) String ¶ added in v1.5.1
func (o *V1WorkspacesGetallTooManyRequests) String() string
type V1WorkspacesGetallUnauthorized ¶ added in v1.5.1
type V1WorkspacesGetallUnauthorized struct {
}V1WorkspacesGetallUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewV1WorkspacesGetallUnauthorized ¶ added in v1.5.1
func NewV1WorkspacesGetallUnauthorized() *V1WorkspacesGetallUnauthorized
NewV1WorkspacesGetallUnauthorized creates a V1WorkspacesGetallUnauthorized with default headers values
func (*V1WorkspacesGetallUnauthorized) Code ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) Code() int
Code gets the status code for the v1 workspaces getall unauthorized response
func (*V1WorkspacesGetallUnauthorized) Error ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) Error() string
func (*V1WorkspacesGetallUnauthorized) GetPayload ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) GetPayload() *models.Error
func (*V1WorkspacesGetallUnauthorized) IsClientError ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) IsClientError() bool
IsClientError returns true when this v1 workspaces getall unauthorized response has a 4xx status code
func (*V1WorkspacesGetallUnauthorized) IsCode ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) IsCode(code int) bool
IsCode returns true when this v1 workspaces getall unauthorized response a status code equal to that given
func (*V1WorkspacesGetallUnauthorized) IsRedirect ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) IsRedirect() bool
IsRedirect returns true when this v1 workspaces getall unauthorized response has a 3xx status code
func (*V1WorkspacesGetallUnauthorized) IsServerError ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) IsServerError() bool
IsServerError returns true when this v1 workspaces getall unauthorized response has a 5xx status code
func (*V1WorkspacesGetallUnauthorized) IsSuccess ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) IsSuccess() bool
IsSuccess returns true when this v1 workspaces getall unauthorized response has a 2xx status code
func (*V1WorkspacesGetallUnauthorized) String ¶ added in v1.5.1
func (o *V1WorkspacesGetallUnauthorized) String() string