Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetRepoSignaturesBadRequest
- type GetRepoSignaturesForbidden
- type GetRepoSignaturesNotFound
- type GetRepoSignaturesOK
- type GetRepoSignaturesParams
- func NewGetRepoSignaturesParams() *GetRepoSignaturesParams
- func NewGetRepoSignaturesParamsWithContext(ctx context.Context) *GetRepoSignaturesParams
- func NewGetRepoSignaturesParamsWithHTTPClient(client *http.Client) *GetRepoSignaturesParams
- func NewGetRepoSignaturesParamsWithTimeout(timeout time.Duration) *GetRepoSignaturesParams
- func (o *GetRepoSignaturesParams) SetContext(ctx context.Context)
- func (o *GetRepoSignaturesParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoSignaturesParams) SetRepository(repository string)
- func (o *GetRepoSignaturesParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoSignaturesParams) WithContext(ctx context.Context) *GetRepoSignaturesParams
- func (o *GetRepoSignaturesParams) WithHTTPClient(client *http.Client) *GetRepoSignaturesParams
- func (o *GetRepoSignaturesParams) WithRepository(repository string) *GetRepoSignaturesParams
- func (o *GetRepoSignaturesParams) WithTimeout(timeout time.Duration) *GetRepoSignaturesParams
- func (o *GetRepoSignaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoSignaturesReader
- type GetRepoSignaturesUnauthorized
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 signing API
func (*Client) GetRepoSignatures ¶
func (a *Client) GetRepoSignatures(params *GetRepoSignaturesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoSignaturesOK, error)
GetRepoSignatures Fetches the list of signed tags for the repository.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetRepoSignatures(params *GetRepoSignaturesParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoSignaturesOK, 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 signing API client.
type GetRepoSignaturesBadRequest ¶
GetRepoSignaturesBadRequest handles this case with default header values.
Bad Request
func NewGetRepoSignaturesBadRequest ¶
func NewGetRepoSignaturesBadRequest() *GetRepoSignaturesBadRequest
NewGetRepoSignaturesBadRequest creates a GetRepoSignaturesBadRequest with default headers values
func (*GetRepoSignaturesBadRequest) Error ¶
func (o *GetRepoSignaturesBadRequest) Error() string
func (*GetRepoSignaturesBadRequest) GetPayload ¶
func (o *GetRepoSignaturesBadRequest) GetPayload() *models.APIError
type GetRepoSignaturesForbidden ¶
GetRepoSignaturesForbidden handles this case with default header values.
Unauthorized access
func NewGetRepoSignaturesForbidden ¶
func NewGetRepoSignaturesForbidden() *GetRepoSignaturesForbidden
NewGetRepoSignaturesForbidden creates a GetRepoSignaturesForbidden with default headers values
func (*GetRepoSignaturesForbidden) Error ¶
func (o *GetRepoSignaturesForbidden) Error() string
func (*GetRepoSignaturesForbidden) GetPayload ¶
func (o *GetRepoSignaturesForbidden) GetPayload() *models.APIError
type GetRepoSignaturesNotFound ¶
GetRepoSignaturesNotFound handles this case with default header values.
Not found
func NewGetRepoSignaturesNotFound ¶
func NewGetRepoSignaturesNotFound() *GetRepoSignaturesNotFound
NewGetRepoSignaturesNotFound creates a GetRepoSignaturesNotFound with default headers values
func (*GetRepoSignaturesNotFound) Error ¶
func (o *GetRepoSignaturesNotFound) Error() string
func (*GetRepoSignaturesNotFound) GetPayload ¶
func (o *GetRepoSignaturesNotFound) GetPayload() *models.APIError
type GetRepoSignaturesOK ¶
type GetRepoSignaturesOK struct { }
GetRepoSignaturesOK handles this case with default header values.
Successful invocation
func NewGetRepoSignaturesOK ¶
func NewGetRepoSignaturesOK() *GetRepoSignaturesOK
NewGetRepoSignaturesOK creates a GetRepoSignaturesOK with default headers values
func (*GetRepoSignaturesOK) Error ¶
func (o *GetRepoSignaturesOK) Error() string
type GetRepoSignaturesParams ¶
type GetRepoSignaturesParams 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 }
GetRepoSignaturesParams contains all the parameters to send to the API endpoint for the get repo signatures operation typically these are written to a http.Request
func NewGetRepoSignaturesParams ¶
func NewGetRepoSignaturesParams() *GetRepoSignaturesParams
NewGetRepoSignaturesParams creates a new GetRepoSignaturesParams object with the default values initialized.
func NewGetRepoSignaturesParamsWithContext ¶
func NewGetRepoSignaturesParamsWithContext(ctx context.Context) *GetRepoSignaturesParams
NewGetRepoSignaturesParamsWithContext creates a new GetRepoSignaturesParams object with the default values initialized, and the ability to set a context for a request
func NewGetRepoSignaturesParamsWithHTTPClient ¶
func NewGetRepoSignaturesParamsWithHTTPClient(client *http.Client) *GetRepoSignaturesParams
NewGetRepoSignaturesParamsWithHTTPClient creates a new GetRepoSignaturesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetRepoSignaturesParamsWithTimeout ¶
func NewGetRepoSignaturesParamsWithTimeout(timeout time.Duration) *GetRepoSignaturesParams
NewGetRepoSignaturesParamsWithTimeout creates a new GetRepoSignaturesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetRepoSignaturesParams) SetContext ¶
func (o *GetRepoSignaturesParams) SetContext(ctx context.Context)
SetContext adds the context to the get repo signatures params
func (*GetRepoSignaturesParams) SetHTTPClient ¶
func (o *GetRepoSignaturesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get repo signatures params
func (*GetRepoSignaturesParams) SetRepository ¶
func (o *GetRepoSignaturesParams) SetRepository(repository string)
SetRepository adds the repository to the get repo signatures params
func (*GetRepoSignaturesParams) SetTimeout ¶
func (o *GetRepoSignaturesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get repo signatures params
func (*GetRepoSignaturesParams) WithContext ¶
func (o *GetRepoSignaturesParams) WithContext(ctx context.Context) *GetRepoSignaturesParams
WithContext adds the context to the get repo signatures params
func (*GetRepoSignaturesParams) WithHTTPClient ¶
func (o *GetRepoSignaturesParams) WithHTTPClient(client *http.Client) *GetRepoSignaturesParams
WithHTTPClient adds the HTTPClient to the get repo signatures params
func (*GetRepoSignaturesParams) WithRepository ¶
func (o *GetRepoSignaturesParams) WithRepository(repository string) *GetRepoSignaturesParams
WithRepository adds the repository to the get repo signatures params
func (*GetRepoSignaturesParams) WithTimeout ¶
func (o *GetRepoSignaturesParams) WithTimeout(timeout time.Duration) *GetRepoSignaturesParams
WithTimeout adds the timeout to the get repo signatures params
func (*GetRepoSignaturesParams) WriteToRequest ¶
func (o *GetRepoSignaturesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRepoSignaturesReader ¶
type GetRepoSignaturesReader struct {
// contains filtered or unexported fields
}
GetRepoSignaturesReader is a Reader for the GetRepoSignatures structure.
func (*GetRepoSignaturesReader) ReadResponse ¶
func (o *GetRepoSignaturesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRepoSignaturesUnauthorized ¶
type GetRepoSignaturesUnauthorized struct {
}GetRepoSignaturesUnauthorized handles this case with default header values.
Session required
func NewGetRepoSignaturesUnauthorized ¶
func NewGetRepoSignaturesUnauthorized() *GetRepoSignaturesUnauthorized
NewGetRepoSignaturesUnauthorized creates a GetRepoSignaturesUnauthorized with default headers values
func (*GetRepoSignaturesUnauthorized) Error ¶
func (o *GetRepoSignaturesUnauthorized) Error() string
func (*GetRepoSignaturesUnauthorized) GetPayload ¶
func (o *GetRepoSignaturesUnauthorized) GetPayload() *models.APIError