package
0.3.0
Repository: https://github.com/loheagn/harbor-client.git
Documentation: pkg.go.dev

# Functions

New creates a new webhook API client.
NewCreateWebhookPolicyOfProjectBadRequest creates a CreateWebhookPolicyOfProjectBadRequest with default headers values.
NewCreateWebhookPolicyOfProjectCreated creates a CreateWebhookPolicyOfProjectCreated with default headers values.
NewCreateWebhookPolicyOfProjectForbidden creates a CreateWebhookPolicyOfProjectForbidden with default headers values.
NewCreateWebhookPolicyOfProjectInternalServerError creates a CreateWebhookPolicyOfProjectInternalServerError with default headers values.
NewCreateWebhookPolicyOfProjectParams creates a new CreateWebhookPolicyOfProjectParams object, with the default timeout for this client.
NewCreateWebhookPolicyOfProjectParamsWithContext creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a context for a request.
NewCreateWebhookPolicyOfProjectParamsWithHTTPClient creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
NewCreateWebhookPolicyOfProjectParamsWithTimeout creates a new CreateWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
NewCreateWebhookPolicyOfProjectUnauthorized creates a CreateWebhookPolicyOfProjectUnauthorized with default headers values.
NewDeleteWebhookPolicyOfProjectBadRequest creates a DeleteWebhookPolicyOfProjectBadRequest with default headers values.
NewDeleteWebhookPolicyOfProjectForbidden creates a DeleteWebhookPolicyOfProjectForbidden with default headers values.
NewDeleteWebhookPolicyOfProjectInternalServerError creates a DeleteWebhookPolicyOfProjectInternalServerError with default headers values.
NewDeleteWebhookPolicyOfProjectNotFound creates a DeleteWebhookPolicyOfProjectNotFound with default headers values.
NewDeleteWebhookPolicyOfProjectOK creates a DeleteWebhookPolicyOfProjectOK with default headers values.
NewDeleteWebhookPolicyOfProjectParams creates a new DeleteWebhookPolicyOfProjectParams object, with the default timeout for this client.
NewDeleteWebhookPolicyOfProjectParamsWithContext creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a context for a request.
NewDeleteWebhookPolicyOfProjectParamsWithHTTPClient creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
NewDeleteWebhookPolicyOfProjectParamsWithTimeout creates a new DeleteWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
NewDeleteWebhookPolicyOfProjectUnauthorized creates a DeleteWebhookPolicyOfProjectUnauthorized with default headers values.
NewGetSupportedEventTypesForbidden creates a GetSupportedEventTypesForbidden with default headers values.
NewGetSupportedEventTypesInternalServerError creates a GetSupportedEventTypesInternalServerError with default headers values.
NewGetSupportedEventTypesOK creates a GetSupportedEventTypesOK with default headers values.
NewGetSupportedEventTypesParams creates a new GetSupportedEventTypesParams object, with the default timeout for this client.
NewGetSupportedEventTypesParamsWithContext creates a new GetSupportedEventTypesParams object with the ability to set a context for a request.
NewGetSupportedEventTypesParamsWithHTTPClient creates a new GetSupportedEventTypesParams object with the ability to set a custom HTTPClient for a request.
NewGetSupportedEventTypesParamsWithTimeout creates a new GetSupportedEventTypesParams object with the ability to set a timeout on a request.
NewGetSupportedEventTypesUnauthorized creates a GetSupportedEventTypesUnauthorized with default headers values.
NewGetWebhookPolicyOfProjectBadRequest creates a GetWebhookPolicyOfProjectBadRequest with default headers values.
NewGetWebhookPolicyOfProjectForbidden creates a GetWebhookPolicyOfProjectForbidden with default headers values.
NewGetWebhookPolicyOfProjectInternalServerError creates a GetWebhookPolicyOfProjectInternalServerError with default headers values.
NewGetWebhookPolicyOfProjectNotFound creates a GetWebhookPolicyOfProjectNotFound with default headers values.
NewGetWebhookPolicyOfProjectOK creates a GetWebhookPolicyOfProjectOK with default headers values.
NewGetWebhookPolicyOfProjectParams creates a new GetWebhookPolicyOfProjectParams object, with the default timeout for this client.
NewGetWebhookPolicyOfProjectParamsWithContext creates a new GetWebhookPolicyOfProjectParams object with the ability to set a context for a request.
NewGetWebhookPolicyOfProjectParamsWithHTTPClient creates a new GetWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
NewGetWebhookPolicyOfProjectParamsWithTimeout creates a new GetWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
NewGetWebhookPolicyOfProjectUnauthorized creates a GetWebhookPolicyOfProjectUnauthorized with default headers values.
NewLastTriggerBadRequest creates a LastTriggerBadRequest with default headers values.
NewLastTriggerForbidden creates a LastTriggerForbidden with default headers values.
NewLastTriggerInternalServerError creates a LastTriggerInternalServerError with default headers values.
NewLastTriggerOK creates a LastTriggerOK with default headers values.
NewLastTriggerParams creates a new LastTriggerParams object, with the default timeout for this client.
NewLastTriggerParamsWithContext creates a new LastTriggerParams object with the ability to set a context for a request.
NewLastTriggerParamsWithHTTPClient creates a new LastTriggerParams object with the ability to set a custom HTTPClient for a request.
NewLastTriggerParamsWithTimeout creates a new LastTriggerParams object with the ability to set a timeout on a request.
NewLastTriggerUnauthorized creates a LastTriggerUnauthorized with default headers values.
NewListWebhookPoliciesOfProjectBadRequest creates a ListWebhookPoliciesOfProjectBadRequest with default headers values.
NewListWebhookPoliciesOfProjectForbidden creates a ListWebhookPoliciesOfProjectForbidden with default headers values.
NewListWebhookPoliciesOfProjectInternalServerError creates a ListWebhookPoliciesOfProjectInternalServerError with default headers values.
NewListWebhookPoliciesOfProjectOK creates a ListWebhookPoliciesOfProjectOK with default headers values.
NewListWebhookPoliciesOfProjectParams creates a new ListWebhookPoliciesOfProjectParams object, with the default timeout for this client.
NewListWebhookPoliciesOfProjectParamsWithContext creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a context for a request.
NewListWebhookPoliciesOfProjectParamsWithHTTPClient creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a custom HTTPClient for a request.
NewListWebhookPoliciesOfProjectParamsWithTimeout creates a new ListWebhookPoliciesOfProjectParams object with the ability to set a timeout on a request.
NewListWebhookPoliciesOfProjectUnauthorized creates a ListWebhookPoliciesOfProjectUnauthorized with default headers values.
NewUpdateWebhookPolicyOfProjectBadRequest creates a UpdateWebhookPolicyOfProjectBadRequest with default headers values.
NewUpdateWebhookPolicyOfProjectForbidden creates a UpdateWebhookPolicyOfProjectForbidden with default headers values.
NewUpdateWebhookPolicyOfProjectInternalServerError creates a UpdateWebhookPolicyOfProjectInternalServerError with default headers values.
NewUpdateWebhookPolicyOfProjectNotFound creates a UpdateWebhookPolicyOfProjectNotFound with default headers values.
NewUpdateWebhookPolicyOfProjectOK creates a UpdateWebhookPolicyOfProjectOK with default headers values.
NewUpdateWebhookPolicyOfProjectParams creates a new UpdateWebhookPolicyOfProjectParams object, with the default timeout for this client.
NewUpdateWebhookPolicyOfProjectParamsWithContext creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a context for a request.
NewUpdateWebhookPolicyOfProjectParamsWithHTTPClient creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a custom HTTPClient for a request.
NewUpdateWebhookPolicyOfProjectParamsWithTimeout creates a new UpdateWebhookPolicyOfProjectParams object with the ability to set a timeout on a request.
NewUpdateWebhookPolicyOfProjectUnauthorized creates a UpdateWebhookPolicyOfProjectUnauthorized with default headers values.

# Structs

Client for webhook API */.
CreateWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
CreateWebhookPolicyOfProjectCreated describes a response with status code 201, with default header values.
CreateWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
CreateWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
CreateWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint for the create webhook policy of project operation.
CreateWebhookPolicyOfProjectReader is a Reader for the CreateWebhookPolicyOfProject structure.
CreateWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
DeleteWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
DeleteWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
DeleteWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
DeleteWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
DeleteWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
DeleteWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint for the delete webhook policy of project operation.
DeleteWebhookPolicyOfProjectReader is a Reader for the DeleteWebhookPolicyOfProject structure.
DeleteWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
GetSupportedEventTypesForbidden describes a response with status code 403, with default header values.
GetSupportedEventTypesInternalServerError describes a response with status code 500, with default header values.
GetSupportedEventTypesOK describes a response with status code 200, with default header values.
GetSupportedEventTypesParams contains all the parameters to send to the API endpoint for the get supported event types operation.
GetSupportedEventTypesReader is a Reader for the GetSupportedEventTypes structure.
GetSupportedEventTypesUnauthorized describes a response with status code 401, with default header values.
GetWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
GetWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
GetWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
GetWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
GetWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
GetWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint for the get webhook policy of project operation.
GetWebhookPolicyOfProjectReader is a Reader for the GetWebhookPolicyOfProject structure.
GetWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.
LastTriggerBadRequest describes a response with status code 400, with default header values.
LastTriggerForbidden describes a response with status code 403, with default header values.
LastTriggerInternalServerError describes a response with status code 500, with default header values.
LastTriggerOK describes a response with status code 200, with default header values.
LastTriggerParams contains all the parameters to send to the API endpoint for the last trigger operation.
LastTriggerReader is a Reader for the LastTrigger structure.
LastTriggerUnauthorized describes a response with status code 401, with default header values.
ListWebhookPoliciesOfProjectBadRequest describes a response with status code 400, with default header values.
ListWebhookPoliciesOfProjectForbidden describes a response with status code 403, with default header values.
ListWebhookPoliciesOfProjectInternalServerError describes a response with status code 500, with default header values.
ListWebhookPoliciesOfProjectOK describes a response with status code 200, with default header values.
ListWebhookPoliciesOfProjectParams contains all the parameters to send to the API endpoint for the list webhook policies of project operation.
ListWebhookPoliciesOfProjectReader is a Reader for the ListWebhookPoliciesOfProject structure.
ListWebhookPoliciesOfProjectUnauthorized describes a response with status code 401, with default header values.
UpdateWebhookPolicyOfProjectBadRequest describes a response with status code 400, with default header values.
UpdateWebhookPolicyOfProjectForbidden describes a response with status code 403, with default header values.
UpdateWebhookPolicyOfProjectInternalServerError describes a response with status code 500, with default header values.
UpdateWebhookPolicyOfProjectNotFound describes a response with status code 404, with default header values.
UpdateWebhookPolicyOfProjectOK describes a response with status code 200, with default header values.
UpdateWebhookPolicyOfProjectParams contains all the parameters to send to the API endpoint for the update webhook policy of project operation.
UpdateWebhookPolicyOfProjectReader is a Reader for the UpdateWebhookPolicyOfProject structure.
UpdateWebhookPolicyOfProjectUnauthorized describes a response with status code 401, with default header values.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption is the option for Client methods.