Documentation ¶
Index ¶
- type Client
- func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateOK, error)
- func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteOK, error)
- func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
- func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListOK, error)
- func (a *Client) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SessionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type CreateDefault
- func (o *CreateDefault) Code() int
- func (o *CreateDefault) Error() string
- func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *CreateDefault) IsClientError() bool
- func (o *CreateDefault) IsCode(code int) bool
- func (o *CreateDefault) IsRedirect() bool
- func (o *CreateDefault) IsServerError() bool
- func (o *CreateDefault) IsSuccess() bool
- func (o *CreateDefault) String() string
- type CreateOK
- func (o *CreateOK) Error() string
- func (o *CreateOK) GetPayload() *models.HashicorpCloudBoundary20211221CreateResponse
- func (o *CreateOK) IsClientError() bool
- func (o *CreateOK) IsCode(code int) bool
- func (o *CreateOK) IsRedirect() bool
- func (o *CreateOK) IsServerError() bool
- func (o *CreateOK) IsSuccess() bool
- func (o *CreateOK) String() string
- type CreateParams
- func (o *CreateParams) SetBody(body *models.HashicorpCloudBoundary20211221CreateRequest)
- func (o *CreateParams) SetContext(ctx context.Context)
- func (o *CreateParams) SetDefaults()
- func (o *CreateParams) SetHTTPClient(client *http.Client)
- func (o *CreateParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *CreateParams) SetLocationProjectID(locationProjectID string)
- func (o *CreateParams) SetTimeout(timeout time.Duration)
- func (o *CreateParams) WithBody(body *models.HashicorpCloudBoundary20211221CreateRequest) *CreateParams
- func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
- func (o *CreateParams) WithDefaults() *CreateParams
- func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
- func (o *CreateParams) WithLocationOrganizationID(locationOrganizationID string) *CreateParams
- func (o *CreateParams) WithLocationProjectID(locationProjectID string) *CreateParams
- func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
- func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateReader
- type DeleteDefault
- func (o *DeleteDefault) Code() int
- func (o *DeleteDefault) Error() string
- func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *DeleteDefault) IsClientError() bool
- func (o *DeleteDefault) IsCode(code int) bool
- func (o *DeleteDefault) IsRedirect() bool
- func (o *DeleteDefault) IsServerError() bool
- func (o *DeleteDefault) IsSuccess() bool
- func (o *DeleteDefault) String() string
- type DeleteOK
- func (o *DeleteOK) Error() string
- func (o *DeleteOK) GetPayload() *models.HashicorpCloudBoundary20211221DeleteResponse
- func (o *DeleteOK) IsClientError() bool
- func (o *DeleteOK) IsCode(code int) bool
- func (o *DeleteOK) IsRedirect() bool
- func (o *DeleteOK) IsServerError() bool
- func (o *DeleteOK) IsSuccess() bool
- func (o *DeleteOK) String() string
- type DeleteParams
- func (o *DeleteParams) SetClusterID(clusterID string)
- func (o *DeleteParams) SetContext(ctx context.Context)
- func (o *DeleteParams) SetDefaults()
- func (o *DeleteParams) SetHTTPClient(client *http.Client)
- func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *DeleteParams) SetLocationProjectID(locationProjectID string)
- func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *DeleteParams) SetTimeout(timeout time.Duration)
- func (o *DeleteParams) WithClusterID(clusterID string) *DeleteParams
- func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
- func (o *DeleteParams) WithDefaults() *DeleteParams
- func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
- func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams
- func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams
- func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams
- func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
- func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteReader
- type GetDefault
- func (o *GetDefault) Code() int
- func (o *GetDefault) Error() string
- func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *GetDefault) IsClientError() bool
- func (o *GetDefault) IsCode(code int) bool
- func (o *GetDefault) IsRedirect() bool
- func (o *GetDefault) IsServerError() bool
- func (o *GetDefault) IsSuccess() bool
- func (o *GetDefault) String() string
- type GetOK
- func (o *GetOK) Error() string
- func (o *GetOK) GetPayload() *models.HashicorpCloudBoundary20211221GetResponse
- func (o *GetOK) IsClientError() bool
- func (o *GetOK) IsCode(code int) bool
- func (o *GetOK) IsRedirect() bool
- func (o *GetOK) IsServerError() bool
- func (o *GetOK) IsSuccess() bool
- func (o *GetOK) String() string
- type GetParams
- func (o *GetParams) SetClusterID(clusterID string)
- func (o *GetParams) SetContext(ctx context.Context)
- func (o *GetParams) SetDefaults()
- func (o *GetParams) SetHTTPClient(client *http.Client)
- func (o *GetParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *GetParams) SetLocationProjectID(locationProjectID string)
- func (o *GetParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *GetParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *GetParams) SetTimeout(timeout time.Duration)
- func (o *GetParams) WithClusterID(clusterID string) *GetParams
- func (o *GetParams) WithContext(ctx context.Context) *GetParams
- func (o *GetParams) WithDefaults() *GetParams
- func (o *GetParams) WithHTTPClient(client *http.Client) *GetParams
- func (o *GetParams) WithLocationOrganizationID(locationOrganizationID string) *GetParams
- func (o *GetParams) WithLocationProjectID(locationProjectID string) *GetParams
- func (o *GetParams) WithLocationRegionProvider(locationRegionProvider *string) *GetParams
- func (o *GetParams) WithLocationRegionRegion(locationRegionRegion *string) *GetParams
- func (o *GetParams) WithTimeout(timeout time.Duration) *GetParams
- func (o *GetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetReader
- type ListDefault
- func (o *ListDefault) Code() int
- func (o *ListDefault) Error() string
- func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *ListDefault) IsClientError() bool
- func (o *ListDefault) IsCode(code int) bool
- func (o *ListDefault) IsRedirect() bool
- func (o *ListDefault) IsServerError() bool
- func (o *ListDefault) IsSuccess() bool
- func (o *ListDefault) String() string
- type ListOK
- func (o *ListOK) Error() string
- func (o *ListOK) GetPayload() *models.HashicorpCloudBoundary20211221ListResponse
- func (o *ListOK) IsClientError() bool
- func (o *ListOK) IsCode(code int) bool
- func (o *ListOK) IsRedirect() bool
- func (o *ListOK) IsServerError() bool
- func (o *ListOK) IsSuccess() bool
- func (o *ListOK) String() string
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- func (o *ListParams) SetDefaults()
- func (o *ListParams) SetHTTPClient(client *http.Client)
- func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *ListParams) SetLocationProjectID(locationProjectID string)
- func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
- func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)
- func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
- func (o *ListParams) SetTimeout(timeout time.Duration)
- func (o *ListParams) WithContext(ctx context.Context) *ListParams
- func (o *ListParams) WithDefaults() *ListParams
- func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
- func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams
- func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams
- func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams
- func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams
- func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams
- func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams
- func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams
- func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
- func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReader
- type SessionsDefault
- func (o *SessionsDefault) Code() int
- func (o *SessionsDefault) Error() string
- func (o *SessionsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *SessionsDefault) IsClientError() bool
- func (o *SessionsDefault) IsCode(code int) bool
- func (o *SessionsDefault) IsRedirect() bool
- func (o *SessionsDefault) IsServerError() bool
- func (o *SessionsDefault) IsSuccess() bool
- func (o *SessionsDefault) String() string
- type SessionsOK
- func (o *SessionsOK) Error() string
- func (o *SessionsOK) GetPayload() *models.HashicorpCloudBoundary20211221SessionsResponse
- func (o *SessionsOK) IsClientError() bool
- func (o *SessionsOK) IsCode(code int) bool
- func (o *SessionsOK) IsRedirect() bool
- func (o *SessionsOK) IsServerError() bool
- func (o *SessionsOK) IsSuccess() bool
- func (o *SessionsOK) String() string
- type SessionsParams
- func (o *SessionsParams) SetClusterID(clusterID string)
- func (o *SessionsParams) SetContext(ctx context.Context)
- func (o *SessionsParams) SetDefaults()
- func (o *SessionsParams) SetHTTPClient(client *http.Client)
- func (o *SessionsParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *SessionsParams) SetLocationProjectID(locationProjectID string)
- func (o *SessionsParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *SessionsParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *SessionsParams) SetTimeout(timeout time.Duration)
- func (o *SessionsParams) WithClusterID(clusterID string) *SessionsParams
- func (o *SessionsParams) WithContext(ctx context.Context) *SessionsParams
- func (o *SessionsParams) WithDefaults() *SessionsParams
- func (o *SessionsParams) WithHTTPClient(client *http.Client) *SessionsParams
- func (o *SessionsParams) WithLocationOrganizationID(locationOrganizationID string) *SessionsParams
- func (o *SessionsParams) WithLocationProjectID(locationProjectID string) *SessionsParams
- func (o *SessionsParams) WithLocationRegionProvider(locationRegionProvider *string) *SessionsParams
- func (o *SessionsParams) WithLocationRegionRegion(locationRegionRegion *string) *SessionsParams
- func (o *SessionsParams) WithTimeout(timeout time.Duration) *SessionsParams
- func (o *SessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SessionsReader
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 boundary service API
func (*Client) Create ¶
func (a *Client) Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error)
Create creates creates a new h c p boundary cluster
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error)
Delete deletes deletes the specified h c p boundary cluster
func (*Client) Get ¶
func (a *Client) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error)
Get gets returns a single existing h c p boundary cluster
func (*Client) List ¶
func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error)
List lists returns all existing h c p boundary clusters
func (*Client) Sessions ¶
func (a *Client) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SessionsOK, error)
Sessions sessions returns all session information for existing h c p boundary cluster
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶ added in v0.23.0
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateOK, error) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteOK, error) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOK, error) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListOK, error) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SessionsOK, 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 boundary service API client.
type CreateDefault ¶
type CreateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
CreateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreateDefault ¶
func NewCreateDefault(code int) *CreateDefault
NewCreateDefault creates a CreateDefault with default headers values
func (*CreateDefault) Code ¶
func (o *CreateDefault) Code() int
Code gets the status code for the create default response
func (*CreateDefault) Error ¶
func (o *CreateDefault) Error() string
func (*CreateDefault) GetPayload ¶
func (o *CreateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*CreateDefault) IsClientError ¶ added in v0.23.0
func (o *CreateDefault) IsClientError() bool
IsClientError returns true when this create default response has a 4xx status code
func (*CreateDefault) IsCode ¶ added in v0.23.0
func (o *CreateDefault) IsCode(code int) bool
IsCode returns true when this create default response a status code equal to that given
func (*CreateDefault) IsRedirect ¶ added in v0.23.0
func (o *CreateDefault) IsRedirect() bool
IsRedirect returns true when this create default response has a 3xx status code
func (*CreateDefault) IsServerError ¶ added in v0.23.0
func (o *CreateDefault) IsServerError() bool
IsServerError returns true when this create default response has a 5xx status code
func (*CreateDefault) IsSuccess ¶ added in v0.23.0
func (o *CreateDefault) IsSuccess() bool
IsSuccess returns true when this create default response has a 2xx status code
func (*CreateDefault) String ¶ added in v0.23.0
func (o *CreateDefault) String() string
type CreateOK ¶
type CreateOK struct {
Payload *models.HashicorpCloudBoundary20211221CreateResponse
}
CreateOK describes a response with status code 200, with default header values.
A successful response.
func NewCreateOK ¶
func NewCreateOK() *CreateOK
NewCreateOK creates a CreateOK with default headers values
func (*CreateOK) GetPayload ¶
func (o *CreateOK) GetPayload() *models.HashicorpCloudBoundary20211221CreateResponse
func (*CreateOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this create o k response has a 4xx status code
func (*CreateOK) IsCode ¶ added in v0.23.0
IsCode returns true when this create o k response a status code equal to that given
func (*CreateOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this create o k response has a 3xx status code
func (*CreateOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this create o k response has a 5xx status code
type CreateParams ¶
type CreateParams struct { // Body. Body *models.HashicorpCloudBoundary20211221CreateRequest /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateParams contains all the parameters to send to the API endpoint
for the create operation. Typically these are written to a http.Request.
func NewCreateParams ¶
func NewCreateParams() *CreateParams
NewCreateParams creates a new CreateParams 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 NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the ability to set a context for a request.
func NewCreateParamsWithHTTPClient ¶
func NewCreateParamsWithHTTPClient(client *http.Client) *CreateParams
NewCreateParamsWithHTTPClient creates a new CreateParams object with the ability to set a custom HTTPClient for a request.
func NewCreateParamsWithTimeout ¶
func NewCreateParamsWithTimeout(timeout time.Duration) *CreateParams
NewCreateParamsWithTimeout creates a new CreateParams object with the ability to set a timeout on a request.
func (*CreateParams) SetBody ¶
func (o *CreateParams) SetBody(body *models.HashicorpCloudBoundary20211221CreateRequest)
SetBody adds the body to the create params
func (*CreateParams) SetContext ¶
func (o *CreateParams) SetContext(ctx context.Context)
SetContext adds the context to the create params
func (*CreateParams) SetDefaults ¶ added in v0.23.0
func (o *CreateParams) SetDefaults()
SetDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) SetHTTPClient ¶
func (o *CreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create params
func (*CreateParams) SetLocationOrganizationID ¶
func (o *CreateParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the create params
func (*CreateParams) SetLocationProjectID ¶
func (o *CreateParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the create params
func (*CreateParams) SetTimeout ¶
func (o *CreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create params
func (*CreateParams) WithBody ¶
func (o *CreateParams) WithBody(body *models.HashicorpCloudBoundary20211221CreateRequest) *CreateParams
WithBody adds the body to the create params
func (*CreateParams) WithContext ¶
func (o *CreateParams) WithContext(ctx context.Context) *CreateParams
WithContext adds the context to the create params
func (*CreateParams) WithDefaults ¶ added in v0.23.0
func (o *CreateParams) WithDefaults() *CreateParams
WithDefaults hydrates default values in the create params (not the query body).
All values with no default are reset to their zero value.
func (*CreateParams) WithHTTPClient ¶
func (o *CreateParams) WithHTTPClient(client *http.Client) *CreateParams
WithHTTPClient adds the HTTPClient to the create params
func (*CreateParams) WithLocationOrganizationID ¶
func (o *CreateParams) WithLocationOrganizationID(locationOrganizationID string) *CreateParams
WithLocationOrganizationID adds the locationOrganizationID to the create params
func (*CreateParams) WithLocationProjectID ¶
func (o *CreateParams) WithLocationProjectID(locationProjectID string) *CreateParams
WithLocationProjectID adds the locationProjectID to the create params
func (*CreateParams) WithTimeout ¶
func (o *CreateParams) WithTimeout(timeout time.Duration) *CreateParams
WithTimeout adds the timeout to the create params
func (*CreateParams) WriteToRequest ¶
func (o *CreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateReader ¶
type CreateReader struct {
// contains filtered or unexported fields
}
CreateReader is a Reader for the Create structure.
func (*CreateReader) ReadResponse ¶
func (o *CreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteDefault ¶
type DeleteDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
DeleteDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeleteDefault ¶
func NewDeleteDefault(code int) *DeleteDefault
NewDeleteDefault creates a DeleteDefault with default headers values
func (*DeleteDefault) Code ¶
func (o *DeleteDefault) Code() int
Code gets the status code for the delete default response
func (*DeleteDefault) Error ¶
func (o *DeleteDefault) Error() string
func (*DeleteDefault) GetPayload ¶
func (o *DeleteDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*DeleteDefault) IsClientError ¶ added in v0.23.0
func (o *DeleteDefault) IsClientError() bool
IsClientError returns true when this delete default response has a 4xx status code
func (*DeleteDefault) IsCode ¶ added in v0.23.0
func (o *DeleteDefault) IsCode(code int) bool
IsCode returns true when this delete default response a status code equal to that given
func (*DeleteDefault) IsRedirect ¶ added in v0.23.0
func (o *DeleteDefault) IsRedirect() bool
IsRedirect returns true when this delete default response has a 3xx status code
func (*DeleteDefault) IsServerError ¶ added in v0.23.0
func (o *DeleteDefault) IsServerError() bool
IsServerError returns true when this delete default response has a 5xx status code
func (*DeleteDefault) IsSuccess ¶ added in v0.23.0
func (o *DeleteDefault) IsSuccess() bool
IsSuccess returns true when this delete default response has a 2xx status code
func (*DeleteDefault) String ¶ added in v0.23.0
func (o *DeleteDefault) String() string
type DeleteOK ¶
type DeleteOK struct {
Payload *models.HashicorpCloudBoundary20211221DeleteResponse
}
DeleteOK describes a response with status code 200, with default header values.
A successful response.
func NewDeleteOK ¶
func NewDeleteOK() *DeleteOK
NewDeleteOK creates a DeleteOK with default headers values
func (*DeleteOK) GetPayload ¶
func (o *DeleteOK) GetPayload() *models.HashicorpCloudBoundary20211221DeleteResponse
func (*DeleteOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this delete o k response has a 4xx status code
func (*DeleteOK) IsCode ¶ added in v0.23.0
IsCode returns true when this delete o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this delete o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this delete o k response has a 5xx status code
type DeleteParams ¶
type DeleteParams struct { /* ClusterID. cluster_id is the id of the cluster set by user on creation. */ ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteParams contains all the parameters to send to the API endpoint
for the delete operation. Typically these are written to a http.Request.
func NewDeleteParams ¶
func NewDeleteParams() *DeleteParams
NewDeleteParams creates a new DeleteParams 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 NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the ability to set a context for a request.
func NewDeleteParamsWithHTTPClient ¶
func NewDeleteParamsWithHTTPClient(client *http.Client) *DeleteParams
NewDeleteParamsWithHTTPClient creates a new DeleteParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteParamsWithTimeout ¶
func NewDeleteParamsWithTimeout(timeout time.Duration) *DeleteParams
NewDeleteParamsWithTimeout creates a new DeleteParams object with the ability to set a timeout on a request.
func (*DeleteParams) SetClusterID ¶
func (o *DeleteParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the delete params
func (*DeleteParams) SetContext ¶
func (o *DeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the delete params
func (*DeleteParams) SetDefaults ¶ added in v0.23.0
func (o *DeleteParams) SetDefaults()
SetDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) SetHTTPClient ¶
func (o *DeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) SetLocationOrganizationID ¶
func (o *DeleteParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the delete params
func (*DeleteParams) SetLocationProjectID ¶
func (o *DeleteParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the delete params
func (*DeleteParams) SetLocationRegionProvider ¶
func (o *DeleteParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the delete params
func (*DeleteParams) SetLocationRegionRegion ¶
func (o *DeleteParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the delete params
func (*DeleteParams) SetTimeout ¶
func (o *DeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete params
func (*DeleteParams) WithClusterID ¶
func (o *DeleteParams) WithClusterID(clusterID string) *DeleteParams
WithClusterID adds the clusterID to the delete params
func (*DeleteParams) WithContext ¶
func (o *DeleteParams) WithContext(ctx context.Context) *DeleteParams
WithContext adds the context to the delete params
func (*DeleteParams) WithDefaults ¶ added in v0.23.0
func (o *DeleteParams) WithDefaults() *DeleteParams
WithDefaults hydrates default values in the delete params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteParams) WithHTTPClient ¶
func (o *DeleteParams) WithHTTPClient(client *http.Client) *DeleteParams
WithHTTPClient adds the HTTPClient to the delete params
func (*DeleteParams) WithLocationOrganizationID ¶
func (o *DeleteParams) WithLocationOrganizationID(locationOrganizationID string) *DeleteParams
WithLocationOrganizationID adds the locationOrganizationID to the delete params
func (*DeleteParams) WithLocationProjectID ¶
func (o *DeleteParams) WithLocationProjectID(locationProjectID string) *DeleteParams
WithLocationProjectID adds the locationProjectID to the delete params
func (*DeleteParams) WithLocationRegionProvider ¶
func (o *DeleteParams) WithLocationRegionProvider(locationRegionProvider *string) *DeleteParams
WithLocationRegionProvider adds the locationRegionProvider to the delete params
func (*DeleteParams) WithLocationRegionRegion ¶
func (o *DeleteParams) WithLocationRegionRegion(locationRegionRegion *string) *DeleteParams
WithLocationRegionRegion adds the locationRegionRegion to the delete params
func (*DeleteParams) WithTimeout ¶
func (o *DeleteParams) WithTimeout(timeout time.Duration) *DeleteParams
WithTimeout adds the timeout to the delete params
func (*DeleteParams) WriteToRequest ¶
func (o *DeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteReader ¶
type DeleteReader struct {
// contains filtered or unexported fields
}
DeleteReader is a Reader for the Delete structure.
func (*DeleteReader) ReadResponse ¶
func (o *DeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDefault ¶
type GetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
GetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetDefault ¶
func NewGetDefault(code int) *GetDefault
NewGetDefault creates a GetDefault with default headers values
func (*GetDefault) Code ¶
func (o *GetDefault) Code() int
Code gets the status code for the get default response
func (*GetDefault) Error ¶
func (o *GetDefault) Error() string
func (*GetDefault) GetPayload ¶
func (o *GetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*GetDefault) IsClientError ¶ added in v0.23.0
func (o *GetDefault) IsClientError() bool
IsClientError returns true when this get default response has a 4xx status code
func (*GetDefault) IsCode ¶ added in v0.23.0
func (o *GetDefault) IsCode(code int) bool
IsCode returns true when this get default response a status code equal to that given
func (*GetDefault) IsRedirect ¶ added in v0.23.0
func (o *GetDefault) IsRedirect() bool
IsRedirect returns true when this get default response has a 3xx status code
func (*GetDefault) IsServerError ¶ added in v0.23.0
func (o *GetDefault) IsServerError() bool
IsServerError returns true when this get default response has a 5xx status code
func (*GetDefault) IsSuccess ¶ added in v0.23.0
func (o *GetDefault) IsSuccess() bool
IsSuccess returns true when this get default response has a 2xx status code
func (*GetDefault) String ¶ added in v0.23.0
func (o *GetDefault) String() string
type GetOK ¶
type GetOK struct {
Payload *models.HashicorpCloudBoundary20211221GetResponse
}
GetOK describes a response with status code 200, with default header values.
A successful response.
func (*GetOK) GetPayload ¶
func (o *GetOK) GetPayload() *models.HashicorpCloudBoundary20211221GetResponse
func (*GetOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this get o k response has a 4xx status code
func (*GetOK) IsCode ¶ added in v0.23.0
IsCode returns true when this get o k response a status code equal to that given
func (*GetOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this get o k response has a 3xx status code
func (*GetOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this get o k response has a 5xx status code
type GetParams ¶
type GetParams struct { /* ClusterID. cluster_id is the id of the cluster set by user on creation. */ ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetParams contains all the parameters to send to the API endpoint
for the get operation. Typically these are written to a http.Request.
func NewGetParams ¶
func NewGetParams() *GetParams
NewGetParams creates a new GetParams 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 NewGetParamsWithContext ¶
NewGetParamsWithContext creates a new GetParams object with the ability to set a context for a request.
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the ability to set a custom HTTPClient for a request.
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the ability to set a timeout on a request.
func (*GetParams) SetClusterID ¶
SetClusterID adds the clusterId to the get params
func (*GetParams) SetContext ¶
SetContext adds the context to the get params
func (*GetParams) SetDefaults ¶ added in v0.23.0
func (o *GetParams) SetDefaults()
SetDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) SetHTTPClient ¶
SetHTTPClient adds the HTTPClient to the get params
func (*GetParams) SetLocationOrganizationID ¶
SetLocationOrganizationID adds the locationOrganizationId to the get params
func (*GetParams) SetLocationProjectID ¶
SetLocationProjectID adds the locationProjectId to the get params
func (*GetParams) SetLocationRegionProvider ¶
SetLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) SetLocationRegionRegion ¶
SetLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) SetTimeout ¶
SetTimeout adds the timeout to the get params
func (*GetParams) WithClusterID ¶
WithClusterID adds the clusterID to the get params
func (*GetParams) WithContext ¶
WithContext adds the context to the get params
func (*GetParams) WithDefaults ¶ added in v0.23.0
WithDefaults hydrates default values in the get params (not the query body).
All values with no default are reset to their zero value.
func (*GetParams) WithHTTPClient ¶
WithHTTPClient adds the HTTPClient to the get params
func (*GetParams) WithLocationOrganizationID ¶
WithLocationOrganizationID adds the locationOrganizationID to the get params
func (*GetParams) WithLocationProjectID ¶
WithLocationProjectID adds the locationProjectID to the get params
func (*GetParams) WithLocationRegionProvider ¶
WithLocationRegionProvider adds the locationRegionProvider to the get params
func (*GetParams) WithLocationRegionRegion ¶
WithLocationRegionRegion adds the locationRegionRegion to the get params
func (*GetParams) WithTimeout ¶
WithTimeout adds the timeout to the get params
func (*GetParams) WriteToRequest ¶
WriteToRequest writes these params to a swagger request
type GetReader ¶
type GetReader struct {
// contains filtered or unexported fields
}
GetReader is a Reader for the Get structure.
func (*GetReader) ReadResponse ¶
func (o *GetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListDefault ¶
type ListDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
ListDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListDefault ¶
func NewListDefault(code int) *ListDefault
NewListDefault creates a ListDefault with default headers values
func (*ListDefault) Code ¶
func (o *ListDefault) Code() int
Code gets the status code for the list default response
func (*ListDefault) Error ¶
func (o *ListDefault) Error() string
func (*ListDefault) GetPayload ¶
func (o *ListDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*ListDefault) IsClientError ¶ added in v0.23.0
func (o *ListDefault) IsClientError() bool
IsClientError returns true when this list default response has a 4xx status code
func (*ListDefault) IsCode ¶ added in v0.23.0
func (o *ListDefault) IsCode(code int) bool
IsCode returns true when this list default response a status code equal to that given
func (*ListDefault) IsRedirect ¶ added in v0.23.0
func (o *ListDefault) IsRedirect() bool
IsRedirect returns true when this list default response has a 3xx status code
func (*ListDefault) IsServerError ¶ added in v0.23.0
func (o *ListDefault) IsServerError() bool
IsServerError returns true when this list default response has a 5xx status code
func (*ListDefault) IsSuccess ¶ added in v0.23.0
func (o *ListDefault) IsSuccess() bool
IsSuccess returns true when this list default response has a 2xx status code
func (*ListDefault) String ¶ added in v0.23.0
func (o *ListDefault) String() string
type ListOK ¶
type ListOK struct {
Payload *models.HashicorpCloudBoundary20211221ListResponse
}
ListOK describes a response with status code 200, with default header values.
A successful response.
func (*ListOK) GetPayload ¶
func (o *ListOK) GetPayload() *models.HashicorpCloudBoundary20211221ListResponse
func (*ListOK) IsClientError ¶ added in v0.23.0
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶ added in v0.23.0
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶ added in v0.23.0
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶ added in v0.23.0
IsServerError returns true when this list o k response has a 5xx status code
type ListParams ¶
type ListParams struct { /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string /* PaginationNextPageToken. Specifies a page token to use to retrieve the next page. Set this to the `next_page_token` returned by previous list requests to get the next page of results. If set, `previous_page_token` must not be set. */ PaginationNextPageToken *string /* PaginationPageSize. The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. A value of zero will cause `page_size` to be defaulted. Format: int64 */ PaginationPageSize *int64 /* PaginationPreviousPageToken. Specifies a page token to use to retrieve the previous page. Set this to the `previous_page_token` returned by previous list requests to get the previous page of results. If set, `next_page_token` must not be set. */ PaginationPreviousPageToken *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListParams contains all the parameters to send to the API endpoint
for the list operation. Typically these are written to a http.Request.
func NewListParams ¶
func NewListParams() *ListParams
NewListParams creates a new ListParams 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 NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with the ability to set a context for a request.
func NewListParamsWithHTTPClient ¶
func NewListParamsWithHTTPClient(client *http.Client) *ListParams
NewListParamsWithHTTPClient creates a new ListParams object with the ability to set a custom HTTPClient for a request.
func NewListParamsWithTimeout ¶
func NewListParamsWithTimeout(timeout time.Duration) *ListParams
NewListParamsWithTimeout creates a new ListParams object with the ability to set a timeout on a request.
func (*ListParams) SetContext ¶
func (o *ListParams) SetContext(ctx context.Context)
SetContext adds the context to the list params
func (*ListParams) SetDefaults ¶ added in v0.23.0
func (o *ListParams) SetDefaults()
SetDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) SetHTTPClient ¶
func (o *ListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list params
func (*ListParams) SetLocationOrganizationID ¶
func (o *ListParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the list params
func (*ListParams) SetLocationProjectID ¶
func (o *ListParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the list params
func (*ListParams) SetLocationRegionProvider ¶
func (o *ListParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the list params
func (*ListParams) SetLocationRegionRegion ¶
func (o *ListParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the list params
func (*ListParams) SetPaginationNextPageToken ¶
func (o *ListParams) SetPaginationNextPageToken(paginationNextPageToken *string)
SetPaginationNextPageToken adds the paginationNextPageToken to the list params
func (*ListParams) SetPaginationPageSize ¶
func (o *ListParams) SetPaginationPageSize(paginationPageSize *int64)
SetPaginationPageSize adds the paginationPageSize to the list params
func (*ListParams) SetPaginationPreviousPageToken ¶
func (o *ListParams) SetPaginationPreviousPageToken(paginationPreviousPageToken *string)
SetPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params
func (*ListParams) SetTimeout ¶
func (o *ListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list params
func (*ListParams) WithContext ¶
func (o *ListParams) WithContext(ctx context.Context) *ListParams
WithContext adds the context to the list params
func (*ListParams) WithDefaults ¶ added in v0.23.0
func (o *ListParams) WithDefaults() *ListParams
WithDefaults hydrates default values in the list params (not the query body).
All values with no default are reset to their zero value.
func (*ListParams) WithHTTPClient ¶
func (o *ListParams) WithHTTPClient(client *http.Client) *ListParams
WithHTTPClient adds the HTTPClient to the list params
func (*ListParams) WithLocationOrganizationID ¶
func (o *ListParams) WithLocationOrganizationID(locationOrganizationID string) *ListParams
WithLocationOrganizationID adds the locationOrganizationID to the list params
func (*ListParams) WithLocationProjectID ¶
func (o *ListParams) WithLocationProjectID(locationProjectID string) *ListParams
WithLocationProjectID adds the locationProjectID to the list params
func (*ListParams) WithLocationRegionProvider ¶
func (o *ListParams) WithLocationRegionProvider(locationRegionProvider *string) *ListParams
WithLocationRegionProvider adds the locationRegionProvider to the list params
func (*ListParams) WithLocationRegionRegion ¶
func (o *ListParams) WithLocationRegionRegion(locationRegionRegion *string) *ListParams
WithLocationRegionRegion adds the locationRegionRegion to the list params
func (*ListParams) WithPaginationNextPageToken ¶
func (o *ListParams) WithPaginationNextPageToken(paginationNextPageToken *string) *ListParams
WithPaginationNextPageToken adds the paginationNextPageToken to the list params
func (*ListParams) WithPaginationPageSize ¶
func (o *ListParams) WithPaginationPageSize(paginationPageSize *int64) *ListParams
WithPaginationPageSize adds the paginationPageSize to the list params
func (*ListParams) WithPaginationPreviousPageToken ¶
func (o *ListParams) WithPaginationPreviousPageToken(paginationPreviousPageToken *string) *ListParams
WithPaginationPreviousPageToken adds the paginationPreviousPageToken to the list params
func (*ListParams) WithTimeout ¶
func (o *ListParams) WithTimeout(timeout time.Duration) *ListParams
WithTimeout adds the timeout to the list params
func (*ListParams) WriteToRequest ¶
func (o *ListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListReader ¶
type ListReader struct {
// contains filtered or unexported fields
}
ListReader is a Reader for the List structure.
func (*ListReader) ReadResponse ¶
func (o *ListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type SessionsDefault ¶
type SessionsDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
SessionsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewSessionsDefault ¶
func NewSessionsDefault(code int) *SessionsDefault
NewSessionsDefault creates a SessionsDefault with default headers values
func (*SessionsDefault) Code ¶
func (o *SessionsDefault) Code() int
Code gets the status code for the sessions default response
func (*SessionsDefault) Error ¶
func (o *SessionsDefault) Error() string
func (*SessionsDefault) GetPayload ¶
func (o *SessionsDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*SessionsDefault) IsClientError ¶ added in v0.23.0
func (o *SessionsDefault) IsClientError() bool
IsClientError returns true when this sessions default response has a 4xx status code
func (*SessionsDefault) IsCode ¶ added in v0.23.0
func (o *SessionsDefault) IsCode(code int) bool
IsCode returns true when this sessions default response a status code equal to that given
func (*SessionsDefault) IsRedirect ¶ added in v0.23.0
func (o *SessionsDefault) IsRedirect() bool
IsRedirect returns true when this sessions default response has a 3xx status code
func (*SessionsDefault) IsServerError ¶ added in v0.23.0
func (o *SessionsDefault) IsServerError() bool
IsServerError returns true when this sessions default response has a 5xx status code
func (*SessionsDefault) IsSuccess ¶ added in v0.23.0
func (o *SessionsDefault) IsSuccess() bool
IsSuccess returns true when this sessions default response has a 2xx status code
func (*SessionsDefault) String ¶ added in v0.23.0
func (o *SessionsDefault) String() string
type SessionsOK ¶
type SessionsOK struct {
Payload *models.HashicorpCloudBoundary20211221SessionsResponse
}
SessionsOK describes a response with status code 200, with default header values.
A successful response.
func NewSessionsOK ¶
func NewSessionsOK() *SessionsOK
NewSessionsOK creates a SessionsOK with default headers values
func (*SessionsOK) Error ¶
func (o *SessionsOK) Error() string
func (*SessionsOK) GetPayload ¶
func (o *SessionsOK) GetPayload() *models.HashicorpCloudBoundary20211221SessionsResponse
func (*SessionsOK) IsClientError ¶ added in v0.23.0
func (o *SessionsOK) IsClientError() bool
IsClientError returns true when this sessions o k response has a 4xx status code
func (*SessionsOK) IsCode ¶ added in v0.23.0
func (o *SessionsOK) IsCode(code int) bool
IsCode returns true when this sessions o k response a status code equal to that given
func (*SessionsOK) IsRedirect ¶ added in v0.23.0
func (o *SessionsOK) IsRedirect() bool
IsRedirect returns true when this sessions o k response has a 3xx status code
func (*SessionsOK) IsServerError ¶ added in v0.23.0
func (o *SessionsOK) IsServerError() bool
IsServerError returns true when this sessions o k response has a 5xx status code
func (*SessionsOK) IsSuccess ¶ added in v0.23.0
func (o *SessionsOK) IsSuccess() bool
IsSuccess returns true when this sessions o k response has a 2xx status code
func (*SessionsOK) String ¶ added in v0.23.0
func (o *SessionsOK) String() string
type SessionsParams ¶
type SessionsParams struct { /* ClusterID. cluster_id is the id of the cluster set by user on creation. */ ClusterID string /* LocationOrganizationID. organization_id is the id of the organization. */ LocationOrganizationID string /* LocationProjectID. project_id is the projects id. */ LocationProjectID string /* LocationRegionProvider. provider is the named cloud provider ("aws", "gcp", "azure"). */ LocationRegionProvider *string /* LocationRegionRegion. region is the cloud region ("us-west1", "us-east1"). */ LocationRegionRegion *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
SessionsParams contains all the parameters to send to the API endpoint
for the sessions operation. Typically these are written to a http.Request.
func NewSessionsParams ¶
func NewSessionsParams() *SessionsParams
NewSessionsParams creates a new SessionsParams 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 NewSessionsParamsWithContext ¶
func NewSessionsParamsWithContext(ctx context.Context) *SessionsParams
NewSessionsParamsWithContext creates a new SessionsParams object with the ability to set a context for a request.
func NewSessionsParamsWithHTTPClient ¶
func NewSessionsParamsWithHTTPClient(client *http.Client) *SessionsParams
NewSessionsParamsWithHTTPClient creates a new SessionsParams object with the ability to set a custom HTTPClient for a request.
func NewSessionsParamsWithTimeout ¶
func NewSessionsParamsWithTimeout(timeout time.Duration) *SessionsParams
NewSessionsParamsWithTimeout creates a new SessionsParams object with the ability to set a timeout on a request.
func (*SessionsParams) SetClusterID ¶
func (o *SessionsParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the sessions params
func (*SessionsParams) SetContext ¶
func (o *SessionsParams) SetContext(ctx context.Context)
SetContext adds the context to the sessions params
func (*SessionsParams) SetDefaults ¶ added in v0.23.0
func (o *SessionsParams) SetDefaults()
SetDefaults hydrates default values in the sessions params (not the query body).
All values with no default are reset to their zero value.
func (*SessionsParams) SetHTTPClient ¶
func (o *SessionsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the sessions params
func (*SessionsParams) SetLocationOrganizationID ¶
func (o *SessionsParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the sessions params
func (*SessionsParams) SetLocationProjectID ¶
func (o *SessionsParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the sessions params
func (*SessionsParams) SetLocationRegionProvider ¶
func (o *SessionsParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the sessions params
func (*SessionsParams) SetLocationRegionRegion ¶
func (o *SessionsParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the sessions params
func (*SessionsParams) SetTimeout ¶
func (o *SessionsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the sessions params
func (*SessionsParams) WithClusterID ¶
func (o *SessionsParams) WithClusterID(clusterID string) *SessionsParams
WithClusterID adds the clusterID to the sessions params
func (*SessionsParams) WithContext ¶
func (o *SessionsParams) WithContext(ctx context.Context) *SessionsParams
WithContext adds the context to the sessions params
func (*SessionsParams) WithDefaults ¶ added in v0.23.0
func (o *SessionsParams) WithDefaults() *SessionsParams
WithDefaults hydrates default values in the sessions params (not the query body).
All values with no default are reset to their zero value.
func (*SessionsParams) WithHTTPClient ¶
func (o *SessionsParams) WithHTTPClient(client *http.Client) *SessionsParams
WithHTTPClient adds the HTTPClient to the sessions params
func (*SessionsParams) WithLocationOrganizationID ¶
func (o *SessionsParams) WithLocationOrganizationID(locationOrganizationID string) *SessionsParams
WithLocationOrganizationID adds the locationOrganizationID to the sessions params
func (*SessionsParams) WithLocationProjectID ¶
func (o *SessionsParams) WithLocationProjectID(locationProjectID string) *SessionsParams
WithLocationProjectID adds the locationProjectID to the sessions params
func (*SessionsParams) WithLocationRegionProvider ¶
func (o *SessionsParams) WithLocationRegionProvider(locationRegionProvider *string) *SessionsParams
WithLocationRegionProvider adds the locationRegionProvider to the sessions params
func (*SessionsParams) WithLocationRegionRegion ¶
func (o *SessionsParams) WithLocationRegionRegion(locationRegionRegion *string) *SessionsParams
WithLocationRegionRegion adds the locationRegionRegion to the sessions params
func (*SessionsParams) WithTimeout ¶
func (o *SessionsParams) WithTimeout(timeout time.Duration) *SessionsParams
WithTimeout adds the timeout to the sessions params
func (*SessionsParams) WriteToRequest ¶
func (o *SessionsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type SessionsReader ¶
type SessionsReader struct {
// contains filtered or unexported fields
}
SessionsReader is a Reader for the Sessions structure.
func (*SessionsReader) ReadResponse ¶
func (o *SessionsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.