Documentation ¶
Index ¶
- type ChangeRepoTrustBadRequest
- type ChangeRepoTrustCreated
- type ChangeRepoTrustForbidden
- type ChangeRepoTrustNotFound
- type ChangeRepoTrustParams
- func NewChangeRepoTrustParams() *ChangeRepoTrustParams
- func NewChangeRepoTrustParamsWithContext(ctx context.Context) *ChangeRepoTrustParams
- func NewChangeRepoTrustParamsWithHTTPClient(client *http.Client) *ChangeRepoTrustParams
- func NewChangeRepoTrustParamsWithTimeout(timeout time.Duration) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) SetBody(body *models.ChangeRepoTrust)
- func (o *ChangeRepoTrustParams) SetContext(ctx context.Context)
- func (o *ChangeRepoTrustParams) SetHTTPClient(client *http.Client)
- func (o *ChangeRepoTrustParams) SetRepository(repository string)
- func (o *ChangeRepoTrustParams) SetTimeout(timeout time.Duration)
- func (o *ChangeRepoTrustParams) WithBody(body *models.ChangeRepoTrust) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) WithContext(ctx context.Context) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) WithHTTPClient(client *http.Client) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) WithRepository(repository string) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) WithTimeout(timeout time.Duration) *ChangeRepoTrustParams
- func (o *ChangeRepoTrustParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeRepoTrustReader
- type ChangeRepoTrustUnauthorized
- type ChangeRepoVisibilityBadRequest
- type ChangeRepoVisibilityCreated
- type ChangeRepoVisibilityForbidden
- type ChangeRepoVisibilityNotFound
- type ChangeRepoVisibilityParams
- func NewChangeRepoVisibilityParams() *ChangeRepoVisibilityParams
- func NewChangeRepoVisibilityParamsWithContext(ctx context.Context) *ChangeRepoVisibilityParams
- func NewChangeRepoVisibilityParamsWithHTTPClient(client *http.Client) *ChangeRepoVisibilityParams
- func NewChangeRepoVisibilityParamsWithTimeout(timeout time.Duration) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) SetBody(body *models.ChangeVisibility)
- func (o *ChangeRepoVisibilityParams) SetContext(ctx context.Context)
- func (o *ChangeRepoVisibilityParams) SetHTTPClient(client *http.Client)
- func (o *ChangeRepoVisibilityParams) SetRepository(repository string)
- func (o *ChangeRepoVisibilityParams) SetTimeout(timeout time.Duration)
- func (o *ChangeRepoVisibilityParams) WithBody(body *models.ChangeVisibility) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) WithContext(ctx context.Context) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) WithHTTPClient(client *http.Client) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) WithRepository(repository string) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) WithTimeout(timeout time.Duration) *ChangeRepoVisibilityParams
- func (o *ChangeRepoVisibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ChangeRepoVisibilityReader
- type ChangeRepoVisibilityUnauthorized
- type Client
- func (a *Client) ChangeRepoTrust(params *ChangeRepoTrustParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoTrustCreated, error)
- func (a *Client) ChangeRepoVisibility(params *ChangeRepoVisibilityParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoVisibilityCreated, error)
- func (a *Client) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoCreated, error)
- func (a *Client) DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoryNoContent, error)
- func (a *Client) GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoOK, error)
- func (a *Client) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter) (*ListReposOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRepoOK, error)
- type ClientService
- type CreateRepoBadRequest
- type CreateRepoCreated
- type CreateRepoForbidden
- type CreateRepoNotFound
- type CreateRepoParams
- func (o *CreateRepoParams) SetBody(body *models.NewRepo)
- func (o *CreateRepoParams) SetContext(ctx context.Context)
- func (o *CreateRepoParams) SetHTTPClient(client *http.Client)
- func (o *CreateRepoParams) SetTimeout(timeout time.Duration)
- func (o *CreateRepoParams) WithBody(body *models.NewRepo) *CreateRepoParams
- func (o *CreateRepoParams) WithContext(ctx context.Context) *CreateRepoParams
- func (o *CreateRepoParams) WithHTTPClient(client *http.Client) *CreateRepoParams
- func (o *CreateRepoParams) WithTimeout(timeout time.Duration) *CreateRepoParams
- func (o *CreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRepoReader
- type CreateRepoUnauthorized
- type DeleteRepositoryBadRequest
- type DeleteRepositoryForbidden
- type DeleteRepositoryNoContent
- type DeleteRepositoryNotFound
- 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) SetRepository(repository string)
- func (o *DeleteRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRepositoryParams) WithContext(ctx context.Context) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithHTTPClient(client *http.Client) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithRepository(repository string) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WithTimeout(timeout time.Duration) *DeleteRepositoryParams
- func (o *DeleteRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRepositoryReader
- type DeleteRepositoryUnauthorized
- type GetRepoBadRequest
- type GetRepoForbidden
- type GetRepoNotFound
- type GetRepoOK
- type GetRepoParams
- func (o *GetRepoParams) SetContext(ctx context.Context)
- func (o *GetRepoParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoParams) SetIncludeStats(includeStats *bool)
- func (o *GetRepoParams) SetIncludeTags(includeTags *bool)
- func (o *GetRepoParams) SetRepository(repository string)
- func (o *GetRepoParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoParams) WithContext(ctx context.Context) *GetRepoParams
- func (o *GetRepoParams) WithHTTPClient(client *http.Client) *GetRepoParams
- func (o *GetRepoParams) WithIncludeStats(includeStats *bool) *GetRepoParams
- func (o *GetRepoParams) WithIncludeTags(includeTags *bool) *GetRepoParams
- func (o *GetRepoParams) WithRepository(repository string) *GetRepoParams
- func (o *GetRepoParams) WithTimeout(timeout time.Duration) *GetRepoParams
- func (o *GetRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoReader
- type GetRepoUnauthorized
- type ListReposBadRequest
- type ListReposForbidden
- type ListReposNotFound
- type ListReposOK
- type ListReposParams
- func (o *ListReposParams) SetContext(ctx context.Context)
- func (o *ListReposParams) SetHTTPClient(client *http.Client)
- func (o *ListReposParams) SetLastModified(lastModified *bool)
- func (o *ListReposParams) SetNamespace(namespace *string)
- func (o *ListReposParams) SetNextPage(nextPage *string)
- func (o *ListReposParams) SetPopularity(popularity *bool)
- func (o *ListReposParams) SetPublic(public *bool)
- func (o *ListReposParams) SetRepoKind(repoKind *string)
- func (o *ListReposParams) SetStarred(starred *bool)
- func (o *ListReposParams) SetTimeout(timeout time.Duration)
- func (o *ListReposParams) WithContext(ctx context.Context) *ListReposParams
- func (o *ListReposParams) WithHTTPClient(client *http.Client) *ListReposParams
- func (o *ListReposParams) WithLastModified(lastModified *bool) *ListReposParams
- func (o *ListReposParams) WithNamespace(namespace *string) *ListReposParams
- func (o *ListReposParams) WithNextPage(nextPage *string) *ListReposParams
- func (o *ListReposParams) WithPopularity(popularity *bool) *ListReposParams
- func (o *ListReposParams) WithPublic(public *bool) *ListReposParams
- func (o *ListReposParams) WithRepoKind(repoKind *string) *ListReposParams
- func (o *ListReposParams) WithStarred(starred *bool) *ListReposParams
- func (o *ListReposParams) WithTimeout(timeout time.Duration) *ListReposParams
- func (o *ListReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListReposReader
- type ListReposUnauthorized
- type UpdateRepoBadRequest
- type UpdateRepoForbidden
- type UpdateRepoNotFound
- type UpdateRepoOK
- type UpdateRepoParams
- func (o *UpdateRepoParams) SetBody(body *models.RepoUpdate)
- func (o *UpdateRepoParams) SetContext(ctx context.Context)
- func (o *UpdateRepoParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRepoParams) SetRepository(repository string)
- func (o *UpdateRepoParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRepoParams) WithBody(body *models.RepoUpdate) *UpdateRepoParams
- func (o *UpdateRepoParams) WithContext(ctx context.Context) *UpdateRepoParams
- func (o *UpdateRepoParams) WithHTTPClient(client *http.Client) *UpdateRepoParams
- func (o *UpdateRepoParams) WithRepository(repository string) *UpdateRepoParams
- func (o *UpdateRepoParams) WithTimeout(timeout time.Duration) *UpdateRepoParams
- func (o *UpdateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRepoReader
- type UpdateRepoUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeRepoTrustBadRequest ¶
ChangeRepoTrustBadRequest handles this case with default header values.
Bad Request
func NewChangeRepoTrustBadRequest ¶
func NewChangeRepoTrustBadRequest() *ChangeRepoTrustBadRequest
NewChangeRepoTrustBadRequest creates a ChangeRepoTrustBadRequest with default headers values
func (*ChangeRepoTrustBadRequest) Error ¶
func (o *ChangeRepoTrustBadRequest) Error() string
func (*ChangeRepoTrustBadRequest) GetPayload ¶
func (o *ChangeRepoTrustBadRequest) GetPayload() *models.APIError
type ChangeRepoTrustCreated ¶
type ChangeRepoTrustCreated struct { }
ChangeRepoTrustCreated handles this case with default header values.
Successful creation
func NewChangeRepoTrustCreated ¶
func NewChangeRepoTrustCreated() *ChangeRepoTrustCreated
NewChangeRepoTrustCreated creates a ChangeRepoTrustCreated with default headers values
func (*ChangeRepoTrustCreated) Error ¶
func (o *ChangeRepoTrustCreated) Error() string
type ChangeRepoTrustForbidden ¶
ChangeRepoTrustForbidden handles this case with default header values.
Unauthorized access
func NewChangeRepoTrustForbidden ¶
func NewChangeRepoTrustForbidden() *ChangeRepoTrustForbidden
NewChangeRepoTrustForbidden creates a ChangeRepoTrustForbidden with default headers values
func (*ChangeRepoTrustForbidden) Error ¶
func (o *ChangeRepoTrustForbidden) Error() string
func (*ChangeRepoTrustForbidden) GetPayload ¶
func (o *ChangeRepoTrustForbidden) GetPayload() *models.APIError
type ChangeRepoTrustNotFound ¶
ChangeRepoTrustNotFound handles this case with default header values.
Not found
func NewChangeRepoTrustNotFound ¶
func NewChangeRepoTrustNotFound() *ChangeRepoTrustNotFound
NewChangeRepoTrustNotFound creates a ChangeRepoTrustNotFound with default headers values
func (*ChangeRepoTrustNotFound) Error ¶
func (o *ChangeRepoTrustNotFound) Error() string
func (*ChangeRepoTrustNotFound) GetPayload ¶
func (o *ChangeRepoTrustNotFound) GetPayload() *models.APIError
type ChangeRepoTrustParams ¶
type ChangeRepoTrustParams struct { /*Body Request body contents. */ Body *models.ChangeRepoTrust /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeRepoTrustParams contains all the parameters to send to the API endpoint for the change repo trust operation typically these are written to a http.Request
func NewChangeRepoTrustParams ¶
func NewChangeRepoTrustParams() *ChangeRepoTrustParams
NewChangeRepoTrustParams creates a new ChangeRepoTrustParams object with the default values initialized.
func NewChangeRepoTrustParamsWithContext ¶
func NewChangeRepoTrustParamsWithContext(ctx context.Context) *ChangeRepoTrustParams
NewChangeRepoTrustParamsWithContext creates a new ChangeRepoTrustParams object with the default values initialized, and the ability to set a context for a request
func NewChangeRepoTrustParamsWithHTTPClient ¶
func NewChangeRepoTrustParamsWithHTTPClient(client *http.Client) *ChangeRepoTrustParams
NewChangeRepoTrustParamsWithHTTPClient creates a new ChangeRepoTrustParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeRepoTrustParamsWithTimeout ¶
func NewChangeRepoTrustParamsWithTimeout(timeout time.Duration) *ChangeRepoTrustParams
NewChangeRepoTrustParamsWithTimeout creates a new ChangeRepoTrustParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeRepoTrustParams) SetBody ¶
func (o *ChangeRepoTrustParams) SetBody(body *models.ChangeRepoTrust)
SetBody adds the body to the change repo trust params
func (*ChangeRepoTrustParams) SetContext ¶
func (o *ChangeRepoTrustParams) SetContext(ctx context.Context)
SetContext adds the context to the change repo trust params
func (*ChangeRepoTrustParams) SetHTTPClient ¶
func (o *ChangeRepoTrustParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change repo trust params
func (*ChangeRepoTrustParams) SetRepository ¶
func (o *ChangeRepoTrustParams) SetRepository(repository string)
SetRepository adds the repository to the change repo trust params
func (*ChangeRepoTrustParams) SetTimeout ¶
func (o *ChangeRepoTrustParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change repo trust params
func (*ChangeRepoTrustParams) WithBody ¶
func (o *ChangeRepoTrustParams) WithBody(body *models.ChangeRepoTrust) *ChangeRepoTrustParams
WithBody adds the body to the change repo trust params
func (*ChangeRepoTrustParams) WithContext ¶
func (o *ChangeRepoTrustParams) WithContext(ctx context.Context) *ChangeRepoTrustParams
WithContext adds the context to the change repo trust params
func (*ChangeRepoTrustParams) WithHTTPClient ¶
func (o *ChangeRepoTrustParams) WithHTTPClient(client *http.Client) *ChangeRepoTrustParams
WithHTTPClient adds the HTTPClient to the change repo trust params
func (*ChangeRepoTrustParams) WithRepository ¶
func (o *ChangeRepoTrustParams) WithRepository(repository string) *ChangeRepoTrustParams
WithRepository adds the repository to the change repo trust params
func (*ChangeRepoTrustParams) WithTimeout ¶
func (o *ChangeRepoTrustParams) WithTimeout(timeout time.Duration) *ChangeRepoTrustParams
WithTimeout adds the timeout to the change repo trust params
func (*ChangeRepoTrustParams) WriteToRequest ¶
func (o *ChangeRepoTrustParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeRepoTrustReader ¶
type ChangeRepoTrustReader struct {
// contains filtered or unexported fields
}
ChangeRepoTrustReader is a Reader for the ChangeRepoTrust structure.
func (*ChangeRepoTrustReader) ReadResponse ¶
func (o *ChangeRepoTrustReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeRepoTrustUnauthorized ¶
type ChangeRepoTrustUnauthorized struct {
}ChangeRepoTrustUnauthorized handles this case with default header values.
Session required
func NewChangeRepoTrustUnauthorized ¶
func NewChangeRepoTrustUnauthorized() *ChangeRepoTrustUnauthorized
NewChangeRepoTrustUnauthorized creates a ChangeRepoTrustUnauthorized with default headers values
func (*ChangeRepoTrustUnauthorized) Error ¶
func (o *ChangeRepoTrustUnauthorized) Error() string
func (*ChangeRepoTrustUnauthorized) GetPayload ¶
func (o *ChangeRepoTrustUnauthorized) GetPayload() *models.APIError
type ChangeRepoVisibilityBadRequest ¶
ChangeRepoVisibilityBadRequest handles this case with default header values.
Bad Request
func NewChangeRepoVisibilityBadRequest ¶
func NewChangeRepoVisibilityBadRequest() *ChangeRepoVisibilityBadRequest
NewChangeRepoVisibilityBadRequest creates a ChangeRepoVisibilityBadRequest with default headers values
func (*ChangeRepoVisibilityBadRequest) Error ¶
func (o *ChangeRepoVisibilityBadRequest) Error() string
func (*ChangeRepoVisibilityBadRequest) GetPayload ¶
func (o *ChangeRepoVisibilityBadRequest) GetPayload() *models.APIError
type ChangeRepoVisibilityCreated ¶
type ChangeRepoVisibilityCreated struct { }
ChangeRepoVisibilityCreated handles this case with default header values.
Successful creation
func NewChangeRepoVisibilityCreated ¶
func NewChangeRepoVisibilityCreated() *ChangeRepoVisibilityCreated
NewChangeRepoVisibilityCreated creates a ChangeRepoVisibilityCreated with default headers values
func (*ChangeRepoVisibilityCreated) Error ¶
func (o *ChangeRepoVisibilityCreated) Error() string
type ChangeRepoVisibilityForbidden ¶
ChangeRepoVisibilityForbidden handles this case with default header values.
Unauthorized access
func NewChangeRepoVisibilityForbidden ¶
func NewChangeRepoVisibilityForbidden() *ChangeRepoVisibilityForbidden
NewChangeRepoVisibilityForbidden creates a ChangeRepoVisibilityForbidden with default headers values
func (*ChangeRepoVisibilityForbidden) Error ¶
func (o *ChangeRepoVisibilityForbidden) Error() string
func (*ChangeRepoVisibilityForbidden) GetPayload ¶
func (o *ChangeRepoVisibilityForbidden) GetPayload() *models.APIError
type ChangeRepoVisibilityNotFound ¶
ChangeRepoVisibilityNotFound handles this case with default header values.
Not found
func NewChangeRepoVisibilityNotFound ¶
func NewChangeRepoVisibilityNotFound() *ChangeRepoVisibilityNotFound
NewChangeRepoVisibilityNotFound creates a ChangeRepoVisibilityNotFound with default headers values
func (*ChangeRepoVisibilityNotFound) Error ¶
func (o *ChangeRepoVisibilityNotFound) Error() string
func (*ChangeRepoVisibilityNotFound) GetPayload ¶
func (o *ChangeRepoVisibilityNotFound) GetPayload() *models.APIError
type ChangeRepoVisibilityParams ¶
type ChangeRepoVisibilityParams struct { /*Body Request body contents. */ Body *models.ChangeVisibility /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ChangeRepoVisibilityParams contains all the parameters to send to the API endpoint for the change repo visibility operation typically these are written to a http.Request
func NewChangeRepoVisibilityParams ¶
func NewChangeRepoVisibilityParams() *ChangeRepoVisibilityParams
NewChangeRepoVisibilityParams creates a new ChangeRepoVisibilityParams object with the default values initialized.
func NewChangeRepoVisibilityParamsWithContext ¶
func NewChangeRepoVisibilityParamsWithContext(ctx context.Context) *ChangeRepoVisibilityParams
NewChangeRepoVisibilityParamsWithContext creates a new ChangeRepoVisibilityParams object with the default values initialized, and the ability to set a context for a request
func NewChangeRepoVisibilityParamsWithHTTPClient ¶
func NewChangeRepoVisibilityParamsWithHTTPClient(client *http.Client) *ChangeRepoVisibilityParams
NewChangeRepoVisibilityParamsWithHTTPClient creates a new ChangeRepoVisibilityParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewChangeRepoVisibilityParamsWithTimeout ¶
func NewChangeRepoVisibilityParamsWithTimeout(timeout time.Duration) *ChangeRepoVisibilityParams
NewChangeRepoVisibilityParamsWithTimeout creates a new ChangeRepoVisibilityParams object with the default values initialized, and the ability to set a timeout on a request
func (*ChangeRepoVisibilityParams) SetBody ¶
func (o *ChangeRepoVisibilityParams) SetBody(body *models.ChangeVisibility)
SetBody adds the body to the change repo visibility params
func (*ChangeRepoVisibilityParams) SetContext ¶
func (o *ChangeRepoVisibilityParams) SetContext(ctx context.Context)
SetContext adds the context to the change repo visibility params
func (*ChangeRepoVisibilityParams) SetHTTPClient ¶
func (o *ChangeRepoVisibilityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the change repo visibility params
func (*ChangeRepoVisibilityParams) SetRepository ¶
func (o *ChangeRepoVisibilityParams) SetRepository(repository string)
SetRepository adds the repository to the change repo visibility params
func (*ChangeRepoVisibilityParams) SetTimeout ¶
func (o *ChangeRepoVisibilityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the change repo visibility params
func (*ChangeRepoVisibilityParams) WithBody ¶
func (o *ChangeRepoVisibilityParams) WithBody(body *models.ChangeVisibility) *ChangeRepoVisibilityParams
WithBody adds the body to the change repo visibility params
func (*ChangeRepoVisibilityParams) WithContext ¶
func (o *ChangeRepoVisibilityParams) WithContext(ctx context.Context) *ChangeRepoVisibilityParams
WithContext adds the context to the change repo visibility params
func (*ChangeRepoVisibilityParams) WithHTTPClient ¶
func (o *ChangeRepoVisibilityParams) WithHTTPClient(client *http.Client) *ChangeRepoVisibilityParams
WithHTTPClient adds the HTTPClient to the change repo visibility params
func (*ChangeRepoVisibilityParams) WithRepository ¶
func (o *ChangeRepoVisibilityParams) WithRepository(repository string) *ChangeRepoVisibilityParams
WithRepository adds the repository to the change repo visibility params
func (*ChangeRepoVisibilityParams) WithTimeout ¶
func (o *ChangeRepoVisibilityParams) WithTimeout(timeout time.Duration) *ChangeRepoVisibilityParams
WithTimeout adds the timeout to the change repo visibility params
func (*ChangeRepoVisibilityParams) WriteToRequest ¶
func (o *ChangeRepoVisibilityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ChangeRepoVisibilityReader ¶
type ChangeRepoVisibilityReader struct {
// contains filtered or unexported fields
}
ChangeRepoVisibilityReader is a Reader for the ChangeRepoVisibility structure.
func (*ChangeRepoVisibilityReader) ReadResponse ¶
func (o *ChangeRepoVisibilityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ChangeRepoVisibilityUnauthorized ¶
type ChangeRepoVisibilityUnauthorized struct {
}ChangeRepoVisibilityUnauthorized handles this case with default header values.
Session required
func NewChangeRepoVisibilityUnauthorized ¶
func NewChangeRepoVisibilityUnauthorized() *ChangeRepoVisibilityUnauthorized
NewChangeRepoVisibilityUnauthorized creates a ChangeRepoVisibilityUnauthorized with default headers values
func (*ChangeRepoVisibilityUnauthorized) Error ¶
func (o *ChangeRepoVisibilityUnauthorized) Error() string
func (*ChangeRepoVisibilityUnauthorized) GetPayload ¶
func (o *ChangeRepoVisibilityUnauthorized) GetPayload() *models.APIError
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for repository API
func (*Client) ChangeRepoTrust ¶
func (a *Client) ChangeRepoTrust(params *ChangeRepoTrustParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoTrustCreated, error)
ChangeRepoTrust Change the visibility of a repository.
func (*Client) ChangeRepoVisibility ¶
func (a *Client) ChangeRepoVisibility(params *ChangeRepoVisibilityParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoVisibilityCreated, error)
ChangeRepoVisibility Change the visibility of a repository.
func (*Client) CreateRepo ¶
func (a *Client) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoCreated, error)
CreateRepo Create a new repository.
func (*Client) DeleteRepository ¶
func (a *Client) DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoryNoContent, error)
DeleteRepository Delete a repository.
func (*Client) GetRepo ¶
func (a *Client) GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoOK, error)
GetRepo Fetch the specified repository.
func (*Client) ListRepos ¶
func (a *Client) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter) (*ListReposOK, error)
ListRepos Fetch the list of repositories visible to the current user under a variety of situations.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateRepo ¶
func (a *Client) UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRepoOK, error)
UpdateRepo Update the description in the specified repository.
type ClientService ¶
type ClientService interface { ChangeRepoTrust(params *ChangeRepoTrustParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoTrustCreated, error) ChangeRepoVisibility(params *ChangeRepoVisibilityParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeRepoVisibilityCreated, error) CreateRepo(params *CreateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*CreateRepoCreated, error) DeleteRepository(params *DeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteRepositoryNoContent, error) GetRepo(params *GetRepoParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoOK, error) ListRepos(params *ListReposParams, authInfo runtime.ClientAuthInfoWriter) (*ListReposOK, error) UpdateRepo(params *UpdateRepoParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateRepoOK, 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 CreateRepoBadRequest ¶
CreateRepoBadRequest handles this case with default header values.
Bad Request
func NewCreateRepoBadRequest ¶
func NewCreateRepoBadRequest() *CreateRepoBadRequest
NewCreateRepoBadRequest creates a CreateRepoBadRequest with default headers values
func (*CreateRepoBadRequest) Error ¶
func (o *CreateRepoBadRequest) Error() string
func (*CreateRepoBadRequest) GetPayload ¶
func (o *CreateRepoBadRequest) GetPayload() *models.APIError
type CreateRepoCreated ¶
type CreateRepoCreated struct { }
CreateRepoCreated handles this case with default header values.
Successful creation
func NewCreateRepoCreated ¶
func NewCreateRepoCreated() *CreateRepoCreated
NewCreateRepoCreated creates a CreateRepoCreated with default headers values
func (*CreateRepoCreated) Error ¶
func (o *CreateRepoCreated) Error() string
type CreateRepoForbidden ¶
CreateRepoForbidden handles this case with default header values.
Unauthorized access
func NewCreateRepoForbidden ¶
func NewCreateRepoForbidden() *CreateRepoForbidden
NewCreateRepoForbidden creates a CreateRepoForbidden with default headers values
func (*CreateRepoForbidden) Error ¶
func (o *CreateRepoForbidden) Error() string
func (*CreateRepoForbidden) GetPayload ¶
func (o *CreateRepoForbidden) GetPayload() *models.APIError
type CreateRepoNotFound ¶
CreateRepoNotFound handles this case with default header values.
Not found
func NewCreateRepoNotFound ¶
func NewCreateRepoNotFound() *CreateRepoNotFound
NewCreateRepoNotFound creates a CreateRepoNotFound with default headers values
func (*CreateRepoNotFound) Error ¶
func (o *CreateRepoNotFound) Error() string
func (*CreateRepoNotFound) GetPayload ¶
func (o *CreateRepoNotFound) GetPayload() *models.APIError
type CreateRepoParams ¶
type CreateRepoParams struct { /*Body Request body contents. */ Body *models.NewRepo Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateRepoParams contains all the parameters to send to the API endpoint for the create repo operation typically these are written to a http.Request
func NewCreateRepoParams ¶
func NewCreateRepoParams() *CreateRepoParams
NewCreateRepoParams creates a new CreateRepoParams object with the default values initialized.
func NewCreateRepoParamsWithContext ¶
func NewCreateRepoParamsWithContext(ctx context.Context) *CreateRepoParams
NewCreateRepoParamsWithContext creates a new CreateRepoParams object with the default values initialized, and the ability to set a context for a request
func NewCreateRepoParamsWithHTTPClient ¶
func NewCreateRepoParamsWithHTTPClient(client *http.Client) *CreateRepoParams
NewCreateRepoParamsWithHTTPClient creates a new CreateRepoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewCreateRepoParamsWithTimeout ¶
func NewCreateRepoParamsWithTimeout(timeout time.Duration) *CreateRepoParams
NewCreateRepoParamsWithTimeout creates a new CreateRepoParams object with the default values initialized, and the ability to set a timeout on a request
func (*CreateRepoParams) SetBody ¶
func (o *CreateRepoParams) SetBody(body *models.NewRepo)
SetBody adds the body to the create repo params
func (*CreateRepoParams) SetContext ¶
func (o *CreateRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the create repo params
func (*CreateRepoParams) SetHTTPClient ¶
func (o *CreateRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create repo params
func (*CreateRepoParams) SetTimeout ¶
func (o *CreateRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create repo params
func (*CreateRepoParams) WithBody ¶
func (o *CreateRepoParams) WithBody(body *models.NewRepo) *CreateRepoParams
WithBody adds the body to the create repo params
func (*CreateRepoParams) WithContext ¶
func (o *CreateRepoParams) WithContext(ctx context.Context) *CreateRepoParams
WithContext adds the context to the create repo params
func (*CreateRepoParams) WithHTTPClient ¶
func (o *CreateRepoParams) WithHTTPClient(client *http.Client) *CreateRepoParams
WithHTTPClient adds the HTTPClient to the create repo params
func (*CreateRepoParams) WithTimeout ¶
func (o *CreateRepoParams) WithTimeout(timeout time.Duration) *CreateRepoParams
WithTimeout adds the timeout to the create repo params
func (*CreateRepoParams) WriteToRequest ¶
func (o *CreateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateRepoReader ¶
type CreateRepoReader struct {
// contains filtered or unexported fields
}
CreateRepoReader is a Reader for the CreateRepo structure.
func (*CreateRepoReader) ReadResponse ¶
func (o *CreateRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateRepoUnauthorized ¶
type CreateRepoUnauthorized struct {
}CreateRepoUnauthorized handles this case with default header values.
Session required
func NewCreateRepoUnauthorized ¶
func NewCreateRepoUnauthorized() *CreateRepoUnauthorized
NewCreateRepoUnauthorized creates a CreateRepoUnauthorized with default headers values
func (*CreateRepoUnauthorized) Error ¶
func (o *CreateRepoUnauthorized) Error() string
func (*CreateRepoUnauthorized) GetPayload ¶
func (o *CreateRepoUnauthorized) GetPayload() *models.APIError
type DeleteRepositoryBadRequest ¶
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() *models.APIError
type DeleteRepositoryForbidden ¶
DeleteRepositoryForbidden handles this case with default header values.
Unauthorized access
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() *models.APIError
type DeleteRepositoryNoContent ¶
type DeleteRepositoryNoContent struct { }
DeleteRepositoryNoContent handles this case with default header values.
Deleted
func NewDeleteRepositoryNoContent ¶
func NewDeleteRepositoryNoContent() *DeleteRepositoryNoContent
NewDeleteRepositoryNoContent creates a DeleteRepositoryNoContent with default headers values
func (*DeleteRepositoryNoContent) Error ¶
func (o *DeleteRepositoryNoContent) Error() string
type DeleteRepositoryNotFound ¶
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() *models.APIError
type DeleteRepositoryParams ¶
type DeleteRepositoryParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository 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) SetRepository ¶
func (o *DeleteRepositoryParams) SetRepository(repository string)
SetRepository adds the repository 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) 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) WithRepository ¶
func (o *DeleteRepositoryParams) WithRepository(repository string) *DeleteRepositoryParams
WithRepository adds the repository 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) 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 {
}DeleteRepositoryUnauthorized handles this case with default header values.
Session required
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() *models.APIError
type GetRepoBadRequest ¶
GetRepoBadRequest handles this case with default header values.
Bad Request
func NewGetRepoBadRequest ¶
func NewGetRepoBadRequest() *GetRepoBadRequest
NewGetRepoBadRequest creates a GetRepoBadRequest with default headers values
func (*GetRepoBadRequest) Error ¶
func (o *GetRepoBadRequest) Error() string
func (*GetRepoBadRequest) GetPayload ¶
func (o *GetRepoBadRequest) GetPayload() *models.APIError
type GetRepoForbidden ¶
GetRepoForbidden handles this case with default header values.
Unauthorized access
func NewGetRepoForbidden ¶
func NewGetRepoForbidden() *GetRepoForbidden
NewGetRepoForbidden creates a GetRepoForbidden with default headers values
func (*GetRepoForbidden) Error ¶
func (o *GetRepoForbidden) Error() string
func (*GetRepoForbidden) GetPayload ¶
func (o *GetRepoForbidden) GetPayload() *models.APIError
type GetRepoNotFound ¶
GetRepoNotFound handles this case with default header values.
Not found
func NewGetRepoNotFound ¶
func NewGetRepoNotFound() *GetRepoNotFound
NewGetRepoNotFound creates a GetRepoNotFound with default headers values
func (*GetRepoNotFound) Error ¶
func (o *GetRepoNotFound) Error() string
func (*GetRepoNotFound) GetPayload ¶
func (o *GetRepoNotFound) GetPayload() *models.APIError
type GetRepoOK ¶
type GetRepoOK struct { }
GetRepoOK handles this case with default header values.
Successful invocation
func NewGetRepoOK ¶
func NewGetRepoOK() *GetRepoOK
NewGetRepoOK creates a GetRepoOK with default headers values
type GetRepoParams ¶
type GetRepoParams struct { /*IncludeStats Whether to include action statistics */ IncludeStats *bool /*IncludeTags Whether to include repository tags */ IncludeTags *bool /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRepoParams contains all the parameters to send to the API endpoint for the get repo operation typically these are written to a http.Request
func NewGetRepoParams ¶
func NewGetRepoParams() *GetRepoParams
NewGetRepoParams creates a new GetRepoParams object with the default values initialized.
func NewGetRepoParamsWithContext ¶
func NewGetRepoParamsWithContext(ctx context.Context) *GetRepoParams
NewGetRepoParamsWithContext creates a new GetRepoParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepoParamsWithHTTPClient ¶
func NewGetRepoParamsWithHTTPClient(client *http.Client) *GetRepoParams
NewGetRepoParamsWithHTTPClient creates a new GetRepoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepoParamsWithTimeout ¶
func NewGetRepoParamsWithTimeout(timeout time.Duration) *GetRepoParams
NewGetRepoParamsWithTimeout creates a new GetRepoParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepoParams) SetContext ¶
func (o *GetRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo params
func (*GetRepoParams) SetHTTPClient ¶
func (o *GetRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo params
func (*GetRepoParams) SetIncludeStats ¶
func (o *GetRepoParams) SetIncludeStats(includeStats *bool)
SetIncludeStats adds the includeStats to the get repo params
func (*GetRepoParams) SetIncludeTags ¶
func (o *GetRepoParams) SetIncludeTags(includeTags *bool)
SetIncludeTags adds the includeTags to the get repo params
func (*GetRepoParams) SetRepository ¶
func (o *GetRepoParams) SetRepository(repository string)
SetRepository adds the repository to the get repo params
func (*GetRepoParams) SetTimeout ¶
func (o *GetRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo params
func (*GetRepoParams) WithContext ¶
func (o *GetRepoParams) WithContext(ctx context.Context) *GetRepoParams
WithContext adds the context to the get repo params
func (*GetRepoParams) WithHTTPClient ¶
func (o *GetRepoParams) WithHTTPClient(client *http.Client) *GetRepoParams
WithHTTPClient adds the HTTPClient to the get repo params
func (*GetRepoParams) WithIncludeStats ¶
func (o *GetRepoParams) WithIncludeStats(includeStats *bool) *GetRepoParams
WithIncludeStats adds the includeStats to the get repo params
func (*GetRepoParams) WithIncludeTags ¶
func (o *GetRepoParams) WithIncludeTags(includeTags *bool) *GetRepoParams
WithIncludeTags adds the includeTags to the get repo params
func (*GetRepoParams) WithRepository ¶
func (o *GetRepoParams) WithRepository(repository string) *GetRepoParams
WithRepository adds the repository to the get repo params
func (*GetRepoParams) WithTimeout ¶
func (o *GetRepoParams) WithTimeout(timeout time.Duration) *GetRepoParams
WithTimeout adds the timeout to the get repo params
func (*GetRepoParams) WriteToRequest ¶
func (o *GetRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoReader ¶
type GetRepoReader struct {
// contains filtered or unexported fields
}
GetRepoReader is a Reader for the GetRepo structure.
func (*GetRepoReader) ReadResponse ¶
func (o *GetRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoUnauthorized ¶
type GetRepoUnauthorized struct {
}GetRepoUnauthorized handles this case with default header values.
Session required
func NewGetRepoUnauthorized ¶
func NewGetRepoUnauthorized() *GetRepoUnauthorized
NewGetRepoUnauthorized creates a GetRepoUnauthorized with default headers values
func (*GetRepoUnauthorized) Error ¶
func (o *GetRepoUnauthorized) Error() string
func (*GetRepoUnauthorized) GetPayload ¶
func (o *GetRepoUnauthorized) GetPayload() *models.APIError
type ListReposBadRequest ¶
ListReposBadRequest handles this case with default header values.
Bad Request
func NewListReposBadRequest ¶
func NewListReposBadRequest() *ListReposBadRequest
NewListReposBadRequest creates a ListReposBadRequest with default headers values
func (*ListReposBadRequest) Error ¶
func (o *ListReposBadRequest) Error() string
func (*ListReposBadRequest) GetPayload ¶
func (o *ListReposBadRequest) GetPayload() *models.APIError
type ListReposForbidden ¶
ListReposForbidden handles this case with default header values.
Unauthorized access
func NewListReposForbidden ¶
func NewListReposForbidden() *ListReposForbidden
NewListReposForbidden creates a ListReposForbidden with default headers values
func (*ListReposForbidden) Error ¶
func (o *ListReposForbidden) Error() string
func (*ListReposForbidden) GetPayload ¶
func (o *ListReposForbidden) GetPayload() *models.APIError
type ListReposNotFound ¶
ListReposNotFound handles this case with default header values.
Not found
func NewListReposNotFound ¶
func NewListReposNotFound() *ListReposNotFound
NewListReposNotFound creates a ListReposNotFound with default headers values
func (*ListReposNotFound) Error ¶
func (o *ListReposNotFound) Error() string
func (*ListReposNotFound) GetPayload ¶
func (o *ListReposNotFound) GetPayload() *models.APIError
type ListReposOK ¶
type ListReposOK struct { }
ListReposOK handles this case with default header values.
Successful invocation
func NewListReposOK ¶
func NewListReposOK() *ListReposOK
NewListReposOK creates a ListReposOK with default headers values
func (*ListReposOK) Error ¶
func (o *ListReposOK) Error() string
type ListReposParams ¶
type ListReposParams struct { /*LastModified Whether to include when the repository was last modified. */ LastModified *bool /*Namespace Filters the repositories returned to this namespace */ Namespace *string /*NextPage The page token for the next page */ NextPage *string /*Popularity Whether to include the repository's popularity metric. */ Popularity *bool /*Public Adds any repositories visible to the user by virtue of being public */ Public *bool /*RepoKind The kind of repositories to return */ RepoKind *string /*Starred Filters the repositories returned to those starred by the user */ Starred *bool Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListReposParams contains all the parameters to send to the API endpoint for the list repos operation typically these are written to a http.Request
func NewListReposParams ¶
func NewListReposParams() *ListReposParams
NewListReposParams creates a new ListReposParams object with the default values initialized.
func NewListReposParamsWithContext ¶
func NewListReposParamsWithContext(ctx context.Context) *ListReposParams
NewListReposParamsWithContext creates a new ListReposParams object with the default values initialized, and the ability to set a context for a request
func NewListReposParamsWithHTTPClient ¶
func NewListReposParamsWithHTTPClient(client *http.Client) *ListReposParams
NewListReposParamsWithHTTPClient creates a new ListReposParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListReposParamsWithTimeout ¶
func NewListReposParamsWithTimeout(timeout time.Duration) *ListReposParams
NewListReposParamsWithTimeout creates a new ListReposParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListReposParams) SetContext ¶
func (o *ListReposParams) SetContext(ctx context.Context)
SetContext adds the context to the list repos params
func (*ListReposParams) SetHTTPClient ¶
func (o *ListReposParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repos params
func (*ListReposParams) SetLastModified ¶
func (o *ListReposParams) SetLastModified(lastModified *bool)
SetLastModified adds the lastModified to the list repos params
func (*ListReposParams) SetNamespace ¶
func (o *ListReposParams) SetNamespace(namespace *string)
SetNamespace adds the namespace to the list repos params
func (*ListReposParams) SetNextPage ¶
func (o *ListReposParams) SetNextPage(nextPage *string)
SetNextPage adds the nextPage to the list repos params
func (*ListReposParams) SetPopularity ¶
func (o *ListReposParams) SetPopularity(popularity *bool)
SetPopularity adds the popularity to the list repos params
func (*ListReposParams) SetPublic ¶
func (o *ListReposParams) SetPublic(public *bool)
SetPublic adds the public to the list repos params
func (*ListReposParams) SetRepoKind ¶
func (o *ListReposParams) SetRepoKind(repoKind *string)
SetRepoKind adds the repoKind to the list repos params
func (*ListReposParams) SetStarred ¶
func (o *ListReposParams) SetStarred(starred *bool)
SetStarred adds the starred to the list repos params
func (*ListReposParams) SetTimeout ¶
func (o *ListReposParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repos params
func (*ListReposParams) WithContext ¶
func (o *ListReposParams) WithContext(ctx context.Context) *ListReposParams
WithContext adds the context to the list repos params
func (*ListReposParams) WithHTTPClient ¶
func (o *ListReposParams) WithHTTPClient(client *http.Client) *ListReposParams
WithHTTPClient adds the HTTPClient to the list repos params
func (*ListReposParams) WithLastModified ¶
func (o *ListReposParams) WithLastModified(lastModified *bool) *ListReposParams
WithLastModified adds the lastModified to the list repos params
func (*ListReposParams) WithNamespace ¶
func (o *ListReposParams) WithNamespace(namespace *string) *ListReposParams
WithNamespace adds the namespace to the list repos params
func (*ListReposParams) WithNextPage ¶
func (o *ListReposParams) WithNextPage(nextPage *string) *ListReposParams
WithNextPage adds the nextPage to the list repos params
func (*ListReposParams) WithPopularity ¶
func (o *ListReposParams) WithPopularity(popularity *bool) *ListReposParams
WithPopularity adds the popularity to the list repos params
func (*ListReposParams) WithPublic ¶
func (o *ListReposParams) WithPublic(public *bool) *ListReposParams
WithPublic adds the public to the list repos params
func (*ListReposParams) WithRepoKind ¶
func (o *ListReposParams) WithRepoKind(repoKind *string) *ListReposParams
WithRepoKind adds the repoKind to the list repos params
func (*ListReposParams) WithStarred ¶
func (o *ListReposParams) WithStarred(starred *bool) *ListReposParams
WithStarred adds the starred to the list repos params
func (*ListReposParams) WithTimeout ¶
func (o *ListReposParams) WithTimeout(timeout time.Duration) *ListReposParams
WithTimeout adds the timeout to the list repos params
func (*ListReposParams) WriteToRequest ¶
func (o *ListReposParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListReposReader ¶
type ListReposReader struct {
// contains filtered or unexported fields
}
ListReposReader is a Reader for the ListRepos structure.
func (*ListReposReader) ReadResponse ¶
func (o *ListReposReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListReposUnauthorized ¶
type ListReposUnauthorized struct {
}ListReposUnauthorized handles this case with default header values.
Session required
func NewListReposUnauthorized ¶
func NewListReposUnauthorized() *ListReposUnauthorized
NewListReposUnauthorized creates a ListReposUnauthorized with default headers values
func (*ListReposUnauthorized) Error ¶
func (o *ListReposUnauthorized) Error() string
func (*ListReposUnauthorized) GetPayload ¶
func (o *ListReposUnauthorized) GetPayload() *models.APIError
type UpdateRepoBadRequest ¶
UpdateRepoBadRequest handles this case with default header values.
Bad Request
func NewUpdateRepoBadRequest ¶
func NewUpdateRepoBadRequest() *UpdateRepoBadRequest
NewUpdateRepoBadRequest creates a UpdateRepoBadRequest with default headers values
func (*UpdateRepoBadRequest) Error ¶
func (o *UpdateRepoBadRequest) Error() string
func (*UpdateRepoBadRequest) GetPayload ¶
func (o *UpdateRepoBadRequest) GetPayload() *models.APIError
type UpdateRepoForbidden ¶
UpdateRepoForbidden handles this case with default header values.
Unauthorized access
func NewUpdateRepoForbidden ¶
func NewUpdateRepoForbidden() *UpdateRepoForbidden
NewUpdateRepoForbidden creates a UpdateRepoForbidden with default headers values
func (*UpdateRepoForbidden) Error ¶
func (o *UpdateRepoForbidden) Error() string
func (*UpdateRepoForbidden) GetPayload ¶
func (o *UpdateRepoForbidden) GetPayload() *models.APIError
type UpdateRepoNotFound ¶
UpdateRepoNotFound handles this case with default header values.
Not found
func NewUpdateRepoNotFound ¶
func NewUpdateRepoNotFound() *UpdateRepoNotFound
NewUpdateRepoNotFound creates a UpdateRepoNotFound with default headers values
func (*UpdateRepoNotFound) Error ¶
func (o *UpdateRepoNotFound) Error() string
func (*UpdateRepoNotFound) GetPayload ¶
func (o *UpdateRepoNotFound) GetPayload() *models.APIError
type UpdateRepoOK ¶
type UpdateRepoOK struct { }
UpdateRepoOK handles this case with default header values.
Successful invocation
func NewUpdateRepoOK ¶
func NewUpdateRepoOK() *UpdateRepoOK
NewUpdateRepoOK creates a UpdateRepoOK with default headers values
func (*UpdateRepoOK) Error ¶
func (o *UpdateRepoOK) Error() string
type UpdateRepoParams ¶
type UpdateRepoParams struct { /*Body Request body contents. */ Body *models.RepoUpdate /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateRepoParams contains all the parameters to send to the API endpoint for the update repo operation typically these are written to a http.Request
func NewUpdateRepoParams ¶
func NewUpdateRepoParams() *UpdateRepoParams
NewUpdateRepoParams creates a new UpdateRepoParams object with the default values initialized.
func NewUpdateRepoParamsWithContext ¶
func NewUpdateRepoParamsWithContext(ctx context.Context) *UpdateRepoParams
NewUpdateRepoParamsWithContext creates a new UpdateRepoParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateRepoParamsWithHTTPClient ¶
func NewUpdateRepoParamsWithHTTPClient(client *http.Client) *UpdateRepoParams
NewUpdateRepoParamsWithHTTPClient creates a new UpdateRepoParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateRepoParamsWithTimeout ¶
func NewUpdateRepoParamsWithTimeout(timeout time.Duration) *UpdateRepoParams
NewUpdateRepoParamsWithTimeout creates a new UpdateRepoParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateRepoParams) SetBody ¶
func (o *UpdateRepoParams) SetBody(body *models.RepoUpdate)
SetBody adds the body to the update repo params
func (*UpdateRepoParams) SetContext ¶
func (o *UpdateRepoParams) SetContext(ctx context.Context)
SetContext adds the context to the update repo params
func (*UpdateRepoParams) SetHTTPClient ¶
func (o *UpdateRepoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update repo params
func (*UpdateRepoParams) SetRepository ¶
func (o *UpdateRepoParams) SetRepository(repository string)
SetRepository adds the repository to the update repo params
func (*UpdateRepoParams) SetTimeout ¶
func (o *UpdateRepoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update repo params
func (*UpdateRepoParams) WithBody ¶
func (o *UpdateRepoParams) WithBody(body *models.RepoUpdate) *UpdateRepoParams
WithBody adds the body to the update repo params
func (*UpdateRepoParams) WithContext ¶
func (o *UpdateRepoParams) WithContext(ctx context.Context) *UpdateRepoParams
WithContext adds the context to the update repo params
func (*UpdateRepoParams) WithHTTPClient ¶
func (o *UpdateRepoParams) WithHTTPClient(client *http.Client) *UpdateRepoParams
WithHTTPClient adds the HTTPClient to the update repo params
func (*UpdateRepoParams) WithRepository ¶
func (o *UpdateRepoParams) WithRepository(repository string) *UpdateRepoParams
WithRepository adds the repository to the update repo params
func (*UpdateRepoParams) WithTimeout ¶
func (o *UpdateRepoParams) WithTimeout(timeout time.Duration) *UpdateRepoParams
WithTimeout adds the timeout to the update repo params
func (*UpdateRepoParams) WriteToRequest ¶
func (o *UpdateRepoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateRepoReader ¶
type UpdateRepoReader struct {
// contains filtered or unexported fields
}
UpdateRepoReader is a Reader for the UpdateRepo structure.
func (*UpdateRepoReader) ReadResponse ¶
func (o *UpdateRepoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateRepoUnauthorized ¶
type UpdateRepoUnauthorized struct {
}UpdateRepoUnauthorized handles this case with default header values.
Session required
func NewUpdateRepoUnauthorized ¶
func NewUpdateRepoUnauthorized() *UpdateRepoUnauthorized
NewUpdateRepoUnauthorized creates a UpdateRepoUnauthorized with default headers values
func (*UpdateRepoUnauthorized) Error ¶
func (o *UpdateRepoUnauthorized) Error() string
func (*UpdateRepoUnauthorized) GetPayload ¶
func (o *UpdateRepoUnauthorized) GetPayload() *models.APIError
Source Files ¶
- change_repo_trust_parameters.go
- change_repo_trust_responses.go
- change_repo_visibility_parameters.go
- change_repo_visibility_responses.go
- create_repo_parameters.go
- create_repo_responses.go
- delete_repository_parameters.go
- delete_repository_responses.go
- get_repo_parameters.go
- get_repo_responses.go
- list_repos_parameters.go
- list_repos_responses.go
- repository_client.go
- update_repo_parameters.go
- update_repo_responses.go