manifest

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 AddManifestLabelBadRequest

type AddManifestLabelBadRequest struct {
	Payload *models.APIError
}

AddManifestLabelBadRequest handles this case with default header values.

Bad Request

func NewAddManifestLabelBadRequest

func NewAddManifestLabelBadRequest() *AddManifestLabelBadRequest

NewAddManifestLabelBadRequest creates a AddManifestLabelBadRequest with default headers values

func (*AddManifestLabelBadRequest) Error

func (*AddManifestLabelBadRequest) GetPayload

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

type AddManifestLabelCreated

type AddManifestLabelCreated struct {
}

AddManifestLabelCreated handles this case with default header values.

Successful creation

func NewAddManifestLabelCreated

func NewAddManifestLabelCreated() *AddManifestLabelCreated

NewAddManifestLabelCreated creates a AddManifestLabelCreated with default headers values

func (*AddManifestLabelCreated) Error

func (o *AddManifestLabelCreated) Error() string

type AddManifestLabelForbidden

type AddManifestLabelForbidden struct {
	Payload *models.APIError
}

AddManifestLabelForbidden handles this case with default header values.

Unauthorized access

func NewAddManifestLabelForbidden

func NewAddManifestLabelForbidden() *AddManifestLabelForbidden

NewAddManifestLabelForbidden creates a AddManifestLabelForbidden with default headers values

func (*AddManifestLabelForbidden) Error

func (o *AddManifestLabelForbidden) Error() string

func (*AddManifestLabelForbidden) GetPayload

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

type AddManifestLabelNotFound

type AddManifestLabelNotFound struct {
	Payload *models.APIError
}

AddManifestLabelNotFound handles this case with default header values.

Not found

func NewAddManifestLabelNotFound

func NewAddManifestLabelNotFound() *AddManifestLabelNotFound

NewAddManifestLabelNotFound creates a AddManifestLabelNotFound with default headers values

func (*AddManifestLabelNotFound) Error

func (o *AddManifestLabelNotFound) Error() string

func (*AddManifestLabelNotFound) GetPayload

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

type AddManifestLabelParams

type AddManifestLabelParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.AddLabel
	/*Manifestref
	  The digest of the manifest

	*/
	Manifestref string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

AddManifestLabelParams contains all the parameters to send to the API endpoint for the add manifest label operation typically these are written to a http.Request

func NewAddManifestLabelParams

func NewAddManifestLabelParams() *AddManifestLabelParams

NewAddManifestLabelParams creates a new AddManifestLabelParams object with the default values initialized.

func NewAddManifestLabelParamsWithContext

func NewAddManifestLabelParamsWithContext(ctx context.Context) *AddManifestLabelParams

NewAddManifestLabelParamsWithContext creates a new AddManifestLabelParams object with the default values initialized, and the ability to set a context for a request

func NewAddManifestLabelParamsWithHTTPClient

func NewAddManifestLabelParamsWithHTTPClient(client *http.Client) *AddManifestLabelParams

NewAddManifestLabelParamsWithHTTPClient creates a new AddManifestLabelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAddManifestLabelParamsWithTimeout

func NewAddManifestLabelParamsWithTimeout(timeout time.Duration) *AddManifestLabelParams

NewAddManifestLabelParamsWithTimeout creates a new AddManifestLabelParams object with the default values initialized, and the ability to set a timeout on a request

func (*AddManifestLabelParams) SetBody

func (o *AddManifestLabelParams) SetBody(body *models.AddLabel)

SetBody adds the body to the add manifest label params

func (*AddManifestLabelParams) SetContext

func (o *AddManifestLabelParams) SetContext(ctx context.Context)

SetContext adds the context to the add manifest label params

func (*AddManifestLabelParams) SetHTTPClient

func (o *AddManifestLabelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the add manifest label params

func (*AddManifestLabelParams) SetManifestref

func (o *AddManifestLabelParams) SetManifestref(manifestref string)

SetManifestref adds the manifestref to the add manifest label params

func (*AddManifestLabelParams) SetRepository

func (o *AddManifestLabelParams) SetRepository(repository string)

SetRepository adds the repository to the add manifest label params

func (*AddManifestLabelParams) SetTimeout

func (o *AddManifestLabelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the add manifest label params

func (*AddManifestLabelParams) WithBody

WithBody adds the body to the add manifest label params

func (*AddManifestLabelParams) WithContext

WithContext adds the context to the add manifest label params

func (*AddManifestLabelParams) WithHTTPClient

func (o *AddManifestLabelParams) WithHTTPClient(client *http.Client) *AddManifestLabelParams

WithHTTPClient adds the HTTPClient to the add manifest label params

func (*AddManifestLabelParams) WithManifestref

func (o *AddManifestLabelParams) WithManifestref(manifestref string) *AddManifestLabelParams

WithManifestref adds the manifestref to the add manifest label params

func (*AddManifestLabelParams) WithRepository

func (o *AddManifestLabelParams) WithRepository(repository string) *AddManifestLabelParams

WithRepository adds the repository to the add manifest label params

func (*AddManifestLabelParams) WithTimeout

WithTimeout adds the timeout to the add manifest label params

func (*AddManifestLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AddManifestLabelReader

type AddManifestLabelReader struct {
	// contains filtered or unexported fields
}

AddManifestLabelReader is a Reader for the AddManifestLabel structure.

func (*AddManifestLabelReader) ReadResponse

func (o *AddManifestLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AddManifestLabelUnauthorized

type AddManifestLabelUnauthorized struct {
	Payload *models.APIError
}

AddManifestLabelUnauthorized handles this case with default header values.

Session required

func NewAddManifestLabelUnauthorized

func NewAddManifestLabelUnauthorized() *AddManifestLabelUnauthorized

NewAddManifestLabelUnauthorized creates a AddManifestLabelUnauthorized with default headers values

func (*AddManifestLabelUnauthorized) Error

func (*AddManifestLabelUnauthorized) GetPayload

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

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for manifest API

func (*Client) AddManifestLabel

func (a *Client) AddManifestLabel(params *AddManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*AddManifestLabelCreated, error)

AddManifestLabel Adds a new label into the tag manifest.

func (*Client) DeleteManifestLabel

DeleteManifestLabel Deletes an existing label from a manifest.

func (*Client) GetManifestLabel

func (a *Client) GetManifestLabel(params *GetManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*GetManifestLabelOK, error)

GetManifestLabel Retrieves the label with the specific ID under the manifest.

func (*Client) GetRepoManifest

func (a *Client) GetRepoManifest(params *GetRepoManifestParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoManifestOK, error)

GetRepoManifest get repo manifest API

func (*Client) ListManifestLabels

func (a *Client) ListManifestLabels(params *ListManifestLabelsParams, authInfo runtime.ClientAuthInfoWriter) (*ListManifestLabelsOK, error)

ListManifestLabels list manifest labels API

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AddManifestLabel(params *AddManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*AddManifestLabelCreated, error)

	DeleteManifestLabel(params *DeleteManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteManifestLabelNoContent, error)

	GetManifestLabel(params *GetManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*GetManifestLabelOK, error)

	GetRepoManifest(params *GetRepoManifestParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoManifestOK, error)

	ListManifestLabels(params *ListManifestLabelsParams, authInfo runtime.ClientAuthInfoWriter) (*ListManifestLabelsOK, 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 manifest API client.

type DeleteManifestLabelBadRequest

type DeleteManifestLabelBadRequest struct {
	Payload *models.APIError
}

DeleteManifestLabelBadRequest handles this case with default header values.

Bad Request

func NewDeleteManifestLabelBadRequest

func NewDeleteManifestLabelBadRequest() *DeleteManifestLabelBadRequest

NewDeleteManifestLabelBadRequest creates a DeleteManifestLabelBadRequest with default headers values

func (*DeleteManifestLabelBadRequest) Error

func (*DeleteManifestLabelBadRequest) GetPayload

type DeleteManifestLabelForbidden

type DeleteManifestLabelForbidden struct {
	Payload *models.APIError
}

DeleteManifestLabelForbidden handles this case with default header values.

Unauthorized access

func NewDeleteManifestLabelForbidden

func NewDeleteManifestLabelForbidden() *DeleteManifestLabelForbidden

NewDeleteManifestLabelForbidden creates a DeleteManifestLabelForbidden with default headers values

func (*DeleteManifestLabelForbidden) Error

func (*DeleteManifestLabelForbidden) GetPayload

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

type DeleteManifestLabelNoContent

type DeleteManifestLabelNoContent struct {
}

DeleteManifestLabelNoContent handles this case with default header values.

Deleted

func NewDeleteManifestLabelNoContent

func NewDeleteManifestLabelNoContent() *DeleteManifestLabelNoContent

NewDeleteManifestLabelNoContent creates a DeleteManifestLabelNoContent with default headers values

func (*DeleteManifestLabelNoContent) Error

type DeleteManifestLabelNotFound

type DeleteManifestLabelNotFound struct {
	Payload *models.APIError
}

DeleteManifestLabelNotFound handles this case with default header values.

Not found

func NewDeleteManifestLabelNotFound

func NewDeleteManifestLabelNotFound() *DeleteManifestLabelNotFound

NewDeleteManifestLabelNotFound creates a DeleteManifestLabelNotFound with default headers values

func (*DeleteManifestLabelNotFound) Error

func (*DeleteManifestLabelNotFound) GetPayload

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

type DeleteManifestLabelParams

type DeleteManifestLabelParams struct {

	/*Labelid
	  The ID of the label

	*/
	Labelid string
	/*Manifestref
	  The digest of the manifest

	*/
	Manifestref string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

DeleteManifestLabelParams contains all the parameters to send to the API endpoint for the delete manifest label operation typically these are written to a http.Request

func NewDeleteManifestLabelParams

func NewDeleteManifestLabelParams() *DeleteManifestLabelParams

NewDeleteManifestLabelParams creates a new DeleteManifestLabelParams object with the default values initialized.

func NewDeleteManifestLabelParamsWithContext

func NewDeleteManifestLabelParamsWithContext(ctx context.Context) *DeleteManifestLabelParams

NewDeleteManifestLabelParamsWithContext creates a new DeleteManifestLabelParams object with the default values initialized, and the ability to set a context for a request

func NewDeleteManifestLabelParamsWithHTTPClient

func NewDeleteManifestLabelParamsWithHTTPClient(client *http.Client) *DeleteManifestLabelParams

NewDeleteManifestLabelParamsWithHTTPClient creates a new DeleteManifestLabelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewDeleteManifestLabelParamsWithTimeout

func NewDeleteManifestLabelParamsWithTimeout(timeout time.Duration) *DeleteManifestLabelParams

NewDeleteManifestLabelParamsWithTimeout creates a new DeleteManifestLabelParams object with the default values initialized, and the ability to set a timeout on a request

func (*DeleteManifestLabelParams) SetContext

func (o *DeleteManifestLabelParams) SetContext(ctx context.Context)

SetContext adds the context to the delete manifest label params

func (*DeleteManifestLabelParams) SetHTTPClient

func (o *DeleteManifestLabelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the delete manifest label params

func (*DeleteManifestLabelParams) SetLabelid

func (o *DeleteManifestLabelParams) SetLabelid(labelid string)

SetLabelid adds the labelid to the delete manifest label params

func (*DeleteManifestLabelParams) SetManifestref

func (o *DeleteManifestLabelParams) SetManifestref(manifestref string)

SetManifestref adds the manifestref to the delete manifest label params

func (*DeleteManifestLabelParams) SetRepository

func (o *DeleteManifestLabelParams) SetRepository(repository string)

SetRepository adds the repository to the delete manifest label params

func (*DeleteManifestLabelParams) SetTimeout

func (o *DeleteManifestLabelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the delete manifest label params

func (*DeleteManifestLabelParams) WithContext

WithContext adds the context to the delete manifest label params

func (*DeleteManifestLabelParams) WithHTTPClient

func (o *DeleteManifestLabelParams) WithHTTPClient(client *http.Client) *DeleteManifestLabelParams

WithHTTPClient adds the HTTPClient to the delete manifest label params

func (*DeleteManifestLabelParams) WithLabelid

WithLabelid adds the labelid to the delete manifest label params

func (*DeleteManifestLabelParams) WithManifestref

func (o *DeleteManifestLabelParams) WithManifestref(manifestref string) *DeleteManifestLabelParams

WithManifestref adds the manifestref to the delete manifest label params

func (*DeleteManifestLabelParams) WithRepository

func (o *DeleteManifestLabelParams) WithRepository(repository string) *DeleteManifestLabelParams

WithRepository adds the repository to the delete manifest label params

func (*DeleteManifestLabelParams) WithTimeout

WithTimeout adds the timeout to the delete manifest label params

func (*DeleteManifestLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type DeleteManifestLabelReader

type DeleteManifestLabelReader struct {
	// contains filtered or unexported fields
}

DeleteManifestLabelReader is a Reader for the DeleteManifestLabel structure.

func (*DeleteManifestLabelReader) ReadResponse

func (o *DeleteManifestLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type DeleteManifestLabelUnauthorized

type DeleteManifestLabelUnauthorized struct {
	Payload *models.APIError
}

DeleteManifestLabelUnauthorized handles this case with default header values.

Session required

func NewDeleteManifestLabelUnauthorized

func NewDeleteManifestLabelUnauthorized() *DeleteManifestLabelUnauthorized

NewDeleteManifestLabelUnauthorized creates a DeleteManifestLabelUnauthorized with default headers values

func (*DeleteManifestLabelUnauthorized) Error

func (*DeleteManifestLabelUnauthorized) GetPayload

type GetManifestLabelBadRequest

type GetManifestLabelBadRequest struct {
	Payload *models.APIError
}

GetManifestLabelBadRequest handles this case with default header values.

Bad Request

func NewGetManifestLabelBadRequest

func NewGetManifestLabelBadRequest() *GetManifestLabelBadRequest

NewGetManifestLabelBadRequest creates a GetManifestLabelBadRequest with default headers values

func (*GetManifestLabelBadRequest) Error

func (*GetManifestLabelBadRequest) GetPayload

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

type GetManifestLabelForbidden

type GetManifestLabelForbidden struct {
	Payload *models.APIError
}

GetManifestLabelForbidden handles this case with default header values.

Unauthorized access

func NewGetManifestLabelForbidden

func NewGetManifestLabelForbidden() *GetManifestLabelForbidden

NewGetManifestLabelForbidden creates a GetManifestLabelForbidden with default headers values

func (*GetManifestLabelForbidden) Error

func (o *GetManifestLabelForbidden) Error() string

func (*GetManifestLabelForbidden) GetPayload

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

type GetManifestLabelNotFound

type GetManifestLabelNotFound struct {
	Payload *models.APIError
}

GetManifestLabelNotFound handles this case with default header values.

Not found

func NewGetManifestLabelNotFound

func NewGetManifestLabelNotFound() *GetManifestLabelNotFound

NewGetManifestLabelNotFound creates a GetManifestLabelNotFound with default headers values

func (*GetManifestLabelNotFound) Error

func (o *GetManifestLabelNotFound) Error() string

func (*GetManifestLabelNotFound) GetPayload

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

type GetManifestLabelOK

type GetManifestLabelOK struct {
}

GetManifestLabelOK handles this case with default header values.

Successful invocation

func NewGetManifestLabelOK

func NewGetManifestLabelOK() *GetManifestLabelOK

NewGetManifestLabelOK creates a GetManifestLabelOK with default headers values

func (*GetManifestLabelOK) Error

func (o *GetManifestLabelOK) Error() string

type GetManifestLabelParams

type GetManifestLabelParams struct {

	/*Labelid
	  The ID of the label

	*/
	Labelid string
	/*Manifestref
	  The digest of the manifest

	*/
	Manifestref string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetManifestLabelParams contains all the parameters to send to the API endpoint for the get manifest label operation typically these are written to a http.Request

func NewGetManifestLabelParams

func NewGetManifestLabelParams() *GetManifestLabelParams

NewGetManifestLabelParams creates a new GetManifestLabelParams object with the default values initialized.

func NewGetManifestLabelParamsWithContext

func NewGetManifestLabelParamsWithContext(ctx context.Context) *GetManifestLabelParams

NewGetManifestLabelParamsWithContext creates a new GetManifestLabelParams object with the default values initialized, and the ability to set a context for a request

func NewGetManifestLabelParamsWithHTTPClient

func NewGetManifestLabelParamsWithHTTPClient(client *http.Client) *GetManifestLabelParams

NewGetManifestLabelParamsWithHTTPClient creates a new GetManifestLabelParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetManifestLabelParamsWithTimeout

func NewGetManifestLabelParamsWithTimeout(timeout time.Duration) *GetManifestLabelParams

NewGetManifestLabelParamsWithTimeout creates a new GetManifestLabelParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetManifestLabelParams) SetContext

func (o *GetManifestLabelParams) SetContext(ctx context.Context)

SetContext adds the context to the get manifest label params

func (*GetManifestLabelParams) SetHTTPClient

func (o *GetManifestLabelParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get manifest label params

func (*GetManifestLabelParams) SetLabelid

func (o *GetManifestLabelParams) SetLabelid(labelid string)

SetLabelid adds the labelid to the get manifest label params

func (*GetManifestLabelParams) SetManifestref

func (o *GetManifestLabelParams) SetManifestref(manifestref string)

SetManifestref adds the manifestref to the get manifest label params

func (*GetManifestLabelParams) SetRepository

func (o *GetManifestLabelParams) SetRepository(repository string)

SetRepository adds the repository to the get manifest label params

func (*GetManifestLabelParams) SetTimeout

func (o *GetManifestLabelParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get manifest label params

func (*GetManifestLabelParams) WithContext

WithContext adds the context to the get manifest label params

func (*GetManifestLabelParams) WithHTTPClient

func (o *GetManifestLabelParams) WithHTTPClient(client *http.Client) *GetManifestLabelParams

WithHTTPClient adds the HTTPClient to the get manifest label params

func (*GetManifestLabelParams) WithLabelid

func (o *GetManifestLabelParams) WithLabelid(labelid string) *GetManifestLabelParams

WithLabelid adds the labelid to the get manifest label params

func (*GetManifestLabelParams) WithManifestref

func (o *GetManifestLabelParams) WithManifestref(manifestref string) *GetManifestLabelParams

WithManifestref adds the manifestref to the get manifest label params

func (*GetManifestLabelParams) WithRepository

func (o *GetManifestLabelParams) WithRepository(repository string) *GetManifestLabelParams

WithRepository adds the repository to the get manifest label params

func (*GetManifestLabelParams) WithTimeout

WithTimeout adds the timeout to the get manifest label params

func (*GetManifestLabelParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetManifestLabelReader

type GetManifestLabelReader struct {
	// contains filtered or unexported fields
}

GetManifestLabelReader is a Reader for the GetManifestLabel structure.

func (*GetManifestLabelReader) ReadResponse

func (o *GetManifestLabelReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetManifestLabelUnauthorized

type GetManifestLabelUnauthorized struct {
	Payload *models.APIError
}

GetManifestLabelUnauthorized handles this case with default header values.

Session required

func NewGetManifestLabelUnauthorized

func NewGetManifestLabelUnauthorized() *GetManifestLabelUnauthorized

NewGetManifestLabelUnauthorized creates a GetManifestLabelUnauthorized with default headers values

func (*GetManifestLabelUnauthorized) Error

func (*GetManifestLabelUnauthorized) GetPayload

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

type GetRepoManifestBadRequest

type GetRepoManifestBadRequest struct {
	Payload *models.APIError
}

GetRepoManifestBadRequest handles this case with default header values.

Bad Request

func NewGetRepoManifestBadRequest

func NewGetRepoManifestBadRequest() *GetRepoManifestBadRequest

NewGetRepoManifestBadRequest creates a GetRepoManifestBadRequest with default headers values

func (*GetRepoManifestBadRequest) Error

func (o *GetRepoManifestBadRequest) Error() string

func (*GetRepoManifestBadRequest) GetPayload

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

type GetRepoManifestForbidden

type GetRepoManifestForbidden struct {
	Payload *models.APIError
}

GetRepoManifestForbidden handles this case with default header values.

Unauthorized access

func NewGetRepoManifestForbidden

func NewGetRepoManifestForbidden() *GetRepoManifestForbidden

NewGetRepoManifestForbidden creates a GetRepoManifestForbidden with default headers values

func (*GetRepoManifestForbidden) Error

func (o *GetRepoManifestForbidden) Error() string

func (*GetRepoManifestForbidden) GetPayload

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

type GetRepoManifestNotFound

type GetRepoManifestNotFound struct {
	Payload *models.APIError
}

GetRepoManifestNotFound handles this case with default header values.

Not found

func NewGetRepoManifestNotFound

func NewGetRepoManifestNotFound() *GetRepoManifestNotFound

NewGetRepoManifestNotFound creates a GetRepoManifestNotFound with default headers values

func (*GetRepoManifestNotFound) Error

func (o *GetRepoManifestNotFound) Error() string

func (*GetRepoManifestNotFound) GetPayload

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

type GetRepoManifestOK

type GetRepoManifestOK struct {
}

GetRepoManifestOK handles this case with default header values.

Successful invocation

func NewGetRepoManifestOK

func NewGetRepoManifestOK() *GetRepoManifestOK

NewGetRepoManifestOK creates a GetRepoManifestOK with default headers values

func (*GetRepoManifestOK) Error

func (o *GetRepoManifestOK) Error() string

type GetRepoManifestParams

type GetRepoManifestParams struct {

	/*Manifestref
	  The digest of the manifest

	*/
	Manifestref string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetRepoManifestParams contains all the parameters to send to the API endpoint for the get repo manifest operation typically these are written to a http.Request

func NewGetRepoManifestParams

func NewGetRepoManifestParams() *GetRepoManifestParams

NewGetRepoManifestParams creates a new GetRepoManifestParams object with the default values initialized.

func NewGetRepoManifestParamsWithContext

func NewGetRepoManifestParamsWithContext(ctx context.Context) *GetRepoManifestParams

NewGetRepoManifestParamsWithContext creates a new GetRepoManifestParams object with the default values initialized, and the ability to set a context for a request

func NewGetRepoManifestParamsWithHTTPClient

func NewGetRepoManifestParamsWithHTTPClient(client *http.Client) *GetRepoManifestParams

NewGetRepoManifestParamsWithHTTPClient creates a new GetRepoManifestParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetRepoManifestParamsWithTimeout

func NewGetRepoManifestParamsWithTimeout(timeout time.Duration) *GetRepoManifestParams

NewGetRepoManifestParamsWithTimeout creates a new GetRepoManifestParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetRepoManifestParams) SetContext

func (o *GetRepoManifestParams) SetContext(ctx context.Context)

SetContext adds the context to the get repo manifest params

func (*GetRepoManifestParams) SetHTTPClient

func (o *GetRepoManifestParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get repo manifest params

func (*GetRepoManifestParams) SetManifestref

func (o *GetRepoManifestParams) SetManifestref(manifestref string)

SetManifestref adds the manifestref to the get repo manifest params

func (*GetRepoManifestParams) SetRepository

func (o *GetRepoManifestParams) SetRepository(repository string)

SetRepository adds the repository to the get repo manifest params

func (*GetRepoManifestParams) SetTimeout

func (o *GetRepoManifestParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get repo manifest params

func (*GetRepoManifestParams) WithContext

WithContext adds the context to the get repo manifest params

func (*GetRepoManifestParams) WithHTTPClient

func (o *GetRepoManifestParams) WithHTTPClient(client *http.Client) *GetRepoManifestParams

WithHTTPClient adds the HTTPClient to the get repo manifest params

func (*GetRepoManifestParams) WithManifestref

func (o *GetRepoManifestParams) WithManifestref(manifestref string) *GetRepoManifestParams

WithManifestref adds the manifestref to the get repo manifest params

func (*GetRepoManifestParams) WithRepository

func (o *GetRepoManifestParams) WithRepository(repository string) *GetRepoManifestParams

WithRepository adds the repository to the get repo manifest params

func (*GetRepoManifestParams) WithTimeout

func (o *GetRepoManifestParams) WithTimeout(timeout time.Duration) *GetRepoManifestParams

WithTimeout adds the timeout to the get repo manifest params

func (*GetRepoManifestParams) WriteToRequest

func (o *GetRepoManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetRepoManifestReader

type GetRepoManifestReader struct {
	// contains filtered or unexported fields
}

GetRepoManifestReader is a Reader for the GetRepoManifest structure.

func (*GetRepoManifestReader) ReadResponse

func (o *GetRepoManifestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetRepoManifestUnauthorized

type GetRepoManifestUnauthorized struct {
	Payload *models.APIError
}

GetRepoManifestUnauthorized handles this case with default header values.

Session required

func NewGetRepoManifestUnauthorized

func NewGetRepoManifestUnauthorized() *GetRepoManifestUnauthorized

NewGetRepoManifestUnauthorized creates a GetRepoManifestUnauthorized with default headers values

func (*GetRepoManifestUnauthorized) Error

func (*GetRepoManifestUnauthorized) GetPayload

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

type ListManifestLabelsBadRequest

type ListManifestLabelsBadRequest struct {
	Payload *models.APIError
}

ListManifestLabelsBadRequest handles this case with default header values.

Bad Request

func NewListManifestLabelsBadRequest

func NewListManifestLabelsBadRequest() *ListManifestLabelsBadRequest

NewListManifestLabelsBadRequest creates a ListManifestLabelsBadRequest with default headers values

func (*ListManifestLabelsBadRequest) Error

func (*ListManifestLabelsBadRequest) GetPayload

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

type ListManifestLabelsForbidden

type ListManifestLabelsForbidden struct {
	Payload *models.APIError
}

ListManifestLabelsForbidden handles this case with default header values.

Unauthorized access

func NewListManifestLabelsForbidden

func NewListManifestLabelsForbidden() *ListManifestLabelsForbidden

NewListManifestLabelsForbidden creates a ListManifestLabelsForbidden with default headers values

func (*ListManifestLabelsForbidden) Error

func (*ListManifestLabelsForbidden) GetPayload

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

type ListManifestLabelsNotFound

type ListManifestLabelsNotFound struct {
	Payload *models.APIError
}

ListManifestLabelsNotFound handles this case with default header values.

Not found

func NewListManifestLabelsNotFound

func NewListManifestLabelsNotFound() *ListManifestLabelsNotFound

NewListManifestLabelsNotFound creates a ListManifestLabelsNotFound with default headers values

func (*ListManifestLabelsNotFound) Error

func (*ListManifestLabelsNotFound) GetPayload

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

type ListManifestLabelsOK

type ListManifestLabelsOK struct {
}

ListManifestLabelsOK handles this case with default header values.

Successful invocation

func NewListManifestLabelsOK

func NewListManifestLabelsOK() *ListManifestLabelsOK

NewListManifestLabelsOK creates a ListManifestLabelsOK with default headers values

func (*ListManifestLabelsOK) Error

func (o *ListManifestLabelsOK) Error() string

type ListManifestLabelsParams

type ListManifestLabelsParams struct {

	/*Filter
	  If specified, only labels matching the given prefix will be returned

	*/
	Filter *string
	/*Manifestref
	  The digest of the manifest

	*/
	Manifestref string
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ListManifestLabelsParams contains all the parameters to send to the API endpoint for the list manifest labels operation typically these are written to a http.Request

func NewListManifestLabelsParams

func NewListManifestLabelsParams() *ListManifestLabelsParams

NewListManifestLabelsParams creates a new ListManifestLabelsParams object with the default values initialized.

func NewListManifestLabelsParamsWithContext

func NewListManifestLabelsParamsWithContext(ctx context.Context) *ListManifestLabelsParams

NewListManifestLabelsParamsWithContext creates a new ListManifestLabelsParams object with the default values initialized, and the ability to set a context for a request

func NewListManifestLabelsParamsWithHTTPClient

func NewListManifestLabelsParamsWithHTTPClient(client *http.Client) *ListManifestLabelsParams

NewListManifestLabelsParamsWithHTTPClient creates a new ListManifestLabelsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewListManifestLabelsParamsWithTimeout

func NewListManifestLabelsParamsWithTimeout(timeout time.Duration) *ListManifestLabelsParams

NewListManifestLabelsParamsWithTimeout creates a new ListManifestLabelsParams object with the default values initialized, and the ability to set a timeout on a request

func (*ListManifestLabelsParams) SetContext

func (o *ListManifestLabelsParams) SetContext(ctx context.Context)

SetContext adds the context to the list manifest labels params

func (*ListManifestLabelsParams) SetFilter

func (o *ListManifestLabelsParams) SetFilter(filter *string)

SetFilter adds the filter to the list manifest labels params

func (*ListManifestLabelsParams) SetHTTPClient

func (o *ListManifestLabelsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the list manifest labels params

func (*ListManifestLabelsParams) SetManifestref

func (o *ListManifestLabelsParams) SetManifestref(manifestref string)

SetManifestref adds the manifestref to the list manifest labels params

func (*ListManifestLabelsParams) SetRepository

func (o *ListManifestLabelsParams) SetRepository(repository string)

SetRepository adds the repository to the list manifest labels params

func (*ListManifestLabelsParams) SetTimeout

func (o *ListManifestLabelsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the list manifest labels params

func (*ListManifestLabelsParams) WithContext

WithContext adds the context to the list manifest labels params

func (*ListManifestLabelsParams) WithFilter

WithFilter adds the filter to the list manifest labels params

func (*ListManifestLabelsParams) WithHTTPClient

func (o *ListManifestLabelsParams) WithHTTPClient(client *http.Client) *ListManifestLabelsParams

WithHTTPClient adds the HTTPClient to the list manifest labels params

func (*ListManifestLabelsParams) WithManifestref

func (o *ListManifestLabelsParams) WithManifestref(manifestref string) *ListManifestLabelsParams

WithManifestref adds the manifestref to the list manifest labels params

func (*ListManifestLabelsParams) WithRepository

func (o *ListManifestLabelsParams) WithRepository(repository string) *ListManifestLabelsParams

WithRepository adds the repository to the list manifest labels params

func (*ListManifestLabelsParams) WithTimeout

WithTimeout adds the timeout to the list manifest labels params

func (*ListManifestLabelsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListManifestLabelsReader

type ListManifestLabelsReader struct {
	// contains filtered or unexported fields
}

ListManifestLabelsReader is a Reader for the ListManifestLabels structure.

func (*ListManifestLabelsReader) ReadResponse

func (o *ListManifestLabelsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ListManifestLabelsUnauthorized

type ListManifestLabelsUnauthorized struct {
	Payload *models.APIError
}

ListManifestLabelsUnauthorized handles this case with default header values.

Session required

func NewListManifestLabelsUnauthorized

func NewListManifestLabelsUnauthorized() *ListManifestLabelsUnauthorized

NewListManifestLabelsUnauthorized creates a ListManifestLabelsUnauthorized with default headers values

func (*ListManifestLabelsUnauthorized) Error

func (*ListManifestLabelsUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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