Documentation ¶
Index ¶
- type Client
- func (a *Client) GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageOK, error)
- func (a *Client) ListRepositoryImages(params *ListRepositoryImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepositoryImagesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetImageBadRequest
- type GetImageForbidden
- type GetImageNotFound
- type GetImageOK
- type GetImageParams
- func (o *GetImageParams) SetContext(ctx context.Context)
- func (o *GetImageParams) SetHTTPClient(client *http.Client)
- func (o *GetImageParams) SetImageID(imageID string)
- func (o *GetImageParams) SetRepository(repository string)
- func (o *GetImageParams) SetTimeout(timeout time.Duration)
- func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams
- func (o *GetImageParams) WithHTTPClient(client *http.Client) *GetImageParams
- func (o *GetImageParams) WithImageID(imageID string) *GetImageParams
- func (o *GetImageParams) WithRepository(repository string) *GetImageParams
- func (o *GetImageParams) WithTimeout(timeout time.Duration) *GetImageParams
- func (o *GetImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetImageReader
- type GetImageUnauthorized
- type ListRepositoryImagesBadRequest
- type ListRepositoryImagesForbidden
- type ListRepositoryImagesNotFound
- type ListRepositoryImagesOK
- type ListRepositoryImagesParams
- func NewListRepositoryImagesParams() *ListRepositoryImagesParams
- func NewListRepositoryImagesParamsWithContext(ctx context.Context) *ListRepositoryImagesParams
- func NewListRepositoryImagesParamsWithHTTPClient(client *http.Client) *ListRepositoryImagesParams
- func NewListRepositoryImagesParamsWithTimeout(timeout time.Duration) *ListRepositoryImagesParams
- func (o *ListRepositoryImagesParams) SetContext(ctx context.Context)
- func (o *ListRepositoryImagesParams) SetHTTPClient(client *http.Client)
- func (o *ListRepositoryImagesParams) SetRepository(repository string)
- func (o *ListRepositoryImagesParams) SetTimeout(timeout time.Duration)
- func (o *ListRepositoryImagesParams) WithContext(ctx context.Context) *ListRepositoryImagesParams
- func (o *ListRepositoryImagesParams) WithHTTPClient(client *http.Client) *ListRepositoryImagesParams
- func (o *ListRepositoryImagesParams) WithRepository(repository string) *ListRepositoryImagesParams
- func (o *ListRepositoryImagesParams) WithTimeout(timeout time.Duration) *ListRepositoryImagesParams
- func (o *ListRepositoryImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRepositoryImagesReader
- type ListRepositoryImagesUnauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for image API
func (*Client) GetImage ¶
func (a *Client) GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageOK, error)
GetImage Get the information available for the specified image.
func (*Client) ListRepositoryImages ¶
func (a *Client) ListRepositoryImages(params *ListRepositoryImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepositoryImagesOK, error)
ListRepositoryImages List the images for the specified repository.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetImage(params *GetImageParams, authInfo runtime.ClientAuthInfoWriter) (*GetImageOK, error) ListRepositoryImages(params *ListRepositoryImagesParams, authInfo runtime.ClientAuthInfoWriter) (*ListRepositoryImagesOK, 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 image API client.
type GetImageBadRequest ¶
GetImageBadRequest handles this case with default header values.
Bad Request
func NewGetImageBadRequest ¶
func NewGetImageBadRequest() *GetImageBadRequest
NewGetImageBadRequest creates a GetImageBadRequest with default headers values
func (*GetImageBadRequest) Error ¶
func (o *GetImageBadRequest) Error() string
func (*GetImageBadRequest) GetPayload ¶
func (o *GetImageBadRequest) GetPayload() *models.APIError
type GetImageForbidden ¶
GetImageForbidden handles this case with default header values.
Unauthorized access
func NewGetImageForbidden ¶
func NewGetImageForbidden() *GetImageForbidden
NewGetImageForbidden creates a GetImageForbidden with default headers values
func (*GetImageForbidden) Error ¶
func (o *GetImageForbidden) Error() string
func (*GetImageForbidden) GetPayload ¶
func (o *GetImageForbidden) GetPayload() *models.APIError
type GetImageNotFound ¶
GetImageNotFound handles this case with default header values.
Not found
func NewGetImageNotFound ¶
func NewGetImageNotFound() *GetImageNotFound
NewGetImageNotFound creates a GetImageNotFound with default headers values
func (*GetImageNotFound) Error ¶
func (o *GetImageNotFound) Error() string
func (*GetImageNotFound) GetPayload ¶
func (o *GetImageNotFound) GetPayload() *models.APIError
type GetImageOK ¶
type GetImageOK struct { }
GetImageOK handles this case with default header values.
Successful invocation
func NewGetImageOK ¶
func NewGetImageOK() *GetImageOK
NewGetImageOK creates a GetImageOK with default headers values
func (*GetImageOK) Error ¶
func (o *GetImageOK) Error() string
type GetImageParams ¶
type GetImageParams struct { /*ImageID The Docker image ID */ ImageID 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 }
GetImageParams contains all the parameters to send to the API endpoint for the get image operation typically these are written to a http.Request
func NewGetImageParams ¶
func NewGetImageParams() *GetImageParams
NewGetImageParams creates a new GetImageParams object with the default values initialized.
func NewGetImageParamsWithContext ¶
func NewGetImageParamsWithContext(ctx context.Context) *GetImageParams
NewGetImageParamsWithContext creates a new GetImageParams object with the default values initialized, and the ability to set a context for a request
func NewGetImageParamsWithHTTPClient ¶
func NewGetImageParamsWithHTTPClient(client *http.Client) *GetImageParams
NewGetImageParamsWithHTTPClient creates a new GetImageParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetImageParamsWithTimeout ¶
func NewGetImageParamsWithTimeout(timeout time.Duration) *GetImageParams
NewGetImageParamsWithTimeout creates a new GetImageParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetImageParams) SetContext ¶
func (o *GetImageParams) SetContext(ctx context.Context)
SetContext adds the context to the get image params
func (*GetImageParams) SetHTTPClient ¶
func (o *GetImageParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get image params
func (*GetImageParams) SetImageID ¶
func (o *GetImageParams) SetImageID(imageID string)
SetImageID adds the imageId to the get image params
func (*GetImageParams) SetRepository ¶
func (o *GetImageParams) SetRepository(repository string)
SetRepository adds the repository to the get image params
func (*GetImageParams) SetTimeout ¶
func (o *GetImageParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get image params
func (*GetImageParams) WithContext ¶
func (o *GetImageParams) WithContext(ctx context.Context) *GetImageParams
WithContext adds the context to the get image params
func (*GetImageParams) WithHTTPClient ¶
func (o *GetImageParams) WithHTTPClient(client *http.Client) *GetImageParams
WithHTTPClient adds the HTTPClient to the get image params
func (*GetImageParams) WithImageID ¶
func (o *GetImageParams) WithImageID(imageID string) *GetImageParams
WithImageID adds the imageID to the get image params
func (*GetImageParams) WithRepository ¶
func (o *GetImageParams) WithRepository(repository string) *GetImageParams
WithRepository adds the repository to the get image params
func (*GetImageParams) WithTimeout ¶
func (o *GetImageParams) WithTimeout(timeout time.Duration) *GetImageParams
WithTimeout adds the timeout to the get image params
func (*GetImageParams) WriteToRequest ¶
func (o *GetImageParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetImageReader ¶
type GetImageReader struct {
// contains filtered or unexported fields
}
GetImageReader is a Reader for the GetImage structure.
func (*GetImageReader) ReadResponse ¶
func (o *GetImageReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetImageUnauthorized ¶
type GetImageUnauthorized struct {
}GetImageUnauthorized handles this case with default header values.
Session required
func NewGetImageUnauthorized ¶
func NewGetImageUnauthorized() *GetImageUnauthorized
NewGetImageUnauthorized creates a GetImageUnauthorized with default headers values
func (*GetImageUnauthorized) Error ¶
func (o *GetImageUnauthorized) Error() string
func (*GetImageUnauthorized) GetPayload ¶
func (o *GetImageUnauthorized) GetPayload() *models.APIError
type ListRepositoryImagesBadRequest ¶
ListRepositoryImagesBadRequest handles this case with default header values.
Bad Request
func NewListRepositoryImagesBadRequest ¶
func NewListRepositoryImagesBadRequest() *ListRepositoryImagesBadRequest
NewListRepositoryImagesBadRequest creates a ListRepositoryImagesBadRequest with default headers values
func (*ListRepositoryImagesBadRequest) Error ¶
func (o *ListRepositoryImagesBadRequest) Error() string
func (*ListRepositoryImagesBadRequest) GetPayload ¶
func (o *ListRepositoryImagesBadRequest) GetPayload() *models.APIError
type ListRepositoryImagesForbidden ¶
ListRepositoryImagesForbidden handles this case with default header values.
Unauthorized access
func NewListRepositoryImagesForbidden ¶
func NewListRepositoryImagesForbidden() *ListRepositoryImagesForbidden
NewListRepositoryImagesForbidden creates a ListRepositoryImagesForbidden with default headers values
func (*ListRepositoryImagesForbidden) Error ¶
func (o *ListRepositoryImagesForbidden) Error() string
func (*ListRepositoryImagesForbidden) GetPayload ¶
func (o *ListRepositoryImagesForbidden) GetPayload() *models.APIError
type ListRepositoryImagesNotFound ¶
ListRepositoryImagesNotFound handles this case with default header values.
Not found
func NewListRepositoryImagesNotFound ¶
func NewListRepositoryImagesNotFound() *ListRepositoryImagesNotFound
NewListRepositoryImagesNotFound creates a ListRepositoryImagesNotFound with default headers values
func (*ListRepositoryImagesNotFound) Error ¶
func (o *ListRepositoryImagesNotFound) Error() string
func (*ListRepositoryImagesNotFound) GetPayload ¶
func (o *ListRepositoryImagesNotFound) GetPayload() *models.APIError
type ListRepositoryImagesOK ¶
type ListRepositoryImagesOK struct { }
ListRepositoryImagesOK handles this case with default header values.
Successful invocation
func NewListRepositoryImagesOK ¶
func NewListRepositoryImagesOK() *ListRepositoryImagesOK
NewListRepositoryImagesOK creates a ListRepositoryImagesOK with default headers values
func (*ListRepositoryImagesOK) Error ¶
func (o *ListRepositoryImagesOK) Error() string
type ListRepositoryImagesParams ¶
type ListRepositoryImagesParams struct { /*Repository The full path of the repository. e.g. namespace/name */ Repository string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListRepositoryImagesParams contains all the parameters to send to the API endpoint for the list repository images operation typically these are written to a http.Request
func NewListRepositoryImagesParams ¶
func NewListRepositoryImagesParams() *ListRepositoryImagesParams
NewListRepositoryImagesParams creates a new ListRepositoryImagesParams object with the default values initialized.
func NewListRepositoryImagesParamsWithContext ¶
func NewListRepositoryImagesParamsWithContext(ctx context.Context) *ListRepositoryImagesParams
NewListRepositoryImagesParamsWithContext creates a new ListRepositoryImagesParams object with the default values initialized, and the ability to set a context for a request
func NewListRepositoryImagesParamsWithHTTPClient ¶
func NewListRepositoryImagesParamsWithHTTPClient(client *http.Client) *ListRepositoryImagesParams
NewListRepositoryImagesParamsWithHTTPClient creates a new ListRepositoryImagesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewListRepositoryImagesParamsWithTimeout ¶
func NewListRepositoryImagesParamsWithTimeout(timeout time.Duration) *ListRepositoryImagesParams
NewListRepositoryImagesParamsWithTimeout creates a new ListRepositoryImagesParams object with the default values initialized, and the ability to set a timeout on a request
func (*ListRepositoryImagesParams) SetContext ¶
func (o *ListRepositoryImagesParams) SetContext(ctx context.Context)
SetContext adds the context to the list repository images params
func (*ListRepositoryImagesParams) SetHTTPClient ¶
func (o *ListRepositoryImagesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list repository images params
func (*ListRepositoryImagesParams) SetRepository ¶
func (o *ListRepositoryImagesParams) SetRepository(repository string)
SetRepository adds the repository to the list repository images params
func (*ListRepositoryImagesParams) SetTimeout ¶
func (o *ListRepositoryImagesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list repository images params
func (*ListRepositoryImagesParams) WithContext ¶
func (o *ListRepositoryImagesParams) WithContext(ctx context.Context) *ListRepositoryImagesParams
WithContext adds the context to the list repository images params
func (*ListRepositoryImagesParams) WithHTTPClient ¶
func (o *ListRepositoryImagesParams) WithHTTPClient(client *http.Client) *ListRepositoryImagesParams
WithHTTPClient adds the HTTPClient to the list repository images params
func (*ListRepositoryImagesParams) WithRepository ¶
func (o *ListRepositoryImagesParams) WithRepository(repository string) *ListRepositoryImagesParams
WithRepository adds the repository to the list repository images params
func (*ListRepositoryImagesParams) WithTimeout ¶
func (o *ListRepositoryImagesParams) WithTimeout(timeout time.Duration) *ListRepositoryImagesParams
WithTimeout adds the timeout to the list repository images params
func (*ListRepositoryImagesParams) WriteToRequest ¶
func (o *ListRepositoryImagesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListRepositoryImagesReader ¶
type ListRepositoryImagesReader struct {
// contains filtered or unexported fields
}
ListRepositoryImagesReader is a Reader for the ListRepositoryImages structure.
func (*ListRepositoryImagesReader) ReadResponse ¶
func (o *ListRepositoryImagesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListRepositoryImagesUnauthorized ¶
type ListRepositoryImagesUnauthorized struct {
}ListRepositoryImagesUnauthorized handles this case with default header values.
Session required
func NewListRepositoryImagesUnauthorized ¶
func NewListRepositoryImagesUnauthorized() *ListRepositoryImagesUnauthorized
NewListRepositoryImagesUnauthorized creates a ListRepositoryImagesUnauthorized with default headers values
func (*ListRepositoryImagesUnauthorized) Error ¶
func (o *ListRepositoryImagesUnauthorized) Error() string
func (*ListRepositoryImagesUnauthorized) GetPayload ¶
func (o *ListRepositoryImagesUnauthorized) GetPayload() *models.APIError