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) MaintenanceWindowGet(params *MaintenanceWindowGetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MaintenanceWindowGetOK, error)
- func (a *Client) MaintenanceWindowUpdate(params *MaintenanceWindowUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*MaintenanceWindowUpdateOK, error)
- func (a *Client) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SessionsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) Update(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateOK, error)
- 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 MaintenanceWindowGetDefault
- func (o *MaintenanceWindowGetDefault) Code() int
- func (o *MaintenanceWindowGetDefault) Error() string
- func (o *MaintenanceWindowGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *MaintenanceWindowGetDefault) IsClientError() bool
- func (o *MaintenanceWindowGetDefault) IsCode(code int) bool
- func (o *MaintenanceWindowGetDefault) IsRedirect() bool
- func (o *MaintenanceWindowGetDefault) IsServerError() bool
- func (o *MaintenanceWindowGetDefault) IsSuccess() bool
- func (o *MaintenanceWindowGetDefault) String() string
- type MaintenanceWindowGetOK
- func (o *MaintenanceWindowGetOK) Error() string
- func (o *MaintenanceWindowGetOK) GetPayload() *models.HashicorpCloudBoundary20211221MaintenanceWindowGetResponse
- func (o *MaintenanceWindowGetOK) IsClientError() bool
- func (o *MaintenanceWindowGetOK) IsCode(code int) bool
- func (o *MaintenanceWindowGetOK) IsRedirect() bool
- func (o *MaintenanceWindowGetOK) IsServerError() bool
- func (o *MaintenanceWindowGetOK) IsSuccess() bool
- func (o *MaintenanceWindowGetOK) String() string
- type MaintenanceWindowGetParams
- func NewMaintenanceWindowGetParams() *MaintenanceWindowGetParams
- func NewMaintenanceWindowGetParamsWithContext(ctx context.Context) *MaintenanceWindowGetParams
- func NewMaintenanceWindowGetParamsWithHTTPClient(client *http.Client) *MaintenanceWindowGetParams
- func NewMaintenanceWindowGetParamsWithTimeout(timeout time.Duration) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) SetClusterID(clusterID string)
- func (o *MaintenanceWindowGetParams) SetContext(ctx context.Context)
- func (o *MaintenanceWindowGetParams) SetDefaults()
- func (o *MaintenanceWindowGetParams) SetHTTPClient(client *http.Client)
- func (o *MaintenanceWindowGetParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *MaintenanceWindowGetParams) SetLocationProjectID(locationProjectID string)
- func (o *MaintenanceWindowGetParams) SetLocationRegionProvider(locationRegionProvider *string)
- func (o *MaintenanceWindowGetParams) SetLocationRegionRegion(locationRegionRegion *string)
- func (o *MaintenanceWindowGetParams) SetTimeout(timeout time.Duration)
- func (o *MaintenanceWindowGetParams) WithClusterID(clusterID string) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithContext(ctx context.Context) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithDefaults() *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithHTTPClient(client *http.Client) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithLocationOrganizationID(locationOrganizationID string) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithLocationProjectID(locationProjectID string) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithLocationRegionProvider(locationRegionProvider *string) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithLocationRegionRegion(locationRegionRegion *string) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WithTimeout(timeout time.Duration) *MaintenanceWindowGetParams
- func (o *MaintenanceWindowGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MaintenanceWindowGetReader
- type MaintenanceWindowUpdateDefault
- func (o *MaintenanceWindowUpdateDefault) Code() int
- func (o *MaintenanceWindowUpdateDefault) Error() string
- func (o *MaintenanceWindowUpdateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *MaintenanceWindowUpdateDefault) IsClientError() bool
- func (o *MaintenanceWindowUpdateDefault) IsCode(code int) bool
- func (o *MaintenanceWindowUpdateDefault) IsRedirect() bool
- func (o *MaintenanceWindowUpdateDefault) IsServerError() bool
- func (o *MaintenanceWindowUpdateDefault) IsSuccess() bool
- func (o *MaintenanceWindowUpdateDefault) String() string
- type MaintenanceWindowUpdateOK
- func (o *MaintenanceWindowUpdateOK) Error() string
- func (o *MaintenanceWindowUpdateOK) GetPayload() *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse
- func (o *MaintenanceWindowUpdateOK) IsClientError() bool
- func (o *MaintenanceWindowUpdateOK) IsCode(code int) bool
- func (o *MaintenanceWindowUpdateOK) IsRedirect() bool
- func (o *MaintenanceWindowUpdateOK) IsServerError() bool
- func (o *MaintenanceWindowUpdateOK) IsSuccess() bool
- func (o *MaintenanceWindowUpdateOK) String() string
- type MaintenanceWindowUpdateParams
- func NewMaintenanceWindowUpdateParams() *MaintenanceWindowUpdateParams
- func NewMaintenanceWindowUpdateParamsWithContext(ctx context.Context) *MaintenanceWindowUpdateParams
- func NewMaintenanceWindowUpdateParamsWithHTTPClient(client *http.Client) *MaintenanceWindowUpdateParams
- func NewMaintenanceWindowUpdateParamsWithTimeout(timeout time.Duration) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) SetBody(body *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest)
- func (o *MaintenanceWindowUpdateParams) SetClusterID(clusterID string)
- func (o *MaintenanceWindowUpdateParams) SetContext(ctx context.Context)
- func (o *MaintenanceWindowUpdateParams) SetDefaults()
- func (o *MaintenanceWindowUpdateParams) SetHTTPClient(client *http.Client)
- func (o *MaintenanceWindowUpdateParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *MaintenanceWindowUpdateParams) SetLocationProjectID(locationProjectID string)
- func (o *MaintenanceWindowUpdateParams) SetTimeout(timeout time.Duration)
- func (o *MaintenanceWindowUpdateParams) WithBody(body *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithClusterID(clusterID string) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithContext(ctx context.Context) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithDefaults() *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithHTTPClient(client *http.Client) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithLocationOrganizationID(locationOrganizationID string) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithLocationProjectID(locationProjectID string) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WithTimeout(timeout time.Duration) *MaintenanceWindowUpdateParams
- func (o *MaintenanceWindowUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type MaintenanceWindowUpdateReader
- 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
- type UpdateDefault
- func (o *UpdateDefault) Code() int
- func (o *UpdateDefault) Error() string
- func (o *UpdateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
- func (o *UpdateDefault) IsClientError() bool
- func (o *UpdateDefault) IsCode(code int) bool
- func (o *UpdateDefault) IsRedirect() bool
- func (o *UpdateDefault) IsServerError() bool
- func (o *UpdateDefault) IsSuccess() bool
- func (o *UpdateDefault) String() string
- type UpdateOK
- func (o *UpdateOK) Error() string
- func (o *UpdateOK) GetPayload() *models.HashicorpCloudBoundary20211221UpdateResponse
- func (o *UpdateOK) IsClientError() bool
- func (o *UpdateOK) IsCode(code int) bool
- func (o *UpdateOK) IsRedirect() bool
- func (o *UpdateOK) IsServerError() bool
- func (o *UpdateOK) IsSuccess() bool
- func (o *UpdateOK) String() string
- type UpdateParams
- func (o *UpdateParams) SetBody(body *models.HashicorpCloudBoundary20211221UpdateRequest)
- func (o *UpdateParams) SetClusterID(clusterID string)
- func (o *UpdateParams) SetContext(ctx context.Context)
- func (o *UpdateParams) SetDefaults()
- func (o *UpdateParams) SetHTTPClient(client *http.Client)
- func (o *UpdateParams) SetLocationOrganizationID(locationOrganizationID string)
- func (o *UpdateParams) SetLocationProjectID(locationProjectID string)
- func (o *UpdateParams) SetTimeout(timeout time.Duration)
- func (o *UpdateParams) WithBody(body *models.HashicorpCloudBoundary20211221UpdateRequest) *UpdateParams
- func (o *UpdateParams) WithClusterID(clusterID string) *UpdateParams
- func (o *UpdateParams) WithContext(ctx context.Context) *UpdateParams
- func (o *UpdateParams) WithDefaults() *UpdateParams
- func (o *UpdateParams) WithHTTPClient(client *http.Client) *UpdateParams
- func (o *UpdateParams) WithLocationOrganizationID(locationOrganizationID string) *UpdateParams
- func (o *UpdateParams) WithLocationProjectID(locationProjectID string) *UpdateParams
- func (o *UpdateParams) WithTimeout(timeout time.Duration) *UpdateParams
- func (o *UpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateReader
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) MaintenanceWindowGet ¶
func (a *Client) MaintenanceWindowGet(params *MaintenanceWindowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MaintenanceWindowGetOK, error)
MaintenanceWindowGet maintenances window get is used to fetch the type of maintenance for the given cluster maintenance can either be automatic or scheduled if scheduled the response returns the window set by the user
func (*Client) MaintenanceWindowUpdate ¶
func (a *Client) MaintenanceWindowUpdate(params *MaintenanceWindowUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MaintenanceWindowUpdateOK, error)
MaintenanceWindowUpdate maintenances window update sets maintenance window for update version
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
func (*Client) Update ¶
func (a *Client) Update(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOK, error)
Update updates triggers checks if update for the specific cluster is needed and forces an update
type ClientOption ¶
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) MaintenanceWindowGet(params *MaintenanceWindowGetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MaintenanceWindowGetOK, error) MaintenanceWindowUpdate(params *MaintenanceWindowUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*MaintenanceWindowUpdateOK, error) Sessions(params *SessionsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SessionsOK, error) Update(params *UpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateOK, 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 ¶
func (o *CreateDefault) IsClientError() bool
IsClientError returns true when this create default response has a 4xx status code
func (*CreateDefault) IsCode ¶
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 ¶
func (o *CreateDefault) IsRedirect() bool
IsRedirect returns true when this create default response has a 3xx status code
func (*CreateDefault) IsServerError ¶
func (o *CreateDefault) IsServerError() bool
IsServerError returns true when this create default response has a 5xx status code
func (*CreateDefault) IsSuccess ¶
func (o *CreateDefault) IsSuccess() bool
IsSuccess returns true when this create default response has a 2xx status code
func (*CreateDefault) String ¶
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 ¶
IsClientError returns true when this create o k response has a 4xx status code
func (*CreateOK) IsCode ¶
IsCode returns true when this create o k response a status code equal to that given
func (*CreateOK) IsRedirect ¶
IsRedirect returns true when this create o k response has a 3xx status code
func (*CreateOK) IsServerError ¶
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 ¶
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 ¶
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 ¶
func (o *DeleteDefault) IsClientError() bool
IsClientError returns true when this delete default response has a 4xx status code
func (*DeleteDefault) IsCode ¶
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 ¶
func (o *DeleteDefault) IsRedirect() bool
IsRedirect returns true when this delete default response has a 3xx status code
func (*DeleteDefault) IsServerError ¶
func (o *DeleteDefault) IsServerError() bool
IsServerError returns true when this delete default response has a 5xx status code
func (*DeleteDefault) IsSuccess ¶
func (o *DeleteDefault) IsSuccess() bool
IsSuccess returns true when this delete default response has a 2xx status code
func (*DeleteDefault) String ¶
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 ¶
IsClientError returns true when this delete o k response has a 4xx status code
func (*DeleteOK) IsCode ¶
IsCode returns true when this delete o k response a status code equal to that given
func (*DeleteOK) IsRedirect ¶
IsRedirect returns true when this delete o k response has a 3xx status code
func (*DeleteOK) IsServerError ¶
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 ¶
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 ¶
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 ¶
func (o *GetDefault) IsClientError() bool
IsClientError returns true when this get default response has a 4xx status code
func (*GetDefault) IsCode ¶
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 ¶
func (o *GetDefault) IsRedirect() bool
IsRedirect returns true when this get default response has a 3xx status code
func (*GetDefault) IsServerError ¶
func (o *GetDefault) IsServerError() bool
IsServerError returns true when this get default response has a 5xx status code
func (*GetDefault) IsSuccess ¶
func (o *GetDefault) IsSuccess() bool
IsSuccess returns true when this get default response has a 2xx status code
func (*GetDefault) String ¶
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 ¶
IsClientError returns true when this get o k response has a 4xx status code
func (*GetOK) IsCode ¶
IsCode returns true when this get o k response a status code equal to that given
func (*GetOK) IsRedirect ¶
IsRedirect returns true when this get o k response has a 3xx status code
func (*GetOK) IsServerError ¶
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 ¶
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 ¶
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 ¶
func (o *ListDefault) IsClientError() bool
IsClientError returns true when this list default response has a 4xx status code
func (*ListDefault) IsCode ¶
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 ¶
func (o *ListDefault) IsRedirect() bool
IsRedirect returns true when this list default response has a 3xx status code
func (*ListDefault) IsServerError ¶
func (o *ListDefault) IsServerError() bool
IsServerError returns true when this list default response has a 5xx status code
func (*ListDefault) IsSuccess ¶
func (o *ListDefault) IsSuccess() bool
IsSuccess returns true when this list default response has a 2xx status code
func (*ListDefault) String ¶
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 ¶
IsClientError returns true when this list o k response has a 4xx status code
func (*ListOK) IsCode ¶
IsCode returns true when this list o k response a status code equal to that given
func (*ListOK) IsRedirect ¶
IsRedirect returns true when this list o k response has a 3xx status code
func (*ListOK) IsServerError ¶
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 ¶
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 ¶
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 MaintenanceWindowGetDefault ¶
type MaintenanceWindowGetDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
MaintenanceWindowGetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewMaintenanceWindowGetDefault ¶
func NewMaintenanceWindowGetDefault(code int) *MaintenanceWindowGetDefault
NewMaintenanceWindowGetDefault creates a MaintenanceWindowGetDefault with default headers values
func (*MaintenanceWindowGetDefault) Code ¶
func (o *MaintenanceWindowGetDefault) Code() int
Code gets the status code for the maintenance window get default response
func (*MaintenanceWindowGetDefault) Error ¶
func (o *MaintenanceWindowGetDefault) Error() string
func (*MaintenanceWindowGetDefault) GetPayload ¶
func (o *MaintenanceWindowGetDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*MaintenanceWindowGetDefault) IsClientError ¶
func (o *MaintenanceWindowGetDefault) IsClientError() bool
IsClientError returns true when this maintenance window get default response has a 4xx status code
func (*MaintenanceWindowGetDefault) IsCode ¶
func (o *MaintenanceWindowGetDefault) IsCode(code int) bool
IsCode returns true when this maintenance window get default response a status code equal to that given
func (*MaintenanceWindowGetDefault) IsRedirect ¶
func (o *MaintenanceWindowGetDefault) IsRedirect() bool
IsRedirect returns true when this maintenance window get default response has a 3xx status code
func (*MaintenanceWindowGetDefault) IsServerError ¶
func (o *MaintenanceWindowGetDefault) IsServerError() bool
IsServerError returns true when this maintenance window get default response has a 5xx status code
func (*MaintenanceWindowGetDefault) IsSuccess ¶
func (o *MaintenanceWindowGetDefault) IsSuccess() bool
IsSuccess returns true when this maintenance window get default response has a 2xx status code
func (*MaintenanceWindowGetDefault) String ¶
func (o *MaintenanceWindowGetDefault) String() string
type MaintenanceWindowGetOK ¶
type MaintenanceWindowGetOK struct {
Payload *models.HashicorpCloudBoundary20211221MaintenanceWindowGetResponse
}
MaintenanceWindowGetOK describes a response with status code 200, with default header values.
A successful response.
func NewMaintenanceWindowGetOK ¶
func NewMaintenanceWindowGetOK() *MaintenanceWindowGetOK
NewMaintenanceWindowGetOK creates a MaintenanceWindowGetOK with default headers values
func (*MaintenanceWindowGetOK) Error ¶
func (o *MaintenanceWindowGetOK) Error() string
func (*MaintenanceWindowGetOK) GetPayload ¶
func (o *MaintenanceWindowGetOK) GetPayload() *models.HashicorpCloudBoundary20211221MaintenanceWindowGetResponse
func (*MaintenanceWindowGetOK) IsClientError ¶
func (o *MaintenanceWindowGetOK) IsClientError() bool
IsClientError returns true when this maintenance window get o k response has a 4xx status code
func (*MaintenanceWindowGetOK) IsCode ¶
func (o *MaintenanceWindowGetOK) IsCode(code int) bool
IsCode returns true when this maintenance window get o k response a status code equal to that given
func (*MaintenanceWindowGetOK) IsRedirect ¶
func (o *MaintenanceWindowGetOK) IsRedirect() bool
IsRedirect returns true when this maintenance window get o k response has a 3xx status code
func (*MaintenanceWindowGetOK) IsServerError ¶
func (o *MaintenanceWindowGetOK) IsServerError() bool
IsServerError returns true when this maintenance window get o k response has a 5xx status code
func (*MaintenanceWindowGetOK) IsSuccess ¶
func (o *MaintenanceWindowGetOK) IsSuccess() bool
IsSuccess returns true when this maintenance window get o k response has a 2xx status code
func (*MaintenanceWindowGetOK) String ¶
func (o *MaintenanceWindowGetOK) String() string
type MaintenanceWindowGetParams ¶
type MaintenanceWindowGetParams 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 }
MaintenanceWindowGetParams contains all the parameters to send to the API endpoint
for the maintenance window get operation. Typically these are written to a http.Request.
func NewMaintenanceWindowGetParams ¶
func NewMaintenanceWindowGetParams() *MaintenanceWindowGetParams
NewMaintenanceWindowGetParams creates a new MaintenanceWindowGetParams 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 NewMaintenanceWindowGetParamsWithContext ¶
func NewMaintenanceWindowGetParamsWithContext(ctx context.Context) *MaintenanceWindowGetParams
NewMaintenanceWindowGetParamsWithContext creates a new MaintenanceWindowGetParams object with the ability to set a context for a request.
func NewMaintenanceWindowGetParamsWithHTTPClient ¶
func NewMaintenanceWindowGetParamsWithHTTPClient(client *http.Client) *MaintenanceWindowGetParams
NewMaintenanceWindowGetParamsWithHTTPClient creates a new MaintenanceWindowGetParams object with the ability to set a custom HTTPClient for a request.
func NewMaintenanceWindowGetParamsWithTimeout ¶
func NewMaintenanceWindowGetParamsWithTimeout(timeout time.Duration) *MaintenanceWindowGetParams
NewMaintenanceWindowGetParamsWithTimeout creates a new MaintenanceWindowGetParams object with the ability to set a timeout on a request.
func (*MaintenanceWindowGetParams) SetClusterID ¶
func (o *MaintenanceWindowGetParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the maintenance window get params
func (*MaintenanceWindowGetParams) SetContext ¶
func (o *MaintenanceWindowGetParams) SetContext(ctx context.Context)
SetContext adds the context to the maintenance window get params
func (*MaintenanceWindowGetParams) SetDefaults ¶
func (o *MaintenanceWindowGetParams) SetDefaults()
SetDefaults hydrates default values in the maintenance window get params (not the query body).
All values with no default are reset to their zero value.
func (*MaintenanceWindowGetParams) SetHTTPClient ¶
func (o *MaintenanceWindowGetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the maintenance window get params
func (*MaintenanceWindowGetParams) SetLocationOrganizationID ¶
func (o *MaintenanceWindowGetParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the maintenance window get params
func (*MaintenanceWindowGetParams) SetLocationProjectID ¶
func (o *MaintenanceWindowGetParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the maintenance window get params
func (*MaintenanceWindowGetParams) SetLocationRegionProvider ¶
func (o *MaintenanceWindowGetParams) SetLocationRegionProvider(locationRegionProvider *string)
SetLocationRegionProvider adds the locationRegionProvider to the maintenance window get params
func (*MaintenanceWindowGetParams) SetLocationRegionRegion ¶
func (o *MaintenanceWindowGetParams) SetLocationRegionRegion(locationRegionRegion *string)
SetLocationRegionRegion adds the locationRegionRegion to the maintenance window get params
func (*MaintenanceWindowGetParams) SetTimeout ¶
func (o *MaintenanceWindowGetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the maintenance window get params
func (*MaintenanceWindowGetParams) WithClusterID ¶
func (o *MaintenanceWindowGetParams) WithClusterID(clusterID string) *MaintenanceWindowGetParams
WithClusterID adds the clusterID to the maintenance window get params
func (*MaintenanceWindowGetParams) WithContext ¶
func (o *MaintenanceWindowGetParams) WithContext(ctx context.Context) *MaintenanceWindowGetParams
WithContext adds the context to the maintenance window get params
func (*MaintenanceWindowGetParams) WithDefaults ¶
func (o *MaintenanceWindowGetParams) WithDefaults() *MaintenanceWindowGetParams
WithDefaults hydrates default values in the maintenance window get params (not the query body).
All values with no default are reset to their zero value.
func (*MaintenanceWindowGetParams) WithHTTPClient ¶
func (o *MaintenanceWindowGetParams) WithHTTPClient(client *http.Client) *MaintenanceWindowGetParams
WithHTTPClient adds the HTTPClient to the maintenance window get params
func (*MaintenanceWindowGetParams) WithLocationOrganizationID ¶
func (o *MaintenanceWindowGetParams) WithLocationOrganizationID(locationOrganizationID string) *MaintenanceWindowGetParams
WithLocationOrganizationID adds the locationOrganizationID to the maintenance window get params
func (*MaintenanceWindowGetParams) WithLocationProjectID ¶
func (o *MaintenanceWindowGetParams) WithLocationProjectID(locationProjectID string) *MaintenanceWindowGetParams
WithLocationProjectID adds the locationProjectID to the maintenance window get params
func (*MaintenanceWindowGetParams) WithLocationRegionProvider ¶
func (o *MaintenanceWindowGetParams) WithLocationRegionProvider(locationRegionProvider *string) *MaintenanceWindowGetParams
WithLocationRegionProvider adds the locationRegionProvider to the maintenance window get params
func (*MaintenanceWindowGetParams) WithLocationRegionRegion ¶
func (o *MaintenanceWindowGetParams) WithLocationRegionRegion(locationRegionRegion *string) *MaintenanceWindowGetParams
WithLocationRegionRegion adds the locationRegionRegion to the maintenance window get params
func (*MaintenanceWindowGetParams) WithTimeout ¶
func (o *MaintenanceWindowGetParams) WithTimeout(timeout time.Duration) *MaintenanceWindowGetParams
WithTimeout adds the timeout to the maintenance window get params
func (*MaintenanceWindowGetParams) WriteToRequest ¶
func (o *MaintenanceWindowGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MaintenanceWindowGetReader ¶
type MaintenanceWindowGetReader struct {
// contains filtered or unexported fields
}
MaintenanceWindowGetReader is a Reader for the MaintenanceWindowGet structure.
func (*MaintenanceWindowGetReader) ReadResponse ¶
func (o *MaintenanceWindowGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type MaintenanceWindowUpdateDefault ¶
type MaintenanceWindowUpdateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
MaintenanceWindowUpdateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewMaintenanceWindowUpdateDefault ¶
func NewMaintenanceWindowUpdateDefault(code int) *MaintenanceWindowUpdateDefault
NewMaintenanceWindowUpdateDefault creates a MaintenanceWindowUpdateDefault with default headers values
func (*MaintenanceWindowUpdateDefault) Code ¶
func (o *MaintenanceWindowUpdateDefault) Code() int
Code gets the status code for the maintenance window update default response
func (*MaintenanceWindowUpdateDefault) Error ¶
func (o *MaintenanceWindowUpdateDefault) Error() string
func (*MaintenanceWindowUpdateDefault) GetPayload ¶
func (o *MaintenanceWindowUpdateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*MaintenanceWindowUpdateDefault) IsClientError ¶
func (o *MaintenanceWindowUpdateDefault) IsClientError() bool
IsClientError returns true when this maintenance window update default response has a 4xx status code
func (*MaintenanceWindowUpdateDefault) IsCode ¶
func (o *MaintenanceWindowUpdateDefault) IsCode(code int) bool
IsCode returns true when this maintenance window update default response a status code equal to that given
func (*MaintenanceWindowUpdateDefault) IsRedirect ¶
func (o *MaintenanceWindowUpdateDefault) IsRedirect() bool
IsRedirect returns true when this maintenance window update default response has a 3xx status code
func (*MaintenanceWindowUpdateDefault) IsServerError ¶
func (o *MaintenanceWindowUpdateDefault) IsServerError() bool
IsServerError returns true when this maintenance window update default response has a 5xx status code
func (*MaintenanceWindowUpdateDefault) IsSuccess ¶
func (o *MaintenanceWindowUpdateDefault) IsSuccess() bool
IsSuccess returns true when this maintenance window update default response has a 2xx status code
func (*MaintenanceWindowUpdateDefault) String ¶
func (o *MaintenanceWindowUpdateDefault) String() string
type MaintenanceWindowUpdateOK ¶
type MaintenanceWindowUpdateOK struct {
Payload *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse
}
MaintenanceWindowUpdateOK describes a response with status code 200, with default header values.
A successful response.
func NewMaintenanceWindowUpdateOK ¶
func NewMaintenanceWindowUpdateOK() *MaintenanceWindowUpdateOK
NewMaintenanceWindowUpdateOK creates a MaintenanceWindowUpdateOK with default headers values
func (*MaintenanceWindowUpdateOK) Error ¶
func (o *MaintenanceWindowUpdateOK) Error() string
func (*MaintenanceWindowUpdateOK) GetPayload ¶
func (o *MaintenanceWindowUpdateOK) GetPayload() *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateResponse
func (*MaintenanceWindowUpdateOK) IsClientError ¶
func (o *MaintenanceWindowUpdateOK) IsClientError() bool
IsClientError returns true when this maintenance window update o k response has a 4xx status code
func (*MaintenanceWindowUpdateOK) IsCode ¶
func (o *MaintenanceWindowUpdateOK) IsCode(code int) bool
IsCode returns true when this maintenance window update o k response a status code equal to that given
func (*MaintenanceWindowUpdateOK) IsRedirect ¶
func (o *MaintenanceWindowUpdateOK) IsRedirect() bool
IsRedirect returns true when this maintenance window update o k response has a 3xx status code
func (*MaintenanceWindowUpdateOK) IsServerError ¶
func (o *MaintenanceWindowUpdateOK) IsServerError() bool
IsServerError returns true when this maintenance window update o k response has a 5xx status code
func (*MaintenanceWindowUpdateOK) IsSuccess ¶
func (o *MaintenanceWindowUpdateOK) IsSuccess() bool
IsSuccess returns true when this maintenance window update o k response has a 2xx status code
func (*MaintenanceWindowUpdateOK) String ¶
func (o *MaintenanceWindowUpdateOK) String() string
type MaintenanceWindowUpdateParams ¶
type MaintenanceWindowUpdateParams struct { // Body. Body *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest /* ClusterID. cluster_id is the ID of the cluster to set the maintenance window for. */ ClusterID string /* 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 }
MaintenanceWindowUpdateParams contains all the parameters to send to the API endpoint
for the maintenance window update operation. Typically these are written to a http.Request.
func NewMaintenanceWindowUpdateParams ¶
func NewMaintenanceWindowUpdateParams() *MaintenanceWindowUpdateParams
NewMaintenanceWindowUpdateParams creates a new MaintenanceWindowUpdateParams 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 NewMaintenanceWindowUpdateParamsWithContext ¶
func NewMaintenanceWindowUpdateParamsWithContext(ctx context.Context) *MaintenanceWindowUpdateParams
NewMaintenanceWindowUpdateParamsWithContext creates a new MaintenanceWindowUpdateParams object with the ability to set a context for a request.
func NewMaintenanceWindowUpdateParamsWithHTTPClient ¶
func NewMaintenanceWindowUpdateParamsWithHTTPClient(client *http.Client) *MaintenanceWindowUpdateParams
NewMaintenanceWindowUpdateParamsWithHTTPClient creates a new MaintenanceWindowUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewMaintenanceWindowUpdateParamsWithTimeout ¶
func NewMaintenanceWindowUpdateParamsWithTimeout(timeout time.Duration) *MaintenanceWindowUpdateParams
NewMaintenanceWindowUpdateParamsWithTimeout creates a new MaintenanceWindowUpdateParams object with the ability to set a timeout on a request.
func (*MaintenanceWindowUpdateParams) SetBody ¶
func (o *MaintenanceWindowUpdateParams) SetBody(body *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest)
SetBody adds the body to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetClusterID ¶
func (o *MaintenanceWindowUpdateParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetContext ¶
func (o *MaintenanceWindowUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetDefaults ¶
func (o *MaintenanceWindowUpdateParams) SetDefaults()
SetDefaults hydrates default values in the maintenance window update params (not the query body).
All values with no default are reset to their zero value.
func (*MaintenanceWindowUpdateParams) SetHTTPClient ¶
func (o *MaintenanceWindowUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetLocationOrganizationID ¶
func (o *MaintenanceWindowUpdateParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetLocationProjectID ¶
func (o *MaintenanceWindowUpdateParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the maintenance window update params
func (*MaintenanceWindowUpdateParams) SetTimeout ¶
func (o *MaintenanceWindowUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithBody ¶
func (o *MaintenanceWindowUpdateParams) WithBody(body *models.HashicorpCloudBoundary20211221MaintenanceWindowUpdateRequest) *MaintenanceWindowUpdateParams
WithBody adds the body to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithClusterID ¶
func (o *MaintenanceWindowUpdateParams) WithClusterID(clusterID string) *MaintenanceWindowUpdateParams
WithClusterID adds the clusterID to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithContext ¶
func (o *MaintenanceWindowUpdateParams) WithContext(ctx context.Context) *MaintenanceWindowUpdateParams
WithContext adds the context to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithDefaults ¶
func (o *MaintenanceWindowUpdateParams) WithDefaults() *MaintenanceWindowUpdateParams
WithDefaults hydrates default values in the maintenance window update params (not the query body).
All values with no default are reset to their zero value.
func (*MaintenanceWindowUpdateParams) WithHTTPClient ¶
func (o *MaintenanceWindowUpdateParams) WithHTTPClient(client *http.Client) *MaintenanceWindowUpdateParams
WithHTTPClient adds the HTTPClient to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithLocationOrganizationID ¶
func (o *MaintenanceWindowUpdateParams) WithLocationOrganizationID(locationOrganizationID string) *MaintenanceWindowUpdateParams
WithLocationOrganizationID adds the locationOrganizationID to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithLocationProjectID ¶
func (o *MaintenanceWindowUpdateParams) WithLocationProjectID(locationProjectID string) *MaintenanceWindowUpdateParams
WithLocationProjectID adds the locationProjectID to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WithTimeout ¶
func (o *MaintenanceWindowUpdateParams) WithTimeout(timeout time.Duration) *MaintenanceWindowUpdateParams
WithTimeout adds the timeout to the maintenance window update params
func (*MaintenanceWindowUpdateParams) WriteToRequest ¶
func (o *MaintenanceWindowUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type MaintenanceWindowUpdateReader ¶
type MaintenanceWindowUpdateReader struct {
// contains filtered or unexported fields
}
MaintenanceWindowUpdateReader is a Reader for the MaintenanceWindowUpdate structure.
func (*MaintenanceWindowUpdateReader) ReadResponse ¶
func (o *MaintenanceWindowUpdateReader) 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 ¶
func (o *SessionsDefault) IsClientError() bool
IsClientError returns true when this sessions default response has a 4xx status code
func (*SessionsDefault) IsCode ¶
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 ¶
func (o *SessionsDefault) IsRedirect() bool
IsRedirect returns true when this sessions default response has a 3xx status code
func (*SessionsDefault) IsServerError ¶
func (o *SessionsDefault) IsServerError() bool
IsServerError returns true when this sessions default response has a 5xx status code
func (*SessionsDefault) IsSuccess ¶
func (o *SessionsDefault) IsSuccess() bool
IsSuccess returns true when this sessions default response has a 2xx status code
func (*SessionsDefault) String ¶
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 ¶
func (o *SessionsOK) IsClientError() bool
IsClientError returns true when this sessions o k response has a 4xx status code
func (*SessionsOK) IsCode ¶
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 ¶
func (o *SessionsOK) IsRedirect() bool
IsRedirect returns true when this sessions o k response has a 3xx status code
func (*SessionsOK) IsServerError ¶
func (o *SessionsOK) IsServerError() bool
IsServerError returns true when this sessions o k response has a 5xx status code
func (*SessionsOK) IsSuccess ¶
func (o *SessionsOK) IsSuccess() bool
IsSuccess returns true when this sessions o k response has a 2xx status code
func (*SessionsOK) String ¶
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 ¶
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 ¶
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.
type UpdateDefault ¶
type UpdateDefault struct { Payload *cloud.GrpcGatewayRuntimeError // contains filtered or unexported fields }
UpdateDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdateDefault ¶
func NewUpdateDefault(code int) *UpdateDefault
NewUpdateDefault creates a UpdateDefault with default headers values
func (*UpdateDefault) Code ¶
func (o *UpdateDefault) Code() int
Code gets the status code for the update default response
func (*UpdateDefault) Error ¶
func (o *UpdateDefault) Error() string
func (*UpdateDefault) GetPayload ¶
func (o *UpdateDefault) GetPayload() *cloud.GrpcGatewayRuntimeError
func (*UpdateDefault) IsClientError ¶
func (o *UpdateDefault) IsClientError() bool
IsClientError returns true when this update default response has a 4xx status code
func (*UpdateDefault) IsCode ¶
func (o *UpdateDefault) IsCode(code int) bool
IsCode returns true when this update default response a status code equal to that given
func (*UpdateDefault) IsRedirect ¶
func (o *UpdateDefault) IsRedirect() bool
IsRedirect returns true when this update default response has a 3xx status code
func (*UpdateDefault) IsServerError ¶
func (o *UpdateDefault) IsServerError() bool
IsServerError returns true when this update default response has a 5xx status code
func (*UpdateDefault) IsSuccess ¶
func (o *UpdateDefault) IsSuccess() bool
IsSuccess returns true when this update default response has a 2xx status code
func (*UpdateDefault) String ¶
func (o *UpdateDefault) String() string
type UpdateOK ¶
type UpdateOK struct {
Payload *models.HashicorpCloudBoundary20211221UpdateResponse
}
UpdateOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdateOK ¶
func NewUpdateOK() *UpdateOK
NewUpdateOK creates a UpdateOK with default headers values
func (*UpdateOK) GetPayload ¶
func (o *UpdateOK) GetPayload() *models.HashicorpCloudBoundary20211221UpdateResponse
func (*UpdateOK) IsClientError ¶
IsClientError returns true when this update o k response has a 4xx status code
func (*UpdateOK) IsCode ¶
IsCode returns true when this update o k response a status code equal to that given
func (*UpdateOK) IsRedirect ¶
IsRedirect returns true when this update o k response has a 3xx status code
func (*UpdateOK) IsServerError ¶
IsServerError returns true when this update o k response has a 5xx status code
type UpdateParams ¶
type UpdateParams struct { // Body. Body *models.HashicorpCloudBoundary20211221UpdateRequest /* 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 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateParams contains all the parameters to send to the API endpoint
for the update operation. Typically these are written to a http.Request.
func NewUpdateParams ¶
func NewUpdateParams() *UpdateParams
NewUpdateParams creates a new UpdateParams 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 NewUpdateParamsWithContext ¶
func NewUpdateParamsWithContext(ctx context.Context) *UpdateParams
NewUpdateParamsWithContext creates a new UpdateParams object with the ability to set a context for a request.
func NewUpdateParamsWithHTTPClient ¶
func NewUpdateParamsWithHTTPClient(client *http.Client) *UpdateParams
NewUpdateParamsWithHTTPClient creates a new UpdateParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateParamsWithTimeout ¶
func NewUpdateParamsWithTimeout(timeout time.Duration) *UpdateParams
NewUpdateParamsWithTimeout creates a new UpdateParams object with the ability to set a timeout on a request.
func (*UpdateParams) SetBody ¶
func (o *UpdateParams) SetBody(body *models.HashicorpCloudBoundary20211221UpdateRequest)
SetBody adds the body to the update params
func (*UpdateParams) SetClusterID ¶
func (o *UpdateParams) SetClusterID(clusterID string)
SetClusterID adds the clusterId to the update params
func (*UpdateParams) SetContext ¶
func (o *UpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the update params
func (*UpdateParams) SetDefaults ¶
func (o *UpdateParams) SetDefaults()
SetDefaults hydrates default values in the update params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateParams) SetHTTPClient ¶
func (o *UpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update params
func (*UpdateParams) SetLocationOrganizationID ¶
func (o *UpdateParams) SetLocationOrganizationID(locationOrganizationID string)
SetLocationOrganizationID adds the locationOrganizationId to the update params
func (*UpdateParams) SetLocationProjectID ¶
func (o *UpdateParams) SetLocationProjectID(locationProjectID string)
SetLocationProjectID adds the locationProjectId to the update params
func (*UpdateParams) SetTimeout ¶
func (o *UpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update params
func (*UpdateParams) WithBody ¶
func (o *UpdateParams) WithBody(body *models.HashicorpCloudBoundary20211221UpdateRequest) *UpdateParams
WithBody adds the body to the update params
func (*UpdateParams) WithClusterID ¶
func (o *UpdateParams) WithClusterID(clusterID string) *UpdateParams
WithClusterID adds the clusterID to the update params
func (*UpdateParams) WithContext ¶
func (o *UpdateParams) WithContext(ctx context.Context) *UpdateParams
WithContext adds the context to the update params
func (*UpdateParams) WithDefaults ¶
func (o *UpdateParams) WithDefaults() *UpdateParams
WithDefaults hydrates default values in the update params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateParams) WithHTTPClient ¶
func (o *UpdateParams) WithHTTPClient(client *http.Client) *UpdateParams
WithHTTPClient adds the HTTPClient to the update params
func (*UpdateParams) WithLocationOrganizationID ¶
func (o *UpdateParams) WithLocationOrganizationID(locationOrganizationID string) *UpdateParams
WithLocationOrganizationID adds the locationOrganizationID to the update params
func (*UpdateParams) WithLocationProjectID ¶
func (o *UpdateParams) WithLocationProjectID(locationProjectID string) *UpdateParams
WithLocationProjectID adds the locationProjectID to the update params
func (*UpdateParams) WithTimeout ¶
func (o *UpdateParams) WithTimeout(timeout time.Duration) *UpdateParams
WithTimeout adds the timeout to the update params
func (*UpdateParams) WriteToRequest ¶
func (o *UpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateReader ¶
type UpdateReader struct {
// contains filtered or unexported fields
}
UpdateReader is a Reader for the Update structure.
func (*UpdateReader) ReadResponse ¶
func (o *UpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- boundary_service_client.go
- create_parameters.go
- create_responses.go
- delete_parameters.go
- delete_responses.go
- get_parameters.go
- get_responses.go
- list_parameters.go
- list_responses.go
- maintenance_window_get_parameters.go
- maintenance_window_get_responses.go
- maintenance_window_update_parameters.go
- maintenance_window_update_responses.go
- sessions_parameters.go
- sessions_responses.go
- update_parameters.go
- update_responses.go