Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
Index ¶
- func NewCalculateAssessmentClusterRequirementsRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewCalculateAssessmentClusterRequirementsRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCalculateMigrationComplexityRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewCalculateMigrationComplexityRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCalculateMigrationEstimationByComplexityRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewCalculateMigrationEstimationByComplexityRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCalculateMigrationEstimationRequest(server string, id openapi_types.UUID, ...) (*http.Request, error)
- func NewCalculateMigrationEstimationRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCancelJobRequest(server string, id int64) (*http.Request, error)
- func NewCreateAssessmentRequest(server string, body CreateAssessmentJSONRequestBody) (*http.Request, error)
- func NewCreateAssessmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGroupMemberRequest(server string, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody) (*http.Request, error)
- func NewCreateGroupMemberRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGroupRequest(server string, body CreateGroupJSONRequestBody) (*http.Request, error)
- func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateRVToolsAssessmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSourceRequest(server string, body CreateSourceJSONRequestBody) (*http.Request, error)
- func NewCreateSourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAssessmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteGroupRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteSourceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewDeleteSourcesRequest(server string) (*http.Request, error)
- func NewGetAssessmentRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetGroupRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetIdentityRequest(server string) (*http.Request, error)
- func NewGetInfoRequest(server string) (*http.Request, error)
- func NewGetJobRequest(server string, id int64) (*http.Request, error)
- func NewGetSourceDownloadURLRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewGetSourceRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewHeadImageRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewHealthRequest(server string) (*http.Request, error)
- func NewListAssessmentsRequest(server string, params *ListAssessmentsParams) (*http.Request, error)
- func NewListGroupMembersRequest(server string, id openapi_types.UUID) (*http.Request, error)
- func NewListGroupsRequest(server string, params *ListGroupsParams) (*http.Request, error)
- func NewListSourcesRequest(server string) (*http.Request, error)
- func NewRemoveGroupMemberRequest(server string, id openapi_types.UUID, username string) (*http.Request, error)
- func NewUpdateAssessmentRequest(server string, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody) (*http.Request, error)
- func NewUpdateAssessmentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateGroupMemberRequest(server string, id openapi_types.UUID, username string, ...) (*http.Request, error)
- func NewUpdateGroupMemberRequestWithBody(server string, id openapi_types.UUID, username string, contentType string, ...) (*http.Request, error)
- func NewUpdateGroupRequest(server string, id openapi_types.UUID, body UpdateGroupJSONRequestBody) (*http.Request, error)
- func NewUpdateGroupRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateInventoryRequest(server string, id openapi_types.UUID, body UpdateInventoryJSONRequestBody) (*http.Request, error)
- func NewUpdateInventoryRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSourceRequest(server string, id openapi_types.UUID, body UpdateSourceJSONRequestBody) (*http.Request, error)
- func NewUpdateSourceRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- type CalculateAssessmentClusterRequirementsResponse
- type CalculateMigrationComplexityResponse
- type CalculateMigrationEstimationByComplexityResponse
- type CalculateMigrationEstimationResponse
- type CancelJobResponse
- type Client
- func (c *Client) CalculateAssessmentClusterRequirements(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CalculateAssessmentClusterRequirementsWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationComplexity(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationComplexityWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationEstimation(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationEstimationByComplexity(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationEstimationByComplexityWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CalculateMigrationEstimationWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CancelJob(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateAssessment(ctx context.Context, body CreateAssessmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAssessmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGroupMember(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) CreateGroupMemberWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateRVToolsAssessmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSource(ctx context.Context, body CreateSourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSourceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetJob(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSourceDownloadURL(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HeadImage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Health(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAssessments(ctx context.Context, params *ListAssessmentsParams, ...) (*http.Response, error)
- func (c *Client) ListGroupMembers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveGroupMember(ctx context.Context, id openapi_types.UUID, username string, ...) (*http.Response, error)
- func (c *Client) UpdateAssessment(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateAssessmentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateGroup(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGroupMember(ctx context.Context, id openapi_types.UUID, username string, ...) (*http.Response, error)
- func (c *Client) UpdateGroupMemberWithBody(ctx context.Context, id openapi_types.UUID, username string, ...) (*http.Response, error)
- func (c *Client) UpdateGroupWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateInventory(ctx context.Context, id openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) UpdateInventoryWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSource(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSourceWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CalculateAssessmentClusterRequirementsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CalculateAssessmentClusterRequirementsResponse, error)
- func (c *ClientWithResponses) CalculateAssessmentClusterRequirementsWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CalculateAssessmentClusterRequirementsResponse, error)
- func (c *ClientWithResponses) CalculateMigrationComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CalculateMigrationComplexityResponse, error)
- func (c *ClientWithResponses) CalculateMigrationComplexityWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CalculateMigrationComplexityResponse, error)
- func (c *ClientWithResponses) CalculateMigrationEstimationByComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CalculateMigrationEstimationByComplexityResponse, error)
- func (c *ClientWithResponses) CalculateMigrationEstimationByComplexityWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CalculateMigrationEstimationByComplexityResponse, error)
- func (c *ClientWithResponses) CalculateMigrationEstimationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CalculateMigrationEstimationResponse, error)
- func (c *ClientWithResponses) CalculateMigrationEstimationWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CalculateMigrationEstimationResponse, error)
- func (c *ClientWithResponses) CancelJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelJobResponse, error)
- func (c *ClientWithResponses) CreateAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAssessmentResponse, error)
- func (c *ClientWithResponses) CreateAssessmentWithResponse(ctx context.Context, body CreateAssessmentJSONRequestBody, ...) (*CreateAssessmentResponse, error)
- func (c *ClientWithResponses) CreateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*CreateGroupMemberResponse, error)
- func (c *ClientWithResponses) CreateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*CreateGroupMemberResponse, error)
- func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateGroupResponse, error)
- func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, ...) (*CreateGroupResponse, error)
- func (c *ClientWithResponses) CreateRVToolsAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateRVToolsAssessmentResponse, error)
- func (c *ClientWithResponses) CreateSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSourceResponse, error)
- func (c *ClientWithResponses) CreateSourceWithResponse(ctx context.Context, body CreateSourceJSONRequestBody, ...) (*CreateSourceResponse, error)
- func (c *ClientWithResponses) DeleteAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAssessmentResponse, error)
- func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
- func (c *ClientWithResponses) DeleteSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSourceResponse, error)
- func (c *ClientWithResponses) DeleteSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSourcesResponse, error)
- func (c *ClientWithResponses) GetAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentResponse, error)
- func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
- func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
- func (c *ClientWithResponses) GetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInfoResponse, error)
- func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetJobResponse, error)
- func (c *ClientWithResponses) GetSourceDownloadURLWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceDownloadURLResponse, error)
- func (c *ClientWithResponses) GetSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceResponse, error)
- func (c *ClientWithResponses) HeadImageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*HeadImageResponse, error)
- func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
- func (c *ClientWithResponses) ListAssessmentsWithResponse(ctx context.Context, params *ListAssessmentsParams, ...) (*ListAssessmentsResponse, error)
- func (c *ClientWithResponses) ListGroupMembersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGroupMembersResponse, error)
- func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)
- func (c *ClientWithResponses) ListSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSourcesResponse, error)
- func (c *ClientWithResponses) RemoveGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, ...) (*RemoveGroupMemberResponse, error)
- func (c *ClientWithResponses) UpdateAssessmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateAssessmentResponse, error)
- func (c *ClientWithResponses) UpdateAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateAssessmentResponse, error)
- func (c *ClientWithResponses) UpdateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, username string, ...) (*UpdateGroupMemberResponse, error)
- func (c *ClientWithResponses) UpdateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, ...) (*UpdateGroupMemberResponse, error)
- func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateGroupResponse, error)
- func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, ...) (*UpdateGroupResponse, error)
- func (c *ClientWithResponses) UpdateInventoryWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateInventoryResponse, error)
- func (c *ClientWithResponses) UpdateInventoryWithResponse(ctx context.Context, id openapi_types.UUID, ...) (*UpdateInventoryResponse, error)
- func (c *ClientWithResponses) UpdateSourceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, ...) (*UpdateSourceResponse, error)
- func (c *ClientWithResponses) UpdateSourceWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, ...) (*UpdateSourceResponse, error)
- type ClientWithResponsesInterface
- type CreateAssessmentResponse
- type CreateGroupMemberResponse
- type CreateGroupResponse
- type CreateRVToolsAssessmentResponse
- type CreateSourceResponse
- type DeleteAssessmentResponse
- type DeleteGroupResponse
- type DeleteSourceResponse
- type DeleteSourcesResponse
- type GetAssessmentResponse
- type GetGroupResponse
- type GetIdentityResponse
- type GetInfoResponse
- type GetJobResponse
- type GetSourceDownloadURLResponse
- type GetSourceResponse
- type HeadImageResponse
- type HealthResponse
- type HttpRequestDoer
- type ListAssessmentsResponse
- type ListGroupMembersResponse
- type ListGroupsResponse
- type ListSourcesResponse
- type RemoveGroupMemberResponse
- type RequestEditorFn
- type UpdateAssessmentResponse
- type UpdateGroupMemberResponse
- type UpdateGroupResponse
- type UpdateInventoryResponse
- type UpdateSourceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCalculateAssessmentClusterRequirementsRequest ¶ added in v0.4.0
func NewCalculateAssessmentClusterRequirementsRequest(server string, id openapi_types.UUID, body CalculateAssessmentClusterRequirementsJSONRequestBody) (*http.Request, error)
NewCalculateAssessmentClusterRequirementsRequest calls the generic CalculateAssessmentClusterRequirements builder with application/json body
func NewCalculateAssessmentClusterRequirementsRequestWithBody ¶ added in v0.4.0
func NewCalculateAssessmentClusterRequirementsRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCalculateAssessmentClusterRequirementsRequestWithBody generates requests for CalculateAssessmentClusterRequirements with any type of body
func NewCalculateMigrationComplexityRequest ¶ added in v0.7.0
func NewCalculateMigrationComplexityRequest(server string, id openapi_types.UUID, body CalculateMigrationComplexityJSONRequestBody) (*http.Request, error)
NewCalculateMigrationComplexityRequest calls the generic CalculateMigrationComplexity builder with application/json body
func NewCalculateMigrationComplexityRequestWithBody ¶ added in v0.7.0
func NewCalculateMigrationComplexityRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCalculateMigrationComplexityRequestWithBody generates requests for CalculateMigrationComplexity with any type of body
func NewCalculateMigrationEstimationByComplexityRequest ¶ added in v0.10.0
func NewCalculateMigrationEstimationByComplexityRequest(server string, id openapi_types.UUID, body CalculateMigrationEstimationByComplexityJSONRequestBody) (*http.Request, error)
NewCalculateMigrationEstimationByComplexityRequest calls the generic CalculateMigrationEstimationByComplexity builder with application/json body
func NewCalculateMigrationEstimationByComplexityRequestWithBody ¶ added in v0.10.0
func NewCalculateMigrationEstimationByComplexityRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCalculateMigrationEstimationByComplexityRequestWithBody generates requests for CalculateMigrationEstimationByComplexity with any type of body
func NewCalculateMigrationEstimationRequest ¶ added in v0.5.1
func NewCalculateMigrationEstimationRequest(server string, id openapi_types.UUID, body CalculateMigrationEstimationJSONRequestBody) (*http.Request, error)
NewCalculateMigrationEstimationRequest calls the generic CalculateMigrationEstimation builder with application/json body
func NewCalculateMigrationEstimationRequestWithBody ¶ added in v0.5.1
func NewCalculateMigrationEstimationRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCalculateMigrationEstimationRequestWithBody generates requests for CalculateMigrationEstimation with any type of body
func NewCancelJobRequest ¶ added in v0.3.0
NewCancelJobRequest generates requests for CancelJob
func NewCreateAssessmentRequest ¶
func NewCreateAssessmentRequest(server string, body CreateAssessmentJSONRequestBody) (*http.Request, error)
NewCreateAssessmentRequest calls the generic CreateAssessment builder with application/json body
func NewCreateAssessmentRequestWithBody ¶
func NewCreateAssessmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAssessmentRequestWithBody generates requests for CreateAssessment with any type of body
func NewCreateGroupMemberRequest ¶ added in v0.11.0
func NewCreateGroupMemberRequest(server string, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody) (*http.Request, error)
NewCreateGroupMemberRequest calls the generic CreateGroupMember builder with application/json body
func NewCreateGroupMemberRequestWithBody ¶ added in v0.11.0
func NewCreateGroupMemberRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewCreateGroupMemberRequestWithBody generates requests for CreateGroupMember with any type of body
func NewCreateGroupRequest ¶ added in v0.11.0
NewCreateGroupRequest calls the generic CreateGroup builder with application/json body
func NewCreateGroupRequestWithBody ¶ added in v0.11.0
func NewCreateGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGroupRequestWithBody generates requests for CreateGroup with any type of body
func NewCreateRVToolsAssessmentRequestWithBody ¶ added in v0.3.0
func NewCreateRVToolsAssessmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateRVToolsAssessmentRequestWithBody generates requests for CreateRVToolsAssessment with any type of body
func NewCreateSourceRequest ¶
NewCreateSourceRequest calls the generic CreateSource builder with application/json body
func NewCreateSourceRequestWithBody ¶
func NewCreateSourceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSourceRequestWithBody generates requests for CreateSource with any type of body
func NewDeleteAssessmentRequest ¶
NewDeleteAssessmentRequest generates requests for DeleteAssessment
func NewDeleteGroupRequest ¶ added in v0.11.0
NewDeleteGroupRequest generates requests for DeleteGroup
func NewDeleteSourceRequest ¶
NewDeleteSourceRequest generates requests for DeleteSource
func NewDeleteSourcesRequest ¶
NewDeleteSourcesRequest generates requests for DeleteSources
func NewGetAssessmentRequest ¶
NewGetAssessmentRequest generates requests for GetAssessment
func NewGetGroupRequest ¶ added in v0.11.0
NewGetGroupRequest generates requests for GetGroup
func NewGetIdentityRequest ¶ added in v0.11.0
NewGetIdentityRequest generates requests for GetIdentity
func NewGetInfoRequest ¶
NewGetInfoRequest generates requests for GetInfo
func NewGetJobRequest ¶ added in v0.3.0
NewGetJobRequest generates requests for GetJob
func NewGetSourceDownloadURLRequest ¶
NewGetSourceDownloadURLRequest generates requests for GetSourceDownloadURL
func NewGetSourceRequest ¶
NewGetSourceRequest generates requests for GetSource
func NewHeadImageRequest ¶
NewHeadImageRequest generates requests for HeadImage
func NewHealthRequest ¶
NewHealthRequest generates requests for Health
func NewListAssessmentsRequest ¶
NewListAssessmentsRequest generates requests for ListAssessments
func NewListGroupMembersRequest ¶ added in v0.11.0
NewListGroupMembersRequest generates requests for ListGroupMembers
func NewListGroupsRequest ¶ added in v0.11.0
NewListGroupsRequest generates requests for ListGroups
func NewListSourcesRequest ¶
NewListSourcesRequest generates requests for ListSources
func NewRemoveGroupMemberRequest ¶ added in v0.11.0
func NewRemoveGroupMemberRequest(server string, id openapi_types.UUID, username string) (*http.Request, error)
NewRemoveGroupMemberRequest generates requests for RemoveGroupMember
func NewUpdateAssessmentRequest ¶
func NewUpdateAssessmentRequest(server string, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody) (*http.Request, error)
NewUpdateAssessmentRequest calls the generic UpdateAssessment builder with application/json body
func NewUpdateAssessmentRequestWithBody ¶
func NewUpdateAssessmentRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAssessmentRequestWithBody generates requests for UpdateAssessment with any type of body
func NewUpdateGroupMemberRequest ¶ added in v0.11.0
func NewUpdateGroupMemberRequest(server string, id openapi_types.UUID, username string, body UpdateGroupMemberJSONRequestBody) (*http.Request, error)
NewUpdateGroupMemberRequest calls the generic UpdateGroupMember builder with application/json body
func NewUpdateGroupMemberRequestWithBody ¶ added in v0.11.0
func NewUpdateGroupMemberRequestWithBody(server string, id openapi_types.UUID, username string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGroupMemberRequestWithBody generates requests for UpdateGroupMember with any type of body
func NewUpdateGroupRequest ¶ added in v0.11.0
func NewUpdateGroupRequest(server string, id openapi_types.UUID, body UpdateGroupJSONRequestBody) (*http.Request, error)
NewUpdateGroupRequest calls the generic UpdateGroup builder with application/json body
func NewUpdateGroupRequestWithBody ¶ added in v0.11.0
func NewUpdateGroupRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGroupRequestWithBody generates requests for UpdateGroup with any type of body
func NewUpdateInventoryRequest ¶
func NewUpdateInventoryRequest(server string, id openapi_types.UUID, body UpdateInventoryJSONRequestBody) (*http.Request, error)
NewUpdateInventoryRequest calls the generic UpdateInventory builder with application/json body
func NewUpdateInventoryRequestWithBody ¶
func NewUpdateInventoryRequestWithBody(server string, id openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInventoryRequestWithBody generates requests for UpdateInventory with any type of body
func NewUpdateSourceRequest ¶
func NewUpdateSourceRequest(server string, id openapi_types.UUID, body UpdateSourceJSONRequestBody) (*http.Request, error)
NewUpdateSourceRequest calls the generic UpdateSource builder with application/json body
Types ¶
type CalculateAssessmentClusterRequirementsResponse ¶ added in v0.4.0
type CalculateAssessmentClusterRequirementsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ClusterRequirementsResponse
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
JSON503 *Error
}
func ParseCalculateAssessmentClusterRequirementsResponse ¶ added in v0.4.0
func ParseCalculateAssessmentClusterRequirementsResponse(rsp *http.Response) (*CalculateAssessmentClusterRequirementsResponse, error)
ParseCalculateAssessmentClusterRequirementsResponse parses an HTTP response from a CalculateAssessmentClusterRequirementsWithResponse call
func (CalculateAssessmentClusterRequirementsResponse) Status ¶ added in v0.4.0
func (r CalculateAssessmentClusterRequirementsResponse) Status() string
Status returns HTTPResponse.Status
func (CalculateAssessmentClusterRequirementsResponse) StatusCode ¶ added in v0.4.0
func (r CalculateAssessmentClusterRequirementsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CalculateMigrationComplexityResponse ¶ added in v0.7.0
type CalculateMigrationComplexityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MigrationComplexityResponse
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseCalculateMigrationComplexityResponse ¶ added in v0.7.0
func ParseCalculateMigrationComplexityResponse(rsp *http.Response) (*CalculateMigrationComplexityResponse, error)
ParseCalculateMigrationComplexityResponse parses an HTTP response from a CalculateMigrationComplexityWithResponse call
func (CalculateMigrationComplexityResponse) Status ¶ added in v0.7.0
func (r CalculateMigrationComplexityResponse) Status() string
Status returns HTTPResponse.Status
func (CalculateMigrationComplexityResponse) StatusCode ¶ added in v0.7.0
func (r CalculateMigrationComplexityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CalculateMigrationEstimationByComplexityResponse ¶ added in v0.10.0
type CalculateMigrationEstimationByComplexityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MigrationEstimationByComplexityResponse
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseCalculateMigrationEstimationByComplexityResponse ¶ added in v0.10.0
func ParseCalculateMigrationEstimationByComplexityResponse(rsp *http.Response) (*CalculateMigrationEstimationByComplexityResponse, error)
ParseCalculateMigrationEstimationByComplexityResponse parses an HTTP response from a CalculateMigrationEstimationByComplexityWithResponse call
func (CalculateMigrationEstimationByComplexityResponse) Status ¶ added in v0.10.0
func (r CalculateMigrationEstimationByComplexityResponse) Status() string
Status returns HTTPResponse.Status
func (CalculateMigrationEstimationByComplexityResponse) StatusCode ¶ added in v0.10.0
func (r CalculateMigrationEstimationByComplexityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CalculateMigrationEstimationResponse ¶ added in v0.5.1
type CalculateMigrationEstimationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MigrationEstimationResponse
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseCalculateMigrationEstimationResponse ¶ added in v0.5.1
func ParseCalculateMigrationEstimationResponse(rsp *http.Response) (*CalculateMigrationEstimationResponse, error)
ParseCalculateMigrationEstimationResponse parses an HTTP response from a CalculateMigrationEstimationWithResponse call
func (CalculateMigrationEstimationResponse) Status ¶ added in v0.5.1
func (r CalculateMigrationEstimationResponse) Status() string
Status returns HTTPResponse.Status
func (CalculateMigrationEstimationResponse) StatusCode ¶ added in v0.5.1
func (r CalculateMigrationEstimationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CancelJobResponse ¶ added in v0.3.0
type CancelJobResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Job
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
}
func ParseCancelJobResponse ¶ added in v0.3.0
func ParseCancelJobResponse(rsp *http.Response) (*CancelJobResponse, error)
ParseCancelJobResponse parses an HTTP response from a CancelJobWithResponse call
func (CancelJobResponse) Status ¶ added in v0.3.0
func (r CancelJobResponse) Status() string
Status returns HTTPResponse.Status
func (CancelJobResponse) StatusCode ¶ added in v0.3.0
func (r CancelJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) CalculateAssessmentClusterRequirements ¶ added in v0.4.0
func (c *Client) CalculateAssessmentClusterRequirements(ctx context.Context, id openapi_types.UUID, body CalculateAssessmentClusterRequirementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CalculateAssessmentClusterRequirementsWithBody ¶ added in v0.4.0
func (*Client) CalculateMigrationComplexity ¶ added in v0.7.0
func (c *Client) CalculateMigrationComplexity(ctx context.Context, id openapi_types.UUID, body CalculateMigrationComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CalculateMigrationComplexityWithBody ¶ added in v0.7.0
func (*Client) CalculateMigrationEstimation ¶ added in v0.5.1
func (c *Client) CalculateMigrationEstimation(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CalculateMigrationEstimationByComplexity ¶ added in v0.10.0
func (c *Client) CalculateMigrationEstimationByComplexity(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationByComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CalculateMigrationEstimationByComplexityWithBody ¶ added in v0.10.0
func (*Client) CalculateMigrationEstimationWithBody ¶ added in v0.5.1
func (*Client) CreateAssessment ¶
func (*Client) CreateAssessmentWithBody ¶
func (*Client) CreateGroup ¶ added in v0.11.0
func (*Client) CreateGroupMember ¶ added in v0.11.0
func (c *Client) CreateGroupMember(ctx context.Context, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGroupMemberWithBody ¶ added in v0.11.0
func (*Client) CreateGroupWithBody ¶ added in v0.11.0
func (*Client) CreateRVToolsAssessmentWithBody ¶ added in v0.3.0
func (*Client) CreateSource ¶
func (*Client) CreateSourceWithBody ¶
func (*Client) DeleteAssessment ¶
func (c *Client) DeleteAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteGroup ¶ added in v0.11.0
func (c *Client) DeleteGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSource ¶
func (c *Client) DeleteSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSources ¶
func (*Client) GetAssessment ¶
func (c *Client) GetAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGroup ¶ added in v0.11.0
func (c *Client) GetGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIdentity ¶ added in v0.11.0
func (*Client) GetSource ¶
func (c *Client) GetSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetSourceDownloadURL ¶
func (c *Client) GetSourceDownloadURL(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HeadImage ¶
func (c *Client) HeadImage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAssessments ¶
func (*Client) ListGroupMembers ¶ added in v0.11.0
func (c *Client) ListGroupMembers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGroups ¶ added in v0.11.0
func (*Client) ListSources ¶
func (*Client) RemoveGroupMember ¶ added in v0.11.0
func (c *Client) RemoveGroupMember(ctx context.Context, id openapi_types.UUID, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAssessment ¶
func (c *Client) UpdateAssessment(ctx context.Context, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAssessmentWithBody ¶
func (*Client) UpdateGroup ¶ added in v0.11.0
func (c *Client) UpdateGroup(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGroupMember ¶ added in v0.11.0
func (c *Client) UpdateGroupMember(ctx context.Context, id openapi_types.UUID, username string, body UpdateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGroupMemberWithBody ¶ added in v0.11.0
func (*Client) UpdateGroupWithBody ¶ added in v0.11.0
func (*Client) UpdateInventory ¶
func (c *Client) UpdateInventory(ctx context.Context, id openapi_types.UUID, body UpdateInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateInventoryWithBody ¶
func (*Client) UpdateSource ¶
func (c *Client) UpdateSource(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSourceWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// ListAssessments request
ListAssessments(ctx context.Context, params *ListAssessmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAssessmentWithBody request with any body
CreateAssessmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAssessment(ctx context.Context, body CreateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelJob request
CancelJob(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetJob request
GetJob(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateRVToolsAssessmentWithBody request with any body
CreateRVToolsAssessmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAssessment request
DeleteAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAssessment request
GetAssessment(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAssessmentWithBody request with any body
UpdateAssessmentWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAssessment(ctx context.Context, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CalculateAssessmentClusterRequirementsWithBody request with any body
CalculateAssessmentClusterRequirementsWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CalculateAssessmentClusterRequirements(ctx context.Context, id openapi_types.UUID, body CalculateAssessmentClusterRequirementsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CalculateMigrationComplexityWithBody request with any body
CalculateMigrationComplexityWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CalculateMigrationComplexity(ctx context.Context, id openapi_types.UUID, body CalculateMigrationComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CalculateMigrationEstimationWithBody request with any body
CalculateMigrationEstimationWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CalculateMigrationEstimation(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CalculateMigrationEstimationByComplexityWithBody request with any body
CalculateMigrationEstimationByComplexityWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CalculateMigrationEstimationByComplexity(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationByComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGroups request
ListGroups(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroupWithBody request with any body
CreateGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroup(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGroup request
DeleteGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGroup request
GetGroup(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGroupWithBody request with any body
UpdateGroupWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGroup(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGroupMembers request
ListGroupMembers(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGroupMemberWithBody request with any body
CreateGroupMemberWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGroupMember(ctx context.Context, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveGroupMember request
RemoveGroupMember(ctx context.Context, id openapi_types.UUID, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGroupMemberWithBody request with any body
UpdateGroupMemberWithBody(ctx context.Context, id openapi_types.UUID, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGroupMember(ctx context.Context, id openapi_types.UUID, username string, body UpdateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIdentity request
GetIdentity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInfo request
GetInfo(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSources request
DeleteSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSources request
ListSources(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSourceWithBody request with any body
CreateSourceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSource(ctx context.Context, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSource request
DeleteSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSource request
GetSource(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSourceWithBody request with any body
UpdateSourceWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSource(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// HeadImage request
HeadImage(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSourceDownloadURL request
GetSourceDownloadURL(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateInventoryWithBody request with any body
UpdateInventoryWithBody(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateInventory(ctx context.Context, id openapi_types.UUID, body UpdateInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// Health request
Health(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) CalculateAssessmentClusterRequirementsWithBodyWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CalculateAssessmentClusterRequirementsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateAssessmentClusterRequirementsResponse, error)
CalculateAssessmentClusterRequirementsWithBodyWithResponse request with arbitrary body returning *CalculateAssessmentClusterRequirementsResponse
func (*ClientWithResponses) CalculateAssessmentClusterRequirementsWithResponse ¶ added in v0.4.0
func (c *ClientWithResponses) CalculateAssessmentClusterRequirementsWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateAssessmentClusterRequirementsJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateAssessmentClusterRequirementsResponse, error)
func (*ClientWithResponses) CalculateMigrationComplexityWithBodyWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CalculateMigrationComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationComplexityResponse, error)
CalculateMigrationComplexityWithBodyWithResponse request with arbitrary body returning *CalculateMigrationComplexityResponse
func (*ClientWithResponses) CalculateMigrationComplexityWithResponse ¶ added in v0.7.0
func (c *ClientWithResponses) CalculateMigrationComplexityWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationComplexityResponse, error)
func (*ClientWithResponses) CalculateMigrationEstimationByComplexityWithBodyWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) CalculateMigrationEstimationByComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationByComplexityResponse, error)
CalculateMigrationEstimationByComplexityWithBodyWithResponse request with arbitrary body returning *CalculateMigrationEstimationByComplexityResponse
func (*ClientWithResponses) CalculateMigrationEstimationByComplexityWithResponse ¶ added in v0.10.0
func (c *ClientWithResponses) CalculateMigrationEstimationByComplexityWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationByComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationByComplexityResponse, error)
func (*ClientWithResponses) CalculateMigrationEstimationWithBodyWithResponse ¶ added in v0.5.1
func (c *ClientWithResponses) CalculateMigrationEstimationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationResponse, error)
CalculateMigrationEstimationWithBodyWithResponse request with arbitrary body returning *CalculateMigrationEstimationResponse
func (*ClientWithResponses) CalculateMigrationEstimationWithResponse ¶ added in v0.5.1
func (c *ClientWithResponses) CalculateMigrationEstimationWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationResponse, error)
func (*ClientWithResponses) CancelJobWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CancelJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelJobResponse, error)
CancelJobWithResponse request returning *CancelJobResponse
func (*ClientWithResponses) CreateAssessmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAssessmentResponse, error)
CreateAssessmentWithBodyWithResponse request with arbitrary body returning *CreateAssessmentResponse
func (*ClientWithResponses) CreateAssessmentWithResponse ¶
func (c *ClientWithResponses) CreateAssessmentWithResponse(ctx context.Context, body CreateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAssessmentResponse, error)
func (*ClientWithResponses) CreateGroupMemberWithBodyWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) CreateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupMemberResponse, error)
CreateGroupMemberWithBodyWithResponse request with arbitrary body returning *CreateGroupMemberResponse
func (*ClientWithResponses) CreateGroupMemberWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) CreateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupMemberResponse, error)
func (*ClientWithResponses) CreateGroupWithBodyWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
CreateGroupWithBodyWithResponse request with arbitrary body returning *CreateGroupResponse
func (*ClientWithResponses) CreateGroupWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
func (*ClientWithResponses) CreateRVToolsAssessmentWithBodyWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) CreateRVToolsAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRVToolsAssessmentResponse, error)
CreateRVToolsAssessmentWithBodyWithResponse request with arbitrary body returning *CreateRVToolsAssessmentResponse
func (*ClientWithResponses) CreateSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
CreateSourceWithBodyWithResponse request with arbitrary body returning *CreateSourceResponse
func (*ClientWithResponses) CreateSourceWithResponse ¶
func (c *ClientWithResponses) CreateSourceWithResponse(ctx context.Context, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
func (*ClientWithResponses) DeleteAssessmentWithResponse ¶
func (c *ClientWithResponses) DeleteAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAssessmentResponse, error)
DeleteAssessmentWithResponse request returning *DeleteAssessmentResponse
func (*ClientWithResponses) DeleteGroupWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) DeleteGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
DeleteGroupWithResponse request returning *DeleteGroupResponse
func (*ClientWithResponses) DeleteSourceWithResponse ¶
func (c *ClientWithResponses) DeleteSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSourceResponse, error)
DeleteSourceWithResponse request returning *DeleteSourceResponse
func (*ClientWithResponses) DeleteSourcesWithResponse ¶
func (c *ClientWithResponses) DeleteSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSourcesResponse, error)
DeleteSourcesWithResponse request returning *DeleteSourcesResponse
func (*ClientWithResponses) GetAssessmentWithResponse ¶
func (c *ClientWithResponses) GetAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentResponse, error)
GetAssessmentWithResponse request returning *GetAssessmentResponse
func (*ClientWithResponses) GetGroupWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) GetGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
GetGroupWithResponse request returning *GetGroupResponse
func (*ClientWithResponses) GetIdentityWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
GetIdentityWithResponse request returning *GetIdentityResponse
func (*ClientWithResponses) GetInfoWithResponse ¶
func (c *ClientWithResponses) GetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInfoResponse, error)
GetInfoWithResponse request returning *GetInfoResponse
func (*ClientWithResponses) GetJobWithResponse ¶ added in v0.3.0
func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetJobResponse, error)
GetJobWithResponse request returning *GetJobResponse
func (*ClientWithResponses) GetSourceDownloadURLWithResponse ¶
func (c *ClientWithResponses) GetSourceDownloadURLWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceDownloadURLResponse, error)
GetSourceDownloadURLWithResponse request returning *GetSourceDownloadURLResponse
func (*ClientWithResponses) GetSourceWithResponse ¶
func (c *ClientWithResponses) GetSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceResponse, error)
GetSourceWithResponse request returning *GetSourceResponse
func (*ClientWithResponses) HeadImageWithResponse ¶
func (c *ClientWithResponses) HeadImageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*HeadImageResponse, error)
HeadImageWithResponse request returning *HeadImageResponse
func (*ClientWithResponses) HealthWithResponse ¶
func (c *ClientWithResponses) HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
HealthWithResponse request returning *HealthResponse
func (*ClientWithResponses) ListAssessmentsWithResponse ¶
func (c *ClientWithResponses) ListAssessmentsWithResponse(ctx context.Context, params *ListAssessmentsParams, reqEditors ...RequestEditorFn) (*ListAssessmentsResponse, error)
ListAssessmentsWithResponse request returning *ListAssessmentsResponse
func (*ClientWithResponses) ListGroupMembersWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) ListGroupMembersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGroupMembersResponse, error)
ListGroupMembersWithResponse request returning *ListGroupMembersResponse
func (*ClientWithResponses) ListGroupsWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)
ListGroupsWithResponse request returning *ListGroupsResponse
func (*ClientWithResponses) ListSourcesWithResponse ¶
func (c *ClientWithResponses) ListSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSourcesResponse, error)
ListSourcesWithResponse request returning *ListSourcesResponse
func (*ClientWithResponses) RemoveGroupMemberWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) RemoveGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, reqEditors ...RequestEditorFn) (*RemoveGroupMemberResponse, error)
RemoveGroupMemberWithResponse request returning *RemoveGroupMemberResponse
func (*ClientWithResponses) UpdateAssessmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAssessmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAssessmentResponse, error)
UpdateAssessmentWithBodyWithResponse request with arbitrary body returning *UpdateAssessmentResponse
func (*ClientWithResponses) UpdateAssessmentWithResponse ¶
func (c *ClientWithResponses) UpdateAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAssessmentResponse, error)
func (*ClientWithResponses) UpdateGroupMemberWithBodyWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) UpdateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupMemberResponse, error)
UpdateGroupMemberWithBodyWithResponse request with arbitrary body returning *UpdateGroupMemberResponse
func (*ClientWithResponses) UpdateGroupMemberWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) UpdateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, body UpdateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupMemberResponse, error)
func (*ClientWithResponses) UpdateGroupWithBodyWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) UpdateGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
UpdateGroupWithBodyWithResponse request with arbitrary body returning *UpdateGroupResponse
func (*ClientWithResponses) UpdateGroupWithResponse ¶ added in v0.11.0
func (c *ClientWithResponses) UpdateGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
func (*ClientWithResponses) UpdateInventoryWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateInventoryWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInventoryResponse, error)
UpdateInventoryWithBodyWithResponse request with arbitrary body returning *UpdateInventoryResponse
func (*ClientWithResponses) UpdateInventoryWithResponse ¶
func (c *ClientWithResponses) UpdateInventoryWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInventoryResponse, error)
func (*ClientWithResponses) UpdateSourceWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSourceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
UpdateSourceWithBodyWithResponse request with arbitrary body returning *UpdateSourceResponse
func (*ClientWithResponses) UpdateSourceWithResponse ¶
func (c *ClientWithResponses) UpdateSourceWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAssessmentsWithResponse request
ListAssessmentsWithResponse(ctx context.Context, params *ListAssessmentsParams, reqEditors ...RequestEditorFn) (*ListAssessmentsResponse, error)
// CreateAssessmentWithBodyWithResponse request with any body
CreateAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAssessmentResponse, error)
CreateAssessmentWithResponse(ctx context.Context, body CreateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAssessmentResponse, error)
// CancelJobWithResponse request
CancelJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*CancelJobResponse, error)
// GetJobWithResponse request
GetJobWithResponse(ctx context.Context, id int64, reqEditors ...RequestEditorFn) (*GetJobResponse, error)
// CreateRVToolsAssessmentWithBodyWithResponse request with any body
CreateRVToolsAssessmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRVToolsAssessmentResponse, error)
// DeleteAssessmentWithResponse request
DeleteAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteAssessmentResponse, error)
// GetAssessmentWithResponse request
GetAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetAssessmentResponse, error)
// UpdateAssessmentWithBodyWithResponse request with any body
UpdateAssessmentWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAssessmentResponse, error)
UpdateAssessmentWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateAssessmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAssessmentResponse, error)
// CalculateAssessmentClusterRequirementsWithBodyWithResponse request with any body
CalculateAssessmentClusterRequirementsWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateAssessmentClusterRequirementsResponse, error)
CalculateAssessmentClusterRequirementsWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateAssessmentClusterRequirementsJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateAssessmentClusterRequirementsResponse, error)
// CalculateMigrationComplexityWithBodyWithResponse request with any body
CalculateMigrationComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationComplexityResponse, error)
CalculateMigrationComplexityWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationComplexityResponse, error)
// CalculateMigrationEstimationWithBodyWithResponse request with any body
CalculateMigrationEstimationWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationResponse, error)
CalculateMigrationEstimationWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationResponse, error)
// CalculateMigrationEstimationByComplexityWithBodyWithResponse request with any body
CalculateMigrationEstimationByComplexityWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationByComplexityResponse, error)
CalculateMigrationEstimationByComplexityWithResponse(ctx context.Context, id openapi_types.UUID, body CalculateMigrationEstimationByComplexityJSONRequestBody, reqEditors ...RequestEditorFn) (*CalculateMigrationEstimationByComplexityResponse, error)
// ListGroupsWithResponse request
ListGroupsWithResponse(ctx context.Context, params *ListGroupsParams, reqEditors ...RequestEditorFn) (*ListGroupsResponse, error)
// CreateGroupWithBodyWithResponse request with any body
CreateGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
CreateGroupWithResponse(ctx context.Context, body CreateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupResponse, error)
// DeleteGroupWithResponse request
DeleteGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGroupResponse, error)
// GetGroupWithResponse request
GetGroupWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetGroupResponse, error)
// UpdateGroupWithBodyWithResponse request with any body
UpdateGroupWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
UpdateGroupWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupResponse, error)
// ListGroupMembersWithResponse request
ListGroupMembersWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*ListGroupMembersResponse, error)
// CreateGroupMemberWithBodyWithResponse request with any body
CreateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGroupMemberResponse, error)
CreateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, body CreateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGroupMemberResponse, error)
// RemoveGroupMemberWithResponse request
RemoveGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, reqEditors ...RequestEditorFn) (*RemoveGroupMemberResponse, error)
// UpdateGroupMemberWithBodyWithResponse request with any body
UpdateGroupMemberWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGroupMemberResponse, error)
UpdateGroupMemberWithResponse(ctx context.Context, id openapi_types.UUID, username string, body UpdateGroupMemberJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGroupMemberResponse, error)
// GetIdentityWithResponse request
GetIdentityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetIdentityResponse, error)
// GetInfoWithResponse request
GetInfoWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetInfoResponse, error)
// DeleteSourcesWithResponse request
DeleteSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteSourcesResponse, error)
// ListSourcesWithResponse request
ListSourcesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSourcesResponse, error)
// CreateSourceWithBodyWithResponse request with any body
CreateSourceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
CreateSourceWithResponse(ctx context.Context, body CreateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSourceResponse, error)
// DeleteSourceWithResponse request
DeleteSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteSourceResponse, error)
// GetSourceWithResponse request
GetSourceWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceResponse, error)
// UpdateSourceWithBodyWithResponse request with any body
UpdateSourceWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
UpdateSourceWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateSourceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSourceResponse, error)
// HeadImageWithResponse request
HeadImageWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*HeadImageResponse, error)
// GetSourceDownloadURLWithResponse request
GetSourceDownloadURLWithResponse(ctx context.Context, id openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetSourceDownloadURLResponse, error)
// UpdateInventoryWithBodyWithResponse request with any body
UpdateInventoryWithBodyWithResponse(ctx context.Context, id openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInventoryResponse, error)
UpdateInventoryWithResponse(ctx context.Context, id openapi_types.UUID, body UpdateInventoryJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInventoryResponse, error)
// HealthWithResponse request
HealthWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateAssessmentResponse ¶
type CreateAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Assessment
JSON400 *Error
JSON401 *Error
JSON500 *Error
}
func ParseCreateAssessmentResponse ¶
func ParseCreateAssessmentResponse(rsp *http.Response) (*CreateAssessmentResponse, error)
ParseCreateAssessmentResponse parses an HTTP response from a CreateAssessmentWithResponse call
func (CreateAssessmentResponse) Status ¶
func (r CreateAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAssessmentResponse) StatusCode ¶
func (r CreateAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGroupMemberResponse ¶ added in v0.11.0
type CreateGroupMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Member
JSON400 *Error
JSON401 *Error
JSON404 *Error
JSON409 *Error
JSON500 *Error
}
func ParseCreateGroupMemberResponse ¶ added in v0.11.0
func ParseCreateGroupMemberResponse(rsp *http.Response) (*CreateGroupMemberResponse, error)
ParseCreateGroupMemberResponse parses an HTTP response from a CreateGroupMemberWithResponse call
func (CreateGroupMemberResponse) Status ¶ added in v0.11.0
func (r CreateGroupMemberResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGroupMemberResponse) StatusCode ¶ added in v0.11.0
func (r CreateGroupMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGroupResponse ¶ added in v0.11.0
type CreateGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Group
JSON400 *Error
JSON401 *Error
JSON500 *Error
}
func ParseCreateGroupResponse ¶ added in v0.11.0
func ParseCreateGroupResponse(rsp *http.Response) (*CreateGroupResponse, error)
ParseCreateGroupResponse parses an HTTP response from a CreateGroupWithResponse call
func (CreateGroupResponse) Status ¶ added in v0.11.0
func (r CreateGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGroupResponse) StatusCode ¶ added in v0.11.0
func (r CreateGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateRVToolsAssessmentResponse ¶ added in v0.3.0
type CreateRVToolsAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *Job
JSON400 *Error
JSON401 *Error
JSON500 *Error
}
func ParseCreateRVToolsAssessmentResponse ¶ added in v0.3.0
func ParseCreateRVToolsAssessmentResponse(rsp *http.Response) (*CreateRVToolsAssessmentResponse, error)
ParseCreateRVToolsAssessmentResponse parses an HTTP response from a CreateRVToolsAssessmentWithResponse call
func (CreateRVToolsAssessmentResponse) Status ¶ added in v0.3.0
func (r CreateRVToolsAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateRVToolsAssessmentResponse) StatusCode ¶ added in v0.3.0
func (r CreateRVToolsAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSourceResponse ¶
type CreateSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Source
JSON400 *Error
JSON401 *Error
JSON500 *Error
}
func ParseCreateSourceResponse ¶
func ParseCreateSourceResponse(rsp *http.Response) (*CreateSourceResponse, error)
ParseCreateSourceResponse parses an HTTP response from a CreateSourceWithResponse call
func (CreateSourceResponse) Status ¶
func (r CreateSourceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSourceResponse) StatusCode ¶
func (r CreateSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAssessmentResponse ¶
type DeleteAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Assessment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseDeleteAssessmentResponse ¶
func ParseDeleteAssessmentResponse(rsp *http.Response) (*DeleteAssessmentResponse, error)
ParseDeleteAssessmentResponse parses an HTTP response from a DeleteAssessmentWithResponse call
func (DeleteAssessmentResponse) Status ¶
func (r DeleteAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAssessmentResponse) StatusCode ¶
func (r DeleteAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGroupResponse ¶ added in v0.11.0
type DeleteGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Group
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseDeleteGroupResponse ¶ added in v0.11.0
func ParseDeleteGroupResponse(rsp *http.Response) (*DeleteGroupResponse, error)
ParseDeleteGroupResponse parses an HTTP response from a DeleteGroupWithResponse call
func (DeleteGroupResponse) Status ¶ added in v0.11.0
func (r DeleteGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGroupResponse) StatusCode ¶ added in v0.11.0
func (r DeleteGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSourceResponse ¶
type DeleteSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Source
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseDeleteSourceResponse ¶
func ParseDeleteSourceResponse(rsp *http.Response) (*DeleteSourceResponse, error)
ParseDeleteSourceResponse parses an HTTP response from a DeleteSourceWithResponse call
func (DeleteSourceResponse) Status ¶
func (r DeleteSourceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSourceResponse) StatusCode ¶
func (r DeleteSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSourcesResponse ¶
type DeleteSourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Status
JSON401 *Error
JSON500 *Error
}
func ParseDeleteSourcesResponse ¶
func ParseDeleteSourcesResponse(rsp *http.Response) (*DeleteSourcesResponse, error)
ParseDeleteSourcesResponse parses an HTTP response from a DeleteSourcesWithResponse call
func (DeleteSourcesResponse) Status ¶
func (r DeleteSourcesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSourcesResponse) StatusCode ¶
func (r DeleteSourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAssessmentResponse ¶
type GetAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Assessment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetAssessmentResponse ¶
func ParseGetAssessmentResponse(rsp *http.Response) (*GetAssessmentResponse, error)
ParseGetAssessmentResponse parses an HTTP response from a GetAssessmentWithResponse call
func (GetAssessmentResponse) Status ¶
func (r GetAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetAssessmentResponse) StatusCode ¶
func (r GetAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGroupResponse ¶ added in v0.11.0
type GetGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Group
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetGroupResponse ¶ added in v0.11.0
func ParseGetGroupResponse(rsp *http.Response) (*GetGroupResponse, error)
ParseGetGroupResponse parses an HTTP response from a GetGroupWithResponse call
func (GetGroupResponse) Status ¶ added in v0.11.0
func (r GetGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetGroupResponse) StatusCode ¶ added in v0.11.0
func (r GetGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIdentityResponse ¶ added in v0.11.0
type GetIdentityResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Identity
JSON401 *Error
JSON500 *Error
}
func ParseGetIdentityResponse ¶ added in v0.11.0
func ParseGetIdentityResponse(rsp *http.Response) (*GetIdentityResponse, error)
ParseGetIdentityResponse parses an HTTP response from a GetIdentityWithResponse call
func (GetIdentityResponse) Status ¶ added in v0.11.0
func (r GetIdentityResponse) Status() string
Status returns HTTPResponse.Status
func (GetIdentityResponse) StatusCode ¶ added in v0.11.0
func (r GetIdentityResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInfoResponse ¶
type GetInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Info
JSON500 *Error
}
func ParseGetInfoResponse ¶
func ParseGetInfoResponse(rsp *http.Response) (*GetInfoResponse, error)
ParseGetInfoResponse parses an HTTP response from a GetInfoWithResponse call
func (GetInfoResponse) Status ¶
func (r GetInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetInfoResponse) StatusCode ¶
func (r GetInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetJobResponse ¶ added in v0.3.0
type GetJobResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Job
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetJobResponse ¶ added in v0.3.0
func ParseGetJobResponse(rsp *http.Response) (*GetJobResponse, error)
ParseGetJobResponse parses an HTTP response from a GetJobWithResponse call
func (GetJobResponse) Status ¶ added in v0.3.0
func (r GetJobResponse) Status() string
Status returns HTTPResponse.Status
func (GetJobResponse) StatusCode ¶ added in v0.3.0
func (r GetJobResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSourceDownloadURLResponse ¶
type GetSourceDownloadURLResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PresignedUrl
JSON400 *Error
JSON401 *Error
JSON404 *Error
}
func ParseGetSourceDownloadURLResponse ¶
func ParseGetSourceDownloadURLResponse(rsp *http.Response) (*GetSourceDownloadURLResponse, error)
ParseGetSourceDownloadURLResponse parses an HTTP response from a GetSourceDownloadURLWithResponse call
func (GetSourceDownloadURLResponse) Status ¶
func (r GetSourceDownloadURLResponse) Status() string
Status returns HTTPResponse.Status
func (GetSourceDownloadURLResponse) StatusCode ¶
func (r GetSourceDownloadURLResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSourceResponse ¶
type GetSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Source
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseGetSourceResponse ¶
func ParseGetSourceResponse(rsp *http.Response) (*GetSourceResponse, error)
ParseGetSourceResponse parses an HTTP response from a GetSourceWithResponse call
func (GetSourceResponse) Status ¶
func (r GetSourceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSourceResponse) StatusCode ¶
func (r GetSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HeadImageResponse ¶
func ParseHeadImageResponse ¶
func ParseHeadImageResponse(rsp *http.Response) (*HeadImageResponse, error)
ParseHeadImageResponse parses an HTTP response from a HeadImageWithResponse call
func (HeadImageResponse) Status ¶
func (r HeadImageResponse) Status() string
Status returns HTTPResponse.Status
func (HeadImageResponse) StatusCode ¶
func (r HeadImageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthResponse ¶
func ParseHealthResponse ¶
func ParseHealthResponse(rsp *http.Response) (*HealthResponse, error)
ParseHealthResponse parses an HTTP response from a HealthWithResponse call
func (HealthResponse) Status ¶
func (r HealthResponse) Status() string
Status returns HTTPResponse.Status
func (HealthResponse) StatusCode ¶
func (r HealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListAssessmentsResponse ¶
type ListAssessmentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AssessmentList
JSON401 *Error
JSON500 *Error
}
func ParseListAssessmentsResponse ¶
func ParseListAssessmentsResponse(rsp *http.Response) (*ListAssessmentsResponse, error)
ParseListAssessmentsResponse parses an HTTP response from a ListAssessmentsWithResponse call
func (ListAssessmentsResponse) Status ¶
func (r ListAssessmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAssessmentsResponse) StatusCode ¶
func (r ListAssessmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGroupMembersResponse ¶ added in v0.11.0
type ListGroupMembersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MemberList
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseListGroupMembersResponse ¶ added in v0.11.0
func ParseListGroupMembersResponse(rsp *http.Response) (*ListGroupMembersResponse, error)
ParseListGroupMembersResponse parses an HTTP response from a ListGroupMembersWithResponse call
func (ListGroupMembersResponse) Status ¶ added in v0.11.0
func (r ListGroupMembersResponse) Status() string
Status returns HTTPResponse.Status
func (ListGroupMembersResponse) StatusCode ¶ added in v0.11.0
func (r ListGroupMembersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGroupsResponse ¶ added in v0.11.0
type ListGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GroupList
JSON401 *Error
JSON500 *Error
}
func ParseListGroupsResponse ¶ added in v0.11.0
func ParseListGroupsResponse(rsp *http.Response) (*ListGroupsResponse, error)
ParseListGroupsResponse parses an HTTP response from a ListGroupsWithResponse call
func (ListGroupsResponse) Status ¶ added in v0.11.0
func (r ListGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGroupsResponse) StatusCode ¶ added in v0.11.0
func (r ListGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSourcesResponse ¶
type ListSourcesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *SourceList
JSON401 *Error
JSON500 *Error
}
func ParseListSourcesResponse ¶
func ParseListSourcesResponse(rsp *http.Response) (*ListSourcesResponse, error)
ParseListSourcesResponse parses an HTTP response from a ListSourcesWithResponse call
func (ListSourcesResponse) Status ¶
func (r ListSourcesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSourcesResponse) StatusCode ¶
func (r ListSourcesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveGroupMemberResponse ¶ added in v0.11.0
type RemoveGroupMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *Error
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseRemoveGroupMemberResponse ¶ added in v0.11.0
func ParseRemoveGroupMemberResponse(rsp *http.Response) (*RemoveGroupMemberResponse, error)
ParseRemoveGroupMemberResponse parses an HTTP response from a RemoveGroupMemberWithResponse call
func (RemoveGroupMemberResponse) Status ¶ added in v0.11.0
func (r RemoveGroupMemberResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveGroupMemberResponse) StatusCode ¶ added in v0.11.0
func (r RemoveGroupMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type UpdateAssessmentResponse ¶
type UpdateAssessmentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Assessment
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateAssessmentResponse ¶
func ParseUpdateAssessmentResponse(rsp *http.Response) (*UpdateAssessmentResponse, error)
ParseUpdateAssessmentResponse parses an HTTP response from a UpdateAssessmentWithResponse call
func (UpdateAssessmentResponse) Status ¶
func (r UpdateAssessmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAssessmentResponse) StatusCode ¶
func (r UpdateAssessmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGroupMemberResponse ¶ added in v0.11.0
type UpdateGroupMemberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Member
JSON400 *Error
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateGroupMemberResponse ¶ added in v0.11.0
func ParseUpdateGroupMemberResponse(rsp *http.Response) (*UpdateGroupMemberResponse, error)
ParseUpdateGroupMemberResponse parses an HTTP response from a UpdateGroupMemberWithResponse call
func (UpdateGroupMemberResponse) Status ¶ added in v0.11.0
func (r UpdateGroupMemberResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGroupMemberResponse) StatusCode ¶ added in v0.11.0
func (r UpdateGroupMemberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGroupResponse ¶ added in v0.11.0
type UpdateGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Group
JSON400 *Error
JSON401 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateGroupResponse ¶ added in v0.11.0
func ParseUpdateGroupResponse(rsp *http.Response) (*UpdateGroupResponse, error)
ParseUpdateGroupResponse parses an HTTP response from a UpdateGroupWithResponse call
func (UpdateGroupResponse) Status ¶ added in v0.11.0
func (r UpdateGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGroupResponse) StatusCode ¶ added in v0.11.0
func (r UpdateGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInventoryResponse ¶
type UpdateInventoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Source
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateInventoryResponse ¶
func ParseUpdateInventoryResponse(rsp *http.Response) (*UpdateInventoryResponse, error)
ParseUpdateInventoryResponse parses an HTTP response from a UpdateInventoryWithResponse call
func (UpdateInventoryResponse) Status ¶
func (r UpdateInventoryResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInventoryResponse) StatusCode ¶
func (r UpdateInventoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSourceResponse ¶
type UpdateSourceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Source
JSON400 *Error
JSON401 *Error
JSON403 *Error
JSON404 *Error
JSON500 *Error
}
func ParseUpdateSourceResponse ¶
func ParseUpdateSourceResponse(rsp *http.Response) (*UpdateSourceResponse, error)
ParseUpdateSourceResponse parses an HTTP response from a UpdateSourceWithResponse call
func (UpdateSourceResponse) Status ¶
func (r UpdateSourceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSourceResponse) StatusCode ¶
func (r UpdateSourceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode