Documentation ¶
Index ¶
- type AddManifestLabelBadRequest
- type AddManifestLabelCreated
- type AddManifestLabelForbidden
- type AddManifestLabelNotFound
- type AddManifestLabelParams
- func NewAddManifestLabelParams() *AddManifestLabelParams
- func NewAddManifestLabelParamsWithContext(ctx context.Context) *AddManifestLabelParams
- func NewAddManifestLabelParamsWithHTTPClient(client *http.Client) *AddManifestLabelParams
- func NewAddManifestLabelParamsWithTimeout(timeout time.Duration) *AddManifestLabelParams
- func (o *AddManifestLabelParams) SetBody(body *models.AddLabel)
- func (o *AddManifestLabelParams) SetContext(ctx context.Context)
- func (o *AddManifestLabelParams) SetHTTPClient(client *http.Client)
- func (o *AddManifestLabelParams) SetManifestref(manifestref string)
- func (o *AddManifestLabelParams) SetRepository(repository string)
- func (o *AddManifestLabelParams) SetTimeout(timeout time.Duration)
- func (o *AddManifestLabelParams) WithBody(body *models.AddLabel) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WithContext(ctx context.Context) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WithHTTPClient(client *http.Client) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WithManifestref(manifestref string) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WithRepository(repository string) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WithTimeout(timeout time.Duration) *AddManifestLabelParams
- func (o *AddManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AddManifestLabelReader
- type AddManifestLabelUnauthorized
- type Client
- func (a *Client) AddManifestLabel(params *AddManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*AddManifestLabelCreated, error)
- func (a *Client) DeleteManifestLabel(params *DeleteManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteManifestLabelNoContent, error)
- func (a *Client) GetManifestLabel(params *GetManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*GetManifestLabelOK, error)
- func (a *Client) GetRepoManifest(params *GetRepoManifestParams, authInfo runtime.ClientAuthInfoWriter) (*GetRepoManifestOK, error)
- func (a *Client) ListManifestLabels(params *ListManifestLabelsParams, authInfo runtime.ClientAuthInfoWriter) (*ListManifestLabelsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type DeleteManifestLabelBadRequest
- type DeleteManifestLabelForbidden
- type DeleteManifestLabelNoContent
- type DeleteManifestLabelNotFound
- type DeleteManifestLabelParams
- func NewDeleteManifestLabelParams() *DeleteManifestLabelParams
- func NewDeleteManifestLabelParamsWithContext(ctx context.Context) *DeleteManifestLabelParams
- func NewDeleteManifestLabelParamsWithHTTPClient(client *http.Client) *DeleteManifestLabelParams
- func NewDeleteManifestLabelParamsWithTimeout(timeout time.Duration) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) SetContext(ctx context.Context)
- func (o *DeleteManifestLabelParams) SetHTTPClient(client *http.Client)
- func (o *DeleteManifestLabelParams) SetLabelid(labelid string)
- func (o *DeleteManifestLabelParams) SetManifestref(manifestref string)
- func (o *DeleteManifestLabelParams) SetRepository(repository string)
- func (o *DeleteManifestLabelParams) SetTimeout(timeout time.Duration)
- func (o *DeleteManifestLabelParams) WithContext(ctx context.Context) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WithHTTPClient(client *http.Client) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WithLabelid(labelid string) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WithManifestref(manifestref string) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WithRepository(repository string) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WithTimeout(timeout time.Duration) *DeleteManifestLabelParams
- func (o *DeleteManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteManifestLabelReader
- type DeleteManifestLabelUnauthorized
- type GetManifestLabelBadRequest
- type GetManifestLabelForbidden
- type GetManifestLabelNotFound
- type GetManifestLabelOK
- type GetManifestLabelParams
- func NewGetManifestLabelParams() *GetManifestLabelParams
- func NewGetManifestLabelParamsWithContext(ctx context.Context) *GetManifestLabelParams
- func NewGetManifestLabelParamsWithHTTPClient(client *http.Client) *GetManifestLabelParams
- func NewGetManifestLabelParamsWithTimeout(timeout time.Duration) *GetManifestLabelParams
- func (o *GetManifestLabelParams) SetContext(ctx context.Context)
- func (o *GetManifestLabelParams) SetHTTPClient(client *http.Client)
- func (o *GetManifestLabelParams) SetLabelid(labelid string)
- func (o *GetManifestLabelParams) SetManifestref(manifestref string)
- func (o *GetManifestLabelParams) SetRepository(repository string)
- func (o *GetManifestLabelParams) SetTimeout(timeout time.Duration)
- func (o *GetManifestLabelParams) WithContext(ctx context.Context) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WithHTTPClient(client *http.Client) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WithLabelid(labelid string) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WithManifestref(manifestref string) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WithRepository(repository string) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WithTimeout(timeout time.Duration) *GetManifestLabelParams
- func (o *GetManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetManifestLabelReader
- type GetManifestLabelUnauthorized
- type GetRepoManifestBadRequest
- type GetRepoManifestForbidden
- type GetRepoManifestNotFound
- type GetRepoManifestOK
- type GetRepoManifestParams
- func NewGetRepoManifestParams() *GetRepoManifestParams
- func NewGetRepoManifestParamsWithContext(ctx context.Context) *GetRepoManifestParams
- func NewGetRepoManifestParamsWithHTTPClient(client *http.Client) *GetRepoManifestParams
- func NewGetRepoManifestParamsWithTimeout(timeout time.Duration) *GetRepoManifestParams
- func (o *GetRepoManifestParams) SetContext(ctx context.Context)
- func (o *GetRepoManifestParams) SetHTTPClient(client *http.Client)
- func (o *GetRepoManifestParams) SetManifestref(manifestref string)
- func (o *GetRepoManifestParams) SetRepository(repository string)
- func (o *GetRepoManifestParams) SetTimeout(timeout time.Duration)
- func (o *GetRepoManifestParams) WithContext(ctx context.Context) *GetRepoManifestParams
- func (o *GetRepoManifestParams) WithHTTPClient(client *http.Client) *GetRepoManifestParams
- func (o *GetRepoManifestParams) WithManifestref(manifestref string) *GetRepoManifestParams
- func (o *GetRepoManifestParams) WithRepository(repository string) *GetRepoManifestParams
- func (o *GetRepoManifestParams) WithTimeout(timeout time.Duration) *GetRepoManifestParams
- func (o *GetRepoManifestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRepoManifestReader
- type GetRepoManifestUnauthorized
- type ListManifestLabelsBadRequest
- type ListManifestLabelsForbidden
- type ListManifestLabelsNotFound
- type ListManifestLabelsOK
- type ListManifestLabelsParams
- func NewListManifestLabelsParams() *ListManifestLabelsParams
- func NewListManifestLabelsParamsWithContext(ctx context.Context) *ListManifestLabelsParams
- func NewListManifestLabelsParamsWithHTTPClient(client *http.Client) *ListManifestLabelsParams
- func NewListManifestLabelsParamsWithTimeout(timeout time.Duration) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) SetContext(ctx context.Context)
- func (o *ListManifestLabelsParams) SetFilter(filter *string)
- func (o *ListManifestLabelsParams) SetHTTPClient(client *http.Client)
- func (o *ListManifestLabelsParams) SetManifestref(manifestref string)
- func (o *ListManifestLabelsParams) SetRepository(repository string)
- func (o *ListManifestLabelsParams) SetTimeout(timeout time.Duration)
- func (o *ListManifestLabelsParams) WithContext(ctx context.Context) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WithFilter(filter *string) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WithHTTPClient(client *http.Client) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WithManifestref(manifestref string) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WithRepository(repository string) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WithTimeout(timeout time.Duration) *ListManifestLabelsParams
- func (o *ListManifestLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListManifestLabelsReader
- type ListManifestLabelsUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddManifestLabelBadRequest ¶
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 (o *AddManifestLabelBadRequest) Error() string
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 ¶
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 ¶
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 ¶
func (o *AddManifestLabelParams) WithBody(body *models.AddLabel) *AddManifestLabelParams
WithBody adds the body to the add manifest label params
func (*AddManifestLabelParams) WithContext ¶
func (o *AddManifestLabelParams) WithContext(ctx context.Context) *AddManifestLabelParams
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 ¶
func (o *AddManifestLabelParams) WithTimeout(timeout time.Duration) *AddManifestLabelParams
WithTimeout adds the timeout to the add manifest label params
func (*AddManifestLabelParams) WriteToRequest ¶
func (o *AddManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AddManifestLabelUnauthorized) Error() string
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 ¶
func (a *Client) DeleteManifestLabel(params *DeleteManifestLabelParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteManifestLabelNoContent, error)
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 ¶
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 (o *DeleteManifestLabelBadRequest) Error() string
func (*DeleteManifestLabelBadRequest) GetPayload ¶
func (o *DeleteManifestLabelBadRequest) GetPayload() *models.APIError
type DeleteManifestLabelForbidden ¶
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 (o *DeleteManifestLabelForbidden) Error() string
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 ¶
func (o *DeleteManifestLabelNoContent) Error() string
type DeleteManifestLabelNotFound ¶
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 (o *DeleteManifestLabelNotFound) Error() string
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 ¶
func (o *DeleteManifestLabelParams) WithContext(ctx context.Context) *DeleteManifestLabelParams
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 ¶
func (o *DeleteManifestLabelParams) WithLabelid(labelid string) *DeleteManifestLabelParams
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 ¶
func (o *DeleteManifestLabelParams) WithTimeout(timeout time.Duration) *DeleteManifestLabelParams
WithTimeout adds the timeout to the delete manifest label params
func (*DeleteManifestLabelParams) WriteToRequest ¶
func (o *DeleteManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *DeleteManifestLabelUnauthorized) Error() string
func (*DeleteManifestLabelUnauthorized) GetPayload ¶
func (o *DeleteManifestLabelUnauthorized) GetPayload() *models.APIError
type GetManifestLabelBadRequest ¶
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 (o *GetManifestLabelBadRequest) Error() string
func (*GetManifestLabelBadRequest) GetPayload ¶
func (o *GetManifestLabelBadRequest) GetPayload() *models.APIError
type GetManifestLabelForbidden ¶
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 ¶
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 ¶
func (o *GetManifestLabelParams) WithContext(ctx context.Context) *GetManifestLabelParams
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 ¶
func (o *GetManifestLabelParams) WithTimeout(timeout time.Duration) *GetManifestLabelParams
WithTimeout adds the timeout to the get manifest label params
func (*GetManifestLabelParams) WriteToRequest ¶
func (o *GetManifestLabelParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetManifestLabelUnauthorized) Error() string
func (*GetManifestLabelUnauthorized) GetPayload ¶
func (o *GetManifestLabelUnauthorized) GetPayload() *models.APIError
type GetRepoManifestBadRequest ¶
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 ¶
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 ¶
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 ¶
func (o *GetRepoManifestParams) WithContext(ctx context.Context) *GetRepoManifestParams
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 {
}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 (o *GetRepoManifestUnauthorized) Error() string
func (*GetRepoManifestUnauthorized) GetPayload ¶
func (o *GetRepoManifestUnauthorized) GetPayload() *models.APIError
type ListManifestLabelsBadRequest ¶
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 (o *ListManifestLabelsBadRequest) Error() string
func (*ListManifestLabelsBadRequest) GetPayload ¶
func (o *ListManifestLabelsBadRequest) GetPayload() *models.APIError
type ListManifestLabelsForbidden ¶
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 (o *ListManifestLabelsForbidden) Error() string
func (*ListManifestLabelsForbidden) GetPayload ¶
func (o *ListManifestLabelsForbidden) GetPayload() *models.APIError
type ListManifestLabelsNotFound ¶
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 (o *ListManifestLabelsNotFound) Error() string
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 ¶
func (o *ListManifestLabelsParams) WithContext(ctx context.Context) *ListManifestLabelsParams
WithContext adds the context to the list manifest labels params
func (*ListManifestLabelsParams) WithFilter ¶
func (o *ListManifestLabelsParams) WithFilter(filter *string) *ListManifestLabelsParams
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 ¶
func (o *ListManifestLabelsParams) WithTimeout(timeout time.Duration) *ListManifestLabelsParams
WithTimeout adds the timeout to the list manifest labels params
func (*ListManifestLabelsParams) WriteToRequest ¶
func (o *ListManifestLabelsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *ListManifestLabelsUnauthorized) Error() string
func (*ListManifestLabelsUnauthorized) GetPayload ¶
func (o *ListManifestLabelsUnauthorized) GetPayload() *models.APIError
Source Files ¶
- add_manifest_label_parameters.go
- add_manifest_label_responses.go
- delete_manifest_label_parameters.go
- delete_manifest_label_responses.go
- get_manifest_label_parameters.go
- get_manifest_label_responses.go
- get_repo_manifest_parameters.go
- get_repo_manifest_responses.go
- list_manifest_labels_parameters.go
- list_manifest_labels_responses.go
- manifest_client.go