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) (*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 ClientService
- type CreateDefault
- type CreateOK
- type CreateParams
- func (o *CreateParams) SetBody(body *models.HashicorpCloudBoundary20211221CreateRequest)
- func (o *CreateParams) SetContext(ctx context.Context)
- 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) 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
- type DeleteOK
- type DeleteParams
- func (o *DeleteParams) SetClusterID(clusterID string)
- func (o *DeleteParams) SetContext(ctx context.Context)
- 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) 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
- type GetOK
- type GetParams
- func (o *GetParams) SetClusterID(clusterID string)
- func (o *GetParams) SetContext(ctx context.Context)
- 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) 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
- type ListOK
- type ListParams
- func (o *ListParams) SetContext(ctx context.Context)
- 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) 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
- type SessionsOK
- type SessionsParams
- func (o *SessionsParams) SetClusterID(clusterID string)
- func (o *SessionsParams) SetContext(ctx context.Context)
- 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) 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) (*CreateOK, error)
Create creates creates a new h c p boundary cluster
func (*Client) Delete ¶
func (a *Client) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOK, error)
Delete deletes deletes the specified h c p boundary cluster
func (*Client) List ¶
func (a *Client) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter) (*ListOK, error)
List lists returns all existing h c p boundary clusters
func (*Client) Sessions ¶
func (a *Client) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter) (*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 ClientService ¶
type ClientService interface { Create(params *CreateParams, authInfo runtime.ClientAuthInfoWriter) (*CreateOK, error) Delete(params *DeleteParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteOK, error) Get(params *GetParams, authInfo runtime.ClientAuthInfoWriter) (*GetOK, error) List(params *ListParams, authInfo runtime.ClientAuthInfoWriter) (*ListOK, error) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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
type CreateOK ¶
type CreateOK struct {
Payload *models.HashicorpCloudBoundary20211221CreateResponse
}
CreateOK handles this case 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
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 values initialized.
func NewCreateParamsWithContext ¶
func NewCreateParamsWithContext(ctx context.Context) *CreateParams
NewCreateParamsWithContext creates a new CreateParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type DeleteOK ¶
type DeleteOK struct {
Payload *models.HashicorpCloudBoundary20211221DeleteResponse
}
DeleteOK handles this case 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
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 values initialized.
func NewDeleteParamsWithContext ¶
func NewDeleteParamsWithContext(ctx context.Context) *DeleteParams
NewDeleteParamsWithContext creates a new DeleteParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type GetOK ¶
type GetOK struct {
Payload *models.HashicorpCloudBoundary20211221GetResponse
}
GetOK handles this case with default header values.
A successful response.
func (*GetOK) GetPayload ¶
func (o *GetOK) GetPayload() *models.HashicorpCloudBoundary20211221GetResponse
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 values initialized.
func NewGetParamsWithContext ¶
NewGetParamsWithContext creates a new GetParams object with the default values initialized, and the ability to set a context for a request
func NewGetParamsWithHTTPClient ¶
NewGetParamsWithHTTPClient creates a new GetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetParamsWithTimeout ¶
NewGetParamsWithTimeout creates a new GetParams object with the default values initialized, and 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) 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) 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 handles this case 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
type ListOK ¶
type ListOK struct {
Payload *models.HashicorpCloudBoundary20211221ListResponse
}
ListOK handles this case with default header values.
A successful response.
func (*ListOK) GetPayload ¶
func (o *ListOK) GetPayload() *models.HashicorpCloudBoundary20211221ListResponse
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. */ 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 values initialized.
func NewListParamsWithContext ¶
func NewListParamsWithContext(ctx context.Context) *ListParams
NewListParamsWithContext creates a new ListParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
type SessionsOK ¶
type SessionsOK struct {
Payload *models.HashicorpCloudBoundary20211221SessionsResponse
}
SessionsOK handles this case 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
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 values initialized.
func NewSessionsParamsWithContext ¶
func NewSessionsParamsWithContext(ctx context.Context) *SessionsParams
NewSessionsParamsWithContext creates a new SessionsParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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.