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) ListAllRepositories(params *ListAllRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllRepositoriesOK, 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 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) 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) 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) 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) 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 ListAllRepositoriesBadRequest
- type ListAllRepositoriesInternalServerError
- type ListAllRepositoriesOK
- type ListAllRepositoriesParams
- func NewListAllRepositoriesParams() *ListAllRepositoriesParams
- func NewListAllRepositoriesParamsWithContext(ctx context.Context) *ListAllRepositoriesParams
- func NewListAllRepositoriesParamsWithHTTPClient(client *http.Client) *ListAllRepositoriesParams
- func NewListAllRepositoriesParamsWithTimeout(timeout time.Duration) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) SetContext(ctx context.Context)
- func (o *ListAllRepositoriesParams) SetHTTPClient(client *http.Client)
- func (o *ListAllRepositoriesParams) SetPage(page *int64)
- func (o *ListAllRepositoriesParams) SetPageSize(pageSize *int64)
- func (o *ListAllRepositoriesParams) SetQ(q *string)
- func (o *ListAllRepositoriesParams) SetSort(sort *string)
- func (o *ListAllRepositoriesParams) SetTimeout(timeout time.Duration)
- func (o *ListAllRepositoriesParams) SetXRequestID(xRequestID *string)
- func (o *ListAllRepositoriesParams) WithContext(ctx context.Context) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithHTTPClient(client *http.Client) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithPage(page *int64) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithPageSize(pageSize *int64) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithQ(q *string) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithSort(sort *string) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithTimeout(timeout time.Duration) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WithXRequestID(xRequestID *string) *ListAllRepositoriesParams
- func (o *ListAllRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListAllRepositoriesReader
- 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) 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) SetSort(sort *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) 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) WithSort(sort *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) 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) 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) (*DeleteRepositoryOK, error)
DeleteRepository deletes repository
Delete the repository specified by name
func (*Client) GetRepository ¶
func (a *Client) GetRepository(params *GetRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoryOK, error)
GetRepository gets repository
Get the repository specified by name
func (*Client) ListAllRepositories ¶
func (a *Client) ListAllRepositories(params *ListAllRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllRepositoriesOK, error)
ListAllRepositories lists all authorized repositories
List all authorized repositories
func (*Client) ListRepositories ¶
func (a *Client) ListRepositories(params *ListRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*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) (*UpdateRepositoryOK, error)
UpdateRepository updates repository
Update the repository specified by name
type ClientService ¶
type ClientService interface { DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoryOK, error) GetRepository(params *GetRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepositoryOK, error) ListAllRepositories(params *ListAllRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListAllRepositoriesOK, error) ListRepositories(params *ListRepositoriesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepositoriesOK, error) UpdateRepository(params *UpdateRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewDeleteRepositoryParamsWithContext ¶
func NewDeleteRepositoryParamsWithContext(ctx context.Context) *DeleteRepositoryParams
NewDeleteRepositoryParamsWithContext creates a new DeleteRepositoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewGetRepositoryParamsWithContext ¶
func NewGetRepositoryParamsWithContext(ctx context.Context) *GetRepositoryParams
NewGetRepositoryParamsWithContext creates a new GetRepositoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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 ListAllRepositoriesBadRequest ¶
type ListAllRepositoriesBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListAllRepositoriesBadRequest handles this case with default header values.
Bad request
func NewListAllRepositoriesBadRequest ¶
func NewListAllRepositoriesBadRequest() *ListAllRepositoriesBadRequest
NewListAllRepositoriesBadRequest creates a ListAllRepositoriesBadRequest with default headers values
func (*ListAllRepositoriesBadRequest) Error ¶
func (o *ListAllRepositoriesBadRequest) Error() string
func (*ListAllRepositoriesBadRequest) GetPayload ¶
func (o *ListAllRepositoriesBadRequest) GetPayload() *model.Errors
type ListAllRepositoriesInternalServerError ¶
type ListAllRepositoriesInternalServerError struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListAllRepositoriesInternalServerError handles this case with default header values.
Internal server error
func NewListAllRepositoriesInternalServerError ¶
func NewListAllRepositoriesInternalServerError() *ListAllRepositoriesInternalServerError
NewListAllRepositoriesInternalServerError creates a ListAllRepositoriesInternalServerError with default headers values
func (*ListAllRepositoriesInternalServerError) Error ¶
func (o *ListAllRepositoriesInternalServerError) Error() string
func (*ListAllRepositoriesInternalServerError) GetPayload ¶
func (o *ListAllRepositoriesInternalServerError) GetPayload() *model.Errors
type ListAllRepositoriesOK ¶
type ListAllRepositoriesOK struct { /*Link refers to the previous page and next page */ Link string /*The total count of repositories */ XTotalCount int64 Payload []*model.Repository }
ListAllRepositoriesOK handles this case with default header values.
Success
func NewListAllRepositoriesOK ¶
func NewListAllRepositoriesOK() *ListAllRepositoriesOK
NewListAllRepositoriesOK creates a ListAllRepositoriesOK with default headers values
func (*ListAllRepositoriesOK) Error ¶
func (o *ListAllRepositoriesOK) Error() string
func (*ListAllRepositoriesOK) GetPayload ¶
func (o *ListAllRepositoriesOK) GetPayload() []*model.Repository
type ListAllRepositoriesParams ¶
type ListAllRepositoriesParams struct { /*XRequestID An unique ID for the request */ XRequestID *string /*Page The page number */ Page *int64 /*PageSize The size of per page */ PageSize *int64 /*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 /*Sort Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListAllRepositoriesParams contains all the parameters to send to the API endpoint for the list all repositories operation typically these are written to a http.Request
func NewListAllRepositoriesParams ¶
func NewListAllRepositoriesParams() *ListAllRepositoriesParams
NewListAllRepositoriesParams creates a new ListAllRepositoriesParams object with the default values initialized.
func NewListAllRepositoriesParamsWithContext ¶
func NewListAllRepositoriesParamsWithContext(ctx context.Context) *ListAllRepositoriesParams
NewListAllRepositoriesParamsWithContext creates a new ListAllRepositoriesParams object with the default values initialized, and the ability to set a context for a request
func NewListAllRepositoriesParamsWithHTTPClient ¶
func NewListAllRepositoriesParamsWithHTTPClient(client *http.Client) *ListAllRepositoriesParams
NewListAllRepositoriesParamsWithHTTPClient creates a new ListAllRepositoriesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListAllRepositoriesParamsWithTimeout ¶
func NewListAllRepositoriesParamsWithTimeout(timeout time.Duration) *ListAllRepositoriesParams
NewListAllRepositoriesParamsWithTimeout creates a new ListAllRepositoriesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListAllRepositoriesParams) SetContext ¶
func (o *ListAllRepositoriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list all repositories params
func (*ListAllRepositoriesParams) SetHTTPClient ¶
func (o *ListAllRepositoriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list all repositories params
func (*ListAllRepositoriesParams) SetPage ¶
func (o *ListAllRepositoriesParams) SetPage(page *int64)
SetPage adds the page to the list all repositories params
func (*ListAllRepositoriesParams) SetPageSize ¶
func (o *ListAllRepositoriesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list all repositories params
func (*ListAllRepositoriesParams) SetQ ¶
func (o *ListAllRepositoriesParams) SetQ(q *string)
SetQ adds the q to the list all repositories params
func (*ListAllRepositoriesParams) SetSort ¶
func (o *ListAllRepositoriesParams) SetSort(sort *string)
SetSort adds the sort to the list all repositories params
func (*ListAllRepositoriesParams) SetTimeout ¶
func (o *ListAllRepositoriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list all repositories params
func (*ListAllRepositoriesParams) SetXRequestID ¶
func (o *ListAllRepositoriesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list all repositories params
func (*ListAllRepositoriesParams) WithContext ¶
func (o *ListAllRepositoriesParams) WithContext(ctx context.Context) *ListAllRepositoriesParams
WithContext adds the context to the list all repositories params
func (*ListAllRepositoriesParams) WithHTTPClient ¶
func (o *ListAllRepositoriesParams) WithHTTPClient(client *http.Client) *ListAllRepositoriesParams
WithHTTPClient adds the HTTPClient to the list all repositories params
func (*ListAllRepositoriesParams) WithPage ¶
func (o *ListAllRepositoriesParams) WithPage(page *int64) *ListAllRepositoriesParams
WithPage adds the page to the list all repositories params
func (*ListAllRepositoriesParams) WithPageSize ¶
func (o *ListAllRepositoriesParams) WithPageSize(pageSize *int64) *ListAllRepositoriesParams
WithPageSize adds the pageSize to the list all repositories params
func (*ListAllRepositoriesParams) WithQ ¶
func (o *ListAllRepositoriesParams) WithQ(q *string) *ListAllRepositoriesParams
WithQ adds the q to the list all repositories params
func (*ListAllRepositoriesParams) WithSort ¶
func (o *ListAllRepositoriesParams) WithSort(sort *string) *ListAllRepositoriesParams
WithSort adds the sort to the list all repositories params
func (*ListAllRepositoriesParams) WithTimeout ¶
func (o *ListAllRepositoriesParams) WithTimeout(timeout time.Duration) *ListAllRepositoriesParams
WithTimeout adds the timeout to the list all repositories params
func (*ListAllRepositoriesParams) WithXRequestID ¶
func (o *ListAllRepositoriesParams) WithXRequestID(xRequestID *string) *ListAllRepositoriesParams
WithXRequestID adds the xRequestID to the list all repositories params
func (*ListAllRepositoriesParams) WriteToRequest ¶
func (o *ListAllRepositoriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListAllRepositoriesReader ¶
type ListAllRepositoriesReader struct {
// contains filtered or unexported fields
}
ListAllRepositoriesReader is a Reader for the ListAllRepositories structure.
func (*ListAllRepositoriesReader) ReadResponse ¶
func (o *ListAllRepositoriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepositoriesBadRequest ¶
type ListRepositoriesBadRequest struct { /*The ID of the corresponding request for the response */ XRequestID string Payload *model.Errors }
ListRepositoriesBadRequest handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 */ Page *int64 /*PageSize The size of per page */ 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 /*Sort Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" */ Sort *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 values initialized.
func NewListRepositoriesParamsWithContext ¶
func NewListRepositoriesParamsWithContext(ctx context.Context) *ListRepositoriesParams
NewListRepositoriesParamsWithContext creates a new ListRepositoriesParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) SetSort ¶
func (o *ListRepositoriesParams) SetSort(sort *string)
SetSort adds the sort 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) 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) WithSort ¶
func (o *ListRepositoriesParams) WithSort(sort *string) *ListRepositoriesParams
WithSort adds the sort 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 handles this case 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 values initialized.
func NewUpdateRepositoryParamsWithContext ¶
func NewUpdateRepositoryParamsWithContext(ctx context.Context) *UpdateRepositoryParams
NewUpdateRepositoryParamsWithContext creates a new UpdateRepositoryParams object with the default values initialized, and 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 default values initialized, and 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 default values initialized, and 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) 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) 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 handles this case 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
Source Files ¶
- delete_repository_parameters.go
- delete_repository_responses.go
- get_repository_parameters.go
- get_repository_responses.go
- list_all_repositories_parameters.go
- list_all_repositories_responses.go
- list_repositories_parameters.go
- list_repositories_responses.go
- repository_client.go
- update_repository_parameters.go
- update_repository_responses.go