Documentation
¶
Overview ¶
Package RegistryApi provides primitives to interact the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen DO NOT EDIT.
Index ¶
- func NewCreateArtifactRequestWithBody(server string, params *CreateArtifactParams, contentType string, ...) (*http.Request, error)
- func NewCreateArtifactRuleRequest(server string, artifactId string, body CreateArtifactRuleJSONRequestBody) (*http.Request, error)
- func NewCreateArtifactRuleRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateArtifactVersionRequestWithBody(server string, artifactId string, params *CreateArtifactVersionParams, ...) (*http.Request, error)
- func NewCreateGlobalRuleRequest(server string, body CreateGlobalRuleJSONRequestBody) (*http.Request, error)
- func NewCreateGlobalRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAllGlobalRulesRequest(server string) (*http.Request, error)
- func NewDeleteArtifactRequest(server string, artifactId string) (*http.Request, error)
- func NewDeleteArtifactRuleRequest(server string, artifactId string, rule string) (*http.Request, error)
- func NewDeleteArtifactRulesRequest(server string, artifactId string) (*http.Request, error)
- func NewDeleteArtifactVersionMetaDataRequest(server string, artifactId string, version int) (*http.Request, error)
- func NewDeleteGlobalRuleRequest(server string, rule string) (*http.Request, error)
- func NewGetArtifactByGlobalIdRequest(server string, globalId int64) (*http.Request, error)
- func NewGetArtifactMetaDataByContentRequest(server string, artifactId string, ...) (*http.Request, error)
- func NewGetArtifactMetaDataByContentRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetArtifactMetaDataByGlobalIdRequest(server string, globalId int64) (*http.Request, error)
- func NewGetArtifactMetaDataRequest(server string, artifactId string) (*http.Request, error)
- func NewGetArtifactRuleConfigRequest(server string, artifactId string, rule string) (*http.Request, error)
- func NewGetArtifactVersionMetaDataRequest(server string, artifactId string, version int) (*http.Request, error)
- func NewGetArtifactVersionRequest(server string, artifactId string, version int) (*http.Request, error)
- func NewGetGlobalRuleConfigRequest(server string, rule string) (*http.Request, error)
- func NewGetLatestArtifactRequest(server string, artifactId string) (*http.Request, error)
- func NewListArtifactRulesRequest(server string, artifactId string) (*http.Request, error)
- func NewListArtifactVersionsRequest(server string, artifactId string) (*http.Request, error)
- func NewListArtifactsRequest(server string) (*http.Request, error)
- func NewListGlobalRulesRequest(server string) (*http.Request, error)
- func NewSearchArtifactsRequest(server string, params *SearchArtifactsParams) (*http.Request, error)
- func NewSearchVersionsRequest(server string, artifactId string, params *SearchVersionsParams) (*http.Request, error)
- func NewTestUpdateArtifactRequestWithBody(server string, artifactId string, params *TestUpdateArtifactParams, ...) (*http.Request, error)
- func NewUpdateArtifactMetaDataRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateArtifactRequestWithBody(server string, artifactId string, params *UpdateArtifactParams, ...) (*http.Request, error)
- func NewUpdateArtifactRuleConfigRequest(server string, artifactId string, rule string, ...) (*http.Request, error)
- func NewUpdateArtifactRuleConfigRequestWithBody(server string, artifactId string, rule string, contentType string, ...) (*http.Request, error)
- func NewUpdateArtifactStateRequest(server string, artifactId string, body UpdateArtifactStateJSONRequestBody) (*http.Request, error)
- func NewUpdateArtifactStateRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateArtifactVersionMetaDataRequest(server string, artifactId string, version int, ...) (*http.Request, error)
- func NewUpdateArtifactVersionMetaDataRequestWithBody(server string, artifactId string, version int, contentType string, ...) (*http.Request, error)
- func NewUpdateArtifactVersionStateRequest(server string, artifactId string, version int, ...) (*http.Request, error)
- func NewUpdateArtifactVersionStateRequestWithBody(server string, artifactId string, version int, contentType string, ...) (*http.Request, error)
- func NewUpdateGlobalRuleConfigRequest(server string, rule string, body UpdateGlobalRuleConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateGlobalRuleConfigRequestWithBody(server string, rule string, contentType string, body io.Reader) (*http.Request, error)
- type ArtifactMetaData
- type ArtifactSearchResults
- type ArtifactState
- type ArtifactType
- type BadRequest
- type Client
- func (c *Client) CreateArtifactRule(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateArtifactRuleWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateArtifactVersionWithBody(ctx context.Context, artifactId string, params *CreateArtifactVersionParams, ...) (*http.Response, error)
- func (c *Client) CreateArtifactWithBody(ctx context.Context, params *CreateArtifactParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateGlobalRule(ctx context.Context, body CreateGlobalRuleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGlobalRuleWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAllGlobalRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteArtifact(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteArtifactRule(ctx context.Context, artifactId string, rule string, ...) (*http.Response, error)
- func (c *Client) DeleteArtifactRules(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteArtifactVersionMetaData(ctx context.Context, artifactId string, version int, ...) (*http.Response, error)
- func (c *Client) DeleteGlobalRule(ctx context.Context, rule string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtifactByGlobalId(ctx context.Context, globalId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtifactMetaData(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtifactMetaDataByContent(ctx context.Context, artifactId string, ...) (*http.Response, error)
- func (c *Client) GetArtifactMetaDataByContentWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetArtifactMetaDataByGlobalId(ctx context.Context, globalId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetArtifactRuleConfig(ctx context.Context, artifactId string, rule string, ...) (*http.Response, error)
- func (c *Client) GetArtifactVersion(ctx context.Context, artifactId string, version int, ...) (*http.Response, error)
- func (c *Client) GetArtifactVersionMetaData(ctx context.Context, artifactId string, version int, ...) (*http.Response, error)
- func (c *Client) GetGlobalRuleConfig(ctx context.Context, rule string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLatestArtifact(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListArtifactRules(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListArtifactVersions(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListArtifacts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGlobalRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SearchArtifacts(ctx context.Context, params *SearchArtifactsParams, ...) (*http.Response, error)
- func (c *Client) SearchVersions(ctx context.Context, artifactId string, params *SearchVersionsParams, ...) (*http.Response, error)
- func (c *Client) TestUpdateArtifactWithBody(ctx context.Context, artifactId string, params *TestUpdateArtifactParams, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactMetaDataWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactRuleConfig(ctx context.Context, artifactId string, rule string, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactRuleConfigWithBody(ctx context.Context, artifactId string, rule string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactState(ctx context.Context, artifactId string, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactStateWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactVersionMetaData(ctx context.Context, artifactId string, version int, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactVersionMetaDataWithBody(ctx context.Context, artifactId string, version int, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactVersionState(ctx context.Context, artifactId string, version int, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactVersionStateWithBody(ctx context.Context, artifactId string, version int, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateArtifactWithBody(ctx context.Context, artifactId string, params *UpdateArtifactParams, ...) (*http.Response, error)
- func (c *Client) UpdateGlobalRuleConfig(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGlobalRuleConfigWithBody(ctx context.Context, rule string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) CreateArtifactRuleWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*CreateArtifactRuleResponse, error)
- func (c *ClientWithResponses) CreateArtifactRuleWithResponse(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody) (*CreateArtifactRuleResponse, error)
- func (c *ClientWithResponses) CreateArtifactVersionWithBodyWithResponse(ctx context.Context, artifactId string, params *CreateArtifactVersionParams, ...) (*CreateArtifactVersionResponse, error)
- func (c *ClientWithResponses) CreateArtifactWithBodyWithResponse(ctx context.Context, params *CreateArtifactParams, contentType string, ...) (*CreateArtifactResponse, error)
- func (c *ClientWithResponses) CreateGlobalRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateGlobalRuleResponse, error)
- func (c *ClientWithResponses) CreateGlobalRuleWithResponse(ctx context.Context, body CreateGlobalRuleJSONRequestBody) (*CreateGlobalRuleResponse, error)
- func (c *ClientWithResponses) DeleteAllGlobalRulesWithResponse(ctx context.Context) (*DeleteAllGlobalRulesResponse, error)
- func (c *ClientWithResponses) DeleteArtifactRuleWithResponse(ctx context.Context, artifactId string, rule string) (*DeleteArtifactRuleResponse, error)
- func (c *ClientWithResponses) DeleteArtifactRulesWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactRulesResponse, error)
- func (c *ClientWithResponses) DeleteArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*DeleteArtifactVersionMetaDataResponse, error)
- func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactResponse, error)
- func (c *ClientWithResponses) DeleteGlobalRuleWithResponse(ctx context.Context, rule string) (*DeleteGlobalRuleResponse, error)
- func (c *ClientWithResponses) GetArtifactByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactByGlobalIdResponse, error)
- func (c *ClientWithResponses) GetArtifactMetaDataByContentWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*GetArtifactMetaDataByContentResponse, error)
- func (c *ClientWithResponses) GetArtifactMetaDataByContentWithResponse(ctx context.Context, artifactId string, ...) (*GetArtifactMetaDataByContentResponse, error)
- func (c *ClientWithResponses) GetArtifactMetaDataByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactMetaDataByGlobalIdResponse, error)
- func (c *ClientWithResponses) GetArtifactMetaDataWithResponse(ctx context.Context, artifactId string) (*GetArtifactMetaDataResponse, error)
- func (c *ClientWithResponses) GetArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string) (*GetArtifactRuleConfigResponse, error)
- func (c *ClientWithResponses) GetArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionMetaDataResponse, error)
- func (c *ClientWithResponses) GetArtifactVersionWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionResponse, error)
- func (c *ClientWithResponses) GetGlobalRuleConfigWithResponse(ctx context.Context, rule string) (*GetGlobalRuleConfigResponse, error)
- func (c *ClientWithResponses) GetLatestArtifactWithResponse(ctx context.Context, artifactId string) (*GetLatestArtifactResponse, error)
- func (c *ClientWithResponses) ListArtifactRulesWithResponse(ctx context.Context, artifactId string) (*ListArtifactRulesResponse, error)
- func (c *ClientWithResponses) ListArtifactVersionsWithResponse(ctx context.Context, artifactId string) (*ListArtifactVersionsResponse, error)
- func (c *ClientWithResponses) ListArtifactsWithResponse(ctx context.Context) (*ListArtifactsResponse, error)
- func (c *ClientWithResponses) ListGlobalRulesWithResponse(ctx context.Context) (*ListGlobalRulesResponse, error)
- func (c *ClientWithResponses) SearchArtifactsWithResponse(ctx context.Context, params *SearchArtifactsParams) (*SearchArtifactsResponse, error)
- func (c *ClientWithResponses) SearchVersionsWithResponse(ctx context.Context, artifactId string, params *SearchVersionsParams) (*SearchVersionsResponse, error)
- func (c *ClientWithResponses) TestUpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *TestUpdateArtifactParams, ...) (*TestUpdateArtifactResponse, error)
- func (c *ClientWithResponses) UpdateArtifactMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactMetaDataResponse, error)
- func (c *ClientWithResponses) UpdateArtifactRuleConfigWithBodyWithResponse(ctx context.Context, artifactId string, rule string, contentType string, ...) (*UpdateArtifactRuleConfigResponse, error)
- func (c *ClientWithResponses) UpdateArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string, ...) (*UpdateArtifactRuleConfigResponse, error)
- func (c *ClientWithResponses) UpdateArtifactStateWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactStateResponse, error)
- func (c *ClientWithResponses) UpdateArtifactStateWithResponse(ctx context.Context, artifactId string, ...) (*UpdateArtifactStateResponse, error)
- func (c *ClientWithResponses) UpdateArtifactVersionMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, ...) (*UpdateArtifactVersionMetaDataResponse, error)
- func (c *ClientWithResponses) UpdateArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int, ...) (*UpdateArtifactVersionMetaDataResponse, error)
- func (c *ClientWithResponses) UpdateArtifactVersionStateWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, ...) (*UpdateArtifactVersionStateResponse, error)
- func (c *ClientWithResponses) UpdateArtifactVersionStateWithResponse(ctx context.Context, artifactId string, version int, ...) (*UpdateArtifactVersionStateResponse, error)
- func (c *ClientWithResponses) UpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *UpdateArtifactParams, ...) (*UpdateArtifactResponse, error)
- func (c *ClientWithResponses) UpdateGlobalRuleConfigWithBodyWithResponse(ctx context.Context, rule string, contentType string, body io.Reader) (*UpdateGlobalRuleConfigResponse, error)
- func (c *ClientWithResponses) UpdateGlobalRuleConfigWithResponse(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody) (*UpdateGlobalRuleConfigResponse, error)
- type ClientWithResponsesInterface
- type Conflict
- type CreateArtifactParams
- type CreateArtifactResponse
- type CreateArtifactRuleJSONBody
- type CreateArtifactRuleJSONRequestBody
- type CreateArtifactRuleResponse
- type CreateArtifactVersionParams
- type CreateArtifactVersionResponse
- type CreateGlobalRuleJSONBody
- type CreateGlobalRuleJSONRequestBody
- type CreateGlobalRuleResponse
- type DeleteAllGlobalRulesResponse
- type DeleteArtifactResponse
- type DeleteArtifactRuleResponse
- type DeleteArtifactRulesResponse
- type DeleteArtifactVersionMetaDataResponse
- type DeleteGlobalRuleResponse
- type EditableMetaData
- type Error
- type GetArtifactByGlobalIdResponse
- type GetArtifactMetaDataByContentJSONBody
- type GetArtifactMetaDataByContentJSONRequestBody
- type GetArtifactMetaDataByContentResponse
- type GetArtifactMetaDataByGlobalIdResponse
- type GetArtifactMetaDataResponse
- type GetArtifactRuleConfigResponse
- type GetArtifactVersionMetaDataResponse
- type GetArtifactVersionResponse
- type GetGlobalRuleConfigResponse
- type GetLatestArtifactResponse
- type HttpRequestDoer
- type ListArtifactRulesResponse
- type ListArtifactVersionsResponse
- type ListArtifactsResponse
- type ListGlobalRulesResponse
- type NotFound
- type Properties
- type RequestEditorFn
- type Rule
- type RuleType
- type SearchArtifactsParams
- type SearchArtifactsResponse
- type SearchVersionsParams
- type SearchVersionsResponse
- type SearchedArtifact
- type SearchedVersion
- type ServerError
- type TestUpdateArtifactParams
- type TestUpdateArtifactResponse
- type UpdateArtifactMetaDataResponse
- type UpdateArtifactParams
- type UpdateArtifactResponse
- type UpdateArtifactRuleConfigJSONBody
- type UpdateArtifactRuleConfigJSONRequestBody
- type UpdateArtifactRuleConfigResponse
- type UpdateArtifactStateJSONBody
- type UpdateArtifactStateJSONRequestBody
- type UpdateArtifactStateResponse
- type UpdateArtifactVersionMetaDataJSONBody
- type UpdateArtifactVersionMetaDataJSONRequestBody
- type UpdateArtifactVersionMetaDataResponse
- type UpdateArtifactVersionStateJSONBody
- type UpdateArtifactVersionStateJSONRequestBody
- type UpdateArtifactVersionStateResponse
- type UpdateGlobalRuleConfigJSONBody
- type UpdateGlobalRuleConfigJSONRequestBody
- type UpdateGlobalRuleConfigResponse
- type UpdateState
- type VersionMetaData
- type VersionSearchResults
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateArtifactRequestWithBody ¶
func NewCreateArtifactRequestWithBody(server string, params *CreateArtifactParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateArtifactRequestWithBody generates requests for CreateArtifact with any type of body
func NewCreateArtifactRuleRequest ¶
func NewCreateArtifactRuleRequest(server string, artifactId string, body CreateArtifactRuleJSONRequestBody) (*http.Request, error)
NewCreateArtifactRuleRequest calls the generic CreateArtifactRule builder with application/json body
func NewCreateArtifactRuleRequestWithBody ¶
func NewCreateArtifactRuleRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateArtifactRuleRequestWithBody generates requests for CreateArtifactRule with any type of body
func NewCreateArtifactVersionRequestWithBody ¶
func NewCreateArtifactVersionRequestWithBody(server string, artifactId string, params *CreateArtifactVersionParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateArtifactVersionRequestWithBody generates requests for CreateArtifactVersion with any type of body
func NewCreateGlobalRuleRequest ¶
func NewCreateGlobalRuleRequest(server string, body CreateGlobalRuleJSONRequestBody) (*http.Request, error)
NewCreateGlobalRuleRequest calls the generic CreateGlobalRule builder with application/json body
func NewCreateGlobalRuleRequestWithBody ¶
func NewCreateGlobalRuleRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGlobalRuleRequestWithBody generates requests for CreateGlobalRule with any type of body
func NewDeleteAllGlobalRulesRequest ¶
NewDeleteAllGlobalRulesRequest generates requests for DeleteAllGlobalRules
func NewDeleteArtifactRequest ¶
NewDeleteArtifactRequest generates requests for DeleteArtifact
func NewDeleteArtifactRuleRequest ¶
func NewDeleteArtifactRuleRequest(server string, artifactId string, rule string) (*http.Request, error)
NewDeleteArtifactRuleRequest generates requests for DeleteArtifactRule
func NewDeleteArtifactRulesRequest ¶
NewDeleteArtifactRulesRequest generates requests for DeleteArtifactRules
func NewDeleteArtifactVersionMetaDataRequest ¶
func NewDeleteArtifactVersionMetaDataRequest(server string, artifactId string, version int) (*http.Request, error)
NewDeleteArtifactVersionMetaDataRequest generates requests for DeleteArtifactVersionMetaData
func NewDeleteGlobalRuleRequest ¶
NewDeleteGlobalRuleRequest generates requests for DeleteGlobalRule
func NewGetArtifactByGlobalIdRequest ¶
NewGetArtifactByGlobalIdRequest generates requests for GetArtifactByGlobalId
func NewGetArtifactMetaDataByContentRequest ¶
func NewGetArtifactMetaDataByContentRequest(server string, artifactId string, body GetArtifactMetaDataByContentJSONRequestBody) (*http.Request, error)
NewGetArtifactMetaDataByContentRequest calls the generic GetArtifactMetaDataByContent builder with application/json body
func NewGetArtifactMetaDataByContentRequestWithBody ¶
func NewGetArtifactMetaDataByContentRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
NewGetArtifactMetaDataByContentRequestWithBody generates requests for GetArtifactMetaDataByContent with any type of body
func NewGetArtifactMetaDataByGlobalIdRequest ¶
NewGetArtifactMetaDataByGlobalIdRequest generates requests for GetArtifactMetaDataByGlobalId
func NewGetArtifactMetaDataRequest ¶
NewGetArtifactMetaDataRequest generates requests for GetArtifactMetaData
func NewGetArtifactRuleConfigRequest ¶
func NewGetArtifactRuleConfigRequest(server string, artifactId string, rule string) (*http.Request, error)
NewGetArtifactRuleConfigRequest generates requests for GetArtifactRuleConfig
func NewGetArtifactVersionMetaDataRequest ¶
func NewGetArtifactVersionMetaDataRequest(server string, artifactId string, version int) (*http.Request, error)
NewGetArtifactVersionMetaDataRequest generates requests for GetArtifactVersionMetaData
func NewGetArtifactVersionRequest ¶
func NewGetArtifactVersionRequest(server string, artifactId string, version int) (*http.Request, error)
NewGetArtifactVersionRequest generates requests for GetArtifactVersion
func NewGetGlobalRuleConfigRequest ¶
NewGetGlobalRuleConfigRequest generates requests for GetGlobalRuleConfig
func NewGetLatestArtifactRequest ¶
NewGetLatestArtifactRequest generates requests for GetLatestArtifact
func NewListArtifactRulesRequest ¶
NewListArtifactRulesRequest generates requests for ListArtifactRules
func NewListArtifactVersionsRequest ¶
NewListArtifactVersionsRequest generates requests for ListArtifactVersions
func NewListArtifactsRequest ¶
NewListArtifactsRequest generates requests for ListArtifacts
func NewListGlobalRulesRequest ¶
NewListGlobalRulesRequest generates requests for ListGlobalRules
func NewSearchArtifactsRequest ¶
func NewSearchArtifactsRequest(server string, params *SearchArtifactsParams) (*http.Request, error)
NewSearchArtifactsRequest generates requests for SearchArtifacts
func NewSearchVersionsRequest ¶
func NewSearchVersionsRequest(server string, artifactId string, params *SearchVersionsParams) (*http.Request, error)
NewSearchVersionsRequest generates requests for SearchVersions
func NewTestUpdateArtifactRequestWithBody ¶
func NewTestUpdateArtifactRequestWithBody(server string, artifactId string, params *TestUpdateArtifactParams, contentType string, body io.Reader) (*http.Request, error)
NewTestUpdateArtifactRequestWithBody generates requests for TestUpdateArtifact with any type of body
func NewUpdateArtifactMetaDataRequestWithBody ¶
func NewUpdateArtifactMetaDataRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactMetaDataRequestWithBody generates requests for UpdateArtifactMetaData with any type of body
func NewUpdateArtifactRequestWithBody ¶
func NewUpdateArtifactRequestWithBody(server string, artifactId string, params *UpdateArtifactParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactRequestWithBody generates requests for UpdateArtifact with any type of body
func NewUpdateArtifactRuleConfigRequest ¶
func NewUpdateArtifactRuleConfigRequest(server string, artifactId string, rule string, body UpdateArtifactRuleConfigJSONRequestBody) (*http.Request, error)
NewUpdateArtifactRuleConfigRequest calls the generic UpdateArtifactRuleConfig builder with application/json body
func NewUpdateArtifactRuleConfigRequestWithBody ¶
func NewUpdateArtifactRuleConfigRequestWithBody(server string, artifactId string, rule string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactRuleConfigRequestWithBody generates requests for UpdateArtifactRuleConfig with any type of body
func NewUpdateArtifactStateRequest ¶
func NewUpdateArtifactStateRequest(server string, artifactId string, body UpdateArtifactStateJSONRequestBody) (*http.Request, error)
NewUpdateArtifactStateRequest calls the generic UpdateArtifactState builder with application/json body
func NewUpdateArtifactStateRequestWithBody ¶
func NewUpdateArtifactStateRequestWithBody(server string, artifactId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactStateRequestWithBody generates requests for UpdateArtifactState with any type of body
func NewUpdateArtifactVersionMetaDataRequest ¶
func NewUpdateArtifactVersionMetaDataRequest(server string, artifactId string, version int, body UpdateArtifactVersionMetaDataJSONRequestBody) (*http.Request, error)
NewUpdateArtifactVersionMetaDataRequest calls the generic UpdateArtifactVersionMetaData builder with application/json body
func NewUpdateArtifactVersionMetaDataRequestWithBody ¶
func NewUpdateArtifactVersionMetaDataRequestWithBody(server string, artifactId string, version int, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactVersionMetaDataRequestWithBody generates requests for UpdateArtifactVersionMetaData with any type of body
func NewUpdateArtifactVersionStateRequest ¶
func NewUpdateArtifactVersionStateRequest(server string, artifactId string, version int, body UpdateArtifactVersionStateJSONRequestBody) (*http.Request, error)
NewUpdateArtifactVersionStateRequest calls the generic UpdateArtifactVersionState builder with application/json body
func NewUpdateArtifactVersionStateRequestWithBody ¶
func NewUpdateArtifactVersionStateRequestWithBody(server string, artifactId string, version int, contentType string, body io.Reader) (*http.Request, error)
NewUpdateArtifactVersionStateRequestWithBody generates requests for UpdateArtifactVersionState with any type of body
func NewUpdateGlobalRuleConfigRequest ¶
func NewUpdateGlobalRuleConfigRequest(server string, rule string, body UpdateGlobalRuleConfigJSONRequestBody) (*http.Request, error)
NewUpdateGlobalRuleConfigRequest calls the generic UpdateGlobalRuleConfig builder with application/json body
Types ¶
type ArtifactMetaData ¶
type ArtifactMetaData struct { CreatedBy string `json:"createdBy"` CreatedOn int `json:"createdOn"` Description *string `json:"description,omitempty"` GlobalId int64 `json:"globalId"` Id string `json:"id"` Labels *[]string `json:"labels,omitempty"` ModifiedBy string `json:"modifiedBy"` ModifiedOn int `json:"modifiedOn"` Name *string `json:"name,omitempty"` // User-defined name-value pairs. Name and value must be strings. Properties *Properties `json:"properties,omitempty"` // Describes the state of an artifact or artifact version. The following states // are possible: // // * ENABLED // * DISABLED // * DEPRECATED State ArtifactState `json:"state"` Type ArtifactType `json:"type"` Version int64 `json:"version"` }
ArtifactMetaData defines model for ArtifactMetaData.
type ArtifactSearchResults ¶
type ArtifactSearchResults struct { // The artifacts that matched the search criteria. Artifacts []SearchedArtifact `json:"artifacts"` // The total number of artifacts that matched the search criteria. Count int `json:"count"` }
ArtifactSearchResults defines model for ArtifactSearchResults.
type ArtifactState ¶
type ArtifactState string
ArtifactState defines model for ArtifactState.
const ( ArtifactState_DELETED ArtifactState = "DELETED" ArtifactState_DEPRECATED ArtifactState = "DEPRECATED" ArtifactState_DISABLED ArtifactState = "DISABLED" ArtifactState_ENABLED ArtifactState = "ENABLED" )
List of ArtifactState
type ArtifactType ¶
type ArtifactType string
ArtifactType defines model for ArtifactType.
const ( ArtifactType_ASYNCAPI ArtifactType = "ASYNCAPI" ArtifactType_AVRO ArtifactType = "AVRO" ArtifactType_GRAPHQL ArtifactType = "GRAPHQL" ArtifactType_JSON ArtifactType = "JSON" ArtifactType_KCONNECT ArtifactType = "KCONNECT" ArtifactType_OPENAPI ArtifactType = "OPENAPI" ArtifactType_PROTOBUF ArtifactType = "PROTOBUF" ArtifactType_PROTOBUF_FD ArtifactType = "PROTOBUF_FD" ArtifactType_WSDL ArtifactType = "WSDL" ArtifactType_XML ArtifactType = "XML" ArtifactType_XSD ArtifactType = "XSD" )
List of ArtifactType
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) CreateArtifactRule ¶
func (c *Client) CreateArtifactRule(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateArtifactRuleWithBody ¶
func (*Client) CreateArtifactVersionWithBody ¶
func (*Client) CreateArtifactWithBody ¶
func (*Client) CreateGlobalRule ¶
func (c *Client) CreateGlobalRule(ctx context.Context, body CreateGlobalRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGlobalRuleWithBody ¶
func (*Client) DeleteAllGlobalRules ¶
func (*Client) DeleteArtifact ¶
func (*Client) DeleteArtifactRule ¶
func (*Client) DeleteArtifactRules ¶
func (*Client) DeleteArtifactVersionMetaData ¶
func (*Client) DeleteGlobalRule ¶
func (*Client) GetArtifactByGlobalId ¶
func (*Client) GetArtifactMetaData ¶
func (*Client) GetArtifactMetaDataByContent ¶
func (c *Client) GetArtifactMetaDataByContent(ctx context.Context, artifactId string, body GetArtifactMetaDataByContentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetArtifactMetaDataByContentWithBody ¶
func (*Client) GetArtifactMetaDataByGlobalId ¶
func (*Client) GetArtifactRuleConfig ¶
func (*Client) GetArtifactVersion ¶
func (*Client) GetArtifactVersionMetaData ¶
func (*Client) GetGlobalRuleConfig ¶
func (*Client) GetLatestArtifact ¶
func (*Client) ListArtifactRules ¶
func (*Client) ListArtifactVersions ¶
func (*Client) ListArtifacts ¶
func (*Client) ListGlobalRules ¶
func (*Client) SearchArtifacts ¶
func (c *Client) SearchArtifacts(ctx context.Context, params *SearchArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchVersions ¶
func (c *Client) SearchVersions(ctx context.Context, artifactId string, params *SearchVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TestUpdateArtifactWithBody ¶
func (*Client) UpdateArtifactMetaDataWithBody ¶
func (*Client) UpdateArtifactRuleConfig ¶
func (c *Client) UpdateArtifactRuleConfig(ctx context.Context, artifactId string, rule string, body UpdateArtifactRuleConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateArtifactRuleConfigWithBody ¶
func (*Client) UpdateArtifactState ¶
func (c *Client) UpdateArtifactState(ctx context.Context, artifactId string, body UpdateArtifactStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateArtifactStateWithBody ¶
func (*Client) UpdateArtifactVersionMetaData ¶
func (c *Client) UpdateArtifactVersionMetaData(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionMetaDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateArtifactVersionMetaDataWithBody ¶
func (*Client) UpdateArtifactVersionState ¶
func (c *Client) UpdateArtifactVersionState(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateArtifactVersionStateWithBody ¶
func (*Client) UpdateArtifactWithBody ¶
func (*Client) UpdateGlobalRuleConfig ¶
func (c *Client) UpdateGlobalRuleConfig(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface { // ListArtifacts request ListArtifacts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateArtifact request with any body CreateArtifactWithBody(ctx context.Context, params *CreateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteArtifact request DeleteArtifact(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetLatestArtifact request GetLatestArtifact(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifact request with any body UpdateArtifactWithBody(ctx context.Context, artifactId string, params *UpdateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactMetaData request GetArtifactMetaData(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactMetaDataByContent request with any body GetArtifactMetaDataByContentWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) GetArtifactMetaDataByContent(ctx context.Context, artifactId string, body GetArtifactMetaDataByContentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifactMetaData request with any body UpdateArtifactMetaDataWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteArtifactRules request DeleteArtifactRules(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListArtifactRules request ListArtifactRules(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateArtifactRule request with any body CreateArtifactRuleWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateArtifactRule(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteArtifactRule request DeleteArtifactRule(ctx context.Context, artifactId string, rule string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactRuleConfig request GetArtifactRuleConfig(ctx context.Context, artifactId string, rule string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifactRuleConfig request with any body UpdateArtifactRuleConfigWithBody(ctx context.Context, artifactId string, rule string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateArtifactRuleConfig(ctx context.Context, artifactId string, rule string, body UpdateArtifactRuleConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifactState request with any body UpdateArtifactStateWithBody(ctx context.Context, artifactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateArtifactState(ctx context.Context, artifactId string, body UpdateArtifactStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // TestUpdateArtifact request with any body TestUpdateArtifactWithBody(ctx context.Context, artifactId string, params *TestUpdateArtifactParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // ListArtifactVersions request ListArtifactVersions(ctx context.Context, artifactId string, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateArtifactVersion request with any body CreateArtifactVersionWithBody(ctx context.Context, artifactId string, params *CreateArtifactVersionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactVersion request GetArtifactVersion(ctx context.Context, artifactId string, version int, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteArtifactVersionMetaData request DeleteArtifactVersionMetaData(ctx context.Context, artifactId string, version int, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactVersionMetaData request GetArtifactVersionMetaData(ctx context.Context, artifactId string, version int, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifactVersionMetaData request with any body UpdateArtifactVersionMetaDataWithBody(ctx context.Context, artifactId string, version int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateArtifactVersionMetaData(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionMetaDataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateArtifactVersionState request with any body UpdateArtifactVersionStateWithBody(ctx context.Context, artifactId string, version int, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateArtifactVersionState(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionStateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactByGlobalId request GetArtifactByGlobalId(ctx context.Context, globalId int64, reqEditors ...RequestEditorFn) (*http.Response, error) // GetArtifactMetaDataByGlobalId request GetArtifactMetaDataByGlobalId(ctx context.Context, globalId int64, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAllGlobalRules request DeleteAllGlobalRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListGlobalRules request ListGlobalRules(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateGlobalRule request with any body CreateGlobalRuleWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateGlobalRule(ctx context.Context, body CreateGlobalRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteGlobalRule request DeleteGlobalRule(ctx context.Context, rule string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetGlobalRuleConfig request GetGlobalRuleConfig(ctx context.Context, rule string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateGlobalRuleConfig request with any body UpdateGlobalRuleConfigWithBody(ctx context.Context, rule string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateGlobalRuleConfig(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchArtifacts request SearchArtifacts(ctx context.Context, params *SearchArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // SearchVersions request SearchVersions(ctx context.Context, artifactId string, params *SearchVersionsParams, 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) CreateArtifactRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateArtifactRuleWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*CreateArtifactRuleResponse, error)
CreateArtifactRuleWithBodyWithResponse request with arbitrary body returning *CreateArtifactRuleResponse
func (*ClientWithResponses) CreateArtifactRuleWithResponse ¶
func (c *ClientWithResponses) CreateArtifactRuleWithResponse(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody) (*CreateArtifactRuleResponse, error)
func (*ClientWithResponses) CreateArtifactVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateArtifactVersionWithBodyWithResponse(ctx context.Context, artifactId string, params *CreateArtifactVersionParams, contentType string, body io.Reader) (*CreateArtifactVersionResponse, error)
CreateArtifactVersionWithBodyWithResponse request with arbitrary body returning *CreateArtifactVersionResponse
func (*ClientWithResponses) CreateArtifactWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateArtifactWithBodyWithResponse(ctx context.Context, params *CreateArtifactParams, contentType string, body io.Reader) (*CreateArtifactResponse, error)
CreateArtifactWithBodyWithResponse request with arbitrary body returning *CreateArtifactResponse
func (*ClientWithResponses) CreateGlobalRuleWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGlobalRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateGlobalRuleResponse, error)
CreateGlobalRuleWithBodyWithResponse request with arbitrary body returning *CreateGlobalRuleResponse
func (*ClientWithResponses) CreateGlobalRuleWithResponse ¶
func (c *ClientWithResponses) CreateGlobalRuleWithResponse(ctx context.Context, body CreateGlobalRuleJSONRequestBody) (*CreateGlobalRuleResponse, error)
func (*ClientWithResponses) DeleteAllGlobalRulesWithResponse ¶
func (c *ClientWithResponses) DeleteAllGlobalRulesWithResponse(ctx context.Context) (*DeleteAllGlobalRulesResponse, error)
DeleteAllGlobalRulesWithResponse request returning *DeleteAllGlobalRulesResponse
func (*ClientWithResponses) DeleteArtifactRuleWithResponse ¶
func (c *ClientWithResponses) DeleteArtifactRuleWithResponse(ctx context.Context, artifactId string, rule string) (*DeleteArtifactRuleResponse, error)
DeleteArtifactRuleWithResponse request returning *DeleteArtifactRuleResponse
func (*ClientWithResponses) DeleteArtifactRulesWithResponse ¶
func (c *ClientWithResponses) DeleteArtifactRulesWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactRulesResponse, error)
DeleteArtifactRulesWithResponse request returning *DeleteArtifactRulesResponse
func (*ClientWithResponses) DeleteArtifactVersionMetaDataWithResponse ¶
func (c *ClientWithResponses) DeleteArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*DeleteArtifactVersionMetaDataResponse, error)
DeleteArtifactVersionMetaDataWithResponse request returning *DeleteArtifactVersionMetaDataResponse
func (*ClientWithResponses) DeleteArtifactWithResponse ¶
func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactResponse, error)
DeleteArtifactWithResponse request returning *DeleteArtifactResponse
func (*ClientWithResponses) DeleteGlobalRuleWithResponse ¶
func (c *ClientWithResponses) DeleteGlobalRuleWithResponse(ctx context.Context, rule string) (*DeleteGlobalRuleResponse, error)
DeleteGlobalRuleWithResponse request returning *DeleteGlobalRuleResponse
func (*ClientWithResponses) GetArtifactByGlobalIdWithResponse ¶
func (c *ClientWithResponses) GetArtifactByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactByGlobalIdResponse, error)
GetArtifactByGlobalIdWithResponse request returning *GetArtifactByGlobalIdResponse
func (*ClientWithResponses) GetArtifactMetaDataByContentWithBodyWithResponse ¶
func (c *ClientWithResponses) GetArtifactMetaDataByContentWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*GetArtifactMetaDataByContentResponse, error)
GetArtifactMetaDataByContentWithBodyWithResponse request with arbitrary body returning *GetArtifactMetaDataByContentResponse
func (*ClientWithResponses) GetArtifactMetaDataByContentWithResponse ¶
func (c *ClientWithResponses) GetArtifactMetaDataByContentWithResponse(ctx context.Context, artifactId string, body GetArtifactMetaDataByContentJSONRequestBody) (*GetArtifactMetaDataByContentResponse, error)
func (*ClientWithResponses) GetArtifactMetaDataByGlobalIdWithResponse ¶
func (c *ClientWithResponses) GetArtifactMetaDataByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactMetaDataByGlobalIdResponse, error)
GetArtifactMetaDataByGlobalIdWithResponse request returning *GetArtifactMetaDataByGlobalIdResponse
func (*ClientWithResponses) GetArtifactMetaDataWithResponse ¶
func (c *ClientWithResponses) GetArtifactMetaDataWithResponse(ctx context.Context, artifactId string) (*GetArtifactMetaDataResponse, error)
GetArtifactMetaDataWithResponse request returning *GetArtifactMetaDataResponse
func (*ClientWithResponses) GetArtifactRuleConfigWithResponse ¶
func (c *ClientWithResponses) GetArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string) (*GetArtifactRuleConfigResponse, error)
GetArtifactRuleConfigWithResponse request returning *GetArtifactRuleConfigResponse
func (*ClientWithResponses) GetArtifactVersionMetaDataWithResponse ¶
func (c *ClientWithResponses) GetArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionMetaDataResponse, error)
GetArtifactVersionMetaDataWithResponse request returning *GetArtifactVersionMetaDataResponse
func (*ClientWithResponses) GetArtifactVersionWithResponse ¶
func (c *ClientWithResponses) GetArtifactVersionWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionResponse, error)
GetArtifactVersionWithResponse request returning *GetArtifactVersionResponse
func (*ClientWithResponses) GetGlobalRuleConfigWithResponse ¶
func (c *ClientWithResponses) GetGlobalRuleConfigWithResponse(ctx context.Context, rule string) (*GetGlobalRuleConfigResponse, error)
GetGlobalRuleConfigWithResponse request returning *GetGlobalRuleConfigResponse
func (*ClientWithResponses) GetLatestArtifactWithResponse ¶
func (c *ClientWithResponses) GetLatestArtifactWithResponse(ctx context.Context, artifactId string) (*GetLatestArtifactResponse, error)
GetLatestArtifactWithResponse request returning *GetLatestArtifactResponse
func (*ClientWithResponses) ListArtifactRulesWithResponse ¶
func (c *ClientWithResponses) ListArtifactRulesWithResponse(ctx context.Context, artifactId string) (*ListArtifactRulesResponse, error)
ListArtifactRulesWithResponse request returning *ListArtifactRulesResponse
func (*ClientWithResponses) ListArtifactVersionsWithResponse ¶
func (c *ClientWithResponses) ListArtifactVersionsWithResponse(ctx context.Context, artifactId string) (*ListArtifactVersionsResponse, error)
ListArtifactVersionsWithResponse request returning *ListArtifactVersionsResponse
func (*ClientWithResponses) ListArtifactsWithResponse ¶
func (c *ClientWithResponses) ListArtifactsWithResponse(ctx context.Context) (*ListArtifactsResponse, error)
ListArtifactsWithResponse request returning *ListArtifactsResponse
func (*ClientWithResponses) ListGlobalRulesWithResponse ¶
func (c *ClientWithResponses) ListGlobalRulesWithResponse(ctx context.Context) (*ListGlobalRulesResponse, error)
ListGlobalRulesWithResponse request returning *ListGlobalRulesResponse
func (*ClientWithResponses) SearchArtifactsWithResponse ¶
func (c *ClientWithResponses) SearchArtifactsWithResponse(ctx context.Context, params *SearchArtifactsParams) (*SearchArtifactsResponse, error)
SearchArtifactsWithResponse request returning *SearchArtifactsResponse
func (*ClientWithResponses) SearchVersionsWithResponse ¶
func (c *ClientWithResponses) SearchVersionsWithResponse(ctx context.Context, artifactId string, params *SearchVersionsParams) (*SearchVersionsResponse, error)
SearchVersionsWithResponse request returning *SearchVersionsResponse
func (*ClientWithResponses) TestUpdateArtifactWithBodyWithResponse ¶
func (c *ClientWithResponses) TestUpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *TestUpdateArtifactParams, contentType string, body io.Reader) (*TestUpdateArtifactResponse, error)
TestUpdateArtifactWithBodyWithResponse request with arbitrary body returning *TestUpdateArtifactResponse
func (*ClientWithResponses) UpdateArtifactMetaDataWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactMetaDataResponse, error)
UpdateArtifactMetaDataWithBodyWithResponse request with arbitrary body returning *UpdateArtifactMetaDataResponse
func (*ClientWithResponses) UpdateArtifactRuleConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactRuleConfigWithBodyWithResponse(ctx context.Context, artifactId string, rule string, contentType string, body io.Reader) (*UpdateArtifactRuleConfigResponse, error)
UpdateArtifactRuleConfigWithBodyWithResponse request with arbitrary body returning *UpdateArtifactRuleConfigResponse
func (*ClientWithResponses) UpdateArtifactRuleConfigWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string, body UpdateArtifactRuleConfigJSONRequestBody) (*UpdateArtifactRuleConfigResponse, error)
func (*ClientWithResponses) UpdateArtifactStateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactStateWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactStateResponse, error)
UpdateArtifactStateWithBodyWithResponse request with arbitrary body returning *UpdateArtifactStateResponse
func (*ClientWithResponses) UpdateArtifactStateWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactStateWithResponse(ctx context.Context, artifactId string, body UpdateArtifactStateJSONRequestBody) (*UpdateArtifactStateResponse, error)
func (*ClientWithResponses) UpdateArtifactVersionMetaDataWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactVersionMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, body io.Reader) (*UpdateArtifactVersionMetaDataResponse, error)
UpdateArtifactVersionMetaDataWithBodyWithResponse request with arbitrary body returning *UpdateArtifactVersionMetaDataResponse
func (*ClientWithResponses) UpdateArtifactVersionMetaDataWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionMetaDataJSONRequestBody) (*UpdateArtifactVersionMetaDataResponse, error)
func (*ClientWithResponses) UpdateArtifactVersionStateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactVersionStateWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, body io.Reader) (*UpdateArtifactVersionStateResponse, error)
UpdateArtifactVersionStateWithBodyWithResponse request with arbitrary body returning *UpdateArtifactVersionStateResponse
func (*ClientWithResponses) UpdateArtifactVersionStateWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactVersionStateWithResponse(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionStateJSONRequestBody) (*UpdateArtifactVersionStateResponse, error)
func (*ClientWithResponses) UpdateArtifactWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *UpdateArtifactParams, contentType string, body io.Reader) (*UpdateArtifactResponse, error)
UpdateArtifactWithBodyWithResponse request with arbitrary body returning *UpdateArtifactResponse
func (*ClientWithResponses) UpdateGlobalRuleConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGlobalRuleConfigWithBodyWithResponse(ctx context.Context, rule string, contentType string, body io.Reader) (*UpdateGlobalRuleConfigResponse, error)
UpdateGlobalRuleConfigWithBodyWithResponse request with arbitrary body returning *UpdateGlobalRuleConfigResponse
func (*ClientWithResponses) UpdateGlobalRuleConfigWithResponse ¶
func (c *ClientWithResponses) UpdateGlobalRuleConfigWithResponse(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody) (*UpdateGlobalRuleConfigResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListArtifacts request ListArtifactsWithResponse(ctx context.Context) (*ListArtifactsResponse, error) // CreateArtifact request with any body CreateArtifactWithBodyWithResponse(ctx context.Context, params *CreateArtifactParams, contentType string, body io.Reader) (*CreateArtifactResponse, error) // DeleteArtifact request DeleteArtifactWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactResponse, error) // GetLatestArtifact request GetLatestArtifactWithResponse(ctx context.Context, artifactId string) (*GetLatestArtifactResponse, error) // UpdateArtifact request with any body UpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *UpdateArtifactParams, contentType string, body io.Reader) (*UpdateArtifactResponse, error) // GetArtifactMetaData request GetArtifactMetaDataWithResponse(ctx context.Context, artifactId string) (*GetArtifactMetaDataResponse, error) // GetArtifactMetaDataByContent request with any body GetArtifactMetaDataByContentWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*GetArtifactMetaDataByContentResponse, error) GetArtifactMetaDataByContentWithResponse(ctx context.Context, artifactId string, body GetArtifactMetaDataByContentJSONRequestBody) (*GetArtifactMetaDataByContentResponse, error) // UpdateArtifactMetaData request with any body UpdateArtifactMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactMetaDataResponse, error) // DeleteArtifactRules request DeleteArtifactRulesWithResponse(ctx context.Context, artifactId string) (*DeleteArtifactRulesResponse, error) // ListArtifactRules request ListArtifactRulesWithResponse(ctx context.Context, artifactId string) (*ListArtifactRulesResponse, error) // CreateArtifactRule request with any body CreateArtifactRuleWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*CreateArtifactRuleResponse, error) CreateArtifactRuleWithResponse(ctx context.Context, artifactId string, body CreateArtifactRuleJSONRequestBody) (*CreateArtifactRuleResponse, error) // DeleteArtifactRule request DeleteArtifactRuleWithResponse(ctx context.Context, artifactId string, rule string) (*DeleteArtifactRuleResponse, error) // GetArtifactRuleConfig request GetArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string) (*GetArtifactRuleConfigResponse, error) // UpdateArtifactRuleConfig request with any body UpdateArtifactRuleConfigWithBodyWithResponse(ctx context.Context, artifactId string, rule string, contentType string, body io.Reader) (*UpdateArtifactRuleConfigResponse, error) UpdateArtifactRuleConfigWithResponse(ctx context.Context, artifactId string, rule string, body UpdateArtifactRuleConfigJSONRequestBody) (*UpdateArtifactRuleConfigResponse, error) // UpdateArtifactState request with any body UpdateArtifactStateWithBodyWithResponse(ctx context.Context, artifactId string, contentType string, body io.Reader) (*UpdateArtifactStateResponse, error) UpdateArtifactStateWithResponse(ctx context.Context, artifactId string, body UpdateArtifactStateJSONRequestBody) (*UpdateArtifactStateResponse, error) // TestUpdateArtifact request with any body TestUpdateArtifactWithBodyWithResponse(ctx context.Context, artifactId string, params *TestUpdateArtifactParams, contentType string, body io.Reader) (*TestUpdateArtifactResponse, error) // ListArtifactVersions request ListArtifactVersionsWithResponse(ctx context.Context, artifactId string) (*ListArtifactVersionsResponse, error) // CreateArtifactVersion request with any body CreateArtifactVersionWithBodyWithResponse(ctx context.Context, artifactId string, params *CreateArtifactVersionParams, contentType string, body io.Reader) (*CreateArtifactVersionResponse, error) // GetArtifactVersion request GetArtifactVersionWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionResponse, error) // DeleteArtifactVersionMetaData request DeleteArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*DeleteArtifactVersionMetaDataResponse, error) // GetArtifactVersionMetaData request GetArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int) (*GetArtifactVersionMetaDataResponse, error) // UpdateArtifactVersionMetaData request with any body UpdateArtifactVersionMetaDataWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, body io.Reader) (*UpdateArtifactVersionMetaDataResponse, error) UpdateArtifactVersionMetaDataWithResponse(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionMetaDataJSONRequestBody) (*UpdateArtifactVersionMetaDataResponse, error) // UpdateArtifactVersionState request with any body UpdateArtifactVersionStateWithBodyWithResponse(ctx context.Context, artifactId string, version int, contentType string, body io.Reader) (*UpdateArtifactVersionStateResponse, error) UpdateArtifactVersionStateWithResponse(ctx context.Context, artifactId string, version int, body UpdateArtifactVersionStateJSONRequestBody) (*UpdateArtifactVersionStateResponse, error) // GetArtifactByGlobalId request GetArtifactByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactByGlobalIdResponse, error) // GetArtifactMetaDataByGlobalId request GetArtifactMetaDataByGlobalIdWithResponse(ctx context.Context, globalId int64) (*GetArtifactMetaDataByGlobalIdResponse, error) // DeleteAllGlobalRules request DeleteAllGlobalRulesWithResponse(ctx context.Context) (*DeleteAllGlobalRulesResponse, error) // ListGlobalRules request ListGlobalRulesWithResponse(ctx context.Context) (*ListGlobalRulesResponse, error) // CreateGlobalRule request with any body CreateGlobalRuleWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader) (*CreateGlobalRuleResponse, error) CreateGlobalRuleWithResponse(ctx context.Context, body CreateGlobalRuleJSONRequestBody) (*CreateGlobalRuleResponse, error) // DeleteGlobalRule request DeleteGlobalRuleWithResponse(ctx context.Context, rule string) (*DeleteGlobalRuleResponse, error) // GetGlobalRuleConfig request GetGlobalRuleConfigWithResponse(ctx context.Context, rule string) (*GetGlobalRuleConfigResponse, error) // UpdateGlobalRuleConfig request with any body UpdateGlobalRuleConfigWithBodyWithResponse(ctx context.Context, rule string, contentType string, body io.Reader) (*UpdateGlobalRuleConfigResponse, error) UpdateGlobalRuleConfigWithResponse(ctx context.Context, rule string, body UpdateGlobalRuleConfigJSONRequestBody) (*UpdateGlobalRuleConfigResponse, error) // SearchArtifacts request SearchArtifactsWithResponse(ctx context.Context, params *SearchArtifactsParams) (*SearchArtifactsResponse, error) // SearchVersions request SearchVersionsWithResponse(ctx context.Context, artifactId string, params *SearchVersionsParams) (*SearchVersionsResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateArtifactParams ¶
type CreateArtifactParams struct { // Set this option to instruct the server on what to do if the artifact already exists. IfExists *string `json:"ifExists,omitempty"` // Specifies the type of the artifact being added. Possible values include: // // * Avro (`AVRO`) // * Protobuf (`PROTOBUF`) // * Protobuf File Descriptor (`PROTOBUF_FD`) // * JSON Schema (`JSON`) // * Kafka Connect (`KCONNECT`) // * OpenAPI (`OPENAPI`) // * AsyncAPI (`ASYNCAPI`) // * GraphQL (`GRAPHQL`) // * Web Services Description Language (`WSDL`) // * XML Schema (`XSD`) XRegistryArtifactType *string `json:"X-Registry-ArtifactType,omitempty"` // A client-provided, globally unique identifier for the new artifact. XRegistryArtifactId *string `json:"X-Registry-ArtifactId,omitempty"` }
CreateArtifactParams defines parameters for CreateArtifact.
type CreateArtifactResponse ¶
type CreateArtifactResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactMetaData JSON400 *Error JSON409 *Error JSON500 *Error }
func ParseCreateArtifactResponse ¶
func ParseCreateArtifactResponse(rsp *http.Response) (*CreateArtifactResponse, error)
ParseCreateArtifactResponse parses an HTTP response from a CreateArtifactWithResponse call
func (CreateArtifactResponse) Status ¶
func (r CreateArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (CreateArtifactResponse) StatusCode ¶
func (r CreateArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateArtifactRuleJSONBody ¶
type CreateArtifactRuleJSONBody Rule
CreateArtifactRuleJSONBody defines parameters for CreateArtifactRule.
type CreateArtifactRuleJSONRequestBody ¶
type CreateArtifactRuleJSONRequestBody CreateArtifactRuleJSONBody
CreateArtifactRuleJSONRequestBody defines body for CreateArtifactRule for application/json ContentType.
type CreateArtifactRuleResponse ¶
type CreateArtifactRuleResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON500 *Error }
func ParseCreateArtifactRuleResponse ¶
func ParseCreateArtifactRuleResponse(rsp *http.Response) (*CreateArtifactRuleResponse, error)
ParseCreateArtifactRuleResponse parses an HTTP response from a CreateArtifactRuleWithResponse call
func (CreateArtifactRuleResponse) Status ¶
func (r CreateArtifactRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateArtifactRuleResponse) StatusCode ¶
func (r CreateArtifactRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateArtifactVersionParams ¶
type CreateArtifactVersionParams struct { // This header parameter can be used to indicate the type of the artifact being added. Possible values include: // * Avro (`AVRO`) // * Protobuf (`PROTOBUF`) // * Protobuf File Descriptor (`PROTOBUF_FD`) // * JSON Schema (`JSON`) // * Kafka Connect (`KCONNECT`) // * OpenAPI (`OPENAPI`) // * AsyncAPI (`ASYNCAPI`) // * GraphQL (`GRAPHQL`) // * Web Services Description Language (`WSDL`) // * XML Schema (`XSD`) XRegistryArtifactType *string `json:"X-Registry-ArtifactType,omitempty"` }
CreateArtifactVersionParams defines parameters for CreateArtifactVersion.
type CreateArtifactVersionResponse ¶
type CreateArtifactVersionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VersionMetaData JSON404 *Error JSON409 *Error JSON500 *Error }
func ParseCreateArtifactVersionResponse ¶
func ParseCreateArtifactVersionResponse(rsp *http.Response) (*CreateArtifactVersionResponse, error)
ParseCreateArtifactVersionResponse parses an HTTP response from a CreateArtifactVersionWithResponse call
func (CreateArtifactVersionResponse) Status ¶
func (r CreateArtifactVersionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateArtifactVersionResponse) StatusCode ¶
func (r CreateArtifactVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGlobalRuleJSONBody ¶
type CreateGlobalRuleJSONBody Rule
CreateGlobalRuleJSONBody defines parameters for CreateGlobalRule.
type CreateGlobalRuleJSONRequestBody ¶
type CreateGlobalRuleJSONRequestBody CreateGlobalRuleJSONBody
CreateGlobalRuleJSONRequestBody defines body for CreateGlobalRule for application/json ContentType.
type CreateGlobalRuleResponse ¶
type CreateGlobalRuleResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON409 *Error JSON500 *Error }
func ParseCreateGlobalRuleResponse ¶
func ParseCreateGlobalRuleResponse(rsp *http.Response) (*CreateGlobalRuleResponse, error)
ParseCreateGlobalRuleResponse parses an HTTP response from a CreateGlobalRuleWithResponse call
func (CreateGlobalRuleResponse) Status ¶
func (r CreateGlobalRuleResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGlobalRuleResponse) StatusCode ¶
func (r CreateGlobalRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAllGlobalRulesResponse ¶
func ParseDeleteAllGlobalRulesResponse ¶
func ParseDeleteAllGlobalRulesResponse(rsp *http.Response) (*DeleteAllGlobalRulesResponse, error)
ParseDeleteAllGlobalRulesResponse parses an HTTP response from a DeleteAllGlobalRulesWithResponse call
func (DeleteAllGlobalRulesResponse) Status ¶
func (r DeleteAllGlobalRulesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAllGlobalRulesResponse) StatusCode ¶
func (r DeleteAllGlobalRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteArtifactResponse ¶
type DeleteArtifactResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseDeleteArtifactResponse ¶
func ParseDeleteArtifactResponse(rsp *http.Response) (*DeleteArtifactResponse, error)
ParseDeleteArtifactResponse parses an HTTP response from a DeleteArtifactWithResponse call
func (DeleteArtifactResponse) Status ¶
func (r DeleteArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteArtifactResponse) StatusCode ¶
func (r DeleteArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteArtifactRuleResponse ¶
type DeleteArtifactRuleResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseDeleteArtifactRuleResponse ¶
func ParseDeleteArtifactRuleResponse(rsp *http.Response) (*DeleteArtifactRuleResponse, error)
ParseDeleteArtifactRuleResponse parses an HTTP response from a DeleteArtifactRuleWithResponse call
func (DeleteArtifactRuleResponse) Status ¶
func (r DeleteArtifactRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteArtifactRuleResponse) StatusCode ¶
func (r DeleteArtifactRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteArtifactRulesResponse ¶
type DeleteArtifactRulesResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseDeleteArtifactRulesResponse ¶
func ParseDeleteArtifactRulesResponse(rsp *http.Response) (*DeleteArtifactRulesResponse, error)
ParseDeleteArtifactRulesResponse parses an HTTP response from a DeleteArtifactRulesWithResponse call
func (DeleteArtifactRulesResponse) Status ¶
func (r DeleteArtifactRulesResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteArtifactRulesResponse) StatusCode ¶
func (r DeleteArtifactRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteArtifactVersionMetaDataResponse ¶
type DeleteArtifactVersionMetaDataResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseDeleteArtifactVersionMetaDataResponse ¶
func ParseDeleteArtifactVersionMetaDataResponse(rsp *http.Response) (*DeleteArtifactVersionMetaDataResponse, error)
ParseDeleteArtifactVersionMetaDataResponse parses an HTTP response from a DeleteArtifactVersionMetaDataWithResponse call
func (DeleteArtifactVersionMetaDataResponse) Status ¶
func (r DeleteArtifactVersionMetaDataResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteArtifactVersionMetaDataResponse) StatusCode ¶
func (r DeleteArtifactVersionMetaDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGlobalRuleResponse ¶
type DeleteGlobalRuleResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseDeleteGlobalRuleResponse ¶
func ParseDeleteGlobalRuleResponse(rsp *http.Response) (*DeleteGlobalRuleResponse, error)
ParseDeleteGlobalRuleResponse parses an HTTP response from a DeleteGlobalRuleWithResponse call
func (DeleteGlobalRuleResponse) Status ¶
func (r DeleteGlobalRuleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGlobalRuleResponse) StatusCode ¶
func (r DeleteGlobalRuleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditableMetaData ¶
type EditableMetaData struct { Description *string `json:"description,omitempty"` Labels *[]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` // User-defined name-value pairs. Name and value must be strings. Properties *Properties `json:"properties,omitempty"` }
EditableMetaData defines model for EditableMetaData.
type Error ¶
type Error struct { // Full details about the error. This might contain a server stack trace, for example. Detail *string `json:"detail,omitempty"` // The server-side error code. ErrorCode *int32 `json:"error_code,omitempty"` // The short error message. Message *string `json:"message,omitempty"` }
Error defines model for Error.
type GetArtifactByGlobalIdResponse ¶
func ParseGetArtifactByGlobalIdResponse ¶
func ParseGetArtifactByGlobalIdResponse(rsp *http.Response) (*GetArtifactByGlobalIdResponse, error)
ParseGetArtifactByGlobalIdResponse parses an HTTP response from a GetArtifactByGlobalIdWithResponse call
func (GetArtifactByGlobalIdResponse) Status ¶
func (r GetArtifactByGlobalIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactByGlobalIdResponse) StatusCode ¶
func (r GetArtifactByGlobalIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactMetaDataByContentJSONBody ¶
type GetArtifactMetaDataByContentJSONBody interface{}
GetArtifactMetaDataByContentJSONBody defines parameters for GetArtifactMetaDataByContent.
type GetArtifactMetaDataByContentJSONRequestBody ¶
type GetArtifactMetaDataByContentJSONRequestBody GetArtifactMetaDataByContentJSONBody
GetArtifactMetaDataByContentJSONRequestBody defines body for GetArtifactMetaDataByContent for application/json ContentType.
type GetArtifactMetaDataByContentResponse ¶
type GetArtifactMetaDataByContentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactMetaData JSON404 *Error JSON500 *Error }
func ParseGetArtifactMetaDataByContentResponse ¶
func ParseGetArtifactMetaDataByContentResponse(rsp *http.Response) (*GetArtifactMetaDataByContentResponse, error)
ParseGetArtifactMetaDataByContentResponse parses an HTTP response from a GetArtifactMetaDataByContentWithResponse call
func (GetArtifactMetaDataByContentResponse) Status ¶
func (r GetArtifactMetaDataByContentResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactMetaDataByContentResponse) StatusCode ¶
func (r GetArtifactMetaDataByContentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactMetaDataByGlobalIdResponse ¶
type GetArtifactMetaDataByGlobalIdResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactMetaData JSON404 *Error JSON500 *Error }
func ParseGetArtifactMetaDataByGlobalIdResponse ¶
func ParseGetArtifactMetaDataByGlobalIdResponse(rsp *http.Response) (*GetArtifactMetaDataByGlobalIdResponse, error)
ParseGetArtifactMetaDataByGlobalIdResponse parses an HTTP response from a GetArtifactMetaDataByGlobalIdWithResponse call
func (GetArtifactMetaDataByGlobalIdResponse) Status ¶
func (r GetArtifactMetaDataByGlobalIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactMetaDataByGlobalIdResponse) StatusCode ¶
func (r GetArtifactMetaDataByGlobalIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactMetaDataResponse ¶
type GetArtifactMetaDataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactMetaData JSON404 *Error JSON500 *Error }
func ParseGetArtifactMetaDataResponse ¶
func ParseGetArtifactMetaDataResponse(rsp *http.Response) (*GetArtifactMetaDataResponse, error)
ParseGetArtifactMetaDataResponse parses an HTTP response from a GetArtifactMetaDataWithResponse call
func (GetArtifactMetaDataResponse) Status ¶
func (r GetArtifactMetaDataResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactMetaDataResponse) StatusCode ¶
func (r GetArtifactMetaDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactRuleConfigResponse ¶
type GetArtifactRuleConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Rule JSON404 *Error JSON500 *Error }
func ParseGetArtifactRuleConfigResponse ¶
func ParseGetArtifactRuleConfigResponse(rsp *http.Response) (*GetArtifactRuleConfigResponse, error)
ParseGetArtifactRuleConfigResponse parses an HTTP response from a GetArtifactRuleConfigWithResponse call
func (GetArtifactRuleConfigResponse) Status ¶
func (r GetArtifactRuleConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactRuleConfigResponse) StatusCode ¶
func (r GetArtifactRuleConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactVersionMetaDataResponse ¶
type GetArtifactVersionMetaDataResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VersionMetaData JSON404 *Error JSON500 *Error }
func ParseGetArtifactVersionMetaDataResponse ¶
func ParseGetArtifactVersionMetaDataResponse(rsp *http.Response) (*GetArtifactVersionMetaDataResponse, error)
ParseGetArtifactVersionMetaDataResponse parses an HTTP response from a GetArtifactVersionMetaDataWithResponse call
func (GetArtifactVersionMetaDataResponse) Status ¶
func (r GetArtifactVersionMetaDataResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactVersionMetaDataResponse) StatusCode ¶
func (r GetArtifactVersionMetaDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetArtifactVersionResponse ¶
type GetArtifactVersionResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseGetArtifactVersionResponse ¶
func ParseGetArtifactVersionResponse(rsp *http.Response) (*GetArtifactVersionResponse, error)
ParseGetArtifactVersionResponse parses an HTTP response from a GetArtifactVersionWithResponse call
func (GetArtifactVersionResponse) Status ¶
func (r GetArtifactVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetArtifactVersionResponse) StatusCode ¶
func (r GetArtifactVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGlobalRuleConfigResponse ¶
type GetGlobalRuleConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Rule JSON404 *Error JSON500 *Error }
func ParseGetGlobalRuleConfigResponse ¶
func ParseGetGlobalRuleConfigResponse(rsp *http.Response) (*GetGlobalRuleConfigResponse, error)
ParseGetGlobalRuleConfigResponse parses an HTTP response from a GetGlobalRuleConfigWithResponse call
func (GetGlobalRuleConfigResponse) Status ¶
func (r GetGlobalRuleConfigResponse) Status() string
Status returns HTTPResponse.Status
func (GetGlobalRuleConfigResponse) StatusCode ¶
func (r GetGlobalRuleConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLatestArtifactResponse ¶
type GetLatestArtifactResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseGetLatestArtifactResponse ¶
func ParseGetLatestArtifactResponse(rsp *http.Response) (*GetLatestArtifactResponse, error)
ParseGetLatestArtifactResponse parses an HTTP response from a GetLatestArtifactWithResponse call
func (GetLatestArtifactResponse) Status ¶
func (r GetLatestArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (GetLatestArtifactResponse) StatusCode ¶
func (r GetLatestArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type ListArtifactRulesResponse ¶
type ListArtifactRulesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]RuleType JSON404 *Error JSON500 *Error }
func ParseListArtifactRulesResponse ¶
func ParseListArtifactRulesResponse(rsp *http.Response) (*ListArtifactRulesResponse, error)
ParseListArtifactRulesResponse parses an HTTP response from a ListArtifactRulesWithResponse call
func (ListArtifactRulesResponse) Status ¶
func (r ListArtifactRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListArtifactRulesResponse) StatusCode ¶
func (r ListArtifactRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListArtifactVersionsResponse ¶
type ListArtifactVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]int64 JSON404 *Error JSON500 *Error }
func ParseListArtifactVersionsResponse ¶
func ParseListArtifactVersionsResponse(rsp *http.Response) (*ListArtifactVersionsResponse, error)
ParseListArtifactVersionsResponse parses an HTTP response from a ListArtifactVersionsWithResponse call
func (ListArtifactVersionsResponse) Status ¶
func (r ListArtifactVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListArtifactVersionsResponse) StatusCode ¶
func (r ListArtifactVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListArtifactsResponse ¶
type ListArtifactsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]string JSON500 *Error }
func ParseListArtifactsResponse ¶
func ParseListArtifactsResponse(rsp *http.Response) (*ListArtifactsResponse, error)
ParseListArtifactsResponse parses an HTTP response from a ListArtifactsWithResponse call
func (ListArtifactsResponse) Status ¶
func (r ListArtifactsResponse) Status() string
Status returns HTTPResponse.Status
func (ListArtifactsResponse) StatusCode ¶
func (r ListArtifactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGlobalRulesResponse ¶
type ListGlobalRulesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]RuleType JSON500 *Error }
func ParseListGlobalRulesResponse ¶
func ParseListGlobalRulesResponse(rsp *http.Response) (*ListGlobalRulesResponse, error)
ParseListGlobalRulesResponse parses an HTTP response from a ListGlobalRulesWithResponse call
func (ListGlobalRulesResponse) Status ¶
func (r ListGlobalRulesResponse) Status() string
Status returns HTTPResponse.Status
func (ListGlobalRulesResponse) StatusCode ¶
func (r ListGlobalRulesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Properties ¶
Properties defines model for Properties.
func (Properties) Get ¶
func (a Properties) Get(fieldName string) (value string, found bool)
Getter for additional properties for Properties. Returns the specified element and whether it was found
func (Properties) MarshalJSON ¶
func (a Properties) MarshalJSON() ([]byte, error)
Override default JSON handling for Properties to handle AdditionalProperties
func (*Properties) Set ¶
func (a *Properties) Set(fieldName string, value string)
Setter for additional properties for Properties
func (*Properties) UnmarshalJSON ¶
func (a *Properties) UnmarshalJSON(b []byte) error
Override default JSON handling for Properties to handle AdditionalProperties
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type SearchArtifactsParams ¶
type SearchArtifactsParams struct { // The text to search. Search *string `json:"search,omitempty"` // The number of artifacts to skip before starting to collect the result set. Offset int `json:"offset"` // The number of artifacts to return. Limit int `json:"limit"` // What fields to search. Over *string `json:"over,omitempty"` // Sort order, ascending or descending. Order *string `json:"order,omitempty"` }
SearchArtifactsParams defines parameters for SearchArtifacts.
type SearchArtifactsResponse ¶
type SearchArtifactsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactSearchResults JSON500 *Error }
func ParseSearchArtifactsResponse ¶
func ParseSearchArtifactsResponse(rsp *http.Response) (*SearchArtifactsResponse, error)
ParseSearchArtifactsResponse parses an HTTP response from a SearchArtifactsWithResponse call
func (SearchArtifactsResponse) Status ¶
func (r SearchArtifactsResponse) Status() string
Status returns HTTPResponse.Status
func (SearchArtifactsResponse) StatusCode ¶
func (r SearchArtifactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchVersionsParams ¶
type SearchVersionsParams struct { // The number of versions to skip before starting to collect the result set. Offset int `json:"offset"` // The number of versions to return. Limit int `json:"limit"` }
SearchVersionsParams defines parameters for SearchVersions.
type SearchVersionsResponse ¶
type SearchVersionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *VersionSearchResults JSON404 *Error JSON500 *Error }
func ParseSearchVersionsResponse ¶
func ParseSearchVersionsResponse(rsp *http.Response) (*SearchVersionsResponse, error)
ParseSearchVersionsResponse parses an HTTP response from a SearchVersionsWithResponse call
func (SearchVersionsResponse) Status ¶
func (r SearchVersionsResponse) Status() string
Status returns HTTPResponse.Status
func (SearchVersionsResponse) StatusCode ¶
func (r SearchVersionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchedArtifact ¶
type SearchedArtifact struct { CreatedBy string `json:"createdBy"` CreatedOn int `json:"createdOn"` Description *string `json:"description,omitempty"` Id string `json:"id"` Labels *[]string `json:"labels,omitempty"` ModifiedBy *string `json:"modifiedBy,omitempty"` ModifiedOn *int `json:"modifiedOn,omitempty"` Name *string `json:"name,omitempty"` // Describes the state of an artifact or artifact version. The following states // are possible: // // * ENABLED // * DISABLED // * DEPRECATED State ArtifactState `json:"state"` Type ArtifactType `json:"type"` }
SearchedArtifact defines model for SearchedArtifact.
type SearchedVersion ¶
type SearchedVersion struct { CreatedBy string `json:"createdBy"` CreatedOn int `json:"createdOn"` Description *string `json:"description,omitempty"` GlobalId int64 `json:"globalId"` Labels *[]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` // Describes the state of an artifact or artifact version. The following states // are possible: // // * ENABLED // * DISABLED // * DEPRECATED State ArtifactState `json:"state"` Type ArtifactType `json:"type"` Version int32 `json:"version"` }
SearchedVersion defines model for SearchedVersion.
type TestUpdateArtifactParams ¶
type TestUpdateArtifactParams struct { // This header parameter can be used to indicate the type of the artifact being added. Possible values include: // * Avro (`AVRO`) // * Protobuf (`PROTOBUF`) // * Protobuf File Descriptor (`PROTOBUF_FD`) // * JSON Schema (`JSON`) // * Kafka Connect (`KCONNECT`) // * OpenAPI (`OPENAPI`) // * AsyncAPI (`ASYNCAPI`) // * GraphQL (`GRAPHQL`) // * Web Services Description Language (`WSDL`) // * XML Schema (`XSD`) XRegistryArtifactType *string `json:"X-Registry-ArtifactType,omitempty"` }
TestUpdateArtifactParams defines parameters for TestUpdateArtifact.
type TestUpdateArtifactResponse ¶
type TestUpdateArtifactResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON409 *Error JSON500 *Error }
func ParseTestUpdateArtifactResponse ¶
func ParseTestUpdateArtifactResponse(rsp *http.Response) (*TestUpdateArtifactResponse, error)
ParseTestUpdateArtifactResponse parses an HTTP response from a TestUpdateArtifactWithResponse call
func (TestUpdateArtifactResponse) Status ¶
func (r TestUpdateArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (TestUpdateArtifactResponse) StatusCode ¶
func (r TestUpdateArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactMetaDataResponse ¶
type UpdateArtifactMetaDataResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseUpdateArtifactMetaDataResponse ¶
func ParseUpdateArtifactMetaDataResponse(rsp *http.Response) (*UpdateArtifactMetaDataResponse, error)
ParseUpdateArtifactMetaDataResponse parses an HTTP response from a UpdateArtifactMetaDataWithResponse call
func (UpdateArtifactMetaDataResponse) Status ¶
func (r UpdateArtifactMetaDataResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactMetaDataResponse) StatusCode ¶
func (r UpdateArtifactMetaDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactParams ¶
type UpdateArtifactParams struct { // Specifies the type of the artifact being added. Possible values include: // // * Avro (`AVRO`) // * Protobuf (`PROTOBUF`) // * Protobuf File Descriptor (`PROTOBUF_FD`) // * JSON Schema (`JSON`) // * Kafka Connect (`KCONNECT`) // * OpenAPI (`OPENAPI`) // * AsyncAPI (`ASYNCAPI`) // * GraphQL (`GRAPHQL`) // * Web Services Description Language (`WSDL`) // * XML Schema (`XSD`) XRegistryArtifactType *string `json:"X-Registry-ArtifactType,omitempty"` }
UpdateArtifactParams defines parameters for UpdateArtifact.
type UpdateArtifactResponse ¶
type UpdateArtifactResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ArtifactMetaData JSON404 *Error JSON409 *Error JSON500 *Error }
func ParseUpdateArtifactResponse ¶
func ParseUpdateArtifactResponse(rsp *http.Response) (*UpdateArtifactResponse, error)
ParseUpdateArtifactResponse parses an HTTP response from a UpdateArtifactWithResponse call
func (UpdateArtifactResponse) Status ¶
func (r UpdateArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactResponse) StatusCode ¶
func (r UpdateArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactRuleConfigJSONBody ¶
type UpdateArtifactRuleConfigJSONBody Rule
UpdateArtifactRuleConfigJSONBody defines parameters for UpdateArtifactRuleConfig.
type UpdateArtifactRuleConfigJSONRequestBody ¶
type UpdateArtifactRuleConfigJSONRequestBody UpdateArtifactRuleConfigJSONBody
UpdateArtifactRuleConfigJSONRequestBody defines body for UpdateArtifactRuleConfig for application/json ContentType.
type UpdateArtifactRuleConfigResponse ¶
type UpdateArtifactRuleConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Rule JSON404 *Error JSON500 *Error }
func ParseUpdateArtifactRuleConfigResponse ¶
func ParseUpdateArtifactRuleConfigResponse(rsp *http.Response) (*UpdateArtifactRuleConfigResponse, error)
ParseUpdateArtifactRuleConfigResponse parses an HTTP response from a UpdateArtifactRuleConfigWithResponse call
func (UpdateArtifactRuleConfigResponse) Status ¶
func (r UpdateArtifactRuleConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactRuleConfigResponse) StatusCode ¶
func (r UpdateArtifactRuleConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactStateJSONBody ¶
type UpdateArtifactStateJSONBody UpdateState
UpdateArtifactStateJSONBody defines parameters for UpdateArtifactState.
type UpdateArtifactStateJSONRequestBody ¶
type UpdateArtifactStateJSONRequestBody UpdateArtifactStateJSONBody
UpdateArtifactStateJSONRequestBody defines body for UpdateArtifactState for application/json ContentType.
type UpdateArtifactStateResponse ¶
type UpdateArtifactStateResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON500 *Error }
func ParseUpdateArtifactStateResponse ¶
func ParseUpdateArtifactStateResponse(rsp *http.Response) (*UpdateArtifactStateResponse, error)
ParseUpdateArtifactStateResponse parses an HTTP response from a UpdateArtifactStateWithResponse call
func (UpdateArtifactStateResponse) Status ¶
func (r UpdateArtifactStateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactStateResponse) StatusCode ¶
func (r UpdateArtifactStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactVersionMetaDataJSONBody ¶
type UpdateArtifactVersionMetaDataJSONBody EditableMetaData
UpdateArtifactVersionMetaDataJSONBody defines parameters for UpdateArtifactVersionMetaData.
type UpdateArtifactVersionMetaDataJSONRequestBody ¶
type UpdateArtifactVersionMetaDataJSONRequestBody UpdateArtifactVersionMetaDataJSONBody
UpdateArtifactVersionMetaDataJSONRequestBody defines body for UpdateArtifactVersionMetaData for application/json ContentType.
type UpdateArtifactVersionMetaDataResponse ¶
type UpdateArtifactVersionMetaDataResponse struct { Body []byte HTTPResponse *http.Response JSON404 *Error JSON500 *Error }
func ParseUpdateArtifactVersionMetaDataResponse ¶
func ParseUpdateArtifactVersionMetaDataResponse(rsp *http.Response) (*UpdateArtifactVersionMetaDataResponse, error)
ParseUpdateArtifactVersionMetaDataResponse parses an HTTP response from a UpdateArtifactVersionMetaDataWithResponse call
func (UpdateArtifactVersionMetaDataResponse) Status ¶
func (r UpdateArtifactVersionMetaDataResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactVersionMetaDataResponse) StatusCode ¶
func (r UpdateArtifactVersionMetaDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateArtifactVersionStateJSONBody ¶
type UpdateArtifactVersionStateJSONBody UpdateState
UpdateArtifactVersionStateJSONBody defines parameters for UpdateArtifactVersionState.
type UpdateArtifactVersionStateJSONRequestBody ¶
type UpdateArtifactVersionStateJSONRequestBody UpdateArtifactVersionStateJSONBody
UpdateArtifactVersionStateJSONRequestBody defines body for UpdateArtifactVersionState for application/json ContentType.
type UpdateArtifactVersionStateResponse ¶
type UpdateArtifactVersionStateResponse struct { Body []byte HTTPResponse *http.Response JSON400 *Error JSON404 *Error JSON500 *Error }
func ParseUpdateArtifactVersionStateResponse ¶
func ParseUpdateArtifactVersionStateResponse(rsp *http.Response) (*UpdateArtifactVersionStateResponse, error)
ParseUpdateArtifactVersionStateResponse parses an HTTP response from a UpdateArtifactVersionStateWithResponse call
func (UpdateArtifactVersionStateResponse) Status ¶
func (r UpdateArtifactVersionStateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateArtifactVersionStateResponse) StatusCode ¶
func (r UpdateArtifactVersionStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGlobalRuleConfigJSONBody ¶
type UpdateGlobalRuleConfigJSONBody Rule
UpdateGlobalRuleConfigJSONBody defines parameters for UpdateGlobalRuleConfig.
type UpdateGlobalRuleConfigJSONRequestBody ¶
type UpdateGlobalRuleConfigJSONRequestBody UpdateGlobalRuleConfigJSONBody
UpdateGlobalRuleConfigJSONRequestBody defines body for UpdateGlobalRuleConfig for application/json ContentType.
type UpdateGlobalRuleConfigResponse ¶
type UpdateGlobalRuleConfigResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Rule JSON404 *Error JSON500 *Error }
func ParseUpdateGlobalRuleConfigResponse ¶
func ParseUpdateGlobalRuleConfigResponse(rsp *http.Response) (*UpdateGlobalRuleConfigResponse, error)
ParseUpdateGlobalRuleConfigResponse parses an HTTP response from a UpdateGlobalRuleConfigWithResponse call
func (UpdateGlobalRuleConfigResponse) Status ¶
func (r UpdateGlobalRuleConfigResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGlobalRuleConfigResponse) StatusCode ¶
func (r UpdateGlobalRuleConfigResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateState ¶
type UpdateState struct { // Describes the state of an artifact or artifact version. The following states // are possible: // // * ENABLED // * DISABLED // * DEPRECATED State ArtifactState `json:"state"` }
UpdateState defines model for UpdateState.
type VersionMetaData ¶
type VersionMetaData struct { CreatedBy string `json:"createdBy"` CreatedOn int `json:"createdOn"` Description *string `json:"description,omitempty"` GlobalId int64 `json:"globalId"` // The artifact id. Id string `json:"id"` Labels *[]string `json:"labels,omitempty"` Name *string `json:"name,omitempty"` // User-defined name-value pairs. Name and value must be strings. Properties *Properties `json:"properties,omitempty"` // Describes the state of an artifact or artifact version. The following states // are possible: // // * ENABLED // * DISABLED // * DEPRECATED State *ArtifactState `json:"state,omitempty"` Type ArtifactType `json:"type"` Version int64 `json:"version"` }
VersionMetaData defines model for VersionMetaData.
type VersionSearchResults ¶
type VersionSearchResults struct { // The total number of artifacts that matched the search criteria. Count int `json:"count"` Versions []SearchedVersion `json:"versions"` }
VersionSearchResults defines model for VersionSearchResults.