tag

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangeTagBadRequest

type ChangeTagBadRequest struct {
	Payload *models.APIError
}

ChangeTagBadRequest handles this case with default header values.

Bad Request

func NewChangeTagBadRequest

func NewChangeTagBadRequest() *ChangeTagBadRequest

NewChangeTagBadRequest creates a ChangeTagBadRequest with default headers values

func (*ChangeTagBadRequest) Error

func (o *ChangeTagBadRequest) Error() string

func (*ChangeTagBadRequest) GetPayload

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

type ChangeTagForbidden

type ChangeTagForbidden struct {
	Payload *models.APIError
}

ChangeTagForbidden handles this case with default header values.

Unauthorized access

func NewChangeTagForbidden

func NewChangeTagForbidden() *ChangeTagForbidden

NewChangeTagForbidden creates a ChangeTagForbidden with default headers values

func (*ChangeTagForbidden) Error

func (o *ChangeTagForbidden) Error() string

func (*ChangeTagForbidden) GetPayload

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

type ChangeTagNotFound

type ChangeTagNotFound struct {
	Payload *models.APIError
}

ChangeTagNotFound handles this case with default header values.

Not found

func NewChangeTagNotFound

func NewChangeTagNotFound() *ChangeTagNotFound

NewChangeTagNotFound creates a ChangeTagNotFound with default headers values

func (*ChangeTagNotFound) Error

func (o *ChangeTagNotFound) Error() string

func (*ChangeTagNotFound) GetPayload

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

type ChangeTagOK

type ChangeTagOK struct {
}

ChangeTagOK handles this case with default header values.

Successful invocation

func NewChangeTagOK

func NewChangeTagOK() *ChangeTagOK

NewChangeTagOK creates a ChangeTagOK with default headers values

func (*ChangeTagOK) Error

func (o *ChangeTagOK) Error() string

type ChangeTagParams

type ChangeTagParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.ChangeTag
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*Tag
	  The name of the tag

	*/
	Tag string

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

ChangeTagParams contains all the parameters to send to the API endpoint for the change tag operation typically these are written to a http.Request

func NewChangeTagParams

func NewChangeTagParams() *ChangeTagParams

NewChangeTagParams creates a new ChangeTagParams object with the default values initialized.

func NewChangeTagParamsWithContext

func NewChangeTagParamsWithContext(ctx context.Context) *ChangeTagParams

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

func NewChangeTagParamsWithHTTPClient

func NewChangeTagParamsWithHTTPClient(client *http.Client) *ChangeTagParams

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

func NewChangeTagParamsWithTimeout

func NewChangeTagParamsWithTimeout(timeout time.Duration) *ChangeTagParams

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

func (*ChangeTagParams) SetBody

func (o *ChangeTagParams) SetBody(body *models.ChangeTag)

SetBody adds the body to the change tag params

func (*ChangeTagParams) SetContext

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

SetContext adds the context to the change tag params

func (*ChangeTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the change tag params

func (*ChangeTagParams) SetRepository

func (o *ChangeTagParams) SetRepository(repository string)

SetRepository adds the repository to the change tag params

func (*ChangeTagParams) SetTag

func (o *ChangeTagParams) SetTag(tag string)

SetTag adds the tag to the change tag params

func (*ChangeTagParams) SetTimeout

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

SetTimeout adds the timeout to the change tag params

func (*ChangeTagParams) WithBody

func (o *ChangeTagParams) WithBody(body *models.ChangeTag) *ChangeTagParams

WithBody adds the body to the change tag params

func (*ChangeTagParams) WithContext

func (o *ChangeTagParams) WithContext(ctx context.Context) *ChangeTagParams

WithContext adds the context to the change tag params

func (*ChangeTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the change tag params

func (*ChangeTagParams) WithRepository

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

WithRepository adds the repository to the change tag params

func (*ChangeTagParams) WithTag

func (o *ChangeTagParams) WithTag(tag string) *ChangeTagParams

WithTag adds the tag to the change tag params

func (*ChangeTagParams) WithTimeout

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

WithTimeout adds the timeout to the change tag params

func (*ChangeTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ChangeTagReader

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

ChangeTagReader is a Reader for the ChangeTag structure.

func (*ChangeTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ChangeTagUnauthorized

type ChangeTagUnauthorized struct {
	Payload *models.APIError
}

ChangeTagUnauthorized handles this case with default header values.

Session required

func NewChangeTagUnauthorized

func NewChangeTagUnauthorized() *ChangeTagUnauthorized

NewChangeTagUnauthorized creates a ChangeTagUnauthorized with default headers values

func (*ChangeTagUnauthorized) Error

func (o *ChangeTagUnauthorized) Error() string

func (*ChangeTagUnauthorized) GetPayload

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

type Client

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

Client for tag API

func (*Client) ChangeTag

func (a *Client) ChangeTag(params *ChangeTagParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeTagOK, error)

ChangeTag Change which image a tag points to or create a new tag.

func (*Client) DeleteFullTag

func (a *Client) DeleteFullTag(params *DeleteFullTagParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFullTagNoContent, error)

DeleteFullTag Delete the specified repository tag.

func (*Client) ListRepoTags

func (a *Client) ListRepoTags(params *ListRepoTagsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoTagsOK, error)

ListRepoTags list repo tags API

func (*Client) ListTagImages

func (a *Client) ListTagImages(params *ListTagImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListTagImagesOK, error)

ListTagImages List the images for the specified repository tag.

func (*Client) RestoreTag

func (a *Client) RestoreTag(params *RestoreTagParams, authInfo runtime.ClientAuthInfoWriter) (*RestoreTagCreated, error)

RestoreTag Restores a repository tag back to a previous image in the repository.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	ChangeTag(params *ChangeTagParams, authInfo runtime.ClientAuthInfoWriter) (*ChangeTagOK, error)

	DeleteFullTag(params *DeleteFullTagParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteFullTagNoContent, error)

	ListRepoTags(params *ListRepoTagsParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepoTagsOK, error)

	ListTagImages(params *ListTagImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListTagImagesOK, error)

	RestoreTag(params *RestoreTagParams, authInfo runtime.ClientAuthInfoWriter) (*RestoreTagCreated, 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 tag API client.

type DeleteFullTagBadRequest

type DeleteFullTagBadRequest struct {
	Payload *models.APIError
}

DeleteFullTagBadRequest handles this case with default header values.

Bad Request

func NewDeleteFullTagBadRequest

func NewDeleteFullTagBadRequest() *DeleteFullTagBadRequest

NewDeleteFullTagBadRequest creates a DeleteFullTagBadRequest with default headers values

func (*DeleteFullTagBadRequest) Error

func (o *DeleteFullTagBadRequest) Error() string

func (*DeleteFullTagBadRequest) GetPayload

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

type DeleteFullTagForbidden

type DeleteFullTagForbidden struct {
	Payload *models.APIError
}

DeleteFullTagForbidden handles this case with default header values.

Unauthorized access

func NewDeleteFullTagForbidden

func NewDeleteFullTagForbidden() *DeleteFullTagForbidden

NewDeleteFullTagForbidden creates a DeleteFullTagForbidden with default headers values

func (*DeleteFullTagForbidden) Error

func (o *DeleteFullTagForbidden) Error() string

func (*DeleteFullTagForbidden) GetPayload

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

type DeleteFullTagNoContent

type DeleteFullTagNoContent struct {
}

DeleteFullTagNoContent handles this case with default header values.

Deleted

func NewDeleteFullTagNoContent

func NewDeleteFullTagNoContent() *DeleteFullTagNoContent

NewDeleteFullTagNoContent creates a DeleteFullTagNoContent with default headers values

func (*DeleteFullTagNoContent) Error

func (o *DeleteFullTagNoContent) Error() string

type DeleteFullTagNotFound

type DeleteFullTagNotFound struct {
	Payload *models.APIError
}

DeleteFullTagNotFound handles this case with default header values.

Not found

func NewDeleteFullTagNotFound

func NewDeleteFullTagNotFound() *DeleteFullTagNotFound

NewDeleteFullTagNotFound creates a DeleteFullTagNotFound with default headers values

func (*DeleteFullTagNotFound) Error

func (o *DeleteFullTagNotFound) Error() string

func (*DeleteFullTagNotFound) GetPayload

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

type DeleteFullTagParams

type DeleteFullTagParams struct {

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

	*/
	Repository string
	/*Tag
	  The name of the tag

	*/
	Tag string

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

DeleteFullTagParams contains all the parameters to send to the API endpoint for the delete full tag operation typically these are written to a http.Request

func NewDeleteFullTagParams

func NewDeleteFullTagParams() *DeleteFullTagParams

NewDeleteFullTagParams creates a new DeleteFullTagParams object with the default values initialized.

func NewDeleteFullTagParamsWithContext

func NewDeleteFullTagParamsWithContext(ctx context.Context) *DeleteFullTagParams

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

func NewDeleteFullTagParamsWithHTTPClient

func NewDeleteFullTagParamsWithHTTPClient(client *http.Client) *DeleteFullTagParams

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

func NewDeleteFullTagParamsWithTimeout

func NewDeleteFullTagParamsWithTimeout(timeout time.Duration) *DeleteFullTagParams

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

func (*DeleteFullTagParams) SetContext

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

SetContext adds the context to the delete full tag params

func (*DeleteFullTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete full tag params

func (*DeleteFullTagParams) SetRepository

func (o *DeleteFullTagParams) SetRepository(repository string)

SetRepository adds the repository to the delete full tag params

func (*DeleteFullTagParams) SetTag

func (o *DeleteFullTagParams) SetTag(tag string)

SetTag adds the tag to the delete full tag params

func (*DeleteFullTagParams) SetTimeout

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

SetTimeout adds the timeout to the delete full tag params

func (*DeleteFullTagParams) WithContext

WithContext adds the context to the delete full tag params

func (*DeleteFullTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete full tag params

func (*DeleteFullTagParams) WithRepository

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

WithRepository adds the repository to the delete full tag params

func (*DeleteFullTagParams) WithTag

WithTag adds the tag to the delete full tag params

func (*DeleteFullTagParams) WithTimeout

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

WithTimeout adds the timeout to the delete full tag params

func (*DeleteFullTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeleteFullTagReader

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

DeleteFullTagReader is a Reader for the DeleteFullTag structure.

func (*DeleteFullTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeleteFullTagUnauthorized

type DeleteFullTagUnauthorized struct {
	Payload *models.APIError
}

DeleteFullTagUnauthorized handles this case with default header values.

Session required

func NewDeleteFullTagUnauthorized

func NewDeleteFullTagUnauthorized() *DeleteFullTagUnauthorized

NewDeleteFullTagUnauthorized creates a DeleteFullTagUnauthorized with default headers values

func (*DeleteFullTagUnauthorized) Error

func (o *DeleteFullTagUnauthorized) Error() string

func (*DeleteFullTagUnauthorized) GetPayload

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

type ListRepoTagsBadRequest

type ListRepoTagsBadRequest struct {
	Payload *models.APIError
}

ListRepoTagsBadRequest handles this case with default header values.

Bad Request

func NewListRepoTagsBadRequest

func NewListRepoTagsBadRequest() *ListRepoTagsBadRequest

NewListRepoTagsBadRequest creates a ListRepoTagsBadRequest with default headers values

func (*ListRepoTagsBadRequest) Error

func (o *ListRepoTagsBadRequest) Error() string

func (*ListRepoTagsBadRequest) GetPayload

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

type ListRepoTagsForbidden

type ListRepoTagsForbidden struct {
	Payload *models.APIError
}

ListRepoTagsForbidden handles this case with default header values.

Unauthorized access

func NewListRepoTagsForbidden

func NewListRepoTagsForbidden() *ListRepoTagsForbidden

NewListRepoTagsForbidden creates a ListRepoTagsForbidden with default headers values

func (*ListRepoTagsForbidden) Error

func (o *ListRepoTagsForbidden) Error() string

func (*ListRepoTagsForbidden) GetPayload

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

type ListRepoTagsNotFound

type ListRepoTagsNotFound struct {
	Payload *models.APIError
}

ListRepoTagsNotFound handles this case with default header values.

Not found

func NewListRepoTagsNotFound

func NewListRepoTagsNotFound() *ListRepoTagsNotFound

NewListRepoTagsNotFound creates a ListRepoTagsNotFound with default headers values

func (*ListRepoTagsNotFound) Error

func (o *ListRepoTagsNotFound) Error() string

func (*ListRepoTagsNotFound) GetPayload

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

type ListRepoTagsOK

type ListRepoTagsOK struct {
}

ListRepoTagsOK handles this case with default header values.

Successful invocation

func NewListRepoTagsOK

func NewListRepoTagsOK() *ListRepoTagsOK

NewListRepoTagsOK creates a ListRepoTagsOK with default headers values

func (*ListRepoTagsOK) Error

func (o *ListRepoTagsOK) Error() string

type ListRepoTagsParams

type ListRepoTagsParams struct {

	/*Limit
	  Limit to the number of results to return per page. Max 100.

	*/
	Limit *int64
	/*OnlyActiveTags
	  Filter to only active tags.

	*/
	OnlyActiveTags *bool
	/*Page
	  Page index for the results. Default 1.

	*/
	Page *int64
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*SpecificTag
	  Filters the tags to the specific tag.

	*/
	SpecificTag *string

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

ListRepoTagsParams contains all the parameters to send to the API endpoint for the list repo tags operation typically these are written to a http.Request

func NewListRepoTagsParams

func NewListRepoTagsParams() *ListRepoTagsParams

NewListRepoTagsParams creates a new ListRepoTagsParams object with the default values initialized.

func NewListRepoTagsParamsWithContext

func NewListRepoTagsParamsWithContext(ctx context.Context) *ListRepoTagsParams

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

func NewListRepoTagsParamsWithHTTPClient

func NewListRepoTagsParamsWithHTTPClient(client *http.Client) *ListRepoTagsParams

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

func NewListRepoTagsParamsWithTimeout

func NewListRepoTagsParamsWithTimeout(timeout time.Duration) *ListRepoTagsParams

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

func (*ListRepoTagsParams) SetContext

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

SetContext adds the context to the list repo tags params

func (*ListRepoTagsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list repo tags params

func (*ListRepoTagsParams) SetLimit

func (o *ListRepoTagsParams) SetLimit(limit *int64)

SetLimit adds the limit to the list repo tags params

func (*ListRepoTagsParams) SetOnlyActiveTags

func (o *ListRepoTagsParams) SetOnlyActiveTags(onlyActiveTags *bool)

SetOnlyActiveTags adds the onlyActiveTags to the list repo tags params

func (*ListRepoTagsParams) SetPage

func (o *ListRepoTagsParams) SetPage(page *int64)

SetPage adds the page to the list repo tags params

func (*ListRepoTagsParams) SetRepository

func (o *ListRepoTagsParams) SetRepository(repository string)

SetRepository adds the repository to the list repo tags params

func (*ListRepoTagsParams) SetSpecificTag

func (o *ListRepoTagsParams) SetSpecificTag(specificTag *string)

SetSpecificTag adds the specificTag to the list repo tags params

func (*ListRepoTagsParams) SetTimeout

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

SetTimeout adds the timeout to the list repo tags params

func (*ListRepoTagsParams) WithContext

WithContext adds the context to the list repo tags params

func (*ListRepoTagsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list repo tags params

func (*ListRepoTagsParams) WithLimit

func (o *ListRepoTagsParams) WithLimit(limit *int64) *ListRepoTagsParams

WithLimit adds the limit to the list repo tags params

func (*ListRepoTagsParams) WithOnlyActiveTags

func (o *ListRepoTagsParams) WithOnlyActiveTags(onlyActiveTags *bool) *ListRepoTagsParams

WithOnlyActiveTags adds the onlyActiveTags to the list repo tags params

func (*ListRepoTagsParams) WithPage

func (o *ListRepoTagsParams) WithPage(page *int64) *ListRepoTagsParams

WithPage adds the page to the list repo tags params

func (*ListRepoTagsParams) WithRepository

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

WithRepository adds the repository to the list repo tags params

func (*ListRepoTagsParams) WithSpecificTag

func (o *ListRepoTagsParams) WithSpecificTag(specificTag *string) *ListRepoTagsParams

WithSpecificTag adds the specificTag to the list repo tags params

func (*ListRepoTagsParams) WithTimeout

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

WithTimeout adds the timeout to the list repo tags params

func (*ListRepoTagsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListRepoTagsReader

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

ListRepoTagsReader is a Reader for the ListRepoTags structure.

func (*ListRepoTagsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListRepoTagsUnauthorized

type ListRepoTagsUnauthorized struct {
	Payload *models.APIError
}

ListRepoTagsUnauthorized handles this case with default header values.

Session required

func NewListRepoTagsUnauthorized

func NewListRepoTagsUnauthorized() *ListRepoTagsUnauthorized

NewListRepoTagsUnauthorized creates a ListRepoTagsUnauthorized with default headers values

func (*ListRepoTagsUnauthorized) Error

func (o *ListRepoTagsUnauthorized) Error() string

func (*ListRepoTagsUnauthorized) GetPayload

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

type ListTagImagesBadRequest

type ListTagImagesBadRequest struct {
	Payload *models.APIError
}

ListTagImagesBadRequest handles this case with default header values.

Bad Request

func NewListTagImagesBadRequest

func NewListTagImagesBadRequest() *ListTagImagesBadRequest

NewListTagImagesBadRequest creates a ListTagImagesBadRequest with default headers values

func (*ListTagImagesBadRequest) Error

func (o *ListTagImagesBadRequest) Error() string

func (*ListTagImagesBadRequest) GetPayload

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

type ListTagImagesForbidden

type ListTagImagesForbidden struct {
	Payload *models.APIError
}

ListTagImagesForbidden handles this case with default header values.

Unauthorized access

func NewListTagImagesForbidden

func NewListTagImagesForbidden() *ListTagImagesForbidden

NewListTagImagesForbidden creates a ListTagImagesForbidden with default headers values

func (*ListTagImagesForbidden) Error

func (o *ListTagImagesForbidden) Error() string

func (*ListTagImagesForbidden) GetPayload

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

type ListTagImagesNotFound

type ListTagImagesNotFound struct {
	Payload *models.APIError
}

ListTagImagesNotFound handles this case with default header values.

Not found

func NewListTagImagesNotFound

func NewListTagImagesNotFound() *ListTagImagesNotFound

NewListTagImagesNotFound creates a ListTagImagesNotFound with default headers values

func (*ListTagImagesNotFound) Error

func (o *ListTagImagesNotFound) Error() string

func (*ListTagImagesNotFound) GetPayload

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

type ListTagImagesOK

type ListTagImagesOK struct {
}

ListTagImagesOK handles this case with default header values.

Successful invocation

func NewListTagImagesOK

func NewListTagImagesOK() *ListTagImagesOK

NewListTagImagesOK creates a ListTagImagesOK with default headers values

func (*ListTagImagesOK) Error

func (o *ListTagImagesOK) Error() string

type ListTagImagesParams

type ListTagImagesParams struct {

	/*Owned
	  If specified, only images wholely owned by this tag are returned.

	*/
	Owned *bool
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*Tag
	  The name of the tag

	*/
	Tag string

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

ListTagImagesParams contains all the parameters to send to the API endpoint for the list tag images operation typically these are written to a http.Request

func NewListTagImagesParams

func NewListTagImagesParams() *ListTagImagesParams

NewListTagImagesParams creates a new ListTagImagesParams object with the default values initialized.

func NewListTagImagesParamsWithContext

func NewListTagImagesParamsWithContext(ctx context.Context) *ListTagImagesParams

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

func NewListTagImagesParamsWithHTTPClient

func NewListTagImagesParamsWithHTTPClient(client *http.Client) *ListTagImagesParams

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

func NewListTagImagesParamsWithTimeout

func NewListTagImagesParamsWithTimeout(timeout time.Duration) *ListTagImagesParams

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

func (*ListTagImagesParams) SetContext

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

SetContext adds the context to the list tag images params

func (*ListTagImagesParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list tag images params

func (*ListTagImagesParams) SetOwned

func (o *ListTagImagesParams) SetOwned(owned *bool)

SetOwned adds the owned to the list tag images params

func (*ListTagImagesParams) SetRepository

func (o *ListTagImagesParams) SetRepository(repository string)

SetRepository adds the repository to the list tag images params

func (*ListTagImagesParams) SetTag

func (o *ListTagImagesParams) SetTag(tag string)

SetTag adds the tag to the list tag images params

func (*ListTagImagesParams) SetTimeout

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

SetTimeout adds the timeout to the list tag images params

func (*ListTagImagesParams) WithContext

WithContext adds the context to the list tag images params

func (*ListTagImagesParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list tag images params

func (*ListTagImagesParams) WithOwned

func (o *ListTagImagesParams) WithOwned(owned *bool) *ListTagImagesParams

WithOwned adds the owned to the list tag images params

func (*ListTagImagesParams) WithRepository

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

WithRepository adds the repository to the list tag images params

func (*ListTagImagesParams) WithTag

WithTag adds the tag to the list tag images params

func (*ListTagImagesParams) WithTimeout

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

WithTimeout adds the timeout to the list tag images params

func (*ListTagImagesParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ListTagImagesReader

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

ListTagImagesReader is a Reader for the ListTagImages structure.

func (*ListTagImagesReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListTagImagesUnauthorized

type ListTagImagesUnauthorized struct {
	Payload *models.APIError
}

ListTagImagesUnauthorized handles this case with default header values.

Session required

func NewListTagImagesUnauthorized

func NewListTagImagesUnauthorized() *ListTagImagesUnauthorized

NewListTagImagesUnauthorized creates a ListTagImagesUnauthorized with default headers values

func (*ListTagImagesUnauthorized) Error

func (o *ListTagImagesUnauthorized) Error() string

func (*ListTagImagesUnauthorized) GetPayload

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

type RestoreTagBadRequest

type RestoreTagBadRequest struct {
	Payload *models.APIError
}

RestoreTagBadRequest handles this case with default header values.

Bad Request

func NewRestoreTagBadRequest

func NewRestoreTagBadRequest() *RestoreTagBadRequest

NewRestoreTagBadRequest creates a RestoreTagBadRequest with default headers values

func (*RestoreTagBadRequest) Error

func (o *RestoreTagBadRequest) Error() string

func (*RestoreTagBadRequest) GetPayload

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

type RestoreTagCreated

type RestoreTagCreated struct {
}

RestoreTagCreated handles this case with default header values.

Successful creation

func NewRestoreTagCreated

func NewRestoreTagCreated() *RestoreTagCreated

NewRestoreTagCreated creates a RestoreTagCreated with default headers values

func (*RestoreTagCreated) Error

func (o *RestoreTagCreated) Error() string

type RestoreTagForbidden

type RestoreTagForbidden struct {
	Payload *models.APIError
}

RestoreTagForbidden handles this case with default header values.

Unauthorized access

func NewRestoreTagForbidden

func NewRestoreTagForbidden() *RestoreTagForbidden

NewRestoreTagForbidden creates a RestoreTagForbidden with default headers values

func (*RestoreTagForbidden) Error

func (o *RestoreTagForbidden) Error() string

func (*RestoreTagForbidden) GetPayload

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

type RestoreTagNotFound

type RestoreTagNotFound struct {
	Payload *models.APIError
}

RestoreTagNotFound handles this case with default header values.

Not found

func NewRestoreTagNotFound

func NewRestoreTagNotFound() *RestoreTagNotFound

NewRestoreTagNotFound creates a RestoreTagNotFound with default headers values

func (*RestoreTagNotFound) Error

func (o *RestoreTagNotFound) Error() string

func (*RestoreTagNotFound) GetPayload

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

type RestoreTagParams

type RestoreTagParams struct {

	/*Body
	  Request body contents.

	*/
	Body *models.RestoreTag
	/*Repository
	  The full path of the repository. e.g. namespace/name

	*/
	Repository string
	/*Tag
	  The name of the tag

	*/
	Tag string

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

RestoreTagParams contains all the parameters to send to the API endpoint for the restore tag operation typically these are written to a http.Request

func NewRestoreTagParams

func NewRestoreTagParams() *RestoreTagParams

NewRestoreTagParams creates a new RestoreTagParams object with the default values initialized.

func NewRestoreTagParamsWithContext

func NewRestoreTagParamsWithContext(ctx context.Context) *RestoreTagParams

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

func NewRestoreTagParamsWithHTTPClient

func NewRestoreTagParamsWithHTTPClient(client *http.Client) *RestoreTagParams

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

func NewRestoreTagParamsWithTimeout

func NewRestoreTagParamsWithTimeout(timeout time.Duration) *RestoreTagParams

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

func (*RestoreTagParams) SetBody

func (o *RestoreTagParams) SetBody(body *models.RestoreTag)

SetBody adds the body to the restore tag params

func (*RestoreTagParams) SetContext

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

SetContext adds the context to the restore tag params

func (*RestoreTagParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the restore tag params

func (*RestoreTagParams) SetRepository

func (o *RestoreTagParams) SetRepository(repository string)

SetRepository adds the repository to the restore tag params

func (*RestoreTagParams) SetTag

func (o *RestoreTagParams) SetTag(tag string)

SetTag adds the tag to the restore tag params

func (*RestoreTagParams) SetTimeout

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

SetTimeout adds the timeout to the restore tag params

func (*RestoreTagParams) WithBody

func (o *RestoreTagParams) WithBody(body *models.RestoreTag) *RestoreTagParams

WithBody adds the body to the restore tag params

func (*RestoreTagParams) WithContext

func (o *RestoreTagParams) WithContext(ctx context.Context) *RestoreTagParams

WithContext adds the context to the restore tag params

func (*RestoreTagParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the restore tag params

func (*RestoreTagParams) WithRepository

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

WithRepository adds the repository to the restore tag params

func (*RestoreTagParams) WithTag

func (o *RestoreTagParams) WithTag(tag string) *RestoreTagParams

WithTag adds the tag to the restore tag params

func (*RestoreTagParams) WithTimeout

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

WithTimeout adds the timeout to the restore tag params

func (*RestoreTagParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type RestoreTagReader

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

RestoreTagReader is a Reader for the RestoreTag structure.

func (*RestoreTagReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type RestoreTagUnauthorized

type RestoreTagUnauthorized struct {
	Payload *models.APIError
}

RestoreTagUnauthorized handles this case with default header values.

Session required

func NewRestoreTagUnauthorized

func NewRestoreTagUnauthorized() *RestoreTagUnauthorized

NewRestoreTagUnauthorized creates a RestoreTagUnauthorized with default headers values

func (*RestoreTagUnauthorized) Error

func (o *RestoreTagUnauthorized) Error() string

func (*RestoreTagUnauthorized) GetPayload

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

Jump to

Keyboard shortcuts

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