Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func NewDeleteV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
- func NewDeleteV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
- func NewDeleteV1RbacPolicyRequest(server string, body DeleteV1RbacPolicyJSONRequestBody) (*http.Request, error)
- func NewDeleteV1RbacPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
- func NewDeleteV1RbacRoleRoleRequest(server string, role string) (*http.Request, error)
- func NewDeleteV1UserMeRequest(server string) (*http.Request, error)
- func NewDeleteV1UserUsernameRequest(server string, username string) (*http.Request, error)
- func NewGetV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
- func NewGetV1ArtifactNamespaceNameRequest(server string, namespace string, name string, ...) (*http.Request, error)
- func NewGetV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
- func NewGetV1ArtifactNamespaceRequest(server string, namespace string, params *GetV1ArtifactNamespaceParams) (*http.Request, error)
- func NewGetV1ArtifactRawNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
- func NewGetV1ArtifactRawNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
- func NewGetV1ArtifactRequest(server string, params *GetV1ArtifactParams) (*http.Request, error)
- func NewGetV1RbacPolicyRequest(server string, params *GetV1RbacPolicyParams) (*http.Request, error)
- func NewGetV1RbacResourceGroupRequest(server string, params *GetV1RbacResourceGroupParams) (*http.Request, error)
- func NewGetV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
- func NewGetV1RbacRoleRequest(server string, params *GetV1RbacRoleParams) (*http.Request, error)
- func NewGetV1RbacRoleRoleRequest(server string, role string) (*http.Request, error)
- func NewGetV1TaskIdLogsRequest(server string, id string, params *GetV1TaskIdLogsParams) (*http.Request, error)
- func NewGetV1TaskIdRequest(server string, id string) (*http.Request, error)
- func NewGetV1TaskRequest(server string, params *GetV1TaskParams) (*http.Request, error)
- func NewGetV1UserMeRequest(server string) (*http.Request, error)
- func NewGetV1UserRequest(server string, params *GetV1UserParams) (*http.Request, error)
- func NewGetV1UserUsernameRequest(server string, username string) (*http.Request, error)
- func NewHeadV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
- func NewHeadV1RbacRoleRoleRequest(server string, role string) (*http.Request, error)
- func NewHeadV1UserUsernameRequest(server string, username string) (*http.Request, error)
- func NewPatchV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string, ...) (*http.Request, error)
- func NewPatchV1ArtifactNamespaceNameHashHashRequestWithBody(server string, namespace string, name string, hash string, contentType string, ...) (*http.Request, error)
- func NewPatchV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string, ...) (*http.Request, error)
- func NewPatchV1ArtifactNamespaceNameTagTagRequestWithBody(server string, namespace string, name string, tag string, contentType string, ...) (*http.Request, error)
- func NewPatchV1UserMeRequest(server string, body PatchV1UserMeJSONRequestBody) (*http.Request, error)
- func NewPatchV1UserMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPatchV1UserUsernameRequest(server string, username string, body PatchV1UserUsernameJSONRequestBody) (*http.Request, error)
- func NewPatchV1UserUsernameRequestWithBody(server string, username string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostV1ArtifactRawNamespaceNameRequestWithBody(server string, namespace string, name string, contentType string, ...) (*http.Request, error)
- func NewPostV1TaskRequest(server string, body PostV1TaskJSONRequestBody) (*http.Request, error)
- func NewPostV1TaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1RbacPolicyRequest(server string, body PutV1RbacPolicyJSONRequestBody) (*http.Request, error)
- func NewPutV1RbacPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string, ...) (*http.Request, error)
- func NewPutV1RbacResourceGroupResourceGroupRequestWithBody(server string, resourceGroup string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1RbacRoleRoleRequest(server string, role string, body PutV1RbacRoleRoleJSONRequestBody) (*http.Request, error)
- func NewPutV1RbacRoleRoleRequestWithBody(server string, role string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutV1UserUsernameRequest(server string, username string, body PutV1UserUsernameJSONRequestBody) (*http.Request, error)
- func NewPutV1UserUsernameRequestWithBody(server string, username string, contentType string, body io.Reader) (*http.Request, error)
- type Artifact
- type Client
- func (c *Client) DeleteV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, ...) (*http.Response, error)
- func (c *Client) DeleteV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, ...) (*http.Response, error)
- func (c *Client) DeleteV1RbacPolicy(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteV1RbacPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1UserMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Artifact(ctx context.Context, params *GetV1ArtifactParams, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactNamespace(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactNamespaceName(ctx context.Context, namespace string, name string, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactRawNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, ...) (*http.Response, error)
- func (c *Client) GetV1ArtifactRawNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, ...) (*http.Response, error)
- func (c *Client) GetV1RbacPolicy(ctx context.Context, params *GetV1RbacPolicyParams, ...) (*http.Response, error)
- func (c *Client) GetV1RbacResourceGroup(ctx context.Context, params *GetV1RbacResourceGroupParams, ...) (*http.Response, error)
- func (c *Client) GetV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1RbacRole(ctx context.Context, params *GetV1RbacRoleParams, ...) (*http.Response, error)
- func (c *Client) GetV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1Task(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1TaskId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1TaskIdLogs(ctx context.Context, id string, params *GetV1TaskIdLogsParams, ...) (*http.Response, error)
- func (c *Client) GetV1User(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1UserMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HeadV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HeadV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HeadV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PatchV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, ...) (*http.Response, error)
- func (c *Client) PatchV1ArtifactNamespaceNameHashHashWithBody(ctx context.Context, namespace string, name string, hash string, ...) (*http.Response, error)
- func (c *Client) PatchV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, ...) (*http.Response, error)
- func (c *Client) PatchV1ArtifactNamespaceNameTagTagWithBody(ctx context.Context, namespace string, name string, tag string, ...) (*http.Response, error)
- func (c *Client) PatchV1UserMe(ctx context.Context, body PatchV1UserMeJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchV1UserMeWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PatchV1UserUsername(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PatchV1UserUsernameWithBody(ctx context.Context, username string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostV1ArtifactRawNamespaceNameWithBody(ctx context.Context, namespace string, name string, contentType string, ...) (*http.Response, error)
- func (c *Client) PostV1Task(ctx context.Context, body PostV1TaskJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostV1TaskWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1RbacPolicy(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1RbacPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, ...) (*http.Response, error)
- func (c *Client) PutV1RbacResourceGroupResourceGroupWithBody(ctx context.Context, resourceGroup string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1RbacRoleRole(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1RbacRoleRoleWithBody(ctx context.Context, role string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutV1UserUsername(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutV1UserUsernameWithBody(ctx context.Context, username string, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, ...) (*DeleteV1ArtifactNamespaceNameHashHashResponse, error)
- func (c *ClientWithResponses) DeleteV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, ...) (*DeleteV1ArtifactNamespaceNameTagTagResponse, error)
- func (c *ClientWithResponses) DeleteV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*DeleteV1RbacPolicyResponse, error)
- func (c *ClientWithResponses) DeleteV1RbacPolicyWithResponse(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, ...) (*DeleteV1RbacPolicyResponse, error)
- func (c *ClientWithResponses) DeleteV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*DeleteV1RbacResourceGroupResourceGroupResponse, error)
- func (c *ClientWithResponses) DeleteV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*DeleteV1RbacRoleRoleResponse, error)
- func (c *ClientWithResponses) DeleteV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1UserMeResponse, error)
- func (c *ClientWithResponses) DeleteV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteV1UserUsernameResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, ...) (*GetV1ArtifactNamespaceNameHashHashResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, ...) (*GetV1ArtifactNamespaceNameTagTagResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactNamespaceNameWithResponse(ctx context.Context, namespace string, name string, ...) (*GetV1ArtifactNamespaceNameResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactNamespaceWithResponse(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, ...) (*GetV1ArtifactNamespaceResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactRawNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, ...) (*GetV1ArtifactRawNamespaceNameHashHashResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactRawNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, ...) (*GetV1ArtifactRawNamespaceNameTagTagResponse, error)
- func (c *ClientWithResponses) GetV1ArtifactWithResponse(ctx context.Context, params *GetV1ArtifactParams, ...) (*GetV1ArtifactResponse, error)
- func (c *ClientWithResponses) GetV1RbacPolicyWithResponse(ctx context.Context, params *GetV1RbacPolicyParams, ...) (*GetV1RbacPolicyResponse, error)
- func (c *ClientWithResponses) GetV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*GetV1RbacResourceGroupResourceGroupResponse, error)
- func (c *ClientWithResponses) GetV1RbacResourceGroupWithResponse(ctx context.Context, params *GetV1RbacResourceGroupParams, ...) (*GetV1RbacResourceGroupResponse, error)
- func (c *ClientWithResponses) GetV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*GetV1RbacRoleRoleResponse, error)
- func (c *ClientWithResponses) GetV1RbacRoleWithResponse(ctx context.Context, params *GetV1RbacRoleParams, ...) (*GetV1RbacRoleResponse, error)
- func (c *ClientWithResponses) GetV1TaskIdLogsWithResponse(ctx context.Context, id string, params *GetV1TaskIdLogsParams, ...) (*GetV1TaskIdLogsResponse, error)
- func (c *ClientWithResponses) GetV1TaskIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1TaskIdResponse, error)
- func (c *ClientWithResponses) GetV1TaskWithResponse(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*GetV1TaskResponse, error)
- func (c *ClientWithResponses) GetV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1UserMeResponse, error)
- func (c *ClientWithResponses) GetV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*GetV1UserUsernameResponse, error)
- func (c *ClientWithResponses) GetV1UserWithResponse(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*GetV1UserResponse, error)
- func (c *ClientWithResponses) HeadV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*HeadV1RbacResourceGroupResourceGroupResponse, error)
- func (c *ClientWithResponses) HeadV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*HeadV1RbacRoleRoleResponse, error)
- func (c *ClientWithResponses) HeadV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*HeadV1UserUsernameResponse, error)
- func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse(ctx context.Context, namespace string, name string, hash string, ...) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
- func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, ...) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
- func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse(ctx context.Context, namespace string, name string, tag string, ...) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
- func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, ...) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
- func (c *ClientWithResponses) PatchV1UserMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PatchV1UserMeResponse, error)
- func (c *ClientWithResponses) PatchV1UserMeWithResponse(ctx context.Context, body PatchV1UserMeJSONRequestBody, ...) (*PatchV1UserMeResponse, error)
- func (c *ClientWithResponses) PatchV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, ...) (*PatchV1UserUsernameResponse, error)
- func (c *ClientWithResponses) PatchV1UserUsernameWithResponse(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, ...) (*PatchV1UserUsernameResponse, error)
- func (c *ClientWithResponses) PostV1ArtifactRawNamespaceNameWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, ...) (*PostV1ArtifactRawNamespaceNameResponse, error)
- func (c *ClientWithResponses) PostV1TaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostV1TaskResponse, error)
- func (c *ClientWithResponses) PostV1TaskWithResponse(ctx context.Context, body PostV1TaskJSONRequestBody, ...) (*PostV1TaskResponse, error)
- func (c *ClientWithResponses) PutV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutV1RbacPolicyResponse, error)
- func (c *ClientWithResponses) PutV1RbacPolicyWithResponse(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, ...) (*PutV1RbacPolicyResponse, error)
- func (c *ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithBodyWithResponse(ctx context.Context, resourceGroup string, contentType string, body io.Reader, ...) (*PutV1RbacResourceGroupResourceGroupResponse, error)
- func (c *ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, ...) (*PutV1RbacResourceGroupResourceGroupResponse, error)
- func (c *ClientWithResponses) PutV1RbacRoleRoleWithBodyWithResponse(ctx context.Context, role string, contentType string, body io.Reader, ...) (*PutV1RbacRoleRoleResponse, error)
- func (c *ClientWithResponses) PutV1RbacRoleRoleWithResponse(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, ...) (*PutV1RbacRoleRoleResponse, error)
- func (c *ClientWithResponses) PutV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, ...) (*PutV1UserUsernameResponse, error)
- func (c *ClientWithResponses) PutV1UserUsernameWithResponse(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, ...) (*PutV1UserUsernameResponse, error)
- type ClientWithResponsesInterface
- type CreateTaskRequest
- type DeleteV1ArtifactNamespaceNameHashHashResponse
- type DeleteV1ArtifactNamespaceNameTagTagResponse
- type DeleteV1RbacPolicyJSONRequestBody
- type DeleteV1RbacPolicyResponse
- type DeleteV1RbacResourceGroupResourceGroupResponse
- type DeleteV1RbacRoleRoleResponse
- type DeleteV1UserMeResponse
- type DeleteV1UserUsernameResponse
- type EnvironmentVariable
- type ErrField
- type ErrGeneric
- type FieldError
- type GenericBadRequest
- type GenericNotFound
- type GenericTooLarge
- type GetV1ArtifactNamespaceNameHashHashResponse
- type GetV1ArtifactNamespaceNameParams
- type GetV1ArtifactNamespaceNameResponse
- type GetV1ArtifactNamespaceNameTagTagResponse
- type GetV1ArtifactNamespaceParams
- type GetV1ArtifactNamespaceResponse
- type GetV1ArtifactParams
- type GetV1ArtifactRawNamespaceNameHashHashResponse
- type GetV1ArtifactRawNamespaceNameTagTagResponse
- type GetV1ArtifactResponse
- type GetV1RbacPolicyParams
- type GetV1RbacPolicyResponse
- type GetV1RbacResourceGroupParams
- type GetV1RbacResourceGroupResourceGroupResponse
- type GetV1RbacResourceGroupResponse
- type GetV1RbacRoleParams
- type GetV1RbacRoleResponse
- type GetV1RbacRoleRoleResponse
- type GetV1TaskIdLogsParams
- type GetV1TaskIdLogsResponse
- type GetV1TaskIdResponse
- type GetV1TaskParams
- type GetV1TaskResponse
- type GetV1UserMeResponse
- type GetV1UserParams
- type GetV1UserResponse
- type GetV1UserUsernameResponse
- type HeadV1RbacResourceGroupResourceGroupResponse
- type HeadV1RbacRoleRoleResponse
- type HeadV1UserUsernameResponse
- type HttpRequestDoer
- type PatchArtifact
- type PatchMe
- type PatchUser
- type PatchV1ArtifactNamespaceNameHashHashJSONRequestBody
- type PatchV1ArtifactNamespaceNameHashHashResponse
- type PatchV1ArtifactNamespaceNameTagTagJSONRequestBody
- type PatchV1ArtifactNamespaceNameTagTagResponse
- type PatchV1UserMeJSONRequestBody
- type PatchV1UserMeResponse
- type PatchV1UserUsernameJSONRequestBody
- type PatchV1UserUsernameResponse
- type PostV1ArtifactRawNamespaceNameResponse
- type PostV1TaskJSONRequestBody
- type PostV1TaskResponse
- type PutResourceGroupRequest
- type PutRoleRequest
- type PutUserRequest
- type PutV1RbacPolicyJSONRequestBody
- type PutV1RbacPolicyResponse
- type PutV1RbacResourceGroupResourceGroupJSONRequestBody
- type PutV1RbacResourceGroupResourceGroupResponse
- type PutV1RbacRoleRoleJSONRequestBody
- type PutV1RbacRoleRoleResponse
- type PutV1UserUsernameJSONRequestBody
- type PutV1UserUsernameResponse
- type RBACPolicy
- type RBACPolicyMethod
- type RequestEditorFn
- type ResourceGroupResource
- type RoleResource
- type Task
- type TaskLog
- type TaskStatus
- type UploadArtifactResponse
- type UserResponse
Constants ¶
const (
BasicAuthScopes = "BasicAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewDeleteV1ArtifactNamespaceNameHashHashRequest ¶
func NewDeleteV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
NewDeleteV1ArtifactNamespaceNameHashHashRequest generates requests for DeleteV1ArtifactNamespaceNameHashHash
func NewDeleteV1ArtifactNamespaceNameTagTagRequest ¶
func NewDeleteV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
NewDeleteV1ArtifactNamespaceNameTagTagRequest generates requests for DeleteV1ArtifactNamespaceNameTagTag
func NewDeleteV1RbacPolicyRequest ¶
func NewDeleteV1RbacPolicyRequest(server string, body DeleteV1RbacPolicyJSONRequestBody) (*http.Request, error)
NewDeleteV1RbacPolicyRequest calls the generic DeleteV1RbacPolicy builder with application/json body
func NewDeleteV1RbacPolicyRequestWithBody ¶
func NewDeleteV1RbacPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteV1RbacPolicyRequestWithBody generates requests for DeleteV1RbacPolicy with any type of body
func NewDeleteV1RbacResourceGroupResourceGroupRequest ¶
func NewDeleteV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
NewDeleteV1RbacResourceGroupResourceGroupRequest generates requests for DeleteV1RbacResourceGroupResourceGroup
func NewDeleteV1RbacRoleRoleRequest ¶
NewDeleteV1RbacRoleRoleRequest generates requests for DeleteV1RbacRoleRole
func NewDeleteV1UserMeRequest ¶
NewDeleteV1UserMeRequest generates requests for DeleteV1UserMe
func NewDeleteV1UserUsernameRequest ¶
NewDeleteV1UserUsernameRequest generates requests for DeleteV1UserUsername
func NewGetV1ArtifactNamespaceNameHashHashRequest ¶
func NewGetV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
NewGetV1ArtifactNamespaceNameHashHashRequest generates requests for GetV1ArtifactNamespaceNameHashHash
func NewGetV1ArtifactNamespaceNameRequest ¶
func NewGetV1ArtifactNamespaceNameRequest(server string, namespace string, name string, params *GetV1ArtifactNamespaceNameParams) (*http.Request, error)
NewGetV1ArtifactNamespaceNameRequest generates requests for GetV1ArtifactNamespaceName
func NewGetV1ArtifactNamespaceNameTagTagRequest ¶
func NewGetV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
NewGetV1ArtifactNamespaceNameTagTagRequest generates requests for GetV1ArtifactNamespaceNameTagTag
func NewGetV1ArtifactNamespaceRequest ¶
func NewGetV1ArtifactNamespaceRequest(server string, namespace string, params *GetV1ArtifactNamespaceParams) (*http.Request, error)
NewGetV1ArtifactNamespaceRequest generates requests for GetV1ArtifactNamespace
func NewGetV1ArtifactRawNamespaceNameHashHashRequest ¶
func NewGetV1ArtifactRawNamespaceNameHashHashRequest(server string, namespace string, name string, hash string) (*http.Request, error)
NewGetV1ArtifactRawNamespaceNameHashHashRequest generates requests for GetV1ArtifactRawNamespaceNameHashHash
func NewGetV1ArtifactRawNamespaceNameTagTagRequest ¶
func NewGetV1ArtifactRawNamespaceNameTagTagRequest(server string, namespace string, name string, tag string) (*http.Request, error)
NewGetV1ArtifactRawNamespaceNameTagTagRequest generates requests for GetV1ArtifactRawNamespaceNameTagTag
func NewGetV1ArtifactRequest ¶
func NewGetV1ArtifactRequest(server string, params *GetV1ArtifactParams) (*http.Request, error)
NewGetV1ArtifactRequest generates requests for GetV1Artifact
func NewGetV1RbacPolicyRequest ¶
func NewGetV1RbacPolicyRequest(server string, params *GetV1RbacPolicyParams) (*http.Request, error)
NewGetV1RbacPolicyRequest generates requests for GetV1RbacPolicy
func NewGetV1RbacResourceGroupRequest ¶
func NewGetV1RbacResourceGroupRequest(server string, params *GetV1RbacResourceGroupParams) (*http.Request, error)
NewGetV1RbacResourceGroupRequest generates requests for GetV1RbacResourceGroup
func NewGetV1RbacResourceGroupResourceGroupRequest ¶
func NewGetV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
NewGetV1RbacResourceGroupResourceGroupRequest generates requests for GetV1RbacResourceGroupResourceGroup
func NewGetV1RbacRoleRequest ¶
func NewGetV1RbacRoleRequest(server string, params *GetV1RbacRoleParams) (*http.Request, error)
NewGetV1RbacRoleRequest generates requests for GetV1RbacRole
func NewGetV1RbacRoleRoleRequest ¶
NewGetV1RbacRoleRoleRequest generates requests for GetV1RbacRoleRole
func NewGetV1TaskIdLogsRequest ¶
func NewGetV1TaskIdLogsRequest(server string, id string, params *GetV1TaskIdLogsParams) (*http.Request, error)
NewGetV1TaskIdLogsRequest generates requests for GetV1TaskIdLogs
func NewGetV1TaskIdRequest ¶
NewGetV1TaskIdRequest generates requests for GetV1TaskId
func NewGetV1TaskRequest ¶
func NewGetV1TaskRequest(server string, params *GetV1TaskParams) (*http.Request, error)
NewGetV1TaskRequest generates requests for GetV1Task
func NewGetV1UserMeRequest ¶
NewGetV1UserMeRequest generates requests for GetV1UserMe
func NewGetV1UserRequest ¶
func NewGetV1UserRequest(server string, params *GetV1UserParams) (*http.Request, error)
NewGetV1UserRequest generates requests for GetV1User
func NewGetV1UserUsernameRequest ¶
NewGetV1UserUsernameRequest generates requests for GetV1UserUsername
func NewHeadV1RbacResourceGroupResourceGroupRequest ¶
func NewHeadV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string) (*http.Request, error)
NewHeadV1RbacResourceGroupResourceGroupRequest generates requests for HeadV1RbacResourceGroupResourceGroup
func NewHeadV1RbacRoleRoleRequest ¶
NewHeadV1RbacRoleRoleRequest generates requests for HeadV1RbacRoleRole
func NewHeadV1UserUsernameRequest ¶
NewHeadV1UserUsernameRequest generates requests for HeadV1UserUsername
func NewPatchV1ArtifactNamespaceNameHashHashRequest ¶
func NewPatchV1ArtifactNamespaceNameHashHashRequest(server string, namespace string, name string, hash string, body PatchV1ArtifactNamespaceNameHashHashJSONRequestBody) (*http.Request, error)
NewPatchV1ArtifactNamespaceNameHashHashRequest calls the generic PatchV1ArtifactNamespaceNameHashHash builder with application/json body
func NewPatchV1ArtifactNamespaceNameHashHashRequestWithBody ¶
func NewPatchV1ArtifactNamespaceNameHashHashRequestWithBody(server string, namespace string, name string, hash string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1ArtifactNamespaceNameHashHashRequestWithBody generates requests for PatchV1ArtifactNamespaceNameHashHash with any type of body
func NewPatchV1ArtifactNamespaceNameTagTagRequest ¶
func NewPatchV1ArtifactNamespaceNameTagTagRequest(server string, namespace string, name string, tag string, body PatchV1ArtifactNamespaceNameTagTagJSONRequestBody) (*http.Request, error)
NewPatchV1ArtifactNamespaceNameTagTagRequest calls the generic PatchV1ArtifactNamespaceNameTagTag builder with application/json body
func NewPatchV1ArtifactNamespaceNameTagTagRequestWithBody ¶
func NewPatchV1ArtifactNamespaceNameTagTagRequestWithBody(server string, namespace string, name string, tag string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1ArtifactNamespaceNameTagTagRequestWithBody generates requests for PatchV1ArtifactNamespaceNameTagTag with any type of body
func NewPatchV1UserMeRequest ¶
func NewPatchV1UserMeRequest(server string, body PatchV1UserMeJSONRequestBody) (*http.Request, error)
NewPatchV1UserMeRequest calls the generic PatchV1UserMe builder with application/json body
func NewPatchV1UserMeRequestWithBody ¶
func NewPatchV1UserMeRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1UserMeRequestWithBody generates requests for PatchV1UserMe with any type of body
func NewPatchV1UserUsernameRequest ¶
func NewPatchV1UserUsernameRequest(server string, username string, body PatchV1UserUsernameJSONRequestBody) (*http.Request, error)
NewPatchV1UserUsernameRequest calls the generic PatchV1UserUsername builder with application/json body
func NewPatchV1UserUsernameRequestWithBody ¶
func NewPatchV1UserUsernameRequestWithBody(server string, username string, contentType string, body io.Reader) (*http.Request, error)
NewPatchV1UserUsernameRequestWithBody generates requests for PatchV1UserUsername with any type of body
func NewPostV1ArtifactRawNamespaceNameRequestWithBody ¶
func NewPostV1ArtifactRawNamespaceNameRequestWithBody(server string, namespace string, name string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1ArtifactRawNamespaceNameRequestWithBody generates requests for PostV1ArtifactRawNamespaceName with any type of body
func NewPostV1TaskRequest ¶
func NewPostV1TaskRequest(server string, body PostV1TaskJSONRequestBody) (*http.Request, error)
NewPostV1TaskRequest calls the generic PostV1Task builder with application/json body
func NewPostV1TaskRequestWithBody ¶
func NewPostV1TaskRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostV1TaskRequestWithBody generates requests for PostV1Task with any type of body
func NewPutV1RbacPolicyRequest ¶
func NewPutV1RbacPolicyRequest(server string, body PutV1RbacPolicyJSONRequestBody) (*http.Request, error)
NewPutV1RbacPolicyRequest calls the generic PutV1RbacPolicy builder with application/json body
func NewPutV1RbacPolicyRequestWithBody ¶
func NewPutV1RbacPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1RbacPolicyRequestWithBody generates requests for PutV1RbacPolicy with any type of body
func NewPutV1RbacResourceGroupResourceGroupRequest ¶
func NewPutV1RbacResourceGroupResourceGroupRequest(server string, resourceGroup string, body PutV1RbacResourceGroupResourceGroupJSONRequestBody) (*http.Request, error)
NewPutV1RbacResourceGroupResourceGroupRequest calls the generic PutV1RbacResourceGroupResourceGroup builder with application/json body
func NewPutV1RbacResourceGroupResourceGroupRequestWithBody ¶
func NewPutV1RbacResourceGroupResourceGroupRequestWithBody(server string, resourceGroup string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1RbacResourceGroupResourceGroupRequestWithBody generates requests for PutV1RbacResourceGroupResourceGroup with any type of body
func NewPutV1RbacRoleRoleRequest ¶
func NewPutV1RbacRoleRoleRequest(server string, role string, body PutV1RbacRoleRoleJSONRequestBody) (*http.Request, error)
NewPutV1RbacRoleRoleRequest calls the generic PutV1RbacRoleRole builder with application/json body
func NewPutV1RbacRoleRoleRequestWithBody ¶
func NewPutV1RbacRoleRoleRequestWithBody(server string, role string, contentType string, body io.Reader) (*http.Request, error)
NewPutV1RbacRoleRoleRequestWithBody generates requests for PutV1RbacRoleRole with any type of body
func NewPutV1UserUsernameRequest ¶
func NewPutV1UserUsernameRequest(server string, username string, body PutV1UserUsernameJSONRequestBody) (*http.Request, error)
NewPutV1UserUsernameRequest calls the generic PutV1UserUsername builder with application/json body
Types ¶
type Artifact ¶
type Artifact struct {
// CreatedAt Creation timestamp of the artifact.
CreatedAt time.Time `json:"createdAt"`
// Name Name of the artifact.
Name string `json:"name"`
// Namespace Namespace of the artifact.
Namespace string `json:"namespace"`
// Pulls Number of times the artifact has been pulled.
Pulls int `json:"pulls"`
// Tags Tags associated with the artifact.
Tags []string `json:"tags"`
// VersionHash Version hash of the artifact.
VersionHash string `json:"versionHash"`
}
Artifact Metadata of an artifact version.
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) DeleteV1ArtifactNamespaceNameHashHash ¶
func (*Client) DeleteV1ArtifactNamespaceNameTagTag ¶
func (*Client) DeleteV1RbacPolicy ¶
func (c *Client) DeleteV1RbacPolicy(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteV1RbacPolicyWithBody ¶
func (*Client) DeleteV1RbacResourceGroupResourceGroup ¶
func (*Client) DeleteV1RbacRoleRole ¶
func (*Client) DeleteV1UserMe ¶
func (*Client) DeleteV1UserUsername ¶
func (*Client) GetV1Artifact ¶
func (c *Client) GetV1Artifact(ctx context.Context, params *GetV1ArtifactParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ArtifactNamespace ¶
func (c *Client) GetV1ArtifactNamespace(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ArtifactNamespaceName ¶
func (c *Client) GetV1ArtifactNamespaceName(ctx context.Context, namespace string, name string, params *GetV1ArtifactNamespaceNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1ArtifactNamespaceNameHashHash ¶
func (*Client) GetV1ArtifactNamespaceNameTagTag ¶
func (*Client) GetV1ArtifactRawNamespaceNameHashHash ¶
func (*Client) GetV1ArtifactRawNamespaceNameTagTag ¶
func (*Client) GetV1RbacPolicy ¶
func (c *Client) GetV1RbacPolicy(ctx context.Context, params *GetV1RbacPolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1RbacResourceGroup ¶
func (c *Client) GetV1RbacResourceGroup(ctx context.Context, params *GetV1RbacResourceGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1RbacResourceGroupResourceGroup ¶
func (*Client) GetV1RbacRole ¶
func (c *Client) GetV1RbacRole(ctx context.Context, params *GetV1RbacRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1RbacRoleRole ¶
func (*Client) GetV1Task ¶
func (c *Client) GetV1Task(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1TaskId ¶
func (*Client) GetV1TaskIdLogs ¶
func (c *Client) GetV1TaskIdLogs(ctx context.Context, id string, params *GetV1TaskIdLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1User ¶
func (c *Client) GetV1User(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetV1UserMe ¶
func (*Client) GetV1UserUsername ¶
func (*Client) HeadV1RbacResourceGroupResourceGroup ¶
func (*Client) HeadV1RbacRoleRole ¶
func (*Client) HeadV1UserUsername ¶
func (*Client) PatchV1ArtifactNamespaceNameHashHash ¶
func (*Client) PatchV1ArtifactNamespaceNameHashHashWithBody ¶
func (*Client) PatchV1ArtifactNamespaceNameTagTag ¶
func (*Client) PatchV1ArtifactNamespaceNameTagTagWithBody ¶
func (*Client) PatchV1UserMe ¶
func (c *Client) PatchV1UserMe(ctx context.Context, body PatchV1UserMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV1UserMeWithBody ¶
func (*Client) PatchV1UserUsername ¶
func (c *Client) PatchV1UserUsername(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchV1UserUsernameWithBody ¶
func (*Client) PostV1ArtifactRawNamespaceNameWithBody ¶
func (*Client) PostV1Task ¶
func (c *Client) PostV1Task(ctx context.Context, body PostV1TaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostV1TaskWithBody ¶
func (*Client) PutV1RbacPolicy ¶
func (c *Client) PutV1RbacPolicy(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1RbacPolicyWithBody ¶
func (*Client) PutV1RbacResourceGroupResourceGroup ¶
func (c *Client) PutV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, body PutV1RbacResourceGroupResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1RbacResourceGroupResourceGroupWithBody ¶
func (*Client) PutV1RbacRoleRole ¶
func (c *Client) PutV1RbacRoleRole(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutV1RbacRoleRoleWithBody ¶
func (*Client) PutV1UserUsername ¶
func (c *Client) PutV1UserUsername(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetV1Artifact request
GetV1Artifact(ctx context.Context, params *GetV1ArtifactParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1ArtifactRawNamespaceNameWithBody request with any body
PostV1ArtifactRawNamespaceNameWithBody(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactRawNamespaceNameHashHash request
GetV1ArtifactRawNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactRawNamespaceNameTagTag request
GetV1ArtifactRawNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactNamespace request
GetV1ArtifactNamespace(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactNamespaceName request
GetV1ArtifactNamespaceName(ctx context.Context, namespace string, name string, params *GetV1ArtifactNamespaceNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ArtifactNamespaceNameHashHash request
DeleteV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactNamespaceNameHashHash request
GetV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1ArtifactNamespaceNameHashHashWithBody request with any body
PatchV1ArtifactNamespaceNameHashHashWithBody(ctx context.Context, namespace string, name string, hash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1ArtifactNamespaceNameHashHash(ctx context.Context, namespace string, name string, hash string, body PatchV1ArtifactNamespaceNameHashHashJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1ArtifactNamespaceNameTagTag request
DeleteV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1ArtifactNamespaceNameTagTag request
GetV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1ArtifactNamespaceNameTagTagWithBody request with any body
PatchV1ArtifactNamespaceNameTagTagWithBody(ctx context.Context, namespace string, name string, tag string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1ArtifactNamespaceNameTagTag(ctx context.Context, namespace string, name string, tag string, body PatchV1ArtifactNamespaceNameTagTagJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1RbacPolicyWithBody request with any body
DeleteV1RbacPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteV1RbacPolicy(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RbacPolicy request
GetV1RbacPolicy(ctx context.Context, params *GetV1RbacPolicyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1RbacPolicyWithBody request with any body
PutV1RbacPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1RbacPolicy(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RbacResourceGroup request
GetV1RbacResourceGroup(ctx context.Context, params *GetV1RbacResourceGroupParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1RbacResourceGroupResourceGroup request
DeleteV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RbacResourceGroupResourceGroup request
GetV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HeadV1RbacResourceGroupResourceGroup request
HeadV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1RbacResourceGroupResourceGroupWithBody request with any body
PutV1RbacResourceGroupResourceGroupWithBody(ctx context.Context, resourceGroup string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1RbacResourceGroupResourceGroup(ctx context.Context, resourceGroup string, body PutV1RbacResourceGroupResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RbacRole request
GetV1RbacRole(ctx context.Context, params *GetV1RbacRoleParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1RbacRoleRole request
DeleteV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1RbacRoleRole request
GetV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HeadV1RbacRoleRole request
HeadV1RbacRoleRole(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1RbacRoleRoleWithBody request with any body
PutV1RbacRoleRoleWithBody(ctx context.Context, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1RbacRoleRole(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1Task request
GetV1Task(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostV1TaskWithBody request with any body
PostV1TaskWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostV1Task(ctx context.Context, body PostV1TaskJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1TaskId request
GetV1TaskId(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1TaskIdLogs request
GetV1TaskIdLogs(ctx context.Context, id string, params *GetV1TaskIdLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1User request
GetV1User(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1UserMe request
DeleteV1UserMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1UserMe request
GetV1UserMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1UserMeWithBody request with any body
PatchV1UserMeWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1UserMe(ctx context.Context, body PatchV1UserMeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteV1UserUsername request
DeleteV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetV1UserUsername request
GetV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HeadV1UserUsername request
HeadV1UserUsername(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchV1UserUsernameWithBody request with any body
PatchV1UserUsernameWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchV1UserUsername(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PutV1UserUsernameWithBody request with any body
PutV1UserUsernameWithBody(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PutV1UserUsername(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, 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) DeleteV1ArtifactNamespaceNameHashHashWithResponse ¶
func (c *ClientWithResponses) DeleteV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*DeleteV1ArtifactNamespaceNameHashHashResponse, error)
DeleteV1ArtifactNamespaceNameHashHashWithResponse request returning *DeleteV1ArtifactNamespaceNameHashHashResponse
func (*ClientWithResponses) DeleteV1ArtifactNamespaceNameTagTagWithResponse ¶
func (c *ClientWithResponses) DeleteV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*DeleteV1ArtifactNamespaceNameTagTagResponse, error)
DeleteV1ArtifactNamespaceNameTagTagWithResponse request returning *DeleteV1ArtifactNamespaceNameTagTagResponse
func (*ClientWithResponses) DeleteV1RbacPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1RbacPolicyResponse, error)
DeleteV1RbacPolicyWithBodyWithResponse request with arbitrary body returning *DeleteV1RbacPolicyResponse
func (*ClientWithResponses) DeleteV1RbacPolicyWithResponse ¶
func (c *ClientWithResponses) DeleteV1RbacPolicyWithResponse(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1RbacPolicyResponse, error)
func (*ClientWithResponses) DeleteV1RbacResourceGroupResourceGroupWithResponse ¶
func (c *ClientWithResponses) DeleteV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*DeleteV1RbacResourceGroupResourceGroupResponse, error)
DeleteV1RbacResourceGroupResourceGroupWithResponse request returning *DeleteV1RbacResourceGroupResourceGroupResponse
func (*ClientWithResponses) DeleteV1RbacRoleRoleWithResponse ¶
func (c *ClientWithResponses) DeleteV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*DeleteV1RbacRoleRoleResponse, error)
DeleteV1RbacRoleRoleWithResponse request returning *DeleteV1RbacRoleRoleResponse
func (*ClientWithResponses) DeleteV1UserMeWithResponse ¶
func (c *ClientWithResponses) DeleteV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1UserMeResponse, error)
DeleteV1UserMeWithResponse request returning *DeleteV1UserMeResponse
func (*ClientWithResponses) DeleteV1UserUsernameWithResponse ¶
func (c *ClientWithResponses) DeleteV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteV1UserUsernameResponse, error)
DeleteV1UserUsernameWithResponse request returning *DeleteV1UserUsernameResponse
func (*ClientWithResponses) GetV1ArtifactNamespaceNameHashHashWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameHashHashResponse, error)
GetV1ArtifactNamespaceNameHashHashWithResponse request returning *GetV1ArtifactNamespaceNameHashHashResponse
func (*ClientWithResponses) GetV1ArtifactNamespaceNameTagTagWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameTagTagResponse, error)
GetV1ArtifactNamespaceNameTagTagWithResponse request returning *GetV1ArtifactNamespaceNameTagTagResponse
func (*ClientWithResponses) GetV1ArtifactNamespaceNameWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactNamespaceNameWithResponse(ctx context.Context, namespace string, name string, params *GetV1ArtifactNamespaceNameParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameResponse, error)
GetV1ArtifactNamespaceNameWithResponse request returning *GetV1ArtifactNamespaceNameResponse
func (*ClientWithResponses) GetV1ArtifactNamespaceWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactNamespaceWithResponse(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceResponse, error)
GetV1ArtifactNamespaceWithResponse request returning *GetV1ArtifactNamespaceResponse
func (*ClientWithResponses) GetV1ArtifactRawNamespaceNameHashHashWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactRawNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*GetV1ArtifactRawNamespaceNameHashHashResponse, error)
GetV1ArtifactRawNamespaceNameHashHashWithResponse request returning *GetV1ArtifactRawNamespaceNameHashHashResponse
func (*ClientWithResponses) GetV1ArtifactRawNamespaceNameTagTagWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactRawNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*GetV1ArtifactRawNamespaceNameTagTagResponse, error)
GetV1ArtifactRawNamespaceNameTagTagWithResponse request returning *GetV1ArtifactRawNamespaceNameTagTagResponse
func (*ClientWithResponses) GetV1ArtifactWithResponse ¶
func (c *ClientWithResponses) GetV1ArtifactWithResponse(ctx context.Context, params *GetV1ArtifactParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactResponse, error)
GetV1ArtifactWithResponse request returning *GetV1ArtifactResponse
func (*ClientWithResponses) GetV1RbacPolicyWithResponse ¶
func (c *ClientWithResponses) GetV1RbacPolicyWithResponse(ctx context.Context, params *GetV1RbacPolicyParams, reqEditors ...RequestEditorFn) (*GetV1RbacPolicyResponse, error)
GetV1RbacPolicyWithResponse request returning *GetV1RbacPolicyResponse
func (*ClientWithResponses) GetV1RbacResourceGroupResourceGroupWithResponse ¶
func (c *ClientWithResponses) GetV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*GetV1RbacResourceGroupResourceGroupResponse, error)
GetV1RbacResourceGroupResourceGroupWithResponse request returning *GetV1RbacResourceGroupResourceGroupResponse
func (*ClientWithResponses) GetV1RbacResourceGroupWithResponse ¶
func (c *ClientWithResponses) GetV1RbacResourceGroupWithResponse(ctx context.Context, params *GetV1RbacResourceGroupParams, reqEditors ...RequestEditorFn) (*GetV1RbacResourceGroupResponse, error)
GetV1RbacResourceGroupWithResponse request returning *GetV1RbacResourceGroupResponse
func (*ClientWithResponses) GetV1RbacRoleRoleWithResponse ¶
func (c *ClientWithResponses) GetV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*GetV1RbacRoleRoleResponse, error)
GetV1RbacRoleRoleWithResponse request returning *GetV1RbacRoleRoleResponse
func (*ClientWithResponses) GetV1RbacRoleWithResponse ¶
func (c *ClientWithResponses) GetV1RbacRoleWithResponse(ctx context.Context, params *GetV1RbacRoleParams, reqEditors ...RequestEditorFn) (*GetV1RbacRoleResponse, error)
GetV1RbacRoleWithResponse request returning *GetV1RbacRoleResponse
func (*ClientWithResponses) GetV1TaskIdLogsWithResponse ¶
func (c *ClientWithResponses) GetV1TaskIdLogsWithResponse(ctx context.Context, id string, params *GetV1TaskIdLogsParams, reqEditors ...RequestEditorFn) (*GetV1TaskIdLogsResponse, error)
GetV1TaskIdLogsWithResponse request returning *GetV1TaskIdLogsResponse
func (*ClientWithResponses) GetV1TaskIdWithResponse ¶
func (c *ClientWithResponses) GetV1TaskIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1TaskIdResponse, error)
GetV1TaskIdWithResponse request returning *GetV1TaskIdResponse
func (*ClientWithResponses) GetV1TaskWithResponse ¶
func (c *ClientWithResponses) GetV1TaskWithResponse(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*GetV1TaskResponse, error)
GetV1TaskWithResponse request returning *GetV1TaskResponse
func (*ClientWithResponses) GetV1UserMeWithResponse ¶
func (c *ClientWithResponses) GetV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1UserMeResponse, error)
GetV1UserMeWithResponse request returning *GetV1UserMeResponse
func (*ClientWithResponses) GetV1UserUsernameWithResponse ¶
func (c *ClientWithResponses) GetV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*GetV1UserUsernameResponse, error)
GetV1UserUsernameWithResponse request returning *GetV1UserUsernameResponse
func (*ClientWithResponses) GetV1UserWithResponse ¶
func (c *ClientWithResponses) GetV1UserWithResponse(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*GetV1UserResponse, error)
GetV1UserWithResponse request returning *GetV1UserResponse
func (*ClientWithResponses) HeadV1RbacResourceGroupResourceGroupWithResponse ¶
func (c *ClientWithResponses) HeadV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*HeadV1RbacResourceGroupResourceGroupResponse, error)
HeadV1RbacResourceGroupResourceGroupWithResponse request returning *HeadV1RbacResourceGroupResourceGroupResponse
func (*ClientWithResponses) HeadV1RbacRoleRoleWithResponse ¶
func (c *ClientWithResponses) HeadV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*HeadV1RbacRoleRoleResponse, error)
HeadV1RbacRoleRoleWithResponse request returning *HeadV1RbacRoleRoleResponse
func (*ClientWithResponses) HeadV1UserUsernameWithResponse ¶
func (c *ClientWithResponses) HeadV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*HeadV1UserUsernameResponse, error)
HeadV1UserUsernameWithResponse request returning *HeadV1UserUsernameResponse
func (*ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse(ctx context.Context, namespace string, name string, hash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse request with arbitrary body returning *PatchV1ArtifactNamespaceNameHashHashResponse
func (*ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithResponse ¶
func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, body PatchV1ArtifactNamespaceNameHashHashJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
func (*ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse(ctx context.Context, namespace string, name string, tag string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse request with arbitrary body returning *PatchV1ArtifactNamespaceNameTagTagResponse
func (*ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithResponse ¶
func (c *ClientWithResponses) PatchV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, body PatchV1ArtifactNamespaceNameTagTagJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
func (*ClientWithResponses) PatchV1UserMeWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1UserMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1UserMeResponse, error)
PatchV1UserMeWithBodyWithResponse request with arbitrary body returning *PatchV1UserMeResponse
func (*ClientWithResponses) PatchV1UserMeWithResponse ¶
func (c *ClientWithResponses) PatchV1UserMeWithResponse(ctx context.Context, body PatchV1UserMeJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1UserMeResponse, error)
func (*ClientWithResponses) PatchV1UserUsernameWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1UserUsernameResponse, error)
PatchV1UserUsernameWithBodyWithResponse request with arbitrary body returning *PatchV1UserUsernameResponse
func (*ClientWithResponses) PatchV1UserUsernameWithResponse ¶
func (c *ClientWithResponses) PatchV1UserUsernameWithResponse(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1UserUsernameResponse, error)
func (*ClientWithResponses) PostV1ArtifactRawNamespaceNameWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1ArtifactRawNamespaceNameWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ArtifactRawNamespaceNameResponse, error)
PostV1ArtifactRawNamespaceNameWithBodyWithResponse request with arbitrary body returning *PostV1ArtifactRawNamespaceNameResponse
func (*ClientWithResponses) PostV1TaskWithBodyWithResponse ¶
func (c *ClientWithResponses) PostV1TaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1TaskResponse, error)
PostV1TaskWithBodyWithResponse request with arbitrary body returning *PostV1TaskResponse
func (*ClientWithResponses) PostV1TaskWithResponse ¶
func (c *ClientWithResponses) PostV1TaskWithResponse(ctx context.Context, body PostV1TaskJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1TaskResponse, error)
func (*ClientWithResponses) PutV1RbacPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacPolicyResponse, error)
PutV1RbacPolicyWithBodyWithResponse request with arbitrary body returning *PutV1RbacPolicyResponse
func (*ClientWithResponses) PutV1RbacPolicyWithResponse ¶
func (c *ClientWithResponses) PutV1RbacPolicyWithResponse(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacPolicyResponse, error)
func (*ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithBodyWithResponse(ctx context.Context, resourceGroup string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacResourceGroupResourceGroupResponse, error)
PutV1RbacResourceGroupResourceGroupWithBodyWithResponse request with arbitrary body returning *PutV1RbacResourceGroupResourceGroupResponse
func (*ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithResponse ¶
func (c *ClientWithResponses) PutV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, body PutV1RbacResourceGroupResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacResourceGroupResourceGroupResponse, error)
func (*ClientWithResponses) PutV1RbacRoleRoleWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1RbacRoleRoleWithBodyWithResponse(ctx context.Context, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacRoleRoleResponse, error)
PutV1RbacRoleRoleWithBodyWithResponse request with arbitrary body returning *PutV1RbacRoleRoleResponse
func (*ClientWithResponses) PutV1RbacRoleRoleWithResponse ¶
func (c *ClientWithResponses) PutV1RbacRoleRoleWithResponse(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacRoleRoleResponse, error)
func (*ClientWithResponses) PutV1UserUsernameWithBodyWithResponse ¶
func (c *ClientWithResponses) PutV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1UserUsernameResponse, error)
PutV1UserUsernameWithBodyWithResponse request with arbitrary body returning *PutV1UserUsernameResponse
func (*ClientWithResponses) PutV1UserUsernameWithResponse ¶
func (c *ClientWithResponses) PutV1UserUsernameWithResponse(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1UserUsernameResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetV1ArtifactWithResponse request
GetV1ArtifactWithResponse(ctx context.Context, params *GetV1ArtifactParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactResponse, error)
// PostV1ArtifactRawNamespaceNameWithBodyWithResponse request with any body
PostV1ArtifactRawNamespaceNameWithBodyWithResponse(ctx context.Context, namespace string, name string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1ArtifactRawNamespaceNameResponse, error)
// GetV1ArtifactRawNamespaceNameHashHashWithResponse request
GetV1ArtifactRawNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*GetV1ArtifactRawNamespaceNameHashHashResponse, error)
// GetV1ArtifactRawNamespaceNameTagTagWithResponse request
GetV1ArtifactRawNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*GetV1ArtifactRawNamespaceNameTagTagResponse, error)
// GetV1ArtifactNamespaceWithResponse request
GetV1ArtifactNamespaceWithResponse(ctx context.Context, namespace string, params *GetV1ArtifactNamespaceParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceResponse, error)
// GetV1ArtifactNamespaceNameWithResponse request
GetV1ArtifactNamespaceNameWithResponse(ctx context.Context, namespace string, name string, params *GetV1ArtifactNamespaceNameParams, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameResponse, error)
// DeleteV1ArtifactNamespaceNameHashHashWithResponse request
DeleteV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*DeleteV1ArtifactNamespaceNameHashHashResponse, error)
// GetV1ArtifactNamespaceNameHashHashWithResponse request
GetV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameHashHashResponse, error)
// PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse request with any body
PatchV1ArtifactNamespaceNameHashHashWithBodyWithResponse(ctx context.Context, namespace string, name string, hash string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
PatchV1ArtifactNamespaceNameHashHashWithResponse(ctx context.Context, namespace string, name string, hash string, body PatchV1ArtifactNamespaceNameHashHashJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
// DeleteV1ArtifactNamespaceNameTagTagWithResponse request
DeleteV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*DeleteV1ArtifactNamespaceNameTagTagResponse, error)
// GetV1ArtifactNamespaceNameTagTagWithResponse request
GetV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, reqEditors ...RequestEditorFn) (*GetV1ArtifactNamespaceNameTagTagResponse, error)
// PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse request with any body
PatchV1ArtifactNamespaceNameTagTagWithBodyWithResponse(ctx context.Context, namespace string, name string, tag string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
PatchV1ArtifactNamespaceNameTagTagWithResponse(ctx context.Context, namespace string, name string, tag string, body PatchV1ArtifactNamespaceNameTagTagJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
// DeleteV1RbacPolicyWithBodyWithResponse request with any body
DeleteV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteV1RbacPolicyResponse, error)
DeleteV1RbacPolicyWithResponse(ctx context.Context, body DeleteV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteV1RbacPolicyResponse, error)
// GetV1RbacPolicyWithResponse request
GetV1RbacPolicyWithResponse(ctx context.Context, params *GetV1RbacPolicyParams, reqEditors ...RequestEditorFn) (*GetV1RbacPolicyResponse, error)
// PutV1RbacPolicyWithBodyWithResponse request with any body
PutV1RbacPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacPolicyResponse, error)
PutV1RbacPolicyWithResponse(ctx context.Context, body PutV1RbacPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacPolicyResponse, error)
// GetV1RbacResourceGroupWithResponse request
GetV1RbacResourceGroupWithResponse(ctx context.Context, params *GetV1RbacResourceGroupParams, reqEditors ...RequestEditorFn) (*GetV1RbacResourceGroupResponse, error)
// DeleteV1RbacResourceGroupResourceGroupWithResponse request
DeleteV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*DeleteV1RbacResourceGroupResourceGroupResponse, error)
// GetV1RbacResourceGroupResourceGroupWithResponse request
GetV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*GetV1RbacResourceGroupResourceGroupResponse, error)
// HeadV1RbacResourceGroupResourceGroupWithResponse request
HeadV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, reqEditors ...RequestEditorFn) (*HeadV1RbacResourceGroupResourceGroupResponse, error)
// PutV1RbacResourceGroupResourceGroupWithBodyWithResponse request with any body
PutV1RbacResourceGroupResourceGroupWithBodyWithResponse(ctx context.Context, resourceGroup string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacResourceGroupResourceGroupResponse, error)
PutV1RbacResourceGroupResourceGroupWithResponse(ctx context.Context, resourceGroup string, body PutV1RbacResourceGroupResourceGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacResourceGroupResourceGroupResponse, error)
// GetV1RbacRoleWithResponse request
GetV1RbacRoleWithResponse(ctx context.Context, params *GetV1RbacRoleParams, reqEditors ...RequestEditorFn) (*GetV1RbacRoleResponse, error)
// DeleteV1RbacRoleRoleWithResponse request
DeleteV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*DeleteV1RbacRoleRoleResponse, error)
// GetV1RbacRoleRoleWithResponse request
GetV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*GetV1RbacRoleRoleResponse, error)
// HeadV1RbacRoleRoleWithResponse request
HeadV1RbacRoleRoleWithResponse(ctx context.Context, role string, reqEditors ...RequestEditorFn) (*HeadV1RbacRoleRoleResponse, error)
// PutV1RbacRoleRoleWithBodyWithResponse request with any body
PutV1RbacRoleRoleWithBodyWithResponse(ctx context.Context, role string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1RbacRoleRoleResponse, error)
PutV1RbacRoleRoleWithResponse(ctx context.Context, role string, body PutV1RbacRoleRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1RbacRoleRoleResponse, error)
// GetV1TaskWithResponse request
GetV1TaskWithResponse(ctx context.Context, params *GetV1TaskParams, reqEditors ...RequestEditorFn) (*GetV1TaskResponse, error)
// PostV1TaskWithBodyWithResponse request with any body
PostV1TaskWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostV1TaskResponse, error)
PostV1TaskWithResponse(ctx context.Context, body PostV1TaskJSONRequestBody, reqEditors ...RequestEditorFn) (*PostV1TaskResponse, error)
// GetV1TaskIdWithResponse request
GetV1TaskIdWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetV1TaskIdResponse, error)
// GetV1TaskIdLogsWithResponse request
GetV1TaskIdLogsWithResponse(ctx context.Context, id string, params *GetV1TaskIdLogsParams, reqEditors ...RequestEditorFn) (*GetV1TaskIdLogsResponse, error)
// GetV1UserWithResponse request
GetV1UserWithResponse(ctx context.Context, params *GetV1UserParams, reqEditors ...RequestEditorFn) (*GetV1UserResponse, error)
// DeleteV1UserMeWithResponse request
DeleteV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DeleteV1UserMeResponse, error)
// GetV1UserMeWithResponse request
GetV1UserMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetV1UserMeResponse, error)
// PatchV1UserMeWithBodyWithResponse request with any body
PatchV1UserMeWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1UserMeResponse, error)
PatchV1UserMeWithResponse(ctx context.Context, body PatchV1UserMeJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1UserMeResponse, error)
// DeleteV1UserUsernameWithResponse request
DeleteV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*DeleteV1UserUsernameResponse, error)
// GetV1UserUsernameWithResponse request
GetV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*GetV1UserUsernameResponse, error)
// HeadV1UserUsernameWithResponse request
HeadV1UserUsernameWithResponse(ctx context.Context, username string, reqEditors ...RequestEditorFn) (*HeadV1UserUsernameResponse, error)
// PatchV1UserUsernameWithBodyWithResponse request with any body
PatchV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchV1UserUsernameResponse, error)
PatchV1UserUsernameWithResponse(ctx context.Context, username string, body PatchV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchV1UserUsernameResponse, error)
// PutV1UserUsernameWithBodyWithResponse request with any body
PutV1UserUsernameWithBodyWithResponse(ctx context.Context, username string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutV1UserUsernameResponse, error)
PutV1UserUsernameWithResponse(ctx context.Context, username string, body PutV1UserUsernameJSONRequestBody, reqEditors ...RequestEditorFn) (*PutV1UserUsernameResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CreateTaskRequest ¶
type CreateTaskRequest struct {
// Args Argument list used to invoke the task.
Args *[]string `json:"args,omitempty"`
// Callback Callback URL invoked on task completion.
Callback *string `json:"callback,omitempty"`
// Env Environment variables supplied to the task.
Env *[]EnvironmentVariable `json:"env,omitempty"`
// Params Parameters passed to the task.
Params *[]interface{} `json:"params,omitempty"`
// Retention Duration to retain the task after completion.
Retention *string `json:"retention,omitempty"`
// Retries Maximum number of retries before the task is moved to state archived
Retries *int `json:"retries,omitempty"`
// Source Task source in the form namespace:name/interface/function@<hash|tag>.
Source string `json:"source"`
}
CreateTaskRequest defines model for CreateTaskRequest.
type DeleteV1ArtifactNamespaceNameHashHashResponse ¶
type DeleteV1ArtifactNamespaceNameHashHashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseDeleteV1ArtifactNamespaceNameHashHashResponse ¶
func ParseDeleteV1ArtifactNamespaceNameHashHashResponse(rsp *http.Response) (*DeleteV1ArtifactNamespaceNameHashHashResponse, error)
ParseDeleteV1ArtifactNamespaceNameHashHashResponse parses an HTTP response from a DeleteV1ArtifactNamespaceNameHashHashWithResponse call
func (DeleteV1ArtifactNamespaceNameHashHashResponse) Status ¶
func (r DeleteV1ArtifactNamespaceNameHashHashResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ArtifactNamespaceNameHashHashResponse) StatusCode ¶
func (r DeleteV1ArtifactNamespaceNameHashHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1ArtifactNamespaceNameTagTagResponse ¶
type DeleteV1ArtifactNamespaceNameTagTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseDeleteV1ArtifactNamespaceNameTagTagResponse ¶
func ParseDeleteV1ArtifactNamespaceNameTagTagResponse(rsp *http.Response) (*DeleteV1ArtifactNamespaceNameTagTagResponse, error)
ParseDeleteV1ArtifactNamespaceNameTagTagResponse parses an HTTP response from a DeleteV1ArtifactNamespaceNameTagTagWithResponse call
func (DeleteV1ArtifactNamespaceNameTagTagResponse) Status ¶
func (r DeleteV1ArtifactNamespaceNameTagTagResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1ArtifactNamespaceNameTagTagResponse) StatusCode ¶
func (r DeleteV1ArtifactNamespaceNameTagTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1RbacPolicyJSONRequestBody ¶
type DeleteV1RbacPolicyJSONRequestBody = RBACPolicy
DeleteV1RbacPolicyJSONRequestBody defines body for DeleteV1RbacPolicy for application/json ContentType.
type DeleteV1RbacPolicyResponse ¶
type DeleteV1RbacPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParseDeleteV1RbacPolicyResponse ¶
func ParseDeleteV1RbacPolicyResponse(rsp *http.Response) (*DeleteV1RbacPolicyResponse, error)
ParseDeleteV1RbacPolicyResponse parses an HTTP response from a DeleteV1RbacPolicyWithResponse call
func (DeleteV1RbacPolicyResponse) Status ¶
func (r DeleteV1RbacPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1RbacPolicyResponse) StatusCode ¶
func (r DeleteV1RbacPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1RbacResourceGroupResourceGroupResponse ¶
type DeleteV1RbacResourceGroupResourceGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResourceGroupResource
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseDeleteV1RbacResourceGroupResourceGroupResponse ¶
func ParseDeleteV1RbacResourceGroupResourceGroupResponse(rsp *http.Response) (*DeleteV1RbacResourceGroupResourceGroupResponse, error)
ParseDeleteV1RbacResourceGroupResourceGroupResponse parses an HTTP response from a DeleteV1RbacResourceGroupResourceGroupWithResponse call
func (DeleteV1RbacResourceGroupResourceGroupResponse) Status ¶
func (r DeleteV1RbacResourceGroupResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1RbacResourceGroupResourceGroupResponse) StatusCode ¶
func (r DeleteV1RbacResourceGroupResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1RbacRoleRoleResponse ¶
type DeleteV1RbacRoleRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleResource
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParseDeleteV1RbacRoleRoleResponse ¶
func ParseDeleteV1RbacRoleRoleResponse(rsp *http.Response) (*DeleteV1RbacRoleRoleResponse, error)
ParseDeleteV1RbacRoleRoleResponse parses an HTTP response from a DeleteV1RbacRoleRoleWithResponse call
func (DeleteV1RbacRoleRoleResponse) Status ¶
func (r DeleteV1RbacRoleRoleResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1RbacRoleRoleResponse) StatusCode ¶
func (r DeleteV1RbacRoleRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1UserMeResponse ¶
type DeleteV1UserMeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON413 *GenericTooLarge
}
func ParseDeleteV1UserMeResponse ¶
func ParseDeleteV1UserMeResponse(rsp *http.Response) (*DeleteV1UserMeResponse, error)
ParseDeleteV1UserMeResponse parses an HTTP response from a DeleteV1UserMeWithResponse call
func (DeleteV1UserMeResponse) Status ¶
func (r DeleteV1UserMeResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1UserMeResponse) StatusCode ¶
func (r DeleteV1UserMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteV1UserUsernameResponse ¶
type DeleteV1UserUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseDeleteV1UserUsernameResponse ¶
func ParseDeleteV1UserUsernameResponse(rsp *http.Response) (*DeleteV1UserUsernameResponse, error)
ParseDeleteV1UserUsernameResponse parses an HTTP response from a DeleteV1UserUsernameWithResponse call
func (DeleteV1UserUsernameResponse) Status ¶
func (r DeleteV1UserUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteV1UserUsernameResponse) StatusCode ¶
func (r DeleteV1UserUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnvironmentVariable ¶
type EnvironmentVariable struct {
// Key Environment variable name.
Key string `json:"key"`
// Value Environment variable value.
Value string `json:"value"`
}
EnvironmentVariable defines model for EnvironmentVariable.
type ErrField ¶
type ErrField struct {
// Error A description of the error related to the field.
Error string `json:"error"`
// Field The name of the field that caused the error.
Field string `json:"field"`
}
ErrField defines model for ErrField.
type ErrGeneric ¶
type ErrGeneric struct {
Error string `json:"error"`
}
ErrGeneric defines model for ErrGeneric.
type FieldError ¶
type FieldError struct {
Errors *[]ErrField `json:"errors,omitempty"`
}
FieldError defines model for FieldError.
type GenericBadRequest ¶
type GenericBadRequest = ErrGeneric
GenericBadRequest defines model for GenericBadRequest.
type GenericNotFound ¶
type GenericNotFound = ErrGeneric
GenericNotFound defines model for GenericNotFound.
type GenericTooLarge ¶
type GenericTooLarge = ErrGeneric
GenericTooLarge defines model for GenericTooLarge.
type GetV1ArtifactNamespaceNameHashHashResponse ¶
type GetV1ArtifactNamespaceNameHashHashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactNamespaceNameHashHashResponse ¶
func ParseGetV1ArtifactNamespaceNameHashHashResponse(rsp *http.Response) (*GetV1ArtifactNamespaceNameHashHashResponse, error)
ParseGetV1ArtifactNamespaceNameHashHashResponse parses an HTTP response from a GetV1ArtifactNamespaceNameHashHashWithResponse call
func (GetV1ArtifactNamespaceNameHashHashResponse) Status ¶
func (r GetV1ArtifactNamespaceNameHashHashResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactNamespaceNameHashHashResponse) StatusCode ¶
func (r GetV1ArtifactNamespaceNameHashHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactNamespaceNameParams ¶
type GetV1ArtifactNamespaceNameParams struct {
// Limit Maximum number of versions to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the version list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
GetV1ArtifactNamespaceNameParams defines parameters for GetV1ArtifactNamespaceName.
type GetV1ArtifactNamespaceNameResponse ¶
type GetV1ArtifactNamespaceNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Artifact
JSON400 *GenericBadRequest
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactNamespaceNameResponse ¶
func ParseGetV1ArtifactNamespaceNameResponse(rsp *http.Response) (*GetV1ArtifactNamespaceNameResponse, error)
ParseGetV1ArtifactNamespaceNameResponse parses an HTTP response from a GetV1ArtifactNamespaceNameWithResponse call
func (GetV1ArtifactNamespaceNameResponse) Status ¶
func (r GetV1ArtifactNamespaceNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactNamespaceNameResponse) StatusCode ¶
func (r GetV1ArtifactNamespaceNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactNamespaceNameTagTagResponse ¶
type GetV1ArtifactNamespaceNameTagTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactNamespaceNameTagTagResponse ¶
func ParseGetV1ArtifactNamespaceNameTagTagResponse(rsp *http.Response) (*GetV1ArtifactNamespaceNameTagTagResponse, error)
ParseGetV1ArtifactNamespaceNameTagTagResponse parses an HTTP response from a GetV1ArtifactNamespaceNameTagTagWithResponse call
func (GetV1ArtifactNamespaceNameTagTagResponse) Status ¶
func (r GetV1ArtifactNamespaceNameTagTagResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactNamespaceNameTagTagResponse) StatusCode ¶
func (r GetV1ArtifactNamespaceNameTagTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactNamespaceParams ¶
type GetV1ArtifactNamespaceParams struct {
// Limit Maximum number of artifacts to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the artifact list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
GetV1ArtifactNamespaceParams defines parameters for GetV1ArtifactNamespace.
type GetV1ArtifactNamespaceResponse ¶
type GetV1ArtifactNamespaceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Artifact
JSON400 *GenericBadRequest
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactNamespaceResponse ¶
func ParseGetV1ArtifactNamespaceResponse(rsp *http.Response) (*GetV1ArtifactNamespaceResponse, error)
ParseGetV1ArtifactNamespaceResponse parses an HTTP response from a GetV1ArtifactNamespaceWithResponse call
func (GetV1ArtifactNamespaceResponse) Status ¶
func (r GetV1ArtifactNamespaceResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactNamespaceResponse) StatusCode ¶
func (r GetV1ArtifactNamespaceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactParams ¶
type GetV1ArtifactParams struct {
// Limit Maximum number of namespaces to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the namespace list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
}
GetV1ArtifactParams defines parameters for GetV1Artifact.
type GetV1ArtifactRawNamespaceNameHashHashResponse ¶
type GetV1ArtifactRawNamespaceNameHashHashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactRawNamespaceNameHashHashResponse ¶
func ParseGetV1ArtifactRawNamespaceNameHashHashResponse(rsp *http.Response) (*GetV1ArtifactRawNamespaceNameHashHashResponse, error)
ParseGetV1ArtifactRawNamespaceNameHashHashResponse parses an HTTP response from a GetV1ArtifactRawNamespaceNameHashHashWithResponse call
func (GetV1ArtifactRawNamespaceNameHashHashResponse) Status ¶
func (r GetV1ArtifactRawNamespaceNameHashHashResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactRawNamespaceNameHashHashResponse) StatusCode ¶
func (r GetV1ArtifactRawNamespaceNameHashHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactRawNamespaceNameTagTagResponse ¶
type GetV1ArtifactRawNamespaceNameTagTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactRawNamespaceNameTagTagResponse ¶
func ParseGetV1ArtifactRawNamespaceNameTagTagResponse(rsp *http.Response) (*GetV1ArtifactRawNamespaceNameTagTagResponse, error)
ParseGetV1ArtifactRawNamespaceNameTagTagResponse parses an HTTP response from a GetV1ArtifactRawNamespaceNameTagTagWithResponse call
func (GetV1ArtifactRawNamespaceNameTagTagResponse) Status ¶
func (r GetV1ArtifactRawNamespaceNameTagTagResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactRawNamespaceNameTagTagResponse) StatusCode ¶
func (r GetV1ArtifactRawNamespaceNameTagTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1ArtifactResponse ¶
type GetV1ArtifactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Artifact
JSON400 *GenericBadRequest
JSON413 *GenericTooLarge
}
func ParseGetV1ArtifactResponse ¶
func ParseGetV1ArtifactResponse(rsp *http.Response) (*GetV1ArtifactResponse, error)
ParseGetV1ArtifactResponse parses an HTTP response from a GetV1ArtifactWithResponse call
func (GetV1ArtifactResponse) Status ¶
func (r GetV1ArtifactResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1ArtifactResponse) StatusCode ¶
func (r GetV1ArtifactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RbacPolicyParams ¶
type GetV1RbacPolicyParams struct {
// Limit Maximum number of policies to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the policy list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Role Filter policies by role.
Role *string `form:"role,omitempty" json:"role,omitempty"`
// ResourceGroup Filter policies by resource group.
ResourceGroup *string `form:"resource-group,omitempty" json:"resource-group,omitempty"`
// Method Filter policies by HTTP method.
Method *string `form:"method,omitempty" json:"method,omitempty"`
}
GetV1RbacPolicyParams defines parameters for GetV1RbacPolicy.
type GetV1RbacPolicyResponse ¶
type GetV1RbacPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]RBACPolicy
JSON413 *GenericTooLarge
}
func ParseGetV1RbacPolicyResponse ¶
func ParseGetV1RbacPolicyResponse(rsp *http.Response) (*GetV1RbacPolicyResponse, error)
ParseGetV1RbacPolicyResponse parses an HTTP response from a GetV1RbacPolicyWithResponse call
func (GetV1RbacPolicyResponse) Status ¶
func (r GetV1RbacPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RbacPolicyResponse) StatusCode ¶
func (r GetV1RbacPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RbacResourceGroupParams ¶
type GetV1RbacResourceGroupParams struct {
// Limit Maximum number of policies to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the policy list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Role Filter policies by role.
Role *string `form:"role,omitempty" json:"role,omitempty"`
}
GetV1RbacResourceGroupParams defines parameters for GetV1RbacResourceGroup.
type GetV1RbacResourceGroupResourceGroupResponse ¶
type GetV1RbacResourceGroupResourceGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResourceGroupResource
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1RbacResourceGroupResourceGroupResponse ¶
func ParseGetV1RbacResourceGroupResourceGroupResponse(rsp *http.Response) (*GetV1RbacResourceGroupResourceGroupResponse, error)
ParseGetV1RbacResourceGroupResourceGroupResponse parses an HTTP response from a GetV1RbacResourceGroupResourceGroupWithResponse call
func (GetV1RbacResourceGroupResourceGroupResponse) Status ¶
func (r GetV1RbacResourceGroupResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RbacResourceGroupResourceGroupResponse) StatusCode ¶
func (r GetV1RbacResourceGroupResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RbacResourceGroupResponse ¶
type GetV1RbacResourceGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ResourceGroupResource
JSON413 *GenericTooLarge
}
func ParseGetV1RbacResourceGroupResponse ¶
func ParseGetV1RbacResourceGroupResponse(rsp *http.Response) (*GetV1RbacResourceGroupResponse, error)
ParseGetV1RbacResourceGroupResponse parses an HTTP response from a GetV1RbacResourceGroupWithResponse call
func (GetV1RbacResourceGroupResponse) Status ¶
func (r GetV1RbacResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RbacResourceGroupResponse) StatusCode ¶
func (r GetV1RbacResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RbacRoleParams ¶
type GetV1RbacRoleParams struct {
// Limit Maximum number of policies to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the policy list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Role Filter policies by role.
Role *string `form:"role,omitempty" json:"role,omitempty"`
}
GetV1RbacRoleParams defines parameters for GetV1RbacRole.
type GetV1RbacRoleResponse ¶
type GetV1RbacRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]RoleResource
JSON413 *GenericTooLarge
}
func ParseGetV1RbacRoleResponse ¶
func ParseGetV1RbacRoleResponse(rsp *http.Response) (*GetV1RbacRoleResponse, error)
ParseGetV1RbacRoleResponse parses an HTTP response from a GetV1RbacRoleWithResponse call
func (GetV1RbacRoleResponse) Status ¶
func (r GetV1RbacRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RbacRoleResponse) StatusCode ¶
func (r GetV1RbacRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1RbacRoleRoleResponse ¶
type GetV1RbacRoleRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RoleResource
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1RbacRoleRoleResponse ¶
func ParseGetV1RbacRoleRoleResponse(rsp *http.Response) (*GetV1RbacRoleRoleResponse, error)
ParseGetV1RbacRoleRoleResponse parses an HTTP response from a GetV1RbacRoleRoleWithResponse call
func (GetV1RbacRoleRoleResponse) Status ¶
func (r GetV1RbacRoleRoleResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1RbacRoleRoleResponse) StatusCode ¶
func (r GetV1RbacRoleRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1TaskIdLogsParams ¶
type GetV1TaskIdLogsParams struct {
// Level Filter logs by level.
Level *string `form:"level,omitempty" json:"level,omitempty"`
// Issuer Filter logs by issuer.
Issuer *string `form:"issuer,omitempty" json:"issuer,omitempty"`
// TimeRangeFrom Start of the time range filter. Must be used with time-range-to and be more recent.
TimeRangeFrom *time.Time `form:"time-range-from,omitempty" json:"time-range-from,omitempty"`
// TimeRangeTo End of the time range filter. Must be used with time-range-from and be less recent.
TimeRangeTo *time.Time `form:"time-range-to,omitempty" json:"time-range-to,omitempty"`
}
GetV1TaskIdLogsParams defines parameters for GetV1TaskIdLogs.
type GetV1TaskIdLogsResponse ¶
type GetV1TaskIdLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]TaskLog
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
}
func ParseGetV1TaskIdLogsResponse ¶
func ParseGetV1TaskIdLogsResponse(rsp *http.Response) (*GetV1TaskIdLogsResponse, error)
ParseGetV1TaskIdLogsResponse parses an HTTP response from a GetV1TaskIdLogsWithResponse call
func (GetV1TaskIdLogsResponse) Status ¶
func (r GetV1TaskIdLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1TaskIdLogsResponse) StatusCode ¶
func (r GetV1TaskIdLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1TaskIdResponse ¶
type GetV1TaskIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Task
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
}
func ParseGetV1TaskIdResponse ¶
func ParseGetV1TaskIdResponse(rsp *http.Response) (*GetV1TaskIdResponse, error)
ParseGetV1TaskIdResponse parses an HTTP response from a GetV1TaskIdWithResponse call
func (GetV1TaskIdResponse) Status ¶
func (r GetV1TaskIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1TaskIdResponse) StatusCode ¶
func (r GetV1TaskIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1TaskParams ¶
type GetV1TaskParams struct {
// Limit Maximum number of tasks to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset for pagination.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// State Filter tasks by state (e.g., ACTIVE).
State *string `form:"state,omitempty" json:"state,omitempty"`
}
GetV1TaskParams defines parameters for GetV1Task.
type GetV1TaskResponse ¶
type GetV1TaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]Task
JSON400 *GenericBadRequest
}
func ParseGetV1TaskResponse ¶
func ParseGetV1TaskResponse(rsp *http.Response) (*GetV1TaskResponse, error)
ParseGetV1TaskResponse parses an HTTP response from a GetV1TaskWithResponse call
func (GetV1TaskResponse) Status ¶
func (r GetV1TaskResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1TaskResponse) StatusCode ¶
func (r GetV1TaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1UserMeResponse ¶
type GetV1UserMeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON413 *GenericTooLarge
}
func ParseGetV1UserMeResponse ¶
func ParseGetV1UserMeResponse(rsp *http.Response) (*GetV1UserMeResponse, error)
ParseGetV1UserMeResponse parses an HTTP response from a GetV1UserMeWithResponse call
func (GetV1UserMeResponse) Status ¶
func (r GetV1UserMeResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1UserMeResponse) StatusCode ¶
func (r GetV1UserMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1UserParams ¶
type GetV1UserParams struct {
// Limit Maximum number of users to return.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Offset Offset into the user list.
Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
// Name Filter by exact username.
Name *string `form:"name,omitempty" json:"name,omitempty"`
// DisplayName Filter by display name.
DisplayName *string `form:"display-name,omitempty" json:"display-name,omitempty"`
}
GetV1UserParams defines parameters for GetV1User.
type GetV1UserResponse ¶
type GetV1UserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]UserResponse
JSON400 *GenericBadRequest
JSON413 *GenericTooLarge
}
func ParseGetV1UserResponse ¶
func ParseGetV1UserResponse(rsp *http.Response) (*GetV1UserResponse, error)
ParseGetV1UserResponse parses an HTTP response from a GetV1UserWithResponse call
func (GetV1UserResponse) Status ¶
func (r GetV1UserResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1UserResponse) StatusCode ¶
func (r GetV1UserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetV1UserUsernameResponse ¶
type GetV1UserUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParseGetV1UserUsernameResponse ¶
func ParseGetV1UserUsernameResponse(rsp *http.Response) (*GetV1UserUsernameResponse, error)
ParseGetV1UserUsernameResponse parses an HTTP response from a GetV1UserUsernameWithResponse call
func (GetV1UserUsernameResponse) Status ¶
func (r GetV1UserUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (GetV1UserUsernameResponse) StatusCode ¶
func (r GetV1UserUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HeadV1RbacResourceGroupResourceGroupResponse ¶
type HeadV1RbacResourceGroupResourceGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON413 *GenericTooLarge
}
func ParseHeadV1RbacResourceGroupResourceGroupResponse ¶
func ParseHeadV1RbacResourceGroupResourceGroupResponse(rsp *http.Response) (*HeadV1RbacResourceGroupResourceGroupResponse, error)
ParseHeadV1RbacResourceGroupResourceGroupResponse parses an HTTP response from a HeadV1RbacResourceGroupResourceGroupWithResponse call
func (HeadV1RbacResourceGroupResourceGroupResponse) Status ¶
func (r HeadV1RbacResourceGroupResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (HeadV1RbacResourceGroupResourceGroupResponse) StatusCode ¶
func (r HeadV1RbacResourceGroupResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HeadV1RbacRoleRoleResponse ¶
type HeadV1RbacRoleRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON413 *GenericTooLarge
}
func ParseHeadV1RbacRoleRoleResponse ¶
func ParseHeadV1RbacRoleRoleResponse(rsp *http.Response) (*HeadV1RbacRoleRoleResponse, error)
ParseHeadV1RbacRoleRoleResponse parses an HTTP response from a HeadV1RbacRoleRoleWithResponse call
func (HeadV1RbacRoleRoleResponse) Status ¶
func (r HeadV1RbacRoleRoleResponse) Status() string
Status returns HTTPResponse.Status
func (HeadV1RbacRoleRoleResponse) StatusCode ¶
func (r HeadV1RbacRoleRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HeadV1UserUsernameResponse ¶
type HeadV1UserUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON413 *GenericTooLarge
}
func ParseHeadV1UserUsernameResponse ¶
func ParseHeadV1UserUsernameResponse(rsp *http.Response) (*HeadV1UserUsernameResponse, error)
ParseHeadV1UserUsernameResponse parses an HTTP response from a HeadV1UserUsernameWithResponse call
func (HeadV1UserUsernameResponse) Status ¶
func (r HeadV1UserUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (HeadV1UserUsernameResponse) StatusCode ¶
func (r HeadV1UserUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type PatchArtifact ¶
type PatchArtifact struct {
// Tags Tags to assign to the artifact version. When set, replaces the existing tags.
Tags *[]string `json:"tags,omitempty"`
}
PatchArtifact defines model for PatchArtifact.
type PatchMe ¶
type PatchMe struct {
// DisplayName The display name for the current user.
DisplayName *string `json:"displayName,omitempty"`
// Password The password for the current user.
Password *string `json:"password,omitempty"`
// Roles Roles assigned to the current user.
Roles *[]string `json:"roles,omitempty"`
}
PatchMe defines model for PatchMe.
type PatchUser ¶
type PatchUser struct {
// DisplayName The display name for the user.
DisplayName *string `json:"displayName,omitempty"`
// Password The password for the user.
Password *string `json:"password,omitempty"`
// Roles Roles assigned to the user.
Roles *[]string `json:"roles,omitempty"`
}
PatchUser defines model for PatchUser.
type PatchV1ArtifactNamespaceNameHashHashJSONRequestBody ¶
type PatchV1ArtifactNamespaceNameHashHashJSONRequestBody = PatchArtifact
PatchV1ArtifactNamespaceNameHashHashJSONRequestBody defines body for PatchV1ArtifactNamespaceNameHashHash for application/json ContentType.
type PatchV1ArtifactNamespaceNameHashHashResponse ¶
type PatchV1ArtifactNamespaceNameHashHashResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParsePatchV1ArtifactNamespaceNameHashHashResponse ¶
func ParsePatchV1ArtifactNamespaceNameHashHashResponse(rsp *http.Response) (*PatchV1ArtifactNamespaceNameHashHashResponse, error)
ParsePatchV1ArtifactNamespaceNameHashHashResponse parses an HTTP response from a PatchV1ArtifactNamespaceNameHashHashWithResponse call
func (PatchV1ArtifactNamespaceNameHashHashResponse) Status ¶
func (r PatchV1ArtifactNamespaceNameHashHashResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1ArtifactNamespaceNameHashHashResponse) StatusCode ¶
func (r PatchV1ArtifactNamespaceNameHashHashResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV1ArtifactNamespaceNameTagTagJSONRequestBody ¶
type PatchV1ArtifactNamespaceNameTagTagJSONRequestBody = PatchArtifact
PatchV1ArtifactNamespaceNameTagTagJSONRequestBody defines body for PatchV1ArtifactNamespaceNameTagTag for application/json ContentType.
type PatchV1ArtifactNamespaceNameTagTagResponse ¶
type PatchV1ArtifactNamespaceNameTagTagResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Artifact
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON413 *GenericTooLarge
}
func ParsePatchV1ArtifactNamespaceNameTagTagResponse ¶
func ParsePatchV1ArtifactNamespaceNameTagTagResponse(rsp *http.Response) (*PatchV1ArtifactNamespaceNameTagTagResponse, error)
ParsePatchV1ArtifactNamespaceNameTagTagResponse parses an HTTP response from a PatchV1ArtifactNamespaceNameTagTagWithResponse call
func (PatchV1ArtifactNamespaceNameTagTagResponse) Status ¶
func (r PatchV1ArtifactNamespaceNameTagTagResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1ArtifactNamespaceNameTagTagResponse) StatusCode ¶
func (r PatchV1ArtifactNamespaceNameTagTagResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV1UserMeJSONRequestBody ¶
type PatchV1UserMeJSONRequestBody = PatchMe
PatchV1UserMeJSONRequestBody defines body for PatchV1UserMe for application/json ContentType.
type PatchV1UserMeResponse ¶
type PatchV1UserMeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePatchV1UserMeResponse ¶
func ParsePatchV1UserMeResponse(rsp *http.Response) (*PatchV1UserMeResponse, error)
ParsePatchV1UserMeResponse parses an HTTP response from a PatchV1UserMeWithResponse call
func (PatchV1UserMeResponse) Status ¶
func (r PatchV1UserMeResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1UserMeResponse) StatusCode ¶
func (r PatchV1UserMeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchV1UserUsernameJSONRequestBody ¶
type PatchV1UserUsernameJSONRequestBody = PatchUser
PatchV1UserUsernameJSONRequestBody defines body for PatchV1UserUsername for application/json ContentType.
type PatchV1UserUsernameResponse ¶
type PatchV1UserUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UserResponse
JSON400 *GenericBadRequest
JSON404 *GenericNotFound
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePatchV1UserUsernameResponse ¶
func ParsePatchV1UserUsernameResponse(rsp *http.Response) (*PatchV1UserUsernameResponse, error)
ParsePatchV1UserUsernameResponse parses an HTTP response from a PatchV1UserUsernameWithResponse call
func (PatchV1UserUsernameResponse) Status ¶
func (r PatchV1UserUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (PatchV1UserUsernameResponse) StatusCode ¶
func (r PatchV1UserUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1ArtifactRawNamespaceNameResponse ¶
type PostV1ArtifactRawNamespaceNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *UploadArtifactResponse
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePostV1ArtifactRawNamespaceNameResponse ¶
func ParsePostV1ArtifactRawNamespaceNameResponse(rsp *http.Response) (*PostV1ArtifactRawNamespaceNameResponse, error)
ParsePostV1ArtifactRawNamespaceNameResponse parses an HTTP response from a PostV1ArtifactRawNamespaceNameWithResponse call
func (PostV1ArtifactRawNamespaceNameResponse) Status ¶
func (r PostV1ArtifactRawNamespaceNameResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1ArtifactRawNamespaceNameResponse) StatusCode ¶
func (r PostV1ArtifactRawNamespaceNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostV1TaskJSONRequestBody ¶
type PostV1TaskJSONRequestBody = CreateTaskRequest
PostV1TaskJSONRequestBody defines body for PostV1Task for application/json ContentType.
type PostV1TaskResponse ¶
type PostV1TaskResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Task
JSON400 *GenericBadRequest
JSON413 *GenericTooLarge
}
func ParsePostV1TaskResponse ¶
func ParsePostV1TaskResponse(rsp *http.Response) (*PostV1TaskResponse, error)
ParsePostV1TaskResponse parses an HTTP response from a PostV1TaskWithResponse call
func (PostV1TaskResponse) Status ¶
func (r PostV1TaskResponse) Status() string
Status returns HTTPResponse.Status
func (PostV1TaskResponse) StatusCode ¶
func (r PostV1TaskResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutResourceGroupRequest ¶
type PutResourceGroupRequest struct {
// Endpoints Endpoints assigned to this resource group.
Endpoints []string `json:"endpoints"`
}
PutResourceGroupRequest defines model for PutResourceGroupRequest.
type PutRoleRequest ¶
type PutRoleRequest struct {
// Users Usernames assigned to this role.
Users []string `json:"users"`
}
PutRoleRequest defines model for PutRoleRequest.
type PutUserRequest ¶
type PutUserRequest struct {
// DisplayName The display name for the new user.
DisplayName string `json:"displayName"`
// Password The password for the new user.
Password string `json:"password"`
// Roles Roles assigned to the new user.
Roles *[]string `json:"roles,omitempty"`
}
PutUserRequest defines model for PutUserRequest.
type PutV1RbacPolicyJSONRequestBody ¶
type PutV1RbacPolicyJSONRequestBody = RBACPolicy
PutV1RbacPolicyJSONRequestBody defines body for PutV1RbacPolicy for application/json ContentType.
type PutV1RbacPolicyResponse ¶
type PutV1RbacPolicyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *GenericBadRequest
JSON404 *FieldError
JSON413 *GenericTooLarge
}
func ParsePutV1RbacPolicyResponse ¶
func ParsePutV1RbacPolicyResponse(rsp *http.Response) (*PutV1RbacPolicyResponse, error)
ParsePutV1RbacPolicyResponse parses an HTTP response from a PutV1RbacPolicyWithResponse call
func (PutV1RbacPolicyResponse) Status ¶
func (r PutV1RbacPolicyResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1RbacPolicyResponse) StatusCode ¶
func (r PutV1RbacPolicyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1RbacResourceGroupResourceGroupJSONRequestBody ¶
type PutV1RbacResourceGroupResourceGroupJSONRequestBody = PutResourceGroupRequest
PutV1RbacResourceGroupResourceGroupJSONRequestBody defines body for PutV1RbacResourceGroupResourceGroup for application/json ContentType.
type PutV1RbacResourceGroupResourceGroupResponse ¶
type PutV1RbacResourceGroupResourceGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ResourceGroupResource
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePutV1RbacResourceGroupResourceGroupResponse ¶
func ParsePutV1RbacResourceGroupResourceGroupResponse(rsp *http.Response) (*PutV1RbacResourceGroupResourceGroupResponse, error)
ParsePutV1RbacResourceGroupResourceGroupResponse parses an HTTP response from a PutV1RbacResourceGroupResourceGroupWithResponse call
func (PutV1RbacResourceGroupResourceGroupResponse) Status ¶
func (r PutV1RbacResourceGroupResourceGroupResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1RbacResourceGroupResourceGroupResponse) StatusCode ¶
func (r PutV1RbacResourceGroupResourceGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1RbacRoleRoleJSONRequestBody ¶
type PutV1RbacRoleRoleJSONRequestBody = PutRoleRequest
PutV1RbacRoleRoleJSONRequestBody defines body for PutV1RbacRoleRole for application/json ContentType.
type PutV1RbacRoleRoleResponse ¶
type PutV1RbacRoleRoleResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *RoleResource
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePutV1RbacRoleRoleResponse ¶
func ParsePutV1RbacRoleRoleResponse(rsp *http.Response) (*PutV1RbacRoleRoleResponse, error)
ParsePutV1RbacRoleRoleResponse parses an HTTP response from a PutV1RbacRoleRoleWithResponse call
func (PutV1RbacRoleRoleResponse) Status ¶
func (r PutV1RbacRoleRoleResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1RbacRoleRoleResponse) StatusCode ¶
func (r PutV1RbacRoleRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutV1UserUsernameJSONRequestBody ¶
type PutV1UserUsernameJSONRequestBody = PutUserRequest
PutV1UserUsernameJSONRequestBody defines body for PutV1UserUsername for application/json ContentType.
type PutV1UserUsernameResponse ¶
type PutV1UserUsernameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *UserResponse
JSON400 *GenericBadRequest
JSON409 *ErrGeneric
JSON413 *GenericTooLarge
}
func ParsePutV1UserUsernameResponse ¶
func ParsePutV1UserUsernameResponse(rsp *http.Response) (*PutV1UserUsernameResponse, error)
ParsePutV1UserUsernameResponse parses an HTTP response from a PutV1UserUsernameWithResponse call
func (PutV1UserUsernameResponse) Status ¶
func (r PutV1UserUsernameResponse) Status() string
Status returns HTTPResponse.Status
func (PutV1UserUsernameResponse) StatusCode ¶
func (r PutV1UserUsernameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RBACPolicy ¶
type RBACPolicy struct {
// Method The allowed HTTP method (e.g., "GET", "POST", "*").
Method RBACPolicyMethod `json:"method"`
// ResourceGroup The name of the resource group. (or "*" for all resource groups)
ResourceGroup string `json:"resourceGroup"`
// Role The name of the role. (or "*" for all roles)
Role string `json:"role"`
}
RBACPolicy defines model for RBACPolicy.
type RBACPolicyMethod ¶
type RBACPolicyMethod string
RBACPolicyMethod The allowed HTTP method (e.g., "GET", "POST", "*").
const ( Asterisk RBACPolicyMethod = "*" DELETE RBACPolicyMethod = "DELETE" GET RBACPolicyMethod = "GET" HEAD RBACPolicyMethod = "HEAD" PATCH RBACPolicyMethod = "PATCH" POST RBACPolicyMethod = "POST" PUT RBACPolicyMethod = "PUT" )
Defines values for RBACPolicyMethod.
func (RBACPolicyMethod) Valid ¶
func (e RBACPolicyMethod) Valid() bool
Valid indicates whether the value is a known member of the RBACPolicyMethod enum.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResourceGroupResource ¶
type ResourceGroupResource struct {
// Endpoints Endpoints assigned to this resource group.
Endpoints []string `json:"endpoints"`
// Name The resource group name.
Name string `json:"name"`
}
ResourceGroupResource defines model for ResourceGroupResource.
type RoleResource ¶
type RoleResource struct {
// Name The role name.
Name string `json:"name"`
// Users Usernames assigned to this role.
Users []string `json:"users"`
}
RoleResource defines model for RoleResource.
type Task ¶
type Task struct {
// Args Argument list used to invoke the task.
Args *[]string `json:"args,omitempty"`
// Callback Callback URL invoked on task completion.
Callback *string `json:"callback,omitempty"`
// Env Environment variables supplied to the task.
Env *[]EnvironmentVariable `json:"env,omitempty"`
// Id Unique identifier for the task.
Id string `json:"id"`
// Params Parameters passed to the task.
Params *[]interface{} `json:"params,omitempty"`
// Retention Duration to retain the task after completion.
Retention *string `json:"retention,omitempty"`
// Retries Maximum number of retries before the task is moved to state archived
Retries *int `json:"retries,omitempty"`
// Source Task source in the form namespace:name/interface/function@<hash|tag>.
Source string `json:"source"`
Status TaskStatus `json:"status"`
}
Task defines model for Task.
type TaskLog ¶
type TaskLog struct {
// Issuer Component that issued the log entry.
Issuer string `json:"issuer"`
// Level Log level (e.g., debug, info, warn, error, fatal).
Level string `json:"level"`
// Message Log message content.
Message string `json:"message"`
// Timestamp Time the log entry was created.
Timestamp time.Time `json:"timestamp"`
}
TaskLog defines model for TaskLog.
type TaskStatus ¶
type TaskStatus struct {
// CompletedAt Time the task finished processing.
CompletedAt *time.Time `json:"completed_at,omitempty"`
// LastError Error message from the last failure.
LastError *string `json:"last_error,omitempty"`
// LastFailedAt Time of the last failure.
LastFailedAt *time.Time `json:"last_failed_at,omitempty"`
// NextProcessAt Time the task is scheduled for processing next.
NextProcessAt *time.Time `json:"next_process_at,omitempty"`
// ResultPayload Result payload of the task.
ResultPayload *string `json:"result_payload,omitempty"`
// Retries Current retry count.
Retries int `json:"retries"`
// State Current status of the task.
State string `json:"state"`
}
TaskStatus defines model for TaskStatus.
type UploadArtifactResponse ¶
type UploadArtifactResponse struct {
// VersionHash Created version hash.
VersionHash string `json:"versionHash"`
}
UploadArtifactResponse defines model for UploadArtifactResponse.
type UserResponse ¶
type UserResponse struct {
// DisplayName The display name of the user.
DisplayName string `json:"displayName"`
// Name The name of the user.
Name string `json:"name"`
// Roles Roles assigned to the user.
Roles *[]string `json:"roles,omitempty"`
}
UserResponse defines model for UserResponse.