signing

package
v0.0.0-...-eff1da9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

type GetRepoSignaturesBadRequest struct {
	Payload *models.APIError
}

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 (*GetRepoSignaturesBadRequest) GetPayload

func (o *GetRepoSignaturesBadRequest) GetPayload() *models.APIError

type GetRepoSignaturesForbidden

type GetRepoSignaturesForbidden struct {
	Payload *models.APIError
}

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 (*GetRepoSignaturesForbidden) GetPayload

func (o *GetRepoSignaturesForbidden) GetPayload() *models.APIError

type GetRepoSignaturesNotFound

type GetRepoSignaturesNotFound struct {
	Payload *models.APIError
}

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

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

WithTimeout adds the timeout to the get repo signatures params

func (*GetRepoSignaturesParams) WriteToRequest

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 {
	Payload *models.APIError
}

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 (*GetRepoSignaturesUnauthorized) GetPayload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL