Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteRepositoryOK, error)
- func (a *Client) GetRepository(params *GetRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRepositoryOK, error)
- func (a *Client) ListRepositories(params *ListRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListRepositoriesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRepository(params *UpdateRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateRepositoryOK, error)
- type ClientOption
- type ClientService
- type DeleteRepositoryBadRequest
- type DeleteRepositoryForbidden
- type DeleteRepositoryInternalServerError
- type DeleteRepositoryNotFound
- type DeleteRepositoryOK
- type DeleteRepositoryParams
- func NewDeleteRepositoryParams() *DeleteRepositoryParams
- func NewDeleteRepositoryParamsWithContext(ctx context.Context) *DeleteRepositoryParams
- func NewDeleteRepositoryParamsWithHTTPClient(client *http.Client) *DeleteRepositoryParams
- func NewDeleteRepositoryParamsWithTimeout(timeout time.Duration) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) SetContext(ctx context.Context)
- func (o *DeleteRepositoryParams) SetDefaults()
- func (o *DeleteRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRepositoryParams) SetProjectName(projectName string)
- func (o *DeleteRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *DeleteRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoryParams) SetXRequestID(xRequestID *string)
- func (o *DeleteRepositoryParams) WithContext(ctx context.Context) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithDefaults() *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithHTTPClient(client *http.Client) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithProjectName(projectName string) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithRepositoryName(repositoryName string) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithTimeout(timeout time.Duration) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithXRequestID(xRequestID *string) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoryReader
- type DeleteRepositoryUnauthorized
- type GetRepositoryBadRequest
- type GetRepositoryForbidden
- type GetRepositoryInternalServerError
- type GetRepositoryNotFound
- type GetRepositoryOK
- type GetRepositoryParams
- func (o *GetRepositoryParams) SetContext(ctx context.Context)
- func (o *GetRepositoryParams) SetDefaults()
- func (o *GetRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *GetRepositoryParams) SetProjectName(projectName string)
- func (o *GetRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *GetRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *GetRepositoryParams) SetXRequestID(xRequestID *string)
- func (o *GetRepositoryParams) WithContext(ctx context.Context) *GetRepositoryParams
- func (o *GetRepositoryParams) WithDefaults() *GetRepositoryParams
- func (o *GetRepositoryParams) WithHTTPClient(client *http.Client) *GetRepositoryParams
- func (o *GetRepositoryParams) WithProjectName(projectName string) *GetRepositoryParams
- func (o *GetRepositoryParams) WithRepositoryName(repositoryName string) *GetRepositoryParams
- func (o *GetRepositoryParams) WithTimeout(timeout time.Duration) *GetRepositoryParams
- func (o *GetRepositoryParams) WithXRequestID(xRequestID *string) *GetRepositoryParams
- func (o *GetRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepositoryReader
- type GetRepositoryUnauthorized
- type ListRepositoriesBadRequest
- type ListRepositoriesForbidden
- type ListRepositoriesInternalServerError
- type ListRepositoriesNotFound
- type ListRepositoriesOK
- type ListRepositoriesParams
- func NewListRepositoriesParams() *ListRepositoriesParams
- func NewListRepositoriesParamsWithContext(ctx context.Context) *ListRepositoriesParams
- func NewListRepositoriesParamsWithHTTPClient(client *http.Client) *ListRepositoriesParams
- func NewListRepositoriesParamsWithTimeout(timeout time.Duration) *ListRepositoriesParams
- func (o *ListRepositoriesParams) SetContext(ctx context.Context)
- func (o *ListRepositoriesParams) SetDefaults()
- func (o *ListRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *ListRepositoriesParams) SetPage(page *int64)
- func (o *ListRepositoriesParams) SetPageSize(pageSize *int64)
- func (o *ListRepositoriesParams) SetProjectName(projectName string)
- func (o *ListRepositoriesParams) SetQ(q *string)
- func (o *ListRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *ListRepositoriesParams) SetXRequestID(xRequestID *string)
- func (o *ListRepositoriesParams) WithContext(ctx context.Context) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithDefaults() *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithHTTPClient(client *http.Client) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithPage(page *int64) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithPageSize(pageSize *int64) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithProjectName(projectName string) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithQ(q *string) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithTimeout(timeout time.Duration) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WithXRequestID(xRequestID *string) *ListRepositoriesParams
- func (o *ListRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepositoriesReader
- type ListRepositoriesUnauthorized
- type UpdateRepositoryBadRequest
- type UpdateRepositoryForbidden
- type UpdateRepositoryInternalServerError
- type UpdateRepositoryNotFound
- type UpdateRepositoryOK
- type UpdateRepositoryParams
- func NewUpdateRepositoryParams() *UpdateRepositoryParams
- func NewUpdateRepositoryParamsWithContext(ctx context.Context) *UpdateRepositoryParams
- func NewUpdateRepositoryParamsWithHTTPClient(client *http.Client) *UpdateRepositoryParams
- func NewUpdateRepositoryParamsWithTimeout(timeout time.Duration) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) SetContext(ctx context.Context)
- func (o *UpdateRepositoryParams) SetDefaults()
- func (o *UpdateRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRepositoryParams) SetProjectName(projectName string)
- func (o *UpdateRepositoryParams) SetRepository(repository *model.Repository)
- func (o *UpdateRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *UpdateRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRepositoryParams) SetXRequestID(xRequestID *string)
- func (o *UpdateRepositoryParams) WithContext(ctx context.Context) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithDefaults() *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithHTTPClient(client *http.Client) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithProjectName(projectName string) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithRepository(repository *model.Repository) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithRepositoryName(repositoryName string) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithTimeout(timeout time.Duration) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WithXRequestID(xRequestID *string) *UpdateRepositoryParams
- func (o *UpdateRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRepositoryReader
- type UpdateRepositoryUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for repository API
func (*Client) DeleteRepository ¶
func (a *Client) DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRepositoryOK, error)
DeleteRepository deletes repository
Delete the repository specified by name
func (*Client) GetRepository ¶
func (a *Client) GetRepository(params *GetRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepositoryOK, error)
GetRepository gets repository
Get the repository specified by name
func (*Client) ListRepositories ¶
func (a *Client) ListRepositories(params *ListRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepositoriesOK, error)
ListRepositories lists repositories
List repositories of the specified project
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRepository ¶
func (a *Client) UpdateRepository(params *UpdateRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepositoryOK, error)
UpdateRepository updates repository
Update the repository specified by name
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteRepositoryOK, error) GetRepository(params *GetRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRepositoryOK, error) ListRepositories(params *ListRepositoriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListRepositoriesOK, error) UpdateRepository(params *UpdateRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateRepositoryOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new repository API client.
type DeleteRepositoryBadRequest ¶
type DeleteRepositoryBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteRepositoryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewDeleteRepositoryBadRequest ¶
func NewDeleteRepositoryBadRequest() *DeleteRepositoryBadRequest
NewDeleteRepositoryBadRequest creates a DeleteRepositoryBadRequest with default headers values
func (*DeleteRepositoryBadRequest) Error ¶
func (o *DeleteRepositoryBadRequest) Error() string
func (*DeleteRepositoryBadRequest) GetPayload ¶
func (o *DeleteRepositoryBadRequest) GetPayload() *model.Errors
type DeleteRepositoryForbidden ¶
type DeleteRepositoryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteRepositoryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRepositoryForbidden ¶
func NewDeleteRepositoryForbidden() *DeleteRepositoryForbidden
NewDeleteRepositoryForbidden creates a DeleteRepositoryForbidden with default headers values
func (*DeleteRepositoryForbidden) Error ¶
func (o *DeleteRepositoryForbidden) Error() string
func (*DeleteRepositoryForbidden) GetPayload ¶
func (o *DeleteRepositoryForbidden) GetPayload() *model.Errors
type DeleteRepositoryInternalServerError ¶
type DeleteRepositoryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteRepositoryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteRepositoryInternalServerError ¶
func NewDeleteRepositoryInternalServerError() *DeleteRepositoryInternalServerError
NewDeleteRepositoryInternalServerError creates a DeleteRepositoryInternalServerError with default headers values
func (*DeleteRepositoryInternalServerError) Error ¶
func (o *DeleteRepositoryInternalServerError) Error() string
func (*DeleteRepositoryInternalServerError) GetPayload ¶
func (o *DeleteRepositoryInternalServerError) GetPayload() *model.Errors
type DeleteRepositoryNotFound ¶
type DeleteRepositoryNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
DeleteRepositoryNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteRepositoryNotFound ¶
func NewDeleteRepositoryNotFound() *DeleteRepositoryNotFound
NewDeleteRepositoryNotFound creates a DeleteRepositoryNotFound with default headers values
func (*DeleteRepositoryNotFound) Error ¶
func (o *DeleteRepositoryNotFound) Error() string
func (*DeleteRepositoryNotFound) GetPayload ¶
func (o *DeleteRepositoryNotFound) GetPayload() *model.Errors
type DeleteRepositoryOK ¶
type DeleteRepositoryOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
DeleteRepositoryOK describes a response with status code 200, with default header values.
Success
func NewDeleteRepositoryOK ¶
func NewDeleteRepositoryOK() *DeleteRepositoryOK
NewDeleteRepositoryOK creates a DeleteRepositoryOK with default headers values
func (*DeleteRepositoryOK) Error ¶
func (o *DeleteRepositoryOK) Error() string
type DeleteRepositoryParams ¶
type DeleteRepositoryParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteRepositoryParams contains all the parameters to send to the API endpoint
for the delete repository operation. Typically these are written to a http.Request.
func NewDeleteRepositoryParams ¶
func NewDeleteRepositoryParams() *DeleteRepositoryParams
NewDeleteRepositoryParams creates a new DeleteRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteRepositoryParamsWithContext ¶
func NewDeleteRepositoryParamsWithContext(ctx context.Context) *DeleteRepositoryParams
NewDeleteRepositoryParamsWithContext creates a new DeleteRepositoryParams object with the ability to set a context for a request.
func NewDeleteRepositoryParamsWithHTTPClient ¶
func NewDeleteRepositoryParamsWithHTTPClient(client *http.Client) *DeleteRepositoryParams
NewDeleteRepositoryParamsWithHTTPClient creates a new DeleteRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRepositoryParamsWithTimeout ¶
func NewDeleteRepositoryParamsWithTimeout(timeout time.Duration) *DeleteRepositoryParams
NewDeleteRepositoryParamsWithTimeout creates a new DeleteRepositoryParams object with the ability to set a timeout on a request.
func (*DeleteRepositoryParams) SetContext ¶
func (o *DeleteRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete repository params
func (*DeleteRepositoryParams) SetDefaults ¶
func (o *DeleteRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the delete repository params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepositoryParams) SetHTTPClient ¶
func (o *DeleteRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete repository params
func (*DeleteRepositoryParams) SetProjectName ¶
func (o *DeleteRepositoryParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the delete repository params
func (*DeleteRepositoryParams) SetRepositoryName ¶
func (o *DeleteRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the delete repository params
func (*DeleteRepositoryParams) SetTimeout ¶
func (o *DeleteRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete repository params
func (*DeleteRepositoryParams) SetXRequestID ¶
func (o *DeleteRepositoryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete repository params
func (*DeleteRepositoryParams) WithContext ¶
func (o *DeleteRepositoryParams) WithContext(ctx context.Context) *DeleteRepositoryParams
WithContext adds the context to the delete repository params
func (*DeleteRepositoryParams) WithDefaults ¶
func (o *DeleteRepositoryParams) WithDefaults() *DeleteRepositoryParams
WithDefaults hydrates default values in the delete repository params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRepositoryParams) WithHTTPClient ¶
func (o *DeleteRepositoryParams) WithHTTPClient(client *http.Client) *DeleteRepositoryParams
WithHTTPClient adds the HTTPClient to the delete repository params
func (*DeleteRepositoryParams) WithProjectName ¶
func (o *DeleteRepositoryParams) WithProjectName(projectName string) *DeleteRepositoryParams
WithProjectName adds the projectName to the delete repository params
func (*DeleteRepositoryParams) WithRepositoryName ¶
func (o *DeleteRepositoryParams) WithRepositoryName(repositoryName string) *DeleteRepositoryParams
WithRepositoryName adds the repositoryName to the delete repository params
func (*DeleteRepositoryParams) WithTimeout ¶
func (o *DeleteRepositoryParams) WithTimeout(timeout time.Duration) *DeleteRepositoryParams
WithTimeout adds the timeout to the delete repository params
func (*DeleteRepositoryParams) WithXRequestID ¶
func (o *DeleteRepositoryParams) WithXRequestID(xRequestID *string) *DeleteRepositoryParams
WithXRequestID adds the xRequestID to the delete repository params
func (*DeleteRepositoryParams) WriteToRequest ¶
func (o *DeleteRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteRepositoryReader ¶
type DeleteRepositoryReader struct {
// contains filtered or unexported fields
}
DeleteRepositoryReader is a Reader for the DeleteRepository structure.
func (*DeleteRepositoryReader) ReadResponse ¶
func (o *DeleteRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteRepositoryUnauthorized ¶
type DeleteRepositoryUnauthorized struct { string }XRequestID
DeleteRepositoryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRepositoryUnauthorized ¶
func NewDeleteRepositoryUnauthorized() *DeleteRepositoryUnauthorized
NewDeleteRepositoryUnauthorized creates a DeleteRepositoryUnauthorized with default headers values
func (*DeleteRepositoryUnauthorized) Error ¶
func (o *DeleteRepositoryUnauthorized) Error() string
func (*DeleteRepositoryUnauthorized) GetPayload ¶
func (o *DeleteRepositoryUnauthorized) GetPayload() *model.Errors
type GetRepositoryBadRequest ¶
type GetRepositoryBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetRepositoryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewGetRepositoryBadRequest ¶
func NewGetRepositoryBadRequest() *GetRepositoryBadRequest
NewGetRepositoryBadRequest creates a GetRepositoryBadRequest with default headers values
func (*GetRepositoryBadRequest) Error ¶
func (o *GetRepositoryBadRequest) Error() string
func (*GetRepositoryBadRequest) GetPayload ¶
func (o *GetRepositoryBadRequest) GetPayload() *model.Errors
type GetRepositoryForbidden ¶
type GetRepositoryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetRepositoryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRepositoryForbidden ¶
func NewGetRepositoryForbidden() *GetRepositoryForbidden
NewGetRepositoryForbidden creates a GetRepositoryForbidden with default headers values
func (*GetRepositoryForbidden) Error ¶
func (o *GetRepositoryForbidden) Error() string
func (*GetRepositoryForbidden) GetPayload ¶
func (o *GetRepositoryForbidden) GetPayload() *model.Errors
type GetRepositoryInternalServerError ¶
type GetRepositoryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetRepositoryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRepositoryInternalServerError ¶
func NewGetRepositoryInternalServerError() *GetRepositoryInternalServerError
NewGetRepositoryInternalServerError creates a GetRepositoryInternalServerError with default headers values
func (*GetRepositoryInternalServerError) Error ¶
func (o *GetRepositoryInternalServerError) Error() string
func (*GetRepositoryInternalServerError) GetPayload ¶
func (o *GetRepositoryInternalServerError) GetPayload() *model.Errors
type GetRepositoryNotFound ¶
type GetRepositoryNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
GetRepositoryNotFound describes a response with status code 404, with default header values.
Not found
func NewGetRepositoryNotFound ¶
func NewGetRepositoryNotFound() *GetRepositoryNotFound
NewGetRepositoryNotFound creates a GetRepositoryNotFound with default headers values
func (*GetRepositoryNotFound) Error ¶
func (o *GetRepositoryNotFound) Error() string
func (*GetRepositoryNotFound) GetPayload ¶
func (o *GetRepositoryNotFound) GetPayload() *model.Errors
type GetRepositoryOK ¶
type GetRepositoryOK struct {
Payload *model.Repository
}
GetRepositoryOK describes a response with status code 200, with default header values.
Success
func NewGetRepositoryOK ¶
func NewGetRepositoryOK() *GetRepositoryOK
NewGetRepositoryOK creates a GetRepositoryOK with default headers values
func (*GetRepositoryOK) Error ¶
func (o *GetRepositoryOK) Error() string
func (*GetRepositoryOK) GetPayload ¶
func (o *GetRepositoryOK) GetPayload() *model.Repository
type GetRepositoryParams ¶
type GetRepositoryParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepositoryParams contains all the parameters to send to the API endpoint
for the get repository operation. Typically these are written to a http.Request.
func NewGetRepositoryParams ¶
func NewGetRepositoryParams() *GetRepositoryParams
NewGetRepositoryParams creates a new GetRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewGetRepositoryParamsWithContext ¶
func NewGetRepositoryParamsWithContext(ctx context.Context) *GetRepositoryParams
NewGetRepositoryParamsWithContext creates a new GetRepositoryParams object with the ability to set a context for a request.
func NewGetRepositoryParamsWithHTTPClient ¶
func NewGetRepositoryParamsWithHTTPClient(client *http.Client) *GetRepositoryParams
NewGetRepositoryParamsWithHTTPClient creates a new GetRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetRepositoryParamsWithTimeout ¶
func NewGetRepositoryParamsWithTimeout(timeout time.Duration) *GetRepositoryParams
NewGetRepositoryParamsWithTimeout creates a new GetRepositoryParams object with the ability to set a timeout on a request.
func (*GetRepositoryParams) SetContext ¶
func (o *GetRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get repository params
func (*GetRepositoryParams) SetDefaults ¶
func (o *GetRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the get repository params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepositoryParams) SetHTTPClient ¶
func (o *GetRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repository params
func (*GetRepositoryParams) SetProjectName ¶
func (o *GetRepositoryParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the get repository params
func (*GetRepositoryParams) SetRepositoryName ¶
func (o *GetRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the get repository params
func (*GetRepositoryParams) SetTimeout ¶
func (o *GetRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repository params
func (*GetRepositoryParams) SetXRequestID ¶
func (o *GetRepositoryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get repository params
func (*GetRepositoryParams) WithContext ¶
func (o *GetRepositoryParams) WithContext(ctx context.Context) *GetRepositoryParams
WithContext adds the context to the get repository params
func (*GetRepositoryParams) WithDefaults ¶
func (o *GetRepositoryParams) WithDefaults() *GetRepositoryParams
WithDefaults hydrates default values in the get repository params (not the query body).
All values with no default are reset to their zero value.
func (*GetRepositoryParams) WithHTTPClient ¶
func (o *GetRepositoryParams) WithHTTPClient(client *http.Client) *GetRepositoryParams
WithHTTPClient adds the HTTPClient to the get repository params
func (*GetRepositoryParams) WithProjectName ¶
func (o *GetRepositoryParams) WithProjectName(projectName string) *GetRepositoryParams
WithProjectName adds the projectName to the get repository params
func (*GetRepositoryParams) WithRepositoryName ¶
func (o *GetRepositoryParams) WithRepositoryName(repositoryName string) *GetRepositoryParams
WithRepositoryName adds the repositoryName to the get repository params
func (*GetRepositoryParams) WithTimeout ¶
func (o *GetRepositoryParams) WithTimeout(timeout time.Duration) *GetRepositoryParams
WithTimeout adds the timeout to the get repository params
func (*GetRepositoryParams) WithXRequestID ¶
func (o *GetRepositoryParams) WithXRequestID(xRequestID *string) *GetRepositoryParams
WithXRequestID adds the xRequestID to the get repository params
func (*GetRepositoryParams) WriteToRequest ¶
func (o *GetRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepositoryReader ¶
type GetRepositoryReader struct {
// contains filtered or unexported fields
}
GetRepositoryReader is a Reader for the GetRepository structure.
func (*GetRepositoryReader) ReadResponse ¶
func (o *GetRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepositoryUnauthorized ¶
type GetRepositoryUnauthorized struct { string }XRequestID
GetRepositoryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRepositoryUnauthorized ¶
func NewGetRepositoryUnauthorized() *GetRepositoryUnauthorized
NewGetRepositoryUnauthorized creates a GetRepositoryUnauthorized with default headers values
func (*GetRepositoryUnauthorized) Error ¶
func (o *GetRepositoryUnauthorized) Error() string
func (*GetRepositoryUnauthorized) GetPayload ¶
func (o *GetRepositoryUnauthorized) GetPayload() *model.Errors
type ListRepositoriesBadRequest ¶
type ListRepositoriesBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListRepositoriesBadRequest describes a response with status code 400, with default header values.
Bad request
func NewListRepositoriesBadRequest ¶
func NewListRepositoriesBadRequest() *ListRepositoriesBadRequest
NewListRepositoriesBadRequest creates a ListRepositoriesBadRequest with default headers values
func (*ListRepositoriesBadRequest) Error ¶
func (o *ListRepositoriesBadRequest) Error() string
func (*ListRepositoriesBadRequest) GetPayload ¶
func (o *ListRepositoriesBadRequest) GetPayload() *model.Errors
type ListRepositoriesForbidden ¶
type ListRepositoriesForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListRepositoriesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRepositoriesForbidden ¶
func NewListRepositoriesForbidden() *ListRepositoriesForbidden
NewListRepositoriesForbidden creates a ListRepositoriesForbidden with default headers values
func (*ListRepositoriesForbidden) Error ¶
func (o *ListRepositoriesForbidden) Error() string
func (*ListRepositoriesForbidden) GetPayload ¶
func (o *ListRepositoriesForbidden) GetPayload() *model.Errors
type ListRepositoriesInternalServerError ¶
type ListRepositoriesInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListRepositoriesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRepositoriesInternalServerError ¶
func NewListRepositoriesInternalServerError() *ListRepositoriesInternalServerError
NewListRepositoriesInternalServerError creates a ListRepositoriesInternalServerError with default headers values
func (*ListRepositoriesInternalServerError) Error ¶
func (o *ListRepositoriesInternalServerError) Error() string
func (*ListRepositoriesInternalServerError) GetPayload ¶
func (o *ListRepositoriesInternalServerError) GetPayload() *model.Errors
type ListRepositoriesNotFound ¶
type ListRepositoriesNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListRepositoriesNotFound describes a response with status code 404, with default header values.
Not found
func NewListRepositoriesNotFound ¶
func NewListRepositoriesNotFound() *ListRepositoriesNotFound
NewListRepositoriesNotFound creates a ListRepositoriesNotFound with default headers values
func (*ListRepositoriesNotFound) Error ¶
func (o *ListRepositoriesNotFound) Error() string
func (*ListRepositoriesNotFound) GetPayload ¶
func (o *ListRepositoriesNotFound) GetPayload() *model.Errors
type ListRepositoriesOK ¶
type ListRepositoriesOK struct { /* Link refers to the previous page and next page */ Link string /* The total count of repositories */ XTotalCount int64 Payload []*model.Repository }
ListRepositoriesOK describes a response with status code 200, with default header values.
Success
func NewListRepositoriesOK ¶
func NewListRepositoriesOK() *ListRepositoriesOK
NewListRepositoriesOK creates a ListRepositoriesOK with default headers values
func (*ListRepositoriesOK) Error ¶
func (o *ListRepositoriesOK) Error() string
func (*ListRepositoriesOK) GetPayload ¶
func (o *ListRepositoriesOK) GetPayload() []*model.Repository
type ListRepositoriesParams ¶
type ListRepositoriesParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* Page. The page number Format: int64 Default: 1 */ Page *int64 /* PageSize. The size of per page Format: int64 Default: 10 */ PageSize *int64 /* ProjectName. The name of the project */ ProjectName string /* Q. Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max] */ Q *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepositoriesParams contains all the parameters to send to the API endpoint
for the list repositories operation. Typically these are written to a http.Request.
func NewListRepositoriesParams ¶
func NewListRepositoriesParams() *ListRepositoriesParams
NewListRepositoriesParams creates a new ListRepositoriesParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListRepositoriesParamsWithContext ¶
func NewListRepositoriesParamsWithContext(ctx context.Context) *ListRepositoriesParams
NewListRepositoriesParamsWithContext creates a new ListRepositoriesParams object with the ability to set a context for a request.
func NewListRepositoriesParamsWithHTTPClient ¶
func NewListRepositoriesParamsWithHTTPClient(client *http.Client) *ListRepositoriesParams
NewListRepositoriesParamsWithHTTPClient creates a new ListRepositoriesParams object with the ability to set a custom HTTPClient for a request.
func NewListRepositoriesParamsWithTimeout ¶
func NewListRepositoriesParamsWithTimeout(timeout time.Duration) *ListRepositoriesParams
NewListRepositoriesParamsWithTimeout creates a new ListRepositoriesParams object with the ability to set a timeout on a request.
func (*ListRepositoriesParams) SetContext ¶
func (o *ListRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list repositories params
func (*ListRepositoriesParams) SetDefaults ¶
func (o *ListRepositoriesParams) SetDefaults()
SetDefaults hydrates default values in the list repositories params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepositoriesParams) SetHTTPClient ¶
func (o *ListRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repositories params
func (*ListRepositoriesParams) SetPage ¶
func (o *ListRepositoriesParams) SetPage(page *int64)
SetPage adds the page to the list repositories params
func (*ListRepositoriesParams) SetPageSize ¶
func (o *ListRepositoriesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list repositories params
func (*ListRepositoriesParams) SetProjectName ¶
func (o *ListRepositoriesParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the list repositories params
func (*ListRepositoriesParams) SetQ ¶
func (o *ListRepositoriesParams) SetQ(q *string)
SetQ adds the q to the list repositories params
func (*ListRepositoriesParams) SetTimeout ¶
func (o *ListRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repositories params
func (*ListRepositoriesParams) SetXRequestID ¶
func (o *ListRepositoriesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list repositories params
func (*ListRepositoriesParams) WithContext ¶
func (o *ListRepositoriesParams) WithContext(ctx context.Context) *ListRepositoriesParams
WithContext adds the context to the list repositories params
func (*ListRepositoriesParams) WithDefaults ¶
func (o *ListRepositoriesParams) WithDefaults() *ListRepositoriesParams
WithDefaults hydrates default values in the list repositories params (not the query body).
All values with no default are reset to their zero value.
func (*ListRepositoriesParams) WithHTTPClient ¶
func (o *ListRepositoriesParams) WithHTTPClient(client *http.Client) *ListRepositoriesParams
WithHTTPClient adds the HTTPClient to the list repositories params
func (*ListRepositoriesParams) WithPage ¶
func (o *ListRepositoriesParams) WithPage(page *int64) *ListRepositoriesParams
WithPage adds the page to the list repositories params
func (*ListRepositoriesParams) WithPageSize ¶
func (o *ListRepositoriesParams) WithPageSize(pageSize *int64) *ListRepositoriesParams
WithPageSize adds the pageSize to the list repositories params
func (*ListRepositoriesParams) WithProjectName ¶
func (o *ListRepositoriesParams) WithProjectName(projectName string) *ListRepositoriesParams
WithProjectName adds the projectName to the list repositories params
func (*ListRepositoriesParams) WithQ ¶
func (o *ListRepositoriesParams) WithQ(q *string) *ListRepositoriesParams
WithQ adds the q to the list repositories params
func (*ListRepositoriesParams) WithTimeout ¶
func (o *ListRepositoriesParams) WithTimeout(timeout time.Duration) *ListRepositoriesParams
WithTimeout adds the timeout to the list repositories params
func (*ListRepositoriesParams) WithXRequestID ¶
func (o *ListRepositoriesParams) WithXRequestID(xRequestID *string) *ListRepositoriesParams
WithXRequestID adds the xRequestID to the list repositories params
func (*ListRepositoriesParams) WriteToRequest ¶
func (o *ListRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepositoriesReader ¶
type ListRepositoriesReader struct {
// contains filtered or unexported fields
}
ListRepositoriesReader is a Reader for the ListRepositories structure.
func (*ListRepositoriesReader) ReadResponse ¶
func (o *ListRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepositoriesUnauthorized ¶
type ListRepositoriesUnauthorized struct { string }XRequestID
ListRepositoriesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRepositoriesUnauthorized ¶
func NewListRepositoriesUnauthorized() *ListRepositoriesUnauthorized
NewListRepositoriesUnauthorized creates a ListRepositoriesUnauthorized with default headers values
func (*ListRepositoriesUnauthorized) Error ¶
func (o *ListRepositoriesUnauthorized) Error() string
func (*ListRepositoriesUnauthorized) GetPayload ¶
func (o *ListRepositoriesUnauthorized) GetPayload() *model.Errors
type UpdateRepositoryBadRequest ¶
type UpdateRepositoryBadRequest struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateRepositoryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateRepositoryBadRequest ¶
func NewUpdateRepositoryBadRequest() *UpdateRepositoryBadRequest
NewUpdateRepositoryBadRequest creates a UpdateRepositoryBadRequest with default headers values
func (*UpdateRepositoryBadRequest) Error ¶
func (o *UpdateRepositoryBadRequest) Error() string
func (*UpdateRepositoryBadRequest) GetPayload ¶
func (o *UpdateRepositoryBadRequest) GetPayload() *model.Errors
type UpdateRepositoryForbidden ¶
type UpdateRepositoryForbidden struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateRepositoryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateRepositoryForbidden ¶
func NewUpdateRepositoryForbidden() *UpdateRepositoryForbidden
NewUpdateRepositoryForbidden creates a UpdateRepositoryForbidden with default headers values
func (*UpdateRepositoryForbidden) Error ¶
func (o *UpdateRepositoryForbidden) Error() string
func (*UpdateRepositoryForbidden) GetPayload ¶
func (o *UpdateRepositoryForbidden) GetPayload() *model.Errors
type UpdateRepositoryInternalServerError ¶
type UpdateRepositoryInternalServerError struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateRepositoryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateRepositoryInternalServerError ¶
func NewUpdateRepositoryInternalServerError() *UpdateRepositoryInternalServerError
NewUpdateRepositoryInternalServerError creates a UpdateRepositoryInternalServerError with default headers values
func (*UpdateRepositoryInternalServerError) Error ¶
func (o *UpdateRepositoryInternalServerError) Error() string
func (*UpdateRepositoryInternalServerError) GetPayload ¶
func (o *UpdateRepositoryInternalServerError) GetPayload() *model.Errors
type UpdateRepositoryNotFound ¶
type UpdateRepositoryNotFound struct { /* The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
UpdateRepositoryNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateRepositoryNotFound ¶
func NewUpdateRepositoryNotFound() *UpdateRepositoryNotFound
NewUpdateRepositoryNotFound creates a UpdateRepositoryNotFound with default headers values
func (*UpdateRepositoryNotFound) Error ¶
func (o *UpdateRepositoryNotFound) Error() string
func (*UpdateRepositoryNotFound) GetPayload ¶
func (o *UpdateRepositoryNotFound) GetPayload() *model.Errors
type UpdateRepositoryOK ¶
type UpdateRepositoryOK struct { /* The ID of the corresponding request for the response */ XRequestID string }
UpdateRepositoryOK describes a response with status code 200, with default header values.
Success
func NewUpdateRepositoryOK ¶
func NewUpdateRepositoryOK() *UpdateRepositoryOK
NewUpdateRepositoryOK creates a UpdateRepositoryOK with default headers values
func (*UpdateRepositoryOK) Error ¶
func (o *UpdateRepositoryOK) Error() string
type UpdateRepositoryParams ¶
type UpdateRepositoryParams struct { /* XRequestID. An unique ID for the request */ XRequestID *string /* ProjectName. The name of the project */ ProjectName string /* Repository. The JSON object of repository. */ Repository *model.Repository /* RepositoryName. The name of the repository. If it contains slash, encode it with URL encoding. e.g. a/b -> a%252Fb */ RepositoryName string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRepositoryParams contains all the parameters to send to the API endpoint
for the update repository operation. Typically these are written to a http.Request.
func NewUpdateRepositoryParams ¶
func NewUpdateRepositoryParams() *UpdateRepositoryParams
NewUpdateRepositoryParams creates a new UpdateRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateRepositoryParamsWithContext ¶
func NewUpdateRepositoryParamsWithContext(ctx context.Context) *UpdateRepositoryParams
NewUpdateRepositoryParamsWithContext creates a new UpdateRepositoryParams object with the ability to set a context for a request.
func NewUpdateRepositoryParamsWithHTTPClient ¶
func NewUpdateRepositoryParamsWithHTTPClient(client *http.Client) *UpdateRepositoryParams
NewUpdateRepositoryParamsWithHTTPClient creates a new UpdateRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRepositoryParamsWithTimeout ¶
func NewUpdateRepositoryParamsWithTimeout(timeout time.Duration) *UpdateRepositoryParams
NewUpdateRepositoryParamsWithTimeout creates a new UpdateRepositoryParams object with the ability to set a timeout on a request.
func (*UpdateRepositoryParams) SetContext ¶
func (o *UpdateRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the update repository params
func (*UpdateRepositoryParams) SetDefaults ¶
func (o *UpdateRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the update repository params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepositoryParams) SetHTTPClient ¶
func (o *UpdateRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update repository params
func (*UpdateRepositoryParams) SetProjectName ¶
func (o *UpdateRepositoryParams) SetProjectName(projectName string)
SetProjectName adds the projectName to the update repository params
func (*UpdateRepositoryParams) SetRepository ¶
func (o *UpdateRepositoryParams) SetRepository(repository *model.Repository)
SetRepository adds the repository to the update repository params
func (*UpdateRepositoryParams) SetRepositoryName ¶
func (o *UpdateRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the update repository params
func (*UpdateRepositoryParams) SetTimeout ¶
func (o *UpdateRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update repository params
func (*UpdateRepositoryParams) SetXRequestID ¶
func (o *UpdateRepositoryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update repository params
func (*UpdateRepositoryParams) WithContext ¶
func (o *UpdateRepositoryParams) WithContext(ctx context.Context) *UpdateRepositoryParams
WithContext adds the context to the update repository params
func (*UpdateRepositoryParams) WithDefaults ¶
func (o *UpdateRepositoryParams) WithDefaults() *UpdateRepositoryParams
WithDefaults hydrates default values in the update repository params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRepositoryParams) WithHTTPClient ¶
func (o *UpdateRepositoryParams) WithHTTPClient(client *http.Client) *UpdateRepositoryParams
WithHTTPClient adds the HTTPClient to the update repository params
func (*UpdateRepositoryParams) WithProjectName ¶
func (o *UpdateRepositoryParams) WithProjectName(projectName string) *UpdateRepositoryParams
WithProjectName adds the projectName to the update repository params
func (*UpdateRepositoryParams) WithRepository ¶
func (o *UpdateRepositoryParams) WithRepository(repository *model.Repository) *UpdateRepositoryParams
WithRepository adds the repository to the update repository params
func (*UpdateRepositoryParams) WithRepositoryName ¶
func (o *UpdateRepositoryParams) WithRepositoryName(repositoryName string) *UpdateRepositoryParams
WithRepositoryName adds the repositoryName to the update repository params
func (*UpdateRepositoryParams) WithTimeout ¶
func (o *UpdateRepositoryParams) WithTimeout(timeout time.Duration) *UpdateRepositoryParams
WithTimeout adds the timeout to the update repository params
func (*UpdateRepositoryParams) WithXRequestID ¶
func (o *UpdateRepositoryParams) WithXRequestID(xRequestID *string) *UpdateRepositoryParams
WithXRequestID adds the xRequestID to the update repository params
func (*UpdateRepositoryParams) WriteToRequest ¶
func (o *UpdateRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRepositoryReader ¶
type UpdateRepositoryReader struct {
// contains filtered or unexported fields
}
UpdateRepositoryReader is a Reader for the UpdateRepository structure.
func (*UpdateRepositoryReader) ReadResponse ¶
func (o *UpdateRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRepositoryUnauthorized ¶
type UpdateRepositoryUnauthorized struct { string }XRequestID
UpdateRepositoryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateRepositoryUnauthorized ¶
func NewUpdateRepositoryUnauthorized() *UpdateRepositoryUnauthorized
NewUpdateRepositoryUnauthorized creates a UpdateRepositoryUnauthorized with default headers values
func (*UpdateRepositoryUnauthorized) Error ¶
func (o *UpdateRepositoryUnauthorized) Error() string
func (*UpdateRepositoryUnauthorized) GetPayload ¶
func (o *UpdateRepositoryUnauthorized) GetPayload() *model.Errors