package
0.210.0
Repository: https://github.com/goharbor/go-client.git
Documentation: pkg.go.dev

# Functions

New creates a new label API client.
NewCreateLabelBadRequest creates a CreateLabelBadRequest with default headers values.
NewCreateLabelConflict creates a CreateLabelConflict with default headers values.
NewCreateLabelCreated creates a CreateLabelCreated with default headers values.
NewCreateLabelInternalServerError creates a CreateLabelInternalServerError with default headers values.
NewCreateLabelParams creates a new CreateLabelParams object, with the default timeout for this client.
NewCreateLabelParamsWithContext creates a new CreateLabelParams object with the ability to set a context for a request.
NewCreateLabelParamsWithHTTPClient creates a new CreateLabelParams object with the ability to set a custom HTTPClient for a request.
NewCreateLabelParamsWithTimeout creates a new CreateLabelParams object with the ability to set a timeout on a request.
NewCreateLabelUnauthorized creates a CreateLabelUnauthorized with default headers values.
NewCreateLabelUnsupportedMediaType creates a CreateLabelUnsupportedMediaType with default headers values.
NewDeleteLabelBadRequest creates a DeleteLabelBadRequest with default headers values.
NewDeleteLabelInternalServerError creates a DeleteLabelInternalServerError with default headers values.
NewDeleteLabelNotFound creates a DeleteLabelNotFound with default headers values.
NewDeleteLabelOK creates a DeleteLabelOK with default headers values.
NewDeleteLabelParams creates a new DeleteLabelParams object, with the default timeout for this client.
NewDeleteLabelParamsWithContext creates a new DeleteLabelParams object with the ability to set a context for a request.
NewDeleteLabelParamsWithHTTPClient creates a new DeleteLabelParams object with the ability to set a custom HTTPClient for a request.
NewDeleteLabelParamsWithTimeout creates a new DeleteLabelParams object with the ability to set a timeout on a request.
NewDeleteLabelUnauthorized creates a DeleteLabelUnauthorized with default headers values.
NewGetLabelByIDInternalServerError creates a GetLabelByIDInternalServerError with default headers values.
NewGetLabelByIDNotFound creates a GetLabelByIDNotFound with default headers values.
NewGetLabelByIDOK creates a GetLabelByIDOK with default headers values.
NewGetLabelByIDParams creates a new GetLabelByIDParams object, with the default timeout for this client.
NewGetLabelByIDParamsWithContext creates a new GetLabelByIDParams object with the ability to set a context for a request.
NewGetLabelByIDParamsWithHTTPClient creates a new GetLabelByIDParams object with the ability to set a custom HTTPClient for a request.
NewGetLabelByIDParamsWithTimeout creates a new GetLabelByIDParams object with the ability to set a timeout on a request.
NewGetLabelByIDUnauthorized creates a GetLabelByIDUnauthorized with default headers values.
NewListLabelsBadRequest creates a ListLabelsBadRequest with default headers values.
NewListLabelsInternalServerError creates a ListLabelsInternalServerError with default headers values.
NewListLabelsOK creates a ListLabelsOK with default headers values.
NewListLabelsParams creates a new ListLabelsParams object, with the default timeout for this client.
NewListLabelsParamsWithContext creates a new ListLabelsParams object with the ability to set a context for a request.
NewListLabelsParamsWithHTTPClient creates a new ListLabelsParams object with the ability to set a custom HTTPClient for a request.
NewListLabelsParamsWithTimeout creates a new ListLabelsParams object with the ability to set a timeout on a request.
NewListLabelsUnauthorized creates a ListLabelsUnauthorized with default headers values.
NewUpdateLabelBadRequest creates a UpdateLabelBadRequest with default headers values.
NewUpdateLabelConflict creates a UpdateLabelConflict with default headers values.
NewUpdateLabelInternalServerError creates a UpdateLabelInternalServerError with default headers values.
NewUpdateLabelNotFound creates a UpdateLabelNotFound with default headers values.
NewUpdateLabelOK creates a UpdateLabelOK with default headers values.
NewUpdateLabelParams creates a new UpdateLabelParams object, with the default timeout for this client.
NewUpdateLabelParamsWithContext creates a new UpdateLabelParams object with the ability to set a context for a request.
NewUpdateLabelParamsWithHTTPClient creates a new UpdateLabelParams object with the ability to set a custom HTTPClient for a request.
NewUpdateLabelParamsWithTimeout creates a new UpdateLabelParams object with the ability to set a timeout on a request.
NewUpdateLabelUnauthorized creates a UpdateLabelUnauthorized with default headers values.

# Structs

Client for label API */.
CreateLabelBadRequest describes a response with status code 400, with default header values.
CreateLabelConflict describes a response with status code 409, with default header values.
CreateLabelCreated describes a response with status code 201, with default header values.
CreateLabelInternalServerError describes a response with status code 500, with default header values.
CreateLabelParams contains all the parameters to send to the API endpoint for the create label operation.
CreateLabelReader is a Reader for the CreateLabel structure.
CreateLabelUnauthorized describes a response with status code 401, with default header values.
CreateLabelUnsupportedMediaType describes a response with status code 415, with default header values.
DeleteLabelBadRequest describes a response with status code 400, with default header values.
DeleteLabelInternalServerError describes a response with status code 500, with default header values.
DeleteLabelNotFound describes a response with status code 404, with default header values.
DeleteLabelOK describes a response with status code 200, with default header values.
DeleteLabelParams contains all the parameters to send to the API endpoint for the delete label operation.
DeleteLabelReader is a Reader for the DeleteLabel structure.
DeleteLabelUnauthorized describes a response with status code 401, with default header values.
GetLabelByIDInternalServerError describes a response with status code 500, with default header values.
GetLabelByIDNotFound describes a response with status code 404, with default header values.
GetLabelByIDOK describes a response with status code 200, with default header values.
GetLabelByIDParams contains all the parameters to send to the API endpoint for the get label by ID operation.
GetLabelByIDReader is a Reader for the GetLabelByID structure.
GetLabelByIDUnauthorized describes a response with status code 401, with default header values.
ListLabelsBadRequest describes a response with status code 400, with default header values.
ListLabelsInternalServerError describes a response with status code 500, with default header values.
ListLabelsOK describes a response with status code 200, with default header values.
ListLabelsParams contains all the parameters to send to the API endpoint for the list labels operation.
ListLabelsReader is a Reader for the ListLabels structure.
ListLabelsUnauthorized describes a response with status code 401, with default header values.
UpdateLabelBadRequest describes a response with status code 400, with default header values.
UpdateLabelConflict describes a response with status code 409, with default header values.
UpdateLabelInternalServerError describes a response with status code 500, with default header values.
UpdateLabelNotFound describes a response with status code 404, with default header values.
UpdateLabelOK describes a response with status code 200, with default header values.
UpdateLabelParams contains all the parameters to send to the API endpoint for the update label operation.
UpdateLabelReader is a Reader for the UpdateLabel structure.
UpdateLabelUnauthorized describes a response with status code 401, with default header values.

# Interfaces

API is the interface of the label client.