Documentation ¶
Index ¶
- type Client
- func (a *Client) RegistryAccessUpdate(params *RegistryAccessUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryAccessUpdateOK, error)
- func (a *Client) RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryCreateOK, error)
- func (a *Client) RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryDeleteNoContent, error)
- func (a *Client) RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryInspectOK, error)
- func (a *Client) RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryListOK, error)
- func (a *Client) RegistryUpdate(params *RegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type RegistryAccessUpdateBadRequest
- type RegistryAccessUpdateInternalServerError
- type RegistryAccessUpdateNotFound
- type RegistryAccessUpdateOK
- type RegistryAccessUpdateParams
- func NewRegistryAccessUpdateParams() *RegistryAccessUpdateParams
- func NewRegistryAccessUpdateParamsWithContext(ctx context.Context) *RegistryAccessUpdateParams
- func NewRegistryAccessUpdateParamsWithHTTPClient(client *http.Client) *RegistryAccessUpdateParams
- func NewRegistryAccessUpdateParamsWithTimeout(timeout time.Duration) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) SetBody(body *models.RegistryAccessUpdateRequest)
- func (o *RegistryAccessUpdateParams) SetContext(ctx context.Context)
- func (o *RegistryAccessUpdateParams) SetHTTPClient(client *http.Client)
- func (o *RegistryAccessUpdateParams) SetID(id int64)
- func (o *RegistryAccessUpdateParams) SetTimeout(timeout time.Duration)
- func (o *RegistryAccessUpdateParams) WithBody(body *models.RegistryAccessUpdateRequest) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) WithContext(ctx context.Context) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) WithHTTPClient(client *http.Client) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) WithID(id int64) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) WithTimeout(timeout time.Duration) *RegistryAccessUpdateParams
- func (o *RegistryAccessUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryAccessUpdateReader
- type RegistryCreateBadRequest
- type RegistryCreateConflict
- type RegistryCreateInternalServerError
- type RegistryCreateOK
- type RegistryCreateParams
- func NewRegistryCreateParams() *RegistryCreateParams
- func NewRegistryCreateParamsWithContext(ctx context.Context) *RegistryCreateParams
- func NewRegistryCreateParamsWithHTTPClient(client *http.Client) *RegistryCreateParams
- func NewRegistryCreateParamsWithTimeout(timeout time.Duration) *RegistryCreateParams
- func (o *RegistryCreateParams) SetBody(body *models.RegistryCreateRequest)
- func (o *RegistryCreateParams) SetContext(ctx context.Context)
- func (o *RegistryCreateParams) SetHTTPClient(client *http.Client)
- func (o *RegistryCreateParams) SetTimeout(timeout time.Duration)
- func (o *RegistryCreateParams) WithBody(body *models.RegistryCreateRequest) *RegistryCreateParams
- func (o *RegistryCreateParams) WithContext(ctx context.Context) *RegistryCreateParams
- func (o *RegistryCreateParams) WithHTTPClient(client *http.Client) *RegistryCreateParams
- func (o *RegistryCreateParams) WithTimeout(timeout time.Duration) *RegistryCreateParams
- func (o *RegistryCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryCreateReader
- type RegistryDeleteBadRequest
- type RegistryDeleteInternalServerError
- type RegistryDeleteNoContent
- type RegistryDeleteNotFound
- type RegistryDeleteParams
- func NewRegistryDeleteParams() *RegistryDeleteParams
- func NewRegistryDeleteParamsWithContext(ctx context.Context) *RegistryDeleteParams
- func NewRegistryDeleteParamsWithHTTPClient(client *http.Client) *RegistryDeleteParams
- func NewRegistryDeleteParamsWithTimeout(timeout time.Duration) *RegistryDeleteParams
- func (o *RegistryDeleteParams) SetContext(ctx context.Context)
- func (o *RegistryDeleteParams) SetHTTPClient(client *http.Client)
- func (o *RegistryDeleteParams) SetID(id int64)
- func (o *RegistryDeleteParams) SetTimeout(timeout time.Duration)
- func (o *RegistryDeleteParams) WithContext(ctx context.Context) *RegistryDeleteParams
- func (o *RegistryDeleteParams) WithHTTPClient(client *http.Client) *RegistryDeleteParams
- func (o *RegistryDeleteParams) WithID(id int64) *RegistryDeleteParams
- func (o *RegistryDeleteParams) WithTimeout(timeout time.Duration) *RegistryDeleteParams
- func (o *RegistryDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryDeleteReader
- type RegistryInspectBadRequest
- type RegistryInspectInternalServerError
- type RegistryInspectNotFound
- type RegistryInspectOK
- type RegistryInspectParams
- func NewRegistryInspectParams() *RegistryInspectParams
- func NewRegistryInspectParamsWithContext(ctx context.Context) *RegistryInspectParams
- func NewRegistryInspectParamsWithHTTPClient(client *http.Client) *RegistryInspectParams
- func NewRegistryInspectParamsWithTimeout(timeout time.Duration) *RegistryInspectParams
- func (o *RegistryInspectParams) SetContext(ctx context.Context)
- func (o *RegistryInspectParams) SetHTTPClient(client *http.Client)
- func (o *RegistryInspectParams) SetID(id int64)
- func (o *RegistryInspectParams) SetTimeout(timeout time.Duration)
- func (o *RegistryInspectParams) WithContext(ctx context.Context) *RegistryInspectParams
- func (o *RegistryInspectParams) WithHTTPClient(client *http.Client) *RegistryInspectParams
- func (o *RegistryInspectParams) WithID(id int64) *RegistryInspectParams
- func (o *RegistryInspectParams) WithTimeout(timeout time.Duration) *RegistryInspectParams
- func (o *RegistryInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryInspectReader
- type RegistryListInternalServerError
- type RegistryListOK
- type RegistryListParams
- func (o *RegistryListParams) SetContext(ctx context.Context)
- func (o *RegistryListParams) SetHTTPClient(client *http.Client)
- func (o *RegistryListParams) SetTimeout(timeout time.Duration)
- func (o *RegistryListParams) WithContext(ctx context.Context) *RegistryListParams
- func (o *RegistryListParams) WithHTTPClient(client *http.Client) *RegistryListParams
- func (o *RegistryListParams) WithTimeout(timeout time.Duration) *RegistryListParams
- func (o *RegistryListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryListReader
- type RegistryUpdateBadRequest
- type RegistryUpdateConflict
- type RegistryUpdateInternalServerError
- type RegistryUpdateNotFound
- type RegistryUpdateOK
- type RegistryUpdateParams
- func NewRegistryUpdateParams() *RegistryUpdateParams
- func NewRegistryUpdateParamsWithContext(ctx context.Context) *RegistryUpdateParams
- func NewRegistryUpdateParamsWithHTTPClient(client *http.Client) *RegistryUpdateParams
- func NewRegistryUpdateParamsWithTimeout(timeout time.Duration) *RegistryUpdateParams
- func (o *RegistryUpdateParams) SetBody(body *models.RegistryUpdateRequest)
- func (o *RegistryUpdateParams) SetContext(ctx context.Context)
- func (o *RegistryUpdateParams) SetHTTPClient(client *http.Client)
- func (o *RegistryUpdateParams) SetID(id int64)
- func (o *RegistryUpdateParams) SetTimeout(timeout time.Duration)
- func (o *RegistryUpdateParams) WithBody(body *models.RegistryUpdateRequest) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithContext(ctx context.Context) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithHTTPClient(client *http.Client) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithID(id int64) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithTimeout(timeout time.Duration) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryUpdateReader
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 registries API
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client
New creates a new registries API client.
func (*Client) RegistryAccessUpdate ¶
func (a *Client) RegistryAccessUpdate(params *RegistryAccessUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryAccessUpdateOK, error)
RegistryAccessUpdate manages accesses to a registry
Manage user and team accesses to a registry. **Access policy**: administrator
func (*Client) RegistryCreate ¶
func (a *Client) RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryCreateOK, error)
RegistryCreate creates a new registry
Create a new registry. **Access policy**: administrator
func (*Client) RegistryDelete ¶
func (a *Client) RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryDeleteNoContent, error)
RegistryDelete removes a registry
Remove a registry. **Access policy**: administrator
func (*Client) RegistryInspect ¶
func (a *Client) RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryInspectOK, error)
RegistryInspect inspects a registry
Retrieve details about a registry. **Access policy**: administrator
func (*Client) RegistryList ¶
func (a *Client) RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryListOK, error)
RegistryList lists registries
List all registries based on the current user authorizations. Will return all registries if using an administrator account otherwise it will only return authorized registries. **Access policy**: restricted
func (*Client) RegistryUpdate ¶
func (a *Client) RegistryUpdate(params *RegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter) (*RegistryUpdateOK, error)
RegistryUpdate updates a registry
Update a registry. **Access policy**: administrator
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type RegistryAccessUpdateBadRequest ¶
type RegistryAccessUpdateBadRequest struct {
Payload *models.GenericError
}
RegistryAccessUpdateBadRequest handles this case with default header values.
Invalid request
func NewRegistryAccessUpdateBadRequest ¶
func NewRegistryAccessUpdateBadRequest() *RegistryAccessUpdateBadRequest
NewRegistryAccessUpdateBadRequest creates a RegistryAccessUpdateBadRequest with default headers values
func (*RegistryAccessUpdateBadRequest) Error ¶
func (o *RegistryAccessUpdateBadRequest) Error() string
type RegistryAccessUpdateInternalServerError ¶
type RegistryAccessUpdateInternalServerError struct {
Payload *models.GenericError
}
RegistryAccessUpdateInternalServerError handles this case with default header values.
Server error
func NewRegistryAccessUpdateInternalServerError ¶
func NewRegistryAccessUpdateInternalServerError() *RegistryAccessUpdateInternalServerError
NewRegistryAccessUpdateInternalServerError creates a RegistryAccessUpdateInternalServerError with default headers values
func (*RegistryAccessUpdateInternalServerError) Error ¶
func (o *RegistryAccessUpdateInternalServerError) Error() string
type RegistryAccessUpdateNotFound ¶
type RegistryAccessUpdateNotFound struct {
Payload *models.GenericError
}
RegistryAccessUpdateNotFound handles this case with default header values.
Registry not found
func NewRegistryAccessUpdateNotFound ¶
func NewRegistryAccessUpdateNotFound() *RegistryAccessUpdateNotFound
NewRegistryAccessUpdateNotFound creates a RegistryAccessUpdateNotFound with default headers values
func (*RegistryAccessUpdateNotFound) Error ¶
func (o *RegistryAccessUpdateNotFound) Error() string
type RegistryAccessUpdateOK ¶
RegistryAccessUpdateOK handles this case with default header values.
Success
func NewRegistryAccessUpdateOK ¶
func NewRegistryAccessUpdateOK() *RegistryAccessUpdateOK
NewRegistryAccessUpdateOK creates a RegistryAccessUpdateOK with default headers values
func (*RegistryAccessUpdateOK) Error ¶
func (o *RegistryAccessUpdateOK) Error() string
type RegistryAccessUpdateParams ¶
type RegistryAccessUpdateParams struct { /*Body Authorizations details */ Body *models.RegistryAccessUpdateRequest /*ID Registry identifier */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryAccessUpdateParams contains all the parameters to send to the API endpoint for the registry access update operation typically these are written to a http.Request
func NewRegistryAccessUpdateParams ¶
func NewRegistryAccessUpdateParams() *RegistryAccessUpdateParams
NewRegistryAccessUpdateParams creates a new RegistryAccessUpdateParams object with the default values initialized.
func NewRegistryAccessUpdateParamsWithContext ¶
func NewRegistryAccessUpdateParamsWithContext(ctx context.Context) *RegistryAccessUpdateParams
NewRegistryAccessUpdateParamsWithContext creates a new RegistryAccessUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryAccessUpdateParamsWithHTTPClient ¶
func NewRegistryAccessUpdateParamsWithHTTPClient(client *http.Client) *RegistryAccessUpdateParams
NewRegistryAccessUpdateParamsWithHTTPClient creates a new RegistryAccessUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryAccessUpdateParamsWithTimeout ¶
func NewRegistryAccessUpdateParamsWithTimeout(timeout time.Duration) *RegistryAccessUpdateParams
NewRegistryAccessUpdateParamsWithTimeout creates a new RegistryAccessUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryAccessUpdateParams) SetBody ¶
func (o *RegistryAccessUpdateParams) SetBody(body *models.RegistryAccessUpdateRequest)
SetBody adds the body to the registry access update params
func (*RegistryAccessUpdateParams) SetContext ¶
func (o *RegistryAccessUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the registry access update params
func (*RegistryAccessUpdateParams) SetHTTPClient ¶
func (o *RegistryAccessUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry access update params
func (*RegistryAccessUpdateParams) SetID ¶
func (o *RegistryAccessUpdateParams) SetID(id int64)
SetID adds the id to the registry access update params
func (*RegistryAccessUpdateParams) SetTimeout ¶
func (o *RegistryAccessUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry access update params
func (*RegistryAccessUpdateParams) WithBody ¶
func (o *RegistryAccessUpdateParams) WithBody(body *models.RegistryAccessUpdateRequest) *RegistryAccessUpdateParams
WithBody adds the body to the registry access update params
func (*RegistryAccessUpdateParams) WithContext ¶
func (o *RegistryAccessUpdateParams) WithContext(ctx context.Context) *RegistryAccessUpdateParams
WithContext adds the context to the registry access update params
func (*RegistryAccessUpdateParams) WithHTTPClient ¶
func (o *RegistryAccessUpdateParams) WithHTTPClient(client *http.Client) *RegistryAccessUpdateParams
WithHTTPClient adds the HTTPClient to the registry access update params
func (*RegistryAccessUpdateParams) WithID ¶
func (o *RegistryAccessUpdateParams) WithID(id int64) *RegistryAccessUpdateParams
WithID adds the id to the registry access update params
func (*RegistryAccessUpdateParams) WithTimeout ¶
func (o *RegistryAccessUpdateParams) WithTimeout(timeout time.Duration) *RegistryAccessUpdateParams
WithTimeout adds the timeout to the registry access update params
func (*RegistryAccessUpdateParams) WriteToRequest ¶
func (o *RegistryAccessUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryAccessUpdateReader ¶
type RegistryAccessUpdateReader struct {
// contains filtered or unexported fields
}
RegistryAccessUpdateReader is a Reader for the RegistryAccessUpdate structure.
func (*RegistryAccessUpdateReader) ReadResponse ¶
func (o *RegistryAccessUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryCreateBadRequest ¶
type RegistryCreateBadRequest struct {
Payload *models.GenericError
}
RegistryCreateBadRequest handles this case with default header values.
Invalid request
func NewRegistryCreateBadRequest ¶
func NewRegistryCreateBadRequest() *RegistryCreateBadRequest
NewRegistryCreateBadRequest creates a RegistryCreateBadRequest with default headers values
func (*RegistryCreateBadRequest) Error ¶
func (o *RegistryCreateBadRequest) Error() string
type RegistryCreateConflict ¶
type RegistryCreateConflict struct {
Payload *models.GenericError
}
RegistryCreateConflict handles this case with default header values.
Registry already exists
func NewRegistryCreateConflict ¶
func NewRegistryCreateConflict() *RegistryCreateConflict
NewRegistryCreateConflict creates a RegistryCreateConflict with default headers values
func (*RegistryCreateConflict) Error ¶
func (o *RegistryCreateConflict) Error() string
type RegistryCreateInternalServerError ¶
type RegistryCreateInternalServerError struct {
Payload *models.GenericError
}
RegistryCreateInternalServerError handles this case with default header values.
Server error
func NewRegistryCreateInternalServerError ¶
func NewRegistryCreateInternalServerError() *RegistryCreateInternalServerError
NewRegistryCreateInternalServerError creates a RegistryCreateInternalServerError with default headers values
func (*RegistryCreateInternalServerError) Error ¶
func (o *RegistryCreateInternalServerError) Error() string
type RegistryCreateOK ¶
RegistryCreateOK handles this case with default header values.
Success
func NewRegistryCreateOK ¶
func NewRegistryCreateOK() *RegistryCreateOK
NewRegistryCreateOK creates a RegistryCreateOK with default headers values
func (*RegistryCreateOK) Error ¶
func (o *RegistryCreateOK) Error() string
type RegistryCreateParams ¶
type RegistryCreateParams struct { /*Body Registry details */ Body *models.RegistryCreateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryCreateParams contains all the parameters to send to the API endpoint for the registry create operation typically these are written to a http.Request
func NewRegistryCreateParams ¶
func NewRegistryCreateParams() *RegistryCreateParams
NewRegistryCreateParams creates a new RegistryCreateParams object with the default values initialized.
func NewRegistryCreateParamsWithContext ¶
func NewRegistryCreateParamsWithContext(ctx context.Context) *RegistryCreateParams
NewRegistryCreateParamsWithContext creates a new RegistryCreateParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryCreateParamsWithHTTPClient ¶
func NewRegistryCreateParamsWithHTTPClient(client *http.Client) *RegistryCreateParams
NewRegistryCreateParamsWithHTTPClient creates a new RegistryCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryCreateParamsWithTimeout ¶
func NewRegistryCreateParamsWithTimeout(timeout time.Duration) *RegistryCreateParams
NewRegistryCreateParamsWithTimeout creates a new RegistryCreateParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryCreateParams) SetBody ¶
func (o *RegistryCreateParams) SetBody(body *models.RegistryCreateRequest)
SetBody adds the body to the registry create params
func (*RegistryCreateParams) SetContext ¶
func (o *RegistryCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the registry create params
func (*RegistryCreateParams) SetHTTPClient ¶
func (o *RegistryCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry create params
func (*RegistryCreateParams) SetTimeout ¶
func (o *RegistryCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry create params
func (*RegistryCreateParams) WithBody ¶
func (o *RegistryCreateParams) WithBody(body *models.RegistryCreateRequest) *RegistryCreateParams
WithBody adds the body to the registry create params
func (*RegistryCreateParams) WithContext ¶
func (o *RegistryCreateParams) WithContext(ctx context.Context) *RegistryCreateParams
WithContext adds the context to the registry create params
func (*RegistryCreateParams) WithHTTPClient ¶
func (o *RegistryCreateParams) WithHTTPClient(client *http.Client) *RegistryCreateParams
WithHTTPClient adds the HTTPClient to the registry create params
func (*RegistryCreateParams) WithTimeout ¶
func (o *RegistryCreateParams) WithTimeout(timeout time.Duration) *RegistryCreateParams
WithTimeout adds the timeout to the registry create params
func (*RegistryCreateParams) WriteToRequest ¶
func (o *RegistryCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryCreateReader ¶
type RegistryCreateReader struct {
// contains filtered or unexported fields
}
RegistryCreateReader is a Reader for the RegistryCreate structure.
func (*RegistryCreateReader) ReadResponse ¶
func (o *RegistryCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryDeleteBadRequest ¶
type RegistryDeleteBadRequest struct {
Payload *models.GenericError
}
RegistryDeleteBadRequest handles this case with default header values.
Invalid request
func NewRegistryDeleteBadRequest ¶
func NewRegistryDeleteBadRequest() *RegistryDeleteBadRequest
NewRegistryDeleteBadRequest creates a RegistryDeleteBadRequest with default headers values
func (*RegistryDeleteBadRequest) Error ¶
func (o *RegistryDeleteBadRequest) Error() string
type RegistryDeleteInternalServerError ¶
type RegistryDeleteInternalServerError struct {
Payload *models.GenericError
}
RegistryDeleteInternalServerError handles this case with default header values.
Server error
func NewRegistryDeleteInternalServerError ¶
func NewRegistryDeleteInternalServerError() *RegistryDeleteInternalServerError
NewRegistryDeleteInternalServerError creates a RegistryDeleteInternalServerError with default headers values
func (*RegistryDeleteInternalServerError) Error ¶
func (o *RegistryDeleteInternalServerError) Error() string
type RegistryDeleteNoContent ¶
type RegistryDeleteNoContent struct { }
RegistryDeleteNoContent handles this case with default header values.
Success
func NewRegistryDeleteNoContent ¶
func NewRegistryDeleteNoContent() *RegistryDeleteNoContent
NewRegistryDeleteNoContent creates a RegistryDeleteNoContent with default headers values
func (*RegistryDeleteNoContent) Error ¶
func (o *RegistryDeleteNoContent) Error() string
type RegistryDeleteNotFound ¶
type RegistryDeleteNotFound struct {
Payload *models.GenericError
}
RegistryDeleteNotFound handles this case with default header values.
Registry not found
func NewRegistryDeleteNotFound ¶
func NewRegistryDeleteNotFound() *RegistryDeleteNotFound
NewRegistryDeleteNotFound creates a RegistryDeleteNotFound with default headers values
func (*RegistryDeleteNotFound) Error ¶
func (o *RegistryDeleteNotFound) Error() string
type RegistryDeleteParams ¶
type RegistryDeleteParams struct { /*ID Registry identifier */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryDeleteParams contains all the parameters to send to the API endpoint for the registry delete operation typically these are written to a http.Request
func NewRegistryDeleteParams ¶
func NewRegistryDeleteParams() *RegistryDeleteParams
NewRegistryDeleteParams creates a new RegistryDeleteParams object with the default values initialized.
func NewRegistryDeleteParamsWithContext ¶
func NewRegistryDeleteParamsWithContext(ctx context.Context) *RegistryDeleteParams
NewRegistryDeleteParamsWithContext creates a new RegistryDeleteParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryDeleteParamsWithHTTPClient ¶
func NewRegistryDeleteParamsWithHTTPClient(client *http.Client) *RegistryDeleteParams
NewRegistryDeleteParamsWithHTTPClient creates a new RegistryDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryDeleteParamsWithTimeout ¶
func NewRegistryDeleteParamsWithTimeout(timeout time.Duration) *RegistryDeleteParams
NewRegistryDeleteParamsWithTimeout creates a new RegistryDeleteParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryDeleteParams) SetContext ¶
func (o *RegistryDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the registry delete params
func (*RegistryDeleteParams) SetHTTPClient ¶
func (o *RegistryDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry delete params
func (*RegistryDeleteParams) SetID ¶
func (o *RegistryDeleteParams) SetID(id int64)
SetID adds the id to the registry delete params
func (*RegistryDeleteParams) SetTimeout ¶
func (o *RegistryDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry delete params
func (*RegistryDeleteParams) WithContext ¶
func (o *RegistryDeleteParams) WithContext(ctx context.Context) *RegistryDeleteParams
WithContext adds the context to the registry delete params
func (*RegistryDeleteParams) WithHTTPClient ¶
func (o *RegistryDeleteParams) WithHTTPClient(client *http.Client) *RegistryDeleteParams
WithHTTPClient adds the HTTPClient to the registry delete params
func (*RegistryDeleteParams) WithID ¶
func (o *RegistryDeleteParams) WithID(id int64) *RegistryDeleteParams
WithID adds the id to the registry delete params
func (*RegistryDeleteParams) WithTimeout ¶
func (o *RegistryDeleteParams) WithTimeout(timeout time.Duration) *RegistryDeleteParams
WithTimeout adds the timeout to the registry delete params
func (*RegistryDeleteParams) WriteToRequest ¶
func (o *RegistryDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryDeleteReader ¶
type RegistryDeleteReader struct {
// contains filtered or unexported fields
}
RegistryDeleteReader is a Reader for the RegistryDelete structure.
func (*RegistryDeleteReader) ReadResponse ¶
func (o *RegistryDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryInspectBadRequest ¶
type RegistryInspectBadRequest struct {
Payload *models.GenericError
}
RegistryInspectBadRequest handles this case with default header values.
Invalid request
func NewRegistryInspectBadRequest ¶
func NewRegistryInspectBadRequest() *RegistryInspectBadRequest
NewRegistryInspectBadRequest creates a RegistryInspectBadRequest with default headers values
func (*RegistryInspectBadRequest) Error ¶
func (o *RegistryInspectBadRequest) Error() string
type RegistryInspectInternalServerError ¶
type RegistryInspectInternalServerError struct {
Payload *models.GenericError
}
RegistryInspectInternalServerError handles this case with default header values.
Server error
func NewRegistryInspectInternalServerError ¶
func NewRegistryInspectInternalServerError() *RegistryInspectInternalServerError
NewRegistryInspectInternalServerError creates a RegistryInspectInternalServerError with default headers values
func (*RegistryInspectInternalServerError) Error ¶
func (o *RegistryInspectInternalServerError) Error() string
type RegistryInspectNotFound ¶
type RegistryInspectNotFound struct {
Payload *models.GenericError
}
RegistryInspectNotFound handles this case with default header values.
Registry not found
func NewRegistryInspectNotFound ¶
func NewRegistryInspectNotFound() *RegistryInspectNotFound
NewRegistryInspectNotFound creates a RegistryInspectNotFound with default headers values
func (*RegistryInspectNotFound) Error ¶
func (o *RegistryInspectNotFound) Error() string
type RegistryInspectOK ¶
RegistryInspectOK handles this case with default header values.
Success
func NewRegistryInspectOK ¶
func NewRegistryInspectOK() *RegistryInspectOK
NewRegistryInspectOK creates a RegistryInspectOK with default headers values
func (*RegistryInspectOK) Error ¶
func (o *RegistryInspectOK) Error() string
type RegistryInspectParams ¶
type RegistryInspectParams struct { /*ID Registry identifier */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryInspectParams contains all the parameters to send to the API endpoint for the registry inspect operation typically these are written to a http.Request
func NewRegistryInspectParams ¶
func NewRegistryInspectParams() *RegistryInspectParams
NewRegistryInspectParams creates a new RegistryInspectParams object with the default values initialized.
func NewRegistryInspectParamsWithContext ¶
func NewRegistryInspectParamsWithContext(ctx context.Context) *RegistryInspectParams
NewRegistryInspectParamsWithContext creates a new RegistryInspectParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryInspectParamsWithHTTPClient ¶
func NewRegistryInspectParamsWithHTTPClient(client *http.Client) *RegistryInspectParams
NewRegistryInspectParamsWithHTTPClient creates a new RegistryInspectParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryInspectParamsWithTimeout ¶
func NewRegistryInspectParamsWithTimeout(timeout time.Duration) *RegistryInspectParams
NewRegistryInspectParamsWithTimeout creates a new RegistryInspectParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryInspectParams) SetContext ¶
func (o *RegistryInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the registry inspect params
func (*RegistryInspectParams) SetHTTPClient ¶
func (o *RegistryInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry inspect params
func (*RegistryInspectParams) SetID ¶
func (o *RegistryInspectParams) SetID(id int64)
SetID adds the id to the registry inspect params
func (*RegistryInspectParams) SetTimeout ¶
func (o *RegistryInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry inspect params
func (*RegistryInspectParams) WithContext ¶
func (o *RegistryInspectParams) WithContext(ctx context.Context) *RegistryInspectParams
WithContext adds the context to the registry inspect params
func (*RegistryInspectParams) WithHTTPClient ¶
func (o *RegistryInspectParams) WithHTTPClient(client *http.Client) *RegistryInspectParams
WithHTTPClient adds the HTTPClient to the registry inspect params
func (*RegistryInspectParams) WithID ¶
func (o *RegistryInspectParams) WithID(id int64) *RegistryInspectParams
WithID adds the id to the registry inspect params
func (*RegistryInspectParams) WithTimeout ¶
func (o *RegistryInspectParams) WithTimeout(timeout time.Duration) *RegistryInspectParams
WithTimeout adds the timeout to the registry inspect params
func (*RegistryInspectParams) WriteToRequest ¶
func (o *RegistryInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryInspectReader ¶
type RegistryInspectReader struct {
// contains filtered or unexported fields
}
RegistryInspectReader is a Reader for the RegistryInspect structure.
func (*RegistryInspectReader) ReadResponse ¶
func (o *RegistryInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryListInternalServerError ¶
type RegistryListInternalServerError struct {
Payload *models.GenericError
}
RegistryListInternalServerError handles this case with default header values.
Server error
func NewRegistryListInternalServerError ¶
func NewRegistryListInternalServerError() *RegistryListInternalServerError
NewRegistryListInternalServerError creates a RegistryListInternalServerError with default headers values
func (*RegistryListInternalServerError) Error ¶
func (o *RegistryListInternalServerError) Error() string
type RegistryListOK ¶
type RegistryListOK struct {
Payload models.RegistryListResponse
}
RegistryListOK handles this case with default header values.
Success
func NewRegistryListOK ¶
func NewRegistryListOK() *RegistryListOK
NewRegistryListOK creates a RegistryListOK with default headers values
func (*RegistryListOK) Error ¶
func (o *RegistryListOK) Error() string
type RegistryListParams ¶
type RegistryListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryListParams contains all the parameters to send to the API endpoint for the registry list operation typically these are written to a http.Request
func NewRegistryListParams ¶
func NewRegistryListParams() *RegistryListParams
NewRegistryListParams creates a new RegistryListParams object with the default values initialized.
func NewRegistryListParamsWithContext ¶
func NewRegistryListParamsWithContext(ctx context.Context) *RegistryListParams
NewRegistryListParamsWithContext creates a new RegistryListParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryListParamsWithHTTPClient ¶
func NewRegistryListParamsWithHTTPClient(client *http.Client) *RegistryListParams
NewRegistryListParamsWithHTTPClient creates a new RegistryListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryListParamsWithTimeout ¶
func NewRegistryListParamsWithTimeout(timeout time.Duration) *RegistryListParams
NewRegistryListParamsWithTimeout creates a new RegistryListParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryListParams) SetContext ¶
func (o *RegistryListParams) SetContext(ctx context.Context)
SetContext adds the context to the registry list params
func (*RegistryListParams) SetHTTPClient ¶
func (o *RegistryListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry list params
func (*RegistryListParams) SetTimeout ¶
func (o *RegistryListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry list params
func (*RegistryListParams) WithContext ¶
func (o *RegistryListParams) WithContext(ctx context.Context) *RegistryListParams
WithContext adds the context to the registry list params
func (*RegistryListParams) WithHTTPClient ¶
func (o *RegistryListParams) WithHTTPClient(client *http.Client) *RegistryListParams
WithHTTPClient adds the HTTPClient to the registry list params
func (*RegistryListParams) WithTimeout ¶
func (o *RegistryListParams) WithTimeout(timeout time.Duration) *RegistryListParams
WithTimeout adds the timeout to the registry list params
func (*RegistryListParams) WriteToRequest ¶
func (o *RegistryListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryListReader ¶
type RegistryListReader struct {
// contains filtered or unexported fields
}
RegistryListReader is a Reader for the RegistryList structure.
func (*RegistryListReader) ReadResponse ¶
func (o *RegistryListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryUpdateBadRequest ¶
type RegistryUpdateBadRequest struct {
Payload *models.GenericError
}
RegistryUpdateBadRequest handles this case with default header values.
Invalid request
func NewRegistryUpdateBadRequest ¶
func NewRegistryUpdateBadRequest() *RegistryUpdateBadRequest
NewRegistryUpdateBadRequest creates a RegistryUpdateBadRequest with default headers values
func (*RegistryUpdateBadRequest) Error ¶
func (o *RegistryUpdateBadRequest) Error() string
type RegistryUpdateConflict ¶
type RegistryUpdateConflict struct {
Payload *models.GenericError
}
RegistryUpdateConflict handles this case with default header values.
Registry already exists
func NewRegistryUpdateConflict ¶
func NewRegistryUpdateConflict() *RegistryUpdateConflict
NewRegistryUpdateConflict creates a RegistryUpdateConflict with default headers values
func (*RegistryUpdateConflict) Error ¶
func (o *RegistryUpdateConflict) Error() string
type RegistryUpdateInternalServerError ¶
type RegistryUpdateInternalServerError struct {
Payload *models.GenericError
}
RegistryUpdateInternalServerError handles this case with default header values.
Server error
func NewRegistryUpdateInternalServerError ¶
func NewRegistryUpdateInternalServerError() *RegistryUpdateInternalServerError
NewRegistryUpdateInternalServerError creates a RegistryUpdateInternalServerError with default headers values
func (*RegistryUpdateInternalServerError) Error ¶
func (o *RegistryUpdateInternalServerError) Error() string
type RegistryUpdateNotFound ¶
type RegistryUpdateNotFound struct {
Payload *models.GenericError
}
RegistryUpdateNotFound handles this case with default header values.
Registry not found
func NewRegistryUpdateNotFound ¶
func NewRegistryUpdateNotFound() *RegistryUpdateNotFound
NewRegistryUpdateNotFound creates a RegistryUpdateNotFound with default headers values
func (*RegistryUpdateNotFound) Error ¶
func (o *RegistryUpdateNotFound) Error() string
type RegistryUpdateOK ¶
RegistryUpdateOK handles this case with default header values.
Success
func NewRegistryUpdateOK ¶
func NewRegistryUpdateOK() *RegistryUpdateOK
NewRegistryUpdateOK creates a RegistryUpdateOK with default headers values
func (*RegistryUpdateOK) Error ¶
func (o *RegistryUpdateOK) Error() string
type RegistryUpdateParams ¶
type RegistryUpdateParams struct { /*Body Registry details */ Body *models.RegistryUpdateRequest /*ID Registry identifier */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
RegistryUpdateParams contains all the parameters to send to the API endpoint for the registry update operation typically these are written to a http.Request
func NewRegistryUpdateParams ¶
func NewRegistryUpdateParams() *RegistryUpdateParams
NewRegistryUpdateParams creates a new RegistryUpdateParams object with the default values initialized.
func NewRegistryUpdateParamsWithContext ¶
func NewRegistryUpdateParamsWithContext(ctx context.Context) *RegistryUpdateParams
NewRegistryUpdateParamsWithContext creates a new RegistryUpdateParams object with the default values initialized, and the ability to set a context for a request
func NewRegistryUpdateParamsWithHTTPClient ¶
func NewRegistryUpdateParamsWithHTTPClient(client *http.Client) *RegistryUpdateParams
NewRegistryUpdateParamsWithHTTPClient creates a new RegistryUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewRegistryUpdateParamsWithTimeout ¶
func NewRegistryUpdateParamsWithTimeout(timeout time.Duration) *RegistryUpdateParams
NewRegistryUpdateParamsWithTimeout creates a new RegistryUpdateParams object with the default values initialized, and the ability to set a timeout on a request
func (*RegistryUpdateParams) SetBody ¶
func (o *RegistryUpdateParams) SetBody(body *models.RegistryUpdateRequest)
SetBody adds the body to the registry update params
func (*RegistryUpdateParams) SetContext ¶
func (o *RegistryUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the registry update params
func (*RegistryUpdateParams) SetHTTPClient ¶
func (o *RegistryUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry update params
func (*RegistryUpdateParams) SetID ¶
func (o *RegistryUpdateParams) SetID(id int64)
SetID adds the id to the registry update params
func (*RegistryUpdateParams) SetTimeout ¶
func (o *RegistryUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry update params
func (*RegistryUpdateParams) WithBody ¶
func (o *RegistryUpdateParams) WithBody(body *models.RegistryUpdateRequest) *RegistryUpdateParams
WithBody adds the body to the registry update params
func (*RegistryUpdateParams) WithContext ¶
func (o *RegistryUpdateParams) WithContext(ctx context.Context) *RegistryUpdateParams
WithContext adds the context to the registry update params
func (*RegistryUpdateParams) WithHTTPClient ¶
func (o *RegistryUpdateParams) WithHTTPClient(client *http.Client) *RegistryUpdateParams
WithHTTPClient adds the HTTPClient to the registry update params
func (*RegistryUpdateParams) WithID ¶
func (o *RegistryUpdateParams) WithID(id int64) *RegistryUpdateParams
WithID adds the id to the registry update params
func (*RegistryUpdateParams) WithTimeout ¶
func (o *RegistryUpdateParams) WithTimeout(timeout time.Duration) *RegistryUpdateParams
WithTimeout adds the timeout to the registry update params
func (*RegistryUpdateParams) WriteToRequest ¶
func (o *RegistryUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryUpdateReader ¶
type RegistryUpdateReader struct {
// contains filtered or unexported fields
}
RegistryUpdateReader is a Reader for the RegistryUpdate structure.
func (*RegistryUpdateReader) ReadResponse ¶
func (o *RegistryUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- registries_client.go
- registry_access_update_parameters.go
- registry_access_update_responses.go
- registry_create_parameters.go
- registry_create_responses.go
- registry_delete_parameters.go
- registry_delete_responses.go
- registry_inspect_parameters.go
- registry_inspect_responses.go
- registry_list_parameters.go
- registry_list_responses.go
- registry_update_parameters.go
- registry_update_responses.go