Documentation
¶
Index ¶
- type Client
- func (a *Client) EcrDeleteRepository(params *EcrDeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EcrDeleteRepositoryOK, error)
- func (a *Client) EcrDeleteTags(params *EcrDeleteTagsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*EcrDeleteTagsNoContent, error)
- func (a *Client) RegistryConfigure(params *RegistryConfigureParams, authInfo runtime.ClientAuthInfoWriter, ...) (*RegistryConfigureNoContent, 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 ClientOption
- type ClientService
- type EcrDeleteRepositoryBadRequest
- func (o *EcrDeleteRepositoryBadRequest) Code() int
- func (o *EcrDeleteRepositoryBadRequest) Error() string
- func (o *EcrDeleteRepositoryBadRequest) IsClientError() bool
- func (o *EcrDeleteRepositoryBadRequest) IsCode(code int) bool
- func (o *EcrDeleteRepositoryBadRequest) IsRedirect() bool
- func (o *EcrDeleteRepositoryBadRequest) IsServerError() bool
- func (o *EcrDeleteRepositoryBadRequest) IsSuccess() bool
- func (o *EcrDeleteRepositoryBadRequest) String() string
- type EcrDeleteRepositoryForbidden
- func (o *EcrDeleteRepositoryForbidden) Code() int
- func (o *EcrDeleteRepositoryForbidden) Error() string
- func (o *EcrDeleteRepositoryForbidden) IsClientError() bool
- func (o *EcrDeleteRepositoryForbidden) IsCode(code int) bool
- func (o *EcrDeleteRepositoryForbidden) IsRedirect() bool
- func (o *EcrDeleteRepositoryForbidden) IsServerError() bool
- func (o *EcrDeleteRepositoryForbidden) IsSuccess() bool
- func (o *EcrDeleteRepositoryForbidden) String() string
- type EcrDeleteRepositoryInternalServerError
- func (o *EcrDeleteRepositoryInternalServerError) Code() int
- func (o *EcrDeleteRepositoryInternalServerError) Error() string
- func (o *EcrDeleteRepositoryInternalServerError) IsClientError() bool
- func (o *EcrDeleteRepositoryInternalServerError) IsCode(code int) bool
- func (o *EcrDeleteRepositoryInternalServerError) IsRedirect() bool
- func (o *EcrDeleteRepositoryInternalServerError) IsServerError() bool
- func (o *EcrDeleteRepositoryInternalServerError) IsSuccess() bool
- func (o *EcrDeleteRepositoryInternalServerError) String() string
- type EcrDeleteRepositoryNotFound
- func (o *EcrDeleteRepositoryNotFound) Code() int
- func (o *EcrDeleteRepositoryNotFound) Error() string
- func (o *EcrDeleteRepositoryNotFound) IsClientError() bool
- func (o *EcrDeleteRepositoryNotFound) IsCode(code int) bool
- func (o *EcrDeleteRepositoryNotFound) IsRedirect() bool
- func (o *EcrDeleteRepositoryNotFound) IsServerError() bool
- func (o *EcrDeleteRepositoryNotFound) IsSuccess() bool
- func (o *EcrDeleteRepositoryNotFound) String() string
- type EcrDeleteRepositoryOK
- func (o *EcrDeleteRepositoryOK) Code() int
- func (o *EcrDeleteRepositoryOK) Error() string
- func (o *EcrDeleteRepositoryOK) IsClientError() bool
- func (o *EcrDeleteRepositoryOK) IsCode(code int) bool
- func (o *EcrDeleteRepositoryOK) IsRedirect() bool
- func (o *EcrDeleteRepositoryOK) IsServerError() bool
- func (o *EcrDeleteRepositoryOK) IsSuccess() bool
- func (o *EcrDeleteRepositoryOK) String() string
- type EcrDeleteRepositoryParams
- func NewEcrDeleteRepositoryParams() *EcrDeleteRepositoryParams
- func NewEcrDeleteRepositoryParamsWithContext(ctx context.Context) *EcrDeleteRepositoryParams
- func NewEcrDeleteRepositoryParamsWithHTTPClient(client *http.Client) *EcrDeleteRepositoryParams
- func NewEcrDeleteRepositoryParamsWithTimeout(timeout time.Duration) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) SetContext(ctx context.Context)
- func (o *EcrDeleteRepositoryParams) SetDefaults()
- func (o *EcrDeleteRepositoryParams) SetHTTPClient(client *http.Client)
- func (o *EcrDeleteRepositoryParams) SetID(id int64)
- func (o *EcrDeleteRepositoryParams) SetRepositoryName(repositoryName string)
- func (o *EcrDeleteRepositoryParams) SetTimeout(timeout time.Duration)
- func (o *EcrDeleteRepositoryParams) WithContext(ctx context.Context) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WithDefaults() *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WithHTTPClient(client *http.Client) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WithID(id int64) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WithRepositoryName(repositoryName string) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WithTimeout(timeout time.Duration) *EcrDeleteRepositoryParams
- func (o *EcrDeleteRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EcrDeleteRepositoryReader
- type EcrDeleteTagsBadRequest
- func (o *EcrDeleteTagsBadRequest) Code() int
- func (o *EcrDeleteTagsBadRequest) Error() string
- func (o *EcrDeleteTagsBadRequest) IsClientError() bool
- func (o *EcrDeleteTagsBadRequest) IsCode(code int) bool
- func (o *EcrDeleteTagsBadRequest) IsRedirect() bool
- func (o *EcrDeleteTagsBadRequest) IsServerError() bool
- func (o *EcrDeleteTagsBadRequest) IsSuccess() bool
- func (o *EcrDeleteTagsBadRequest) String() string
- type EcrDeleteTagsForbidden
- func (o *EcrDeleteTagsForbidden) Code() int
- func (o *EcrDeleteTagsForbidden) Error() string
- func (o *EcrDeleteTagsForbidden) IsClientError() bool
- func (o *EcrDeleteTagsForbidden) IsCode(code int) bool
- func (o *EcrDeleteTagsForbidden) IsRedirect() bool
- func (o *EcrDeleteTagsForbidden) IsServerError() bool
- func (o *EcrDeleteTagsForbidden) IsSuccess() bool
- func (o *EcrDeleteTagsForbidden) String() string
- type EcrDeleteTagsInternalServerError
- func (o *EcrDeleteTagsInternalServerError) Code() int
- func (o *EcrDeleteTagsInternalServerError) Error() string
- func (o *EcrDeleteTagsInternalServerError) IsClientError() bool
- func (o *EcrDeleteTagsInternalServerError) IsCode(code int) bool
- func (o *EcrDeleteTagsInternalServerError) IsRedirect() bool
- func (o *EcrDeleteTagsInternalServerError) IsServerError() bool
- func (o *EcrDeleteTagsInternalServerError) IsSuccess() bool
- func (o *EcrDeleteTagsInternalServerError) String() string
- type EcrDeleteTagsNoContent
- func (o *EcrDeleteTagsNoContent) Code() int
- func (o *EcrDeleteTagsNoContent) Error() string
- func (o *EcrDeleteTagsNoContent) IsClientError() bool
- func (o *EcrDeleteTagsNoContent) IsCode(code int) bool
- func (o *EcrDeleteTagsNoContent) IsRedirect() bool
- func (o *EcrDeleteTagsNoContent) IsServerError() bool
- func (o *EcrDeleteTagsNoContent) IsSuccess() bool
- func (o *EcrDeleteTagsNoContent) String() string
- type EcrDeleteTagsNotFound
- func (o *EcrDeleteTagsNotFound) Code() int
- func (o *EcrDeleteTagsNotFound) Error() string
- func (o *EcrDeleteTagsNotFound) IsClientError() bool
- func (o *EcrDeleteTagsNotFound) IsCode(code int) bool
- func (o *EcrDeleteTagsNotFound) IsRedirect() bool
- func (o *EcrDeleteTagsNotFound) IsServerError() bool
- func (o *EcrDeleteTagsNotFound) IsSuccess() bool
- func (o *EcrDeleteTagsNotFound) String() string
- type EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) SetBody(body *models.RegistriesDeleteTagsPayload)
- func (o *EcrDeleteTagsParams) SetContext(ctx context.Context)
- func (o *EcrDeleteTagsParams) SetDefaults()
- func (o *EcrDeleteTagsParams) SetHTTPClient(client *http.Client)
- func (o *EcrDeleteTagsParams) SetID(id int64)
- func (o *EcrDeleteTagsParams) SetRepositoryName(repositoryName int64)
- func (o *EcrDeleteTagsParams) SetTimeout(timeout time.Duration)
- func (o *EcrDeleteTagsParams) WithBody(body *models.RegistriesDeleteTagsPayload) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithContext(ctx context.Context) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithDefaults() *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithHTTPClient(client *http.Client) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithID(id int64) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithRepositoryName(repositoryName int64) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WithTimeout(timeout time.Duration) *EcrDeleteTagsParams
- func (o *EcrDeleteTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type EcrDeleteTagsReader
- type RegistryConfigureBadRequest
- func (o *RegistryConfigureBadRequest) Code() int
- func (o *RegistryConfigureBadRequest) Error() string
- func (o *RegistryConfigureBadRequest) IsClientError() bool
- func (o *RegistryConfigureBadRequest) IsCode(code int) bool
- func (o *RegistryConfigureBadRequest) IsRedirect() bool
- func (o *RegistryConfigureBadRequest) IsServerError() bool
- func (o *RegistryConfigureBadRequest) IsSuccess() bool
- func (o *RegistryConfigureBadRequest) String() string
- type RegistryConfigureForbidden
- func (o *RegistryConfigureForbidden) Code() int
- func (o *RegistryConfigureForbidden) Error() string
- func (o *RegistryConfigureForbidden) IsClientError() bool
- func (o *RegistryConfigureForbidden) IsCode(code int) bool
- func (o *RegistryConfigureForbidden) IsRedirect() bool
- func (o *RegistryConfigureForbidden) IsServerError() bool
- func (o *RegistryConfigureForbidden) IsSuccess() bool
- func (o *RegistryConfigureForbidden) String() string
- type RegistryConfigureInternalServerError
- func (o *RegistryConfigureInternalServerError) Code() int
- func (o *RegistryConfigureInternalServerError) Error() string
- func (o *RegistryConfigureInternalServerError) IsClientError() bool
- func (o *RegistryConfigureInternalServerError) IsCode(code int) bool
- func (o *RegistryConfigureInternalServerError) IsRedirect() bool
- func (o *RegistryConfigureInternalServerError) IsServerError() bool
- func (o *RegistryConfigureInternalServerError) IsSuccess() bool
- func (o *RegistryConfigureInternalServerError) String() string
- type RegistryConfigureNoContent
- func (o *RegistryConfigureNoContent) Code() int
- func (o *RegistryConfigureNoContent) Error() string
- func (o *RegistryConfigureNoContent) IsClientError() bool
- func (o *RegistryConfigureNoContent) IsCode(code int) bool
- func (o *RegistryConfigureNoContent) IsRedirect() bool
- func (o *RegistryConfigureNoContent) IsServerError() bool
- func (o *RegistryConfigureNoContent) IsSuccess() bool
- func (o *RegistryConfigureNoContent) String() string
- type RegistryConfigureNotFound
- func (o *RegistryConfigureNotFound) Code() int
- func (o *RegistryConfigureNotFound) Error() string
- func (o *RegistryConfigureNotFound) IsClientError() bool
- func (o *RegistryConfigureNotFound) IsCode(code int) bool
- func (o *RegistryConfigureNotFound) IsRedirect() bool
- func (o *RegistryConfigureNotFound) IsServerError() bool
- func (o *RegistryConfigureNotFound) IsSuccess() bool
- func (o *RegistryConfigureNotFound) String() string
- type RegistryConfigureParams
- func NewRegistryConfigureParams() *RegistryConfigureParams
- func NewRegistryConfigureParamsWithContext(ctx context.Context) *RegistryConfigureParams
- func NewRegistryConfigureParamsWithHTTPClient(client *http.Client) *RegistryConfigureParams
- func NewRegistryConfigureParamsWithTimeout(timeout time.Duration) *RegistryConfigureParams
- func (o *RegistryConfigureParams) SetBody(body *models.RegistriesRegistryConfigurePayload)
- func (o *RegistryConfigureParams) SetContext(ctx context.Context)
- func (o *RegistryConfigureParams) SetDefaults()
- func (o *RegistryConfigureParams) SetHTTPClient(client *http.Client)
- func (o *RegistryConfigureParams) SetID(id int64)
- func (o *RegistryConfigureParams) SetTimeout(timeout time.Duration)
- func (o *RegistryConfigureParams) WithBody(body *models.RegistriesRegistryConfigurePayload) *RegistryConfigureParams
- func (o *RegistryConfigureParams) WithContext(ctx context.Context) *RegistryConfigureParams
- func (o *RegistryConfigureParams) WithDefaults() *RegistryConfigureParams
- func (o *RegistryConfigureParams) WithHTTPClient(client *http.Client) *RegistryConfigureParams
- func (o *RegistryConfigureParams) WithID(id int64) *RegistryConfigureParams
- func (o *RegistryConfigureParams) WithTimeout(timeout time.Duration) *RegistryConfigureParams
- func (o *RegistryConfigureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type RegistryConfigureReader
- type RegistryCreateBadRequest
- func (o *RegistryCreateBadRequest) Code() int
- func (o *RegistryCreateBadRequest) Error() string
- func (o *RegistryCreateBadRequest) IsClientError() bool
- func (o *RegistryCreateBadRequest) IsCode(code int) bool
- func (o *RegistryCreateBadRequest) IsRedirect() bool
- func (o *RegistryCreateBadRequest) IsServerError() bool
- func (o *RegistryCreateBadRequest) IsSuccess() bool
- func (o *RegistryCreateBadRequest) String() string
- type RegistryCreateConflict
- func (o *RegistryCreateConflict) Code() int
- func (o *RegistryCreateConflict) Error() string
- func (o *RegistryCreateConflict) IsClientError() bool
- func (o *RegistryCreateConflict) IsCode(code int) bool
- func (o *RegistryCreateConflict) IsRedirect() bool
- func (o *RegistryCreateConflict) IsServerError() bool
- func (o *RegistryCreateConflict) IsSuccess() bool
- func (o *RegistryCreateConflict) String() string
- type RegistryCreateInternalServerError
- func (o *RegistryCreateInternalServerError) Code() int
- func (o *RegistryCreateInternalServerError) Error() string
- func (o *RegistryCreateInternalServerError) IsClientError() bool
- func (o *RegistryCreateInternalServerError) IsCode(code int) bool
- func (o *RegistryCreateInternalServerError) IsRedirect() bool
- func (o *RegistryCreateInternalServerError) IsServerError() bool
- func (o *RegistryCreateInternalServerError) IsSuccess() bool
- func (o *RegistryCreateInternalServerError) String() string
- type RegistryCreateOK
- func (o *RegistryCreateOK) Code() int
- func (o *RegistryCreateOK) Error() string
- func (o *RegistryCreateOK) GetPayload() *models.PortainereeRegistry
- func (o *RegistryCreateOK) IsClientError() bool
- func (o *RegistryCreateOK) IsCode(code int) bool
- func (o *RegistryCreateOK) IsRedirect() bool
- func (o *RegistryCreateOK) IsServerError() bool
- func (o *RegistryCreateOK) IsSuccess() bool
- func (o *RegistryCreateOK) String() string
- 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.RegistriesRegistryCreatePayload)
- func (o *RegistryCreateParams) SetContext(ctx context.Context)
- func (o *RegistryCreateParams) SetDefaults()
- func (o *RegistryCreateParams) SetHTTPClient(client *http.Client)
- func (o *RegistryCreateParams) SetTimeout(timeout time.Duration)
- func (o *RegistryCreateParams) WithBody(body *models.RegistriesRegistryCreatePayload) *RegistryCreateParams
- func (o *RegistryCreateParams) WithContext(ctx context.Context) *RegistryCreateParams
- func (o *RegistryCreateParams) WithDefaults() *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
- func (o *RegistryDeleteBadRequest) Code() int
- func (o *RegistryDeleteBadRequest) Error() string
- func (o *RegistryDeleteBadRequest) IsClientError() bool
- func (o *RegistryDeleteBadRequest) IsCode(code int) bool
- func (o *RegistryDeleteBadRequest) IsRedirect() bool
- func (o *RegistryDeleteBadRequest) IsServerError() bool
- func (o *RegistryDeleteBadRequest) IsSuccess() bool
- func (o *RegistryDeleteBadRequest) String() string
- type RegistryDeleteInternalServerError
- func (o *RegistryDeleteInternalServerError) Code() int
- func (o *RegistryDeleteInternalServerError) Error() string
- func (o *RegistryDeleteInternalServerError) IsClientError() bool
- func (o *RegistryDeleteInternalServerError) IsCode(code int) bool
- func (o *RegistryDeleteInternalServerError) IsRedirect() bool
- func (o *RegistryDeleteInternalServerError) IsServerError() bool
- func (o *RegistryDeleteInternalServerError) IsSuccess() bool
- func (o *RegistryDeleteInternalServerError) String() string
- type RegistryDeleteNoContent
- func (o *RegistryDeleteNoContent) Code() int
- func (o *RegistryDeleteNoContent) Error() string
- func (o *RegistryDeleteNoContent) IsClientError() bool
- func (o *RegistryDeleteNoContent) IsCode(code int) bool
- func (o *RegistryDeleteNoContent) IsRedirect() bool
- func (o *RegistryDeleteNoContent) IsServerError() bool
- func (o *RegistryDeleteNoContent) IsSuccess() bool
- func (o *RegistryDeleteNoContent) String() string
- type RegistryDeleteNotFound
- func (o *RegistryDeleteNotFound) Code() int
- func (o *RegistryDeleteNotFound) Error() string
- func (o *RegistryDeleteNotFound) IsClientError() bool
- func (o *RegistryDeleteNotFound) IsCode(code int) bool
- func (o *RegistryDeleteNotFound) IsRedirect() bool
- func (o *RegistryDeleteNotFound) IsServerError() bool
- func (o *RegistryDeleteNotFound) IsSuccess() bool
- func (o *RegistryDeleteNotFound) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *RegistryInspectBadRequest) Code() int
- func (o *RegistryInspectBadRequest) Error() string
- func (o *RegistryInspectBadRequest) IsClientError() bool
- func (o *RegistryInspectBadRequest) IsCode(code int) bool
- func (o *RegistryInspectBadRequest) IsRedirect() bool
- func (o *RegistryInspectBadRequest) IsServerError() bool
- func (o *RegistryInspectBadRequest) IsSuccess() bool
- func (o *RegistryInspectBadRequest) String() string
- type RegistryInspectForbidden
- func (o *RegistryInspectForbidden) Code() int
- func (o *RegistryInspectForbidden) Error() string
- func (o *RegistryInspectForbidden) IsClientError() bool
- func (o *RegistryInspectForbidden) IsCode(code int) bool
- func (o *RegistryInspectForbidden) IsRedirect() bool
- func (o *RegistryInspectForbidden) IsServerError() bool
- func (o *RegistryInspectForbidden) IsSuccess() bool
- func (o *RegistryInspectForbidden) String() string
- type RegistryInspectInternalServerError
- func (o *RegistryInspectInternalServerError) Code() int
- func (o *RegistryInspectInternalServerError) Error() string
- func (o *RegistryInspectInternalServerError) IsClientError() bool
- func (o *RegistryInspectInternalServerError) IsCode(code int) bool
- func (o *RegistryInspectInternalServerError) IsRedirect() bool
- func (o *RegistryInspectInternalServerError) IsServerError() bool
- func (o *RegistryInspectInternalServerError) IsSuccess() bool
- func (o *RegistryInspectInternalServerError) String() string
- type RegistryInspectNotFound
- func (o *RegistryInspectNotFound) Code() int
- func (o *RegistryInspectNotFound) Error() string
- func (o *RegistryInspectNotFound) IsClientError() bool
- func (o *RegistryInspectNotFound) IsCode(code int) bool
- func (o *RegistryInspectNotFound) IsRedirect() bool
- func (o *RegistryInspectNotFound) IsServerError() bool
- func (o *RegistryInspectNotFound) IsSuccess() bool
- func (o *RegistryInspectNotFound) String() string
- type RegistryInspectOK
- func (o *RegistryInspectOK) Code() int
- func (o *RegistryInspectOK) Error() string
- func (o *RegistryInspectOK) GetPayload() *models.PortainereeRegistry
- func (o *RegistryInspectOK) IsClientError() bool
- func (o *RegistryInspectOK) IsCode(code int) bool
- func (o *RegistryInspectOK) IsRedirect() bool
- func (o *RegistryInspectOK) IsServerError() bool
- func (o *RegistryInspectOK) IsSuccess() bool
- func (o *RegistryInspectOK) String() string
- 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) SetDefaults()
- 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) WithDefaults() *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
- func (o *RegistryListInternalServerError) Code() int
- func (o *RegistryListInternalServerError) Error() string
- func (o *RegistryListInternalServerError) IsClientError() bool
- func (o *RegistryListInternalServerError) IsCode(code int) bool
- func (o *RegistryListInternalServerError) IsRedirect() bool
- func (o *RegistryListInternalServerError) IsServerError() bool
- func (o *RegistryListInternalServerError) IsSuccess() bool
- func (o *RegistryListInternalServerError) String() string
- type RegistryListOK
- func (o *RegistryListOK) Code() int
- func (o *RegistryListOK) Error() string
- func (o *RegistryListOK) GetPayload() []*models.PortainereeRegistry
- func (o *RegistryListOK) IsClientError() bool
- func (o *RegistryListOK) IsCode(code int) bool
- func (o *RegistryListOK) IsRedirect() bool
- func (o *RegistryListOK) IsServerError() bool
- func (o *RegistryListOK) IsSuccess() bool
- func (o *RegistryListOK) String() string
- type RegistryListParams
- func (o *RegistryListParams) SetContext(ctx context.Context)
- func (o *RegistryListParams) SetDefaults()
- 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) WithDefaults() *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
- func (o *RegistryUpdateBadRequest) Code() int
- func (o *RegistryUpdateBadRequest) Error() string
- func (o *RegistryUpdateBadRequest) IsClientError() bool
- func (o *RegistryUpdateBadRequest) IsCode(code int) bool
- func (o *RegistryUpdateBadRequest) IsRedirect() bool
- func (o *RegistryUpdateBadRequest) IsServerError() bool
- func (o *RegistryUpdateBadRequest) IsSuccess() bool
- func (o *RegistryUpdateBadRequest) String() string
- type RegistryUpdateConflict
- func (o *RegistryUpdateConflict) Code() int
- func (o *RegistryUpdateConflict) Error() string
- func (o *RegistryUpdateConflict) IsClientError() bool
- func (o *RegistryUpdateConflict) IsCode(code int) bool
- func (o *RegistryUpdateConflict) IsRedirect() bool
- func (o *RegistryUpdateConflict) IsServerError() bool
- func (o *RegistryUpdateConflict) IsSuccess() bool
- func (o *RegistryUpdateConflict) String() string
- type RegistryUpdateInternalServerError
- func (o *RegistryUpdateInternalServerError) Code() int
- func (o *RegistryUpdateInternalServerError) Error() string
- func (o *RegistryUpdateInternalServerError) IsClientError() bool
- func (o *RegistryUpdateInternalServerError) IsCode(code int) bool
- func (o *RegistryUpdateInternalServerError) IsRedirect() bool
- func (o *RegistryUpdateInternalServerError) IsServerError() bool
- func (o *RegistryUpdateInternalServerError) IsSuccess() bool
- func (o *RegistryUpdateInternalServerError) String() string
- type RegistryUpdateNotFound
- func (o *RegistryUpdateNotFound) Code() int
- func (o *RegistryUpdateNotFound) Error() string
- func (o *RegistryUpdateNotFound) IsClientError() bool
- func (o *RegistryUpdateNotFound) IsCode(code int) bool
- func (o *RegistryUpdateNotFound) IsRedirect() bool
- func (o *RegistryUpdateNotFound) IsServerError() bool
- func (o *RegistryUpdateNotFound) IsSuccess() bool
- func (o *RegistryUpdateNotFound) String() string
- type RegistryUpdateOK
- func (o *RegistryUpdateOK) Code() int
- func (o *RegistryUpdateOK) Error() string
- func (o *RegistryUpdateOK) GetPayload() *models.PortainereeRegistry
- func (o *RegistryUpdateOK) IsClientError() bool
- func (o *RegistryUpdateOK) IsCode(code int) bool
- func (o *RegistryUpdateOK) IsRedirect() bool
- func (o *RegistryUpdateOK) IsServerError() bool
- func (o *RegistryUpdateOK) IsSuccess() bool
- func (o *RegistryUpdateOK) String() string
- 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.RegistriesRegistryUpdatePayload)
- func (o *RegistryUpdateParams) SetContext(ctx context.Context)
- func (o *RegistryUpdateParams) SetDefaults()
- 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.RegistriesRegistryUpdatePayload) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithContext(ctx context.Context) *RegistryUpdateParams
- func (o *RegistryUpdateParams) WithDefaults() *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 (*Client) EcrDeleteRepository ¶
func (a *Client) EcrDeleteRepository(params *EcrDeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteRepositoryOK, error)
EcrDeleteRepository deletes e c r repository Delete ECR repository.
**Access policy**: restricted
func (*Client) EcrDeleteTags ¶
func (a *Client) EcrDeleteTags(params *EcrDeleteTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteTagsNoContent, error)
EcrDeleteTags deletes tags Delete tags for a given ECR repository
**Access policy**: restricted
func (*Client) RegistryConfigure ¶
func (a *Client) RegistryConfigure(params *RegistryConfigureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryConfigureNoContent, error)
RegistryConfigure configures a registry Configures a registry.
**Access policy**: restricted
func (*Client) RegistryCreate ¶
func (a *Client) RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryCreateOK, error)
RegistryCreate creates a new registry Create a new registry.
**Access policy**: restricted
func (*Client) RegistryDelete ¶
func (a *Client) RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryDeleteNoContent, error)
RegistryDelete removes a registry Remove a registry
**Access policy**: restricted
func (*Client) RegistryInspect ¶
func (a *Client) RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryInspectOK, error)
RegistryInspect inspects a registry Retrieve details about a registry.
**Access policy**: restricted
func (*Client) RegistryList ¶
func (a *Client) RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*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, opts ...ClientOption) (*RegistryUpdateOK, error)
RegistryUpdate updates a registry Update a registry
**Access policy**: restricted
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption may be used to customize the behavior of Client methods.
type ClientService ¶
type ClientService interface {
RegistryConfigure(params *RegistryConfigureParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryConfigureNoContent, error)
RegistryCreate(params *RegistryCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryCreateOK, error)
RegistryDelete(params *RegistryDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryDeleteNoContent, error)
RegistryInspect(params *RegistryInspectParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryInspectOK, error)
RegistryList(params *RegistryListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryListOK, error)
RegistryUpdate(params *RegistryUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*RegistryUpdateOK, error)
EcrDeleteRepository(params *EcrDeleteRepositoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteRepositoryOK, error)
EcrDeleteTags(params *EcrDeleteTagsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*EcrDeleteTagsNoContent, 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 registries API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new registries API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new registries API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type EcrDeleteRepositoryBadRequest ¶
type EcrDeleteRepositoryBadRequest struct {
}
EcrDeleteRepositoryBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEcrDeleteRepositoryBadRequest ¶
func NewEcrDeleteRepositoryBadRequest() *EcrDeleteRepositoryBadRequest
NewEcrDeleteRepositoryBadRequest creates a EcrDeleteRepositoryBadRequest with default headers values
func (*EcrDeleteRepositoryBadRequest) Code ¶
func (o *EcrDeleteRepositoryBadRequest) Code() int
Code gets the status code for the ecr delete repository bad request response
func (*EcrDeleteRepositoryBadRequest) Error ¶
func (o *EcrDeleteRepositoryBadRequest) Error() string
func (*EcrDeleteRepositoryBadRequest) IsClientError ¶
func (o *EcrDeleteRepositoryBadRequest) IsClientError() bool
IsClientError returns true when this ecr delete repository bad request response has a 4xx status code
func (*EcrDeleteRepositoryBadRequest) IsCode ¶
func (o *EcrDeleteRepositoryBadRequest) IsCode(code int) bool
IsCode returns true when this ecr delete repository bad request response a status code equal to that given
func (*EcrDeleteRepositoryBadRequest) IsRedirect ¶
func (o *EcrDeleteRepositoryBadRequest) IsRedirect() bool
IsRedirect returns true when this ecr delete repository bad request response has a 3xx status code
func (*EcrDeleteRepositoryBadRequest) IsServerError ¶
func (o *EcrDeleteRepositoryBadRequest) IsServerError() bool
IsServerError returns true when this ecr delete repository bad request response has a 5xx status code
func (*EcrDeleteRepositoryBadRequest) IsSuccess ¶
func (o *EcrDeleteRepositoryBadRequest) IsSuccess() bool
IsSuccess returns true when this ecr delete repository bad request response has a 2xx status code
func (*EcrDeleteRepositoryBadRequest) String ¶
func (o *EcrDeleteRepositoryBadRequest) String() string
type EcrDeleteRepositoryForbidden ¶
type EcrDeleteRepositoryForbidden struct {
}
EcrDeleteRepositoryForbidden describes a response with status code 403, with default header values.
Permission denied to access registry
func NewEcrDeleteRepositoryForbidden ¶
func NewEcrDeleteRepositoryForbidden() *EcrDeleteRepositoryForbidden
NewEcrDeleteRepositoryForbidden creates a EcrDeleteRepositoryForbidden with default headers values
func (*EcrDeleteRepositoryForbidden) Code ¶
func (o *EcrDeleteRepositoryForbidden) Code() int
Code gets the status code for the ecr delete repository forbidden response
func (*EcrDeleteRepositoryForbidden) Error ¶
func (o *EcrDeleteRepositoryForbidden) Error() string
func (*EcrDeleteRepositoryForbidden) IsClientError ¶
func (o *EcrDeleteRepositoryForbidden) IsClientError() bool
IsClientError returns true when this ecr delete repository forbidden response has a 4xx status code
func (*EcrDeleteRepositoryForbidden) IsCode ¶
func (o *EcrDeleteRepositoryForbidden) IsCode(code int) bool
IsCode returns true when this ecr delete repository forbidden response a status code equal to that given
func (*EcrDeleteRepositoryForbidden) IsRedirect ¶
func (o *EcrDeleteRepositoryForbidden) IsRedirect() bool
IsRedirect returns true when this ecr delete repository forbidden response has a 3xx status code
func (*EcrDeleteRepositoryForbidden) IsServerError ¶
func (o *EcrDeleteRepositoryForbidden) IsServerError() bool
IsServerError returns true when this ecr delete repository forbidden response has a 5xx status code
func (*EcrDeleteRepositoryForbidden) IsSuccess ¶
func (o *EcrDeleteRepositoryForbidden) IsSuccess() bool
IsSuccess returns true when this ecr delete repository forbidden response has a 2xx status code
func (*EcrDeleteRepositoryForbidden) String ¶
func (o *EcrDeleteRepositoryForbidden) String() string
type EcrDeleteRepositoryInternalServerError ¶
type EcrDeleteRepositoryInternalServerError struct {
}
EcrDeleteRepositoryInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEcrDeleteRepositoryInternalServerError ¶
func NewEcrDeleteRepositoryInternalServerError() *EcrDeleteRepositoryInternalServerError
NewEcrDeleteRepositoryInternalServerError creates a EcrDeleteRepositoryInternalServerError with default headers values
func (*EcrDeleteRepositoryInternalServerError) Code ¶
func (o *EcrDeleteRepositoryInternalServerError) Code() int
Code gets the status code for the ecr delete repository internal server error response
func (*EcrDeleteRepositoryInternalServerError) Error ¶
func (o *EcrDeleteRepositoryInternalServerError) Error() string
func (*EcrDeleteRepositoryInternalServerError) IsClientError ¶
func (o *EcrDeleteRepositoryInternalServerError) IsClientError() bool
IsClientError returns true when this ecr delete repository internal server error response has a 4xx status code
func (*EcrDeleteRepositoryInternalServerError) IsCode ¶
func (o *EcrDeleteRepositoryInternalServerError) IsCode(code int) bool
IsCode returns true when this ecr delete repository internal server error response a status code equal to that given
func (*EcrDeleteRepositoryInternalServerError) IsRedirect ¶
func (o *EcrDeleteRepositoryInternalServerError) IsRedirect() bool
IsRedirect returns true when this ecr delete repository internal server error response has a 3xx status code
func (*EcrDeleteRepositoryInternalServerError) IsServerError ¶
func (o *EcrDeleteRepositoryInternalServerError) IsServerError() bool
IsServerError returns true when this ecr delete repository internal server error response has a 5xx status code
func (*EcrDeleteRepositoryInternalServerError) IsSuccess ¶
func (o *EcrDeleteRepositoryInternalServerError) IsSuccess() bool
IsSuccess returns true when this ecr delete repository internal server error response has a 2xx status code
func (*EcrDeleteRepositoryInternalServerError) String ¶
func (o *EcrDeleteRepositoryInternalServerError) String() string
type EcrDeleteRepositoryNotFound ¶
type EcrDeleteRepositoryNotFound struct {
}
EcrDeleteRepositoryNotFound describes a response with status code 404, with default header values.
Registry not found
func NewEcrDeleteRepositoryNotFound ¶
func NewEcrDeleteRepositoryNotFound() *EcrDeleteRepositoryNotFound
NewEcrDeleteRepositoryNotFound creates a EcrDeleteRepositoryNotFound with default headers values
func (*EcrDeleteRepositoryNotFound) Code ¶
func (o *EcrDeleteRepositoryNotFound) Code() int
Code gets the status code for the ecr delete repository not found response
func (*EcrDeleteRepositoryNotFound) Error ¶
func (o *EcrDeleteRepositoryNotFound) Error() string
func (*EcrDeleteRepositoryNotFound) IsClientError ¶
func (o *EcrDeleteRepositoryNotFound) IsClientError() bool
IsClientError returns true when this ecr delete repository not found response has a 4xx status code
func (*EcrDeleteRepositoryNotFound) IsCode ¶
func (o *EcrDeleteRepositoryNotFound) IsCode(code int) bool
IsCode returns true when this ecr delete repository not found response a status code equal to that given
func (*EcrDeleteRepositoryNotFound) IsRedirect ¶
func (o *EcrDeleteRepositoryNotFound) IsRedirect() bool
IsRedirect returns true when this ecr delete repository not found response has a 3xx status code
func (*EcrDeleteRepositoryNotFound) IsServerError ¶
func (o *EcrDeleteRepositoryNotFound) IsServerError() bool
IsServerError returns true when this ecr delete repository not found response has a 5xx status code
func (*EcrDeleteRepositoryNotFound) IsSuccess ¶
func (o *EcrDeleteRepositoryNotFound) IsSuccess() bool
IsSuccess returns true when this ecr delete repository not found response has a 2xx status code
func (*EcrDeleteRepositoryNotFound) String ¶
func (o *EcrDeleteRepositoryNotFound) String() string
type EcrDeleteRepositoryOK ¶
type EcrDeleteRepositoryOK struct {
}
EcrDeleteRepositoryOK describes a response with status code 200, with default header values.
Success
func NewEcrDeleteRepositoryOK ¶
func NewEcrDeleteRepositoryOK() *EcrDeleteRepositoryOK
NewEcrDeleteRepositoryOK creates a EcrDeleteRepositoryOK with default headers values
func (*EcrDeleteRepositoryOK) Code ¶
func (o *EcrDeleteRepositoryOK) Code() int
Code gets the status code for the ecr delete repository o k response
func (*EcrDeleteRepositoryOK) Error ¶
func (o *EcrDeleteRepositoryOK) Error() string
func (*EcrDeleteRepositoryOK) IsClientError ¶
func (o *EcrDeleteRepositoryOK) IsClientError() bool
IsClientError returns true when this ecr delete repository o k response has a 4xx status code
func (*EcrDeleteRepositoryOK) IsCode ¶
func (o *EcrDeleteRepositoryOK) IsCode(code int) bool
IsCode returns true when this ecr delete repository o k response a status code equal to that given
func (*EcrDeleteRepositoryOK) IsRedirect ¶
func (o *EcrDeleteRepositoryOK) IsRedirect() bool
IsRedirect returns true when this ecr delete repository o k response has a 3xx status code
func (*EcrDeleteRepositoryOK) IsServerError ¶
func (o *EcrDeleteRepositoryOK) IsServerError() bool
IsServerError returns true when this ecr delete repository o k response has a 5xx status code
func (*EcrDeleteRepositoryOK) IsSuccess ¶
func (o *EcrDeleteRepositoryOK) IsSuccess() bool
IsSuccess returns true when this ecr delete repository o k response has a 2xx status code
func (*EcrDeleteRepositoryOK) String ¶
func (o *EcrDeleteRepositoryOK) String() string
type EcrDeleteRepositoryParams ¶
type EcrDeleteRepositoryParams struct {
/* ID.
Registry identifier
*/
ID int64
/* RepositoryName.
Repository name
*/
RepositoryName string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EcrDeleteRepositoryParams contains all the parameters to send to the API endpoint
for the ecr delete repository operation. Typically these are written to a http.Request.
func NewEcrDeleteRepositoryParams ¶
func NewEcrDeleteRepositoryParams() *EcrDeleteRepositoryParams
NewEcrDeleteRepositoryParams creates a new EcrDeleteRepositoryParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEcrDeleteRepositoryParamsWithContext ¶
func NewEcrDeleteRepositoryParamsWithContext(ctx context.Context) *EcrDeleteRepositoryParams
NewEcrDeleteRepositoryParamsWithContext creates a new EcrDeleteRepositoryParams object with the ability to set a context for a request.
func NewEcrDeleteRepositoryParamsWithHTTPClient ¶
func NewEcrDeleteRepositoryParamsWithHTTPClient(client *http.Client) *EcrDeleteRepositoryParams
NewEcrDeleteRepositoryParamsWithHTTPClient creates a new EcrDeleteRepositoryParams object with the ability to set a custom HTTPClient for a request.
func NewEcrDeleteRepositoryParamsWithTimeout ¶
func NewEcrDeleteRepositoryParamsWithTimeout(timeout time.Duration) *EcrDeleteRepositoryParams
NewEcrDeleteRepositoryParamsWithTimeout creates a new EcrDeleteRepositoryParams object with the ability to set a timeout on a request.
func (*EcrDeleteRepositoryParams) SetContext ¶
func (o *EcrDeleteRepositoryParams) SetContext(ctx context.Context)
SetContext adds the context to the ecr delete repository params
func (*EcrDeleteRepositoryParams) SetDefaults ¶
func (o *EcrDeleteRepositoryParams) SetDefaults()
SetDefaults hydrates default values in the ecr delete repository params (not the query body).
All values with no default are reset to their zero value.
func (*EcrDeleteRepositoryParams) SetHTTPClient ¶
func (o *EcrDeleteRepositoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ecr delete repository params
func (*EcrDeleteRepositoryParams) SetID ¶
func (o *EcrDeleteRepositoryParams) SetID(id int64)
SetID adds the id to the ecr delete repository params
func (*EcrDeleteRepositoryParams) SetRepositoryName ¶
func (o *EcrDeleteRepositoryParams) SetRepositoryName(repositoryName string)
SetRepositoryName adds the repositoryName to the ecr delete repository params
func (*EcrDeleteRepositoryParams) SetTimeout ¶
func (o *EcrDeleteRepositoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WithContext ¶
func (o *EcrDeleteRepositoryParams) WithContext(ctx context.Context) *EcrDeleteRepositoryParams
WithContext adds the context to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WithDefaults ¶
func (o *EcrDeleteRepositoryParams) WithDefaults() *EcrDeleteRepositoryParams
WithDefaults hydrates default values in the ecr delete repository params (not the query body).
All values with no default are reset to their zero value.
func (*EcrDeleteRepositoryParams) WithHTTPClient ¶
func (o *EcrDeleteRepositoryParams) WithHTTPClient(client *http.Client) *EcrDeleteRepositoryParams
WithHTTPClient adds the HTTPClient to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WithID ¶
func (o *EcrDeleteRepositoryParams) WithID(id int64) *EcrDeleteRepositoryParams
WithID adds the id to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WithRepositoryName ¶
func (o *EcrDeleteRepositoryParams) WithRepositoryName(repositoryName string) *EcrDeleteRepositoryParams
WithRepositoryName adds the repositoryName to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WithTimeout ¶
func (o *EcrDeleteRepositoryParams) WithTimeout(timeout time.Duration) *EcrDeleteRepositoryParams
WithTimeout adds the timeout to the ecr delete repository params
func (*EcrDeleteRepositoryParams) WriteToRequest ¶
func (o *EcrDeleteRepositoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EcrDeleteRepositoryReader ¶
type EcrDeleteRepositoryReader struct {
// contains filtered or unexported fields
}
EcrDeleteRepositoryReader is a Reader for the EcrDeleteRepository structure.
func (*EcrDeleteRepositoryReader) ReadResponse ¶
func (o *EcrDeleteRepositoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type EcrDeleteTagsBadRequest ¶
type EcrDeleteTagsBadRequest struct {
}
EcrDeleteTagsBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewEcrDeleteTagsBadRequest ¶
func NewEcrDeleteTagsBadRequest() *EcrDeleteTagsBadRequest
NewEcrDeleteTagsBadRequest creates a EcrDeleteTagsBadRequest with default headers values
func (*EcrDeleteTagsBadRequest) Code ¶
func (o *EcrDeleteTagsBadRequest) Code() int
Code gets the status code for the ecr delete tags bad request response
func (*EcrDeleteTagsBadRequest) Error ¶
func (o *EcrDeleteTagsBadRequest) Error() string
func (*EcrDeleteTagsBadRequest) IsClientError ¶
func (o *EcrDeleteTagsBadRequest) IsClientError() bool
IsClientError returns true when this ecr delete tags bad request response has a 4xx status code
func (*EcrDeleteTagsBadRequest) IsCode ¶
func (o *EcrDeleteTagsBadRequest) IsCode(code int) bool
IsCode returns true when this ecr delete tags bad request response a status code equal to that given
func (*EcrDeleteTagsBadRequest) IsRedirect ¶
func (o *EcrDeleteTagsBadRequest) IsRedirect() bool
IsRedirect returns true when this ecr delete tags bad request response has a 3xx status code
func (*EcrDeleteTagsBadRequest) IsServerError ¶
func (o *EcrDeleteTagsBadRequest) IsServerError() bool
IsServerError returns true when this ecr delete tags bad request response has a 5xx status code
func (*EcrDeleteTagsBadRequest) IsSuccess ¶
func (o *EcrDeleteTagsBadRequest) IsSuccess() bool
IsSuccess returns true when this ecr delete tags bad request response has a 2xx status code
func (*EcrDeleteTagsBadRequest) String ¶
func (o *EcrDeleteTagsBadRequest) String() string
type EcrDeleteTagsForbidden ¶
type EcrDeleteTagsForbidden struct {
}
EcrDeleteTagsForbidden describes a response with status code 403, with default header values.
Permission denied to access registry
func NewEcrDeleteTagsForbidden ¶
func NewEcrDeleteTagsForbidden() *EcrDeleteTagsForbidden
NewEcrDeleteTagsForbidden creates a EcrDeleteTagsForbidden with default headers values
func (*EcrDeleteTagsForbidden) Code ¶
func (o *EcrDeleteTagsForbidden) Code() int
Code gets the status code for the ecr delete tags forbidden response
func (*EcrDeleteTagsForbidden) Error ¶
func (o *EcrDeleteTagsForbidden) Error() string
func (*EcrDeleteTagsForbidden) IsClientError ¶
func (o *EcrDeleteTagsForbidden) IsClientError() bool
IsClientError returns true when this ecr delete tags forbidden response has a 4xx status code
func (*EcrDeleteTagsForbidden) IsCode ¶
func (o *EcrDeleteTagsForbidden) IsCode(code int) bool
IsCode returns true when this ecr delete tags forbidden response a status code equal to that given
func (*EcrDeleteTagsForbidden) IsRedirect ¶
func (o *EcrDeleteTagsForbidden) IsRedirect() bool
IsRedirect returns true when this ecr delete tags forbidden response has a 3xx status code
func (*EcrDeleteTagsForbidden) IsServerError ¶
func (o *EcrDeleteTagsForbidden) IsServerError() bool
IsServerError returns true when this ecr delete tags forbidden response has a 5xx status code
func (*EcrDeleteTagsForbidden) IsSuccess ¶
func (o *EcrDeleteTagsForbidden) IsSuccess() bool
IsSuccess returns true when this ecr delete tags forbidden response has a 2xx status code
func (*EcrDeleteTagsForbidden) String ¶
func (o *EcrDeleteTagsForbidden) String() string
type EcrDeleteTagsInternalServerError ¶
type EcrDeleteTagsInternalServerError struct {
}
EcrDeleteTagsInternalServerError describes a response with status code 500, with default header values.
Server error
func NewEcrDeleteTagsInternalServerError ¶
func NewEcrDeleteTagsInternalServerError() *EcrDeleteTagsInternalServerError
NewEcrDeleteTagsInternalServerError creates a EcrDeleteTagsInternalServerError with default headers values
func (*EcrDeleteTagsInternalServerError) Code ¶
func (o *EcrDeleteTagsInternalServerError) Code() int
Code gets the status code for the ecr delete tags internal server error response
func (*EcrDeleteTagsInternalServerError) Error ¶
func (o *EcrDeleteTagsInternalServerError) Error() string
func (*EcrDeleteTagsInternalServerError) IsClientError ¶
func (o *EcrDeleteTagsInternalServerError) IsClientError() bool
IsClientError returns true when this ecr delete tags internal server error response has a 4xx status code
func (*EcrDeleteTagsInternalServerError) IsCode ¶
func (o *EcrDeleteTagsInternalServerError) IsCode(code int) bool
IsCode returns true when this ecr delete tags internal server error response a status code equal to that given
func (*EcrDeleteTagsInternalServerError) IsRedirect ¶
func (o *EcrDeleteTagsInternalServerError) IsRedirect() bool
IsRedirect returns true when this ecr delete tags internal server error response has a 3xx status code
func (*EcrDeleteTagsInternalServerError) IsServerError ¶
func (o *EcrDeleteTagsInternalServerError) IsServerError() bool
IsServerError returns true when this ecr delete tags internal server error response has a 5xx status code
func (*EcrDeleteTagsInternalServerError) IsSuccess ¶
func (o *EcrDeleteTagsInternalServerError) IsSuccess() bool
IsSuccess returns true when this ecr delete tags internal server error response has a 2xx status code
func (*EcrDeleteTagsInternalServerError) String ¶
func (o *EcrDeleteTagsInternalServerError) String() string
type EcrDeleteTagsNoContent ¶
type EcrDeleteTagsNoContent struct {
}
EcrDeleteTagsNoContent describes a response with status code 204, with default header values.
Success
func NewEcrDeleteTagsNoContent ¶
func NewEcrDeleteTagsNoContent() *EcrDeleteTagsNoContent
NewEcrDeleteTagsNoContent creates a EcrDeleteTagsNoContent with default headers values
func (*EcrDeleteTagsNoContent) Code ¶
func (o *EcrDeleteTagsNoContent) Code() int
Code gets the status code for the ecr delete tags no content response
func (*EcrDeleteTagsNoContent) Error ¶
func (o *EcrDeleteTagsNoContent) Error() string
func (*EcrDeleteTagsNoContent) IsClientError ¶
func (o *EcrDeleteTagsNoContent) IsClientError() bool
IsClientError returns true when this ecr delete tags no content response has a 4xx status code
func (*EcrDeleteTagsNoContent) IsCode ¶
func (o *EcrDeleteTagsNoContent) IsCode(code int) bool
IsCode returns true when this ecr delete tags no content response a status code equal to that given
func (*EcrDeleteTagsNoContent) IsRedirect ¶
func (o *EcrDeleteTagsNoContent) IsRedirect() bool
IsRedirect returns true when this ecr delete tags no content response has a 3xx status code
func (*EcrDeleteTagsNoContent) IsServerError ¶
func (o *EcrDeleteTagsNoContent) IsServerError() bool
IsServerError returns true when this ecr delete tags no content response has a 5xx status code
func (*EcrDeleteTagsNoContent) IsSuccess ¶
func (o *EcrDeleteTagsNoContent) IsSuccess() bool
IsSuccess returns true when this ecr delete tags no content response has a 2xx status code
func (*EcrDeleteTagsNoContent) String ¶
func (o *EcrDeleteTagsNoContent) String() string
type EcrDeleteTagsNotFound ¶
type EcrDeleteTagsNotFound struct {
}
EcrDeleteTagsNotFound describes a response with status code 404, with default header values.
Registry not found
func NewEcrDeleteTagsNotFound ¶
func NewEcrDeleteTagsNotFound() *EcrDeleteTagsNotFound
NewEcrDeleteTagsNotFound creates a EcrDeleteTagsNotFound with default headers values
func (*EcrDeleteTagsNotFound) Code ¶
func (o *EcrDeleteTagsNotFound) Code() int
Code gets the status code for the ecr delete tags not found response
func (*EcrDeleteTagsNotFound) Error ¶
func (o *EcrDeleteTagsNotFound) Error() string
func (*EcrDeleteTagsNotFound) IsClientError ¶
func (o *EcrDeleteTagsNotFound) IsClientError() bool
IsClientError returns true when this ecr delete tags not found response has a 4xx status code
func (*EcrDeleteTagsNotFound) IsCode ¶
func (o *EcrDeleteTagsNotFound) IsCode(code int) bool
IsCode returns true when this ecr delete tags not found response a status code equal to that given
func (*EcrDeleteTagsNotFound) IsRedirect ¶
func (o *EcrDeleteTagsNotFound) IsRedirect() bool
IsRedirect returns true when this ecr delete tags not found response has a 3xx status code
func (*EcrDeleteTagsNotFound) IsServerError ¶
func (o *EcrDeleteTagsNotFound) IsServerError() bool
IsServerError returns true when this ecr delete tags not found response has a 5xx status code
func (*EcrDeleteTagsNotFound) IsSuccess ¶
func (o *EcrDeleteTagsNotFound) IsSuccess() bool
IsSuccess returns true when this ecr delete tags not found response has a 2xx status code
func (*EcrDeleteTagsNotFound) String ¶
func (o *EcrDeleteTagsNotFound) String() string
type EcrDeleteTagsParams ¶
type EcrDeleteTagsParams struct {
/* Body.
Tag Array
*/
Body *models.RegistriesDeleteTagsPayload
/* ID.
Registry identifier
*/
ID int64
/* RepositoryName.
Repository name
*/
RepositoryName int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
EcrDeleteTagsParams contains all the parameters to send to the API endpoint
for the ecr delete tags operation. Typically these are written to a http.Request.
func NewEcrDeleteTagsParams ¶
func NewEcrDeleteTagsParams() *EcrDeleteTagsParams
NewEcrDeleteTagsParams creates a new EcrDeleteTagsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewEcrDeleteTagsParamsWithContext ¶
func NewEcrDeleteTagsParamsWithContext(ctx context.Context) *EcrDeleteTagsParams
NewEcrDeleteTagsParamsWithContext creates a new EcrDeleteTagsParams object with the ability to set a context for a request.
func NewEcrDeleteTagsParamsWithHTTPClient ¶
func NewEcrDeleteTagsParamsWithHTTPClient(client *http.Client) *EcrDeleteTagsParams
NewEcrDeleteTagsParamsWithHTTPClient creates a new EcrDeleteTagsParams object with the ability to set a custom HTTPClient for a request.
func NewEcrDeleteTagsParamsWithTimeout ¶
func NewEcrDeleteTagsParamsWithTimeout(timeout time.Duration) *EcrDeleteTagsParams
NewEcrDeleteTagsParamsWithTimeout creates a new EcrDeleteTagsParams object with the ability to set a timeout on a request.
func (*EcrDeleteTagsParams) SetBody ¶
func (o *EcrDeleteTagsParams) SetBody(body *models.RegistriesDeleteTagsPayload)
SetBody adds the body to the ecr delete tags params
func (*EcrDeleteTagsParams) SetContext ¶
func (o *EcrDeleteTagsParams) SetContext(ctx context.Context)
SetContext adds the context to the ecr delete tags params
func (*EcrDeleteTagsParams) SetDefaults ¶
func (o *EcrDeleteTagsParams) SetDefaults()
SetDefaults hydrates default values in the ecr delete tags params (not the query body).
All values with no default are reset to their zero value.
func (*EcrDeleteTagsParams) SetHTTPClient ¶
func (o *EcrDeleteTagsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ecr delete tags params
func (*EcrDeleteTagsParams) SetID ¶
func (o *EcrDeleteTagsParams) SetID(id int64)
SetID adds the id to the ecr delete tags params
func (*EcrDeleteTagsParams) SetRepositoryName ¶
func (o *EcrDeleteTagsParams) SetRepositoryName(repositoryName int64)
SetRepositoryName adds the repositoryName to the ecr delete tags params
func (*EcrDeleteTagsParams) SetTimeout ¶
func (o *EcrDeleteTagsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ecr delete tags params
func (*EcrDeleteTagsParams) WithBody ¶
func (o *EcrDeleteTagsParams) WithBody(body *models.RegistriesDeleteTagsPayload) *EcrDeleteTagsParams
WithBody adds the body to the ecr delete tags params
func (*EcrDeleteTagsParams) WithContext ¶
func (o *EcrDeleteTagsParams) WithContext(ctx context.Context) *EcrDeleteTagsParams
WithContext adds the context to the ecr delete tags params
func (*EcrDeleteTagsParams) WithDefaults ¶
func (o *EcrDeleteTagsParams) WithDefaults() *EcrDeleteTagsParams
WithDefaults hydrates default values in the ecr delete tags params (not the query body).
All values with no default are reset to their zero value.
func (*EcrDeleteTagsParams) WithHTTPClient ¶
func (o *EcrDeleteTagsParams) WithHTTPClient(client *http.Client) *EcrDeleteTagsParams
WithHTTPClient adds the HTTPClient to the ecr delete tags params
func (*EcrDeleteTagsParams) WithID ¶
func (o *EcrDeleteTagsParams) WithID(id int64) *EcrDeleteTagsParams
WithID adds the id to the ecr delete tags params
func (*EcrDeleteTagsParams) WithRepositoryName ¶
func (o *EcrDeleteTagsParams) WithRepositoryName(repositoryName int64) *EcrDeleteTagsParams
WithRepositoryName adds the repositoryName to the ecr delete tags params
func (*EcrDeleteTagsParams) WithTimeout ¶
func (o *EcrDeleteTagsParams) WithTimeout(timeout time.Duration) *EcrDeleteTagsParams
WithTimeout adds the timeout to the ecr delete tags params
func (*EcrDeleteTagsParams) WriteToRequest ¶
func (o *EcrDeleteTagsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type EcrDeleteTagsReader ¶
type EcrDeleteTagsReader struct {
// contains filtered or unexported fields
}
EcrDeleteTagsReader is a Reader for the EcrDeleteTags structure.
func (*EcrDeleteTagsReader) ReadResponse ¶
func (o *EcrDeleteTagsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryConfigureBadRequest ¶
type RegistryConfigureBadRequest struct {
}
RegistryConfigureBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewRegistryConfigureBadRequest ¶
func NewRegistryConfigureBadRequest() *RegistryConfigureBadRequest
NewRegistryConfigureBadRequest creates a RegistryConfigureBadRequest with default headers values
func (*RegistryConfigureBadRequest) Code ¶
func (o *RegistryConfigureBadRequest) Code() int
Code gets the status code for the registry configure bad request response
func (*RegistryConfigureBadRequest) Error ¶
func (o *RegistryConfigureBadRequest) Error() string
func (*RegistryConfigureBadRequest) IsClientError ¶
func (o *RegistryConfigureBadRequest) IsClientError() bool
IsClientError returns true when this registry configure bad request response has a 4xx status code
func (*RegistryConfigureBadRequest) IsCode ¶
func (o *RegistryConfigureBadRequest) IsCode(code int) bool
IsCode returns true when this registry configure bad request response a status code equal to that given
func (*RegistryConfigureBadRequest) IsRedirect ¶
func (o *RegistryConfigureBadRequest) IsRedirect() bool
IsRedirect returns true when this registry configure bad request response has a 3xx status code
func (*RegistryConfigureBadRequest) IsServerError ¶
func (o *RegistryConfigureBadRequest) IsServerError() bool
IsServerError returns true when this registry configure bad request response has a 5xx status code
func (*RegistryConfigureBadRequest) IsSuccess ¶
func (o *RegistryConfigureBadRequest) IsSuccess() bool
IsSuccess returns true when this registry configure bad request response has a 2xx status code
func (*RegistryConfigureBadRequest) String ¶
func (o *RegistryConfigureBadRequest) String() string
type RegistryConfigureForbidden ¶
type RegistryConfigureForbidden struct {
}
RegistryConfigureForbidden describes a response with status code 403, with default header values.
Permission denied
func NewRegistryConfigureForbidden ¶
func NewRegistryConfigureForbidden() *RegistryConfigureForbidden
NewRegistryConfigureForbidden creates a RegistryConfigureForbidden with default headers values
func (*RegistryConfigureForbidden) Code ¶
func (o *RegistryConfigureForbidden) Code() int
Code gets the status code for the registry configure forbidden response
func (*RegistryConfigureForbidden) Error ¶
func (o *RegistryConfigureForbidden) Error() string
func (*RegistryConfigureForbidden) IsClientError ¶
func (o *RegistryConfigureForbidden) IsClientError() bool
IsClientError returns true when this registry configure forbidden response has a 4xx status code
func (*RegistryConfigureForbidden) IsCode ¶
func (o *RegistryConfigureForbidden) IsCode(code int) bool
IsCode returns true when this registry configure forbidden response a status code equal to that given
func (*RegistryConfigureForbidden) IsRedirect ¶
func (o *RegistryConfigureForbidden) IsRedirect() bool
IsRedirect returns true when this registry configure forbidden response has a 3xx status code
func (*RegistryConfigureForbidden) IsServerError ¶
func (o *RegistryConfigureForbidden) IsServerError() bool
IsServerError returns true when this registry configure forbidden response has a 5xx status code
func (*RegistryConfigureForbidden) IsSuccess ¶
func (o *RegistryConfigureForbidden) IsSuccess() bool
IsSuccess returns true when this registry configure forbidden response has a 2xx status code
func (*RegistryConfigureForbidden) String ¶
func (o *RegistryConfigureForbidden) String() string
type RegistryConfigureInternalServerError ¶
type RegistryConfigureInternalServerError struct {
}
RegistryConfigureInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryConfigureInternalServerError ¶
func NewRegistryConfigureInternalServerError() *RegistryConfigureInternalServerError
NewRegistryConfigureInternalServerError creates a RegistryConfigureInternalServerError with default headers values
func (*RegistryConfigureInternalServerError) Code ¶
func (o *RegistryConfigureInternalServerError) Code() int
Code gets the status code for the registry configure internal server error response
func (*RegistryConfigureInternalServerError) Error ¶
func (o *RegistryConfigureInternalServerError) Error() string
func (*RegistryConfigureInternalServerError) IsClientError ¶
func (o *RegistryConfigureInternalServerError) IsClientError() bool
IsClientError returns true when this registry configure internal server error response has a 4xx status code
func (*RegistryConfigureInternalServerError) IsCode ¶
func (o *RegistryConfigureInternalServerError) IsCode(code int) bool
IsCode returns true when this registry configure internal server error response a status code equal to that given
func (*RegistryConfigureInternalServerError) IsRedirect ¶
func (o *RegistryConfigureInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry configure internal server error response has a 3xx status code
func (*RegistryConfigureInternalServerError) IsServerError ¶
func (o *RegistryConfigureInternalServerError) IsServerError() bool
IsServerError returns true when this registry configure internal server error response has a 5xx status code
func (*RegistryConfigureInternalServerError) IsSuccess ¶
func (o *RegistryConfigureInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry configure internal server error response has a 2xx status code
func (*RegistryConfigureInternalServerError) String ¶
func (o *RegistryConfigureInternalServerError) String() string
type RegistryConfigureNoContent ¶
type RegistryConfigureNoContent struct {
}
RegistryConfigureNoContent describes a response with status code 204, with default header values.
Success
func NewRegistryConfigureNoContent ¶
func NewRegistryConfigureNoContent() *RegistryConfigureNoContent
NewRegistryConfigureNoContent creates a RegistryConfigureNoContent with default headers values
func (*RegistryConfigureNoContent) Code ¶
func (o *RegistryConfigureNoContent) Code() int
Code gets the status code for the registry configure no content response
func (*RegistryConfigureNoContent) Error ¶
func (o *RegistryConfigureNoContent) Error() string
func (*RegistryConfigureNoContent) IsClientError ¶
func (o *RegistryConfigureNoContent) IsClientError() bool
IsClientError returns true when this registry configure no content response has a 4xx status code
func (*RegistryConfigureNoContent) IsCode ¶
func (o *RegistryConfigureNoContent) IsCode(code int) bool
IsCode returns true when this registry configure no content response a status code equal to that given
func (*RegistryConfigureNoContent) IsRedirect ¶
func (o *RegistryConfigureNoContent) IsRedirect() bool
IsRedirect returns true when this registry configure no content response has a 3xx status code
func (*RegistryConfigureNoContent) IsServerError ¶
func (o *RegistryConfigureNoContent) IsServerError() bool
IsServerError returns true when this registry configure no content response has a 5xx status code
func (*RegistryConfigureNoContent) IsSuccess ¶
func (o *RegistryConfigureNoContent) IsSuccess() bool
IsSuccess returns true when this registry configure no content response has a 2xx status code
func (*RegistryConfigureNoContent) String ¶
func (o *RegistryConfigureNoContent) String() string
type RegistryConfigureNotFound ¶
type RegistryConfigureNotFound struct {
}
RegistryConfigureNotFound describes a response with status code 404, with default header values.
Registry not found
func NewRegistryConfigureNotFound ¶
func NewRegistryConfigureNotFound() *RegistryConfigureNotFound
NewRegistryConfigureNotFound creates a RegistryConfigureNotFound with default headers values
func (*RegistryConfigureNotFound) Code ¶
func (o *RegistryConfigureNotFound) Code() int
Code gets the status code for the registry configure not found response
func (*RegistryConfigureNotFound) Error ¶
func (o *RegistryConfigureNotFound) Error() string
func (*RegistryConfigureNotFound) IsClientError ¶
func (o *RegistryConfigureNotFound) IsClientError() bool
IsClientError returns true when this registry configure not found response has a 4xx status code
func (*RegistryConfigureNotFound) IsCode ¶
func (o *RegistryConfigureNotFound) IsCode(code int) bool
IsCode returns true when this registry configure not found response a status code equal to that given
func (*RegistryConfigureNotFound) IsRedirect ¶
func (o *RegistryConfigureNotFound) IsRedirect() bool
IsRedirect returns true when this registry configure not found response has a 3xx status code
func (*RegistryConfigureNotFound) IsServerError ¶
func (o *RegistryConfigureNotFound) IsServerError() bool
IsServerError returns true when this registry configure not found response has a 5xx status code
func (*RegistryConfigureNotFound) IsSuccess ¶
func (o *RegistryConfigureNotFound) IsSuccess() bool
IsSuccess returns true when this registry configure not found response has a 2xx status code
func (*RegistryConfigureNotFound) String ¶
func (o *RegistryConfigureNotFound) String() string
type RegistryConfigureParams ¶
type RegistryConfigureParams struct {
/* Body.
Registry configuration
*/
Body *models.RegistriesRegistryConfigurePayload
/* ID.
Registry identifier
*/
ID int64
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
RegistryConfigureParams contains all the parameters to send to the API endpoint
for the registry configure operation. Typically these are written to a http.Request.
func NewRegistryConfigureParams ¶
func NewRegistryConfigureParams() *RegistryConfigureParams
NewRegistryConfigureParams creates a new RegistryConfigureParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryConfigureParamsWithContext ¶
func NewRegistryConfigureParamsWithContext(ctx context.Context) *RegistryConfigureParams
NewRegistryConfigureParamsWithContext creates a new RegistryConfigureParams object with the ability to set a context for a request.
func NewRegistryConfigureParamsWithHTTPClient ¶
func NewRegistryConfigureParamsWithHTTPClient(client *http.Client) *RegistryConfigureParams
NewRegistryConfigureParamsWithHTTPClient creates a new RegistryConfigureParams object with the ability to set a custom HTTPClient for a request.
func NewRegistryConfigureParamsWithTimeout ¶
func NewRegistryConfigureParamsWithTimeout(timeout time.Duration) *RegistryConfigureParams
NewRegistryConfigureParamsWithTimeout creates a new RegistryConfigureParams object with the ability to set a timeout on a request.
func (*RegistryConfigureParams) SetBody ¶
func (o *RegistryConfigureParams) SetBody(body *models.RegistriesRegistryConfigurePayload)
SetBody adds the body to the registry configure params
func (*RegistryConfigureParams) SetContext ¶
func (o *RegistryConfigureParams) SetContext(ctx context.Context)
SetContext adds the context to the registry configure params
func (*RegistryConfigureParams) SetDefaults ¶
func (o *RegistryConfigureParams) SetDefaults()
SetDefaults hydrates default values in the registry configure params (not the query body).
All values with no default are reset to their zero value.
func (*RegistryConfigureParams) SetHTTPClient ¶
func (o *RegistryConfigureParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the registry configure params
func (*RegistryConfigureParams) SetID ¶
func (o *RegistryConfigureParams) SetID(id int64)
SetID adds the id to the registry configure params
func (*RegistryConfigureParams) SetTimeout ¶
func (o *RegistryConfigureParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the registry configure params
func (*RegistryConfigureParams) WithBody ¶
func (o *RegistryConfigureParams) WithBody(body *models.RegistriesRegistryConfigurePayload) *RegistryConfigureParams
WithBody adds the body to the registry configure params
func (*RegistryConfigureParams) WithContext ¶
func (o *RegistryConfigureParams) WithContext(ctx context.Context) *RegistryConfigureParams
WithContext adds the context to the registry configure params
func (*RegistryConfigureParams) WithDefaults ¶
func (o *RegistryConfigureParams) WithDefaults() *RegistryConfigureParams
WithDefaults hydrates default values in the registry configure params (not the query body).
All values with no default are reset to their zero value.
func (*RegistryConfigureParams) WithHTTPClient ¶
func (o *RegistryConfigureParams) WithHTTPClient(client *http.Client) *RegistryConfigureParams
WithHTTPClient adds the HTTPClient to the registry configure params
func (*RegistryConfigureParams) WithID ¶
func (o *RegistryConfigureParams) WithID(id int64) *RegistryConfigureParams
WithID adds the id to the registry configure params
func (*RegistryConfigureParams) WithTimeout ¶
func (o *RegistryConfigureParams) WithTimeout(timeout time.Duration) *RegistryConfigureParams
WithTimeout adds the timeout to the registry configure params
func (*RegistryConfigureParams) WriteToRequest ¶
func (o *RegistryConfigureParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type RegistryConfigureReader ¶
type RegistryConfigureReader struct {
// contains filtered or unexported fields
}
RegistryConfigureReader is a Reader for the RegistryConfigure structure.
func (*RegistryConfigureReader) ReadResponse ¶
func (o *RegistryConfigureReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type RegistryCreateBadRequest ¶
type RegistryCreateBadRequest struct {
}
RegistryCreateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewRegistryCreateBadRequest ¶
func NewRegistryCreateBadRequest() *RegistryCreateBadRequest
NewRegistryCreateBadRequest creates a RegistryCreateBadRequest with default headers values
func (*RegistryCreateBadRequest) Code ¶
func (o *RegistryCreateBadRequest) Code() int
Code gets the status code for the registry create bad request response
func (*RegistryCreateBadRequest) Error ¶
func (o *RegistryCreateBadRequest) Error() string
func (*RegistryCreateBadRequest) IsClientError ¶
func (o *RegistryCreateBadRequest) IsClientError() bool
IsClientError returns true when this registry create bad request response has a 4xx status code
func (*RegistryCreateBadRequest) IsCode ¶
func (o *RegistryCreateBadRequest) IsCode(code int) bool
IsCode returns true when this registry create bad request response a status code equal to that given
func (*RegistryCreateBadRequest) IsRedirect ¶
func (o *RegistryCreateBadRequest) IsRedirect() bool
IsRedirect returns true when this registry create bad request response has a 3xx status code
func (*RegistryCreateBadRequest) IsServerError ¶
func (o *RegistryCreateBadRequest) IsServerError() bool
IsServerError returns true when this registry create bad request response has a 5xx status code
func (*RegistryCreateBadRequest) IsSuccess ¶
func (o *RegistryCreateBadRequest) IsSuccess() bool
IsSuccess returns true when this registry create bad request response has a 2xx status code
func (*RegistryCreateBadRequest) String ¶
func (o *RegistryCreateBadRequest) String() string
type RegistryCreateConflict ¶
type RegistryCreateConflict struct {
}
RegistryCreateConflict describes a response with status code 409, with default header values.
Another registry with either the same name or same URL & credeintials already exists
func NewRegistryCreateConflict ¶
func NewRegistryCreateConflict() *RegistryCreateConflict
NewRegistryCreateConflict creates a RegistryCreateConflict with default headers values
func (*RegistryCreateConflict) Code ¶
func (o *RegistryCreateConflict) Code() int
Code gets the status code for the registry create conflict response
func (*RegistryCreateConflict) Error ¶
func (o *RegistryCreateConflict) Error() string
func (*RegistryCreateConflict) IsClientError ¶
func (o *RegistryCreateConflict) IsClientError() bool
IsClientError returns true when this registry create conflict response has a 4xx status code
func (*RegistryCreateConflict) IsCode ¶
func (o *RegistryCreateConflict) IsCode(code int) bool
IsCode returns true when this registry create conflict response a status code equal to that given
func (*RegistryCreateConflict) IsRedirect ¶
func (o *RegistryCreateConflict) IsRedirect() bool
IsRedirect returns true when this registry create conflict response has a 3xx status code
func (*RegistryCreateConflict) IsServerError ¶
func (o *RegistryCreateConflict) IsServerError() bool
IsServerError returns true when this registry create conflict response has a 5xx status code
func (*RegistryCreateConflict) IsSuccess ¶
func (o *RegistryCreateConflict) IsSuccess() bool
IsSuccess returns true when this registry create conflict response has a 2xx status code
func (*RegistryCreateConflict) String ¶
func (o *RegistryCreateConflict) String() string
type RegistryCreateInternalServerError ¶
type RegistryCreateInternalServerError struct {
}
RegistryCreateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryCreateInternalServerError ¶
func NewRegistryCreateInternalServerError() *RegistryCreateInternalServerError
NewRegistryCreateInternalServerError creates a RegistryCreateInternalServerError with default headers values
func (*RegistryCreateInternalServerError) Code ¶
func (o *RegistryCreateInternalServerError) Code() int
Code gets the status code for the registry create internal server error response
func (*RegistryCreateInternalServerError) Error ¶
func (o *RegistryCreateInternalServerError) Error() string
func (*RegistryCreateInternalServerError) IsClientError ¶
func (o *RegistryCreateInternalServerError) IsClientError() bool
IsClientError returns true when this registry create internal server error response has a 4xx status code
func (*RegistryCreateInternalServerError) IsCode ¶
func (o *RegistryCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this registry create internal server error response a status code equal to that given
func (*RegistryCreateInternalServerError) IsRedirect ¶
func (o *RegistryCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry create internal server error response has a 3xx status code
func (*RegistryCreateInternalServerError) IsServerError ¶
func (o *RegistryCreateInternalServerError) IsServerError() bool
IsServerError returns true when this registry create internal server error response has a 5xx status code
func (*RegistryCreateInternalServerError) IsSuccess ¶
func (o *RegistryCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry create internal server error response has a 2xx status code
func (*RegistryCreateInternalServerError) String ¶
func (o *RegistryCreateInternalServerError) String() string
type RegistryCreateOK ¶
type RegistryCreateOK struct {
Payload *models.PortainereeRegistry
}
RegistryCreateOK describes a response with status code 200, with default header values.
Success
func NewRegistryCreateOK ¶
func NewRegistryCreateOK() *RegistryCreateOK
NewRegistryCreateOK creates a RegistryCreateOK with default headers values
func (*RegistryCreateOK) Code ¶
func (o *RegistryCreateOK) Code() int
Code gets the status code for the registry create o k response
func (*RegistryCreateOK) Error ¶
func (o *RegistryCreateOK) Error() string
func (*RegistryCreateOK) GetPayload ¶
func (o *RegistryCreateOK) GetPayload() *models.PortainereeRegistry
func (*RegistryCreateOK) IsClientError ¶
func (o *RegistryCreateOK) IsClientError() bool
IsClientError returns true when this registry create o k response has a 4xx status code
func (*RegistryCreateOK) IsCode ¶
func (o *RegistryCreateOK) IsCode(code int) bool
IsCode returns true when this registry create o k response a status code equal to that given
func (*RegistryCreateOK) IsRedirect ¶
func (o *RegistryCreateOK) IsRedirect() bool
IsRedirect returns true when this registry create o k response has a 3xx status code
func (*RegistryCreateOK) IsServerError ¶
func (o *RegistryCreateOK) IsServerError() bool
IsServerError returns true when this registry create o k response has a 5xx status code
func (*RegistryCreateOK) IsSuccess ¶
func (o *RegistryCreateOK) IsSuccess() bool
IsSuccess returns true when this registry create o k response has a 2xx status code
func (*RegistryCreateOK) String ¶
func (o *RegistryCreateOK) String() string
type RegistryCreateParams ¶
type RegistryCreateParams struct {
/* Body.
Registry details
*/
Body *models.RegistriesRegistryCreatePayload
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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryCreateParamsWithContext ¶
func NewRegistryCreateParamsWithContext(ctx context.Context) *RegistryCreateParams
NewRegistryCreateParamsWithContext creates a new RegistryCreateParams object with 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 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 ability to set a timeout on a request.
func (*RegistryCreateParams) SetBody ¶
func (o *RegistryCreateParams) SetBody(body *models.RegistriesRegistryCreatePayload)
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) SetDefaults ¶
func (o *RegistryCreateParams) SetDefaults()
SetDefaults hydrates default values in the registry create params (not the query body).
All values with no default are reset to their zero value.
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.RegistriesRegistryCreatePayload) *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) WithDefaults ¶
func (o *RegistryCreateParams) WithDefaults() *RegistryCreateParams
WithDefaults hydrates default values in the registry create params (not the query body).
All values with no default are reset to their zero value.
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 {
}
RegistryDeleteBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewRegistryDeleteBadRequest ¶
func NewRegistryDeleteBadRequest() *RegistryDeleteBadRequest
NewRegistryDeleteBadRequest creates a RegistryDeleteBadRequest with default headers values
func (*RegistryDeleteBadRequest) Code ¶
func (o *RegistryDeleteBadRequest) Code() int
Code gets the status code for the registry delete bad request response
func (*RegistryDeleteBadRequest) Error ¶
func (o *RegistryDeleteBadRequest) Error() string
func (*RegistryDeleteBadRequest) IsClientError ¶
func (o *RegistryDeleteBadRequest) IsClientError() bool
IsClientError returns true when this registry delete bad request response has a 4xx status code
func (*RegistryDeleteBadRequest) IsCode ¶
func (o *RegistryDeleteBadRequest) IsCode(code int) bool
IsCode returns true when this registry delete bad request response a status code equal to that given
func (*RegistryDeleteBadRequest) IsRedirect ¶
func (o *RegistryDeleteBadRequest) IsRedirect() bool
IsRedirect returns true when this registry delete bad request response has a 3xx status code
func (*RegistryDeleteBadRequest) IsServerError ¶
func (o *RegistryDeleteBadRequest) IsServerError() bool
IsServerError returns true when this registry delete bad request response has a 5xx status code
func (*RegistryDeleteBadRequest) IsSuccess ¶
func (o *RegistryDeleteBadRequest) IsSuccess() bool
IsSuccess returns true when this registry delete bad request response has a 2xx status code
func (*RegistryDeleteBadRequest) String ¶
func (o *RegistryDeleteBadRequest) String() string
type RegistryDeleteInternalServerError ¶
type RegistryDeleteInternalServerError struct {
}
RegistryDeleteInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryDeleteInternalServerError ¶
func NewRegistryDeleteInternalServerError() *RegistryDeleteInternalServerError
NewRegistryDeleteInternalServerError creates a RegistryDeleteInternalServerError with default headers values
func (*RegistryDeleteInternalServerError) Code ¶
func (o *RegistryDeleteInternalServerError) Code() int
Code gets the status code for the registry delete internal server error response
func (*RegistryDeleteInternalServerError) Error ¶
func (o *RegistryDeleteInternalServerError) Error() string
func (*RegistryDeleteInternalServerError) IsClientError ¶
func (o *RegistryDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this registry delete internal server error response has a 4xx status code
func (*RegistryDeleteInternalServerError) IsCode ¶
func (o *RegistryDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this registry delete internal server error response a status code equal to that given
func (*RegistryDeleteInternalServerError) IsRedirect ¶
func (o *RegistryDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry delete internal server error response has a 3xx status code
func (*RegistryDeleteInternalServerError) IsServerError ¶
func (o *RegistryDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this registry delete internal server error response has a 5xx status code
func (*RegistryDeleteInternalServerError) IsSuccess ¶
func (o *RegistryDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry delete internal server error response has a 2xx status code
func (*RegistryDeleteInternalServerError) String ¶
func (o *RegistryDeleteInternalServerError) String() string
type RegistryDeleteNoContent ¶
type RegistryDeleteNoContent struct {
}
RegistryDeleteNoContent describes a response with status code 204, with default header values.
Success
func NewRegistryDeleteNoContent ¶
func NewRegistryDeleteNoContent() *RegistryDeleteNoContent
NewRegistryDeleteNoContent creates a RegistryDeleteNoContent with default headers values
func (*RegistryDeleteNoContent) Code ¶
func (o *RegistryDeleteNoContent) Code() int
Code gets the status code for the registry delete no content response
func (*RegistryDeleteNoContent) Error ¶
func (o *RegistryDeleteNoContent) Error() string
func (*RegistryDeleteNoContent) IsClientError ¶
func (o *RegistryDeleteNoContent) IsClientError() bool
IsClientError returns true when this registry delete no content response has a 4xx status code
func (*RegistryDeleteNoContent) IsCode ¶
func (o *RegistryDeleteNoContent) IsCode(code int) bool
IsCode returns true when this registry delete no content response a status code equal to that given
func (*RegistryDeleteNoContent) IsRedirect ¶
func (o *RegistryDeleteNoContent) IsRedirect() bool
IsRedirect returns true when this registry delete no content response has a 3xx status code
func (*RegistryDeleteNoContent) IsServerError ¶
func (o *RegistryDeleteNoContent) IsServerError() bool
IsServerError returns true when this registry delete no content response has a 5xx status code
func (*RegistryDeleteNoContent) IsSuccess ¶
func (o *RegistryDeleteNoContent) IsSuccess() bool
IsSuccess returns true when this registry delete no content response has a 2xx status code
func (*RegistryDeleteNoContent) String ¶
func (o *RegistryDeleteNoContent) String() string
type RegistryDeleteNotFound ¶
type RegistryDeleteNotFound struct {
}
RegistryDeleteNotFound describes a response with status code 404, with default header values.
Registry not found
func NewRegistryDeleteNotFound ¶
func NewRegistryDeleteNotFound() *RegistryDeleteNotFound
NewRegistryDeleteNotFound creates a RegistryDeleteNotFound with default headers values
func (*RegistryDeleteNotFound) Code ¶
func (o *RegistryDeleteNotFound) Code() int
Code gets the status code for the registry delete not found response
func (*RegistryDeleteNotFound) Error ¶
func (o *RegistryDeleteNotFound) Error() string
func (*RegistryDeleteNotFound) IsClientError ¶
func (o *RegistryDeleteNotFound) IsClientError() bool
IsClientError returns true when this registry delete not found response has a 4xx status code
func (*RegistryDeleteNotFound) IsCode ¶
func (o *RegistryDeleteNotFound) IsCode(code int) bool
IsCode returns true when this registry delete not found response a status code equal to that given
func (*RegistryDeleteNotFound) IsRedirect ¶
func (o *RegistryDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this registry delete not found response has a 3xx status code
func (*RegistryDeleteNotFound) IsServerError ¶
func (o *RegistryDeleteNotFound) IsServerError() bool
IsServerError returns true when this registry delete not found response has a 5xx status code
func (*RegistryDeleteNotFound) IsSuccess ¶
func (o *RegistryDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this registry delete not found response has a 2xx status code
func (*RegistryDeleteNotFound) String ¶
func (o *RegistryDeleteNotFound) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryDeleteParamsWithContext ¶
func NewRegistryDeleteParamsWithContext(ctx context.Context) *RegistryDeleteParams
NewRegistryDeleteParamsWithContext creates a new RegistryDeleteParams object with 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 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 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) SetDefaults ¶
func (o *RegistryDeleteParams) SetDefaults()
SetDefaults hydrates default values in the registry delete params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RegistryDeleteParams) WithDefaults() *RegistryDeleteParams
WithDefaults hydrates default values in the registry delete params (not the query body).
All values with no default are reset to their zero value.
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 {
}
RegistryInspectBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewRegistryInspectBadRequest ¶
func NewRegistryInspectBadRequest() *RegistryInspectBadRequest
NewRegistryInspectBadRequest creates a RegistryInspectBadRequest with default headers values
func (*RegistryInspectBadRequest) Code ¶
func (o *RegistryInspectBadRequest) Code() int
Code gets the status code for the registry inspect bad request response
func (*RegistryInspectBadRequest) Error ¶
func (o *RegistryInspectBadRequest) Error() string
func (*RegistryInspectBadRequest) IsClientError ¶
func (o *RegistryInspectBadRequest) IsClientError() bool
IsClientError returns true when this registry inspect bad request response has a 4xx status code
func (*RegistryInspectBadRequest) IsCode ¶
func (o *RegistryInspectBadRequest) IsCode(code int) bool
IsCode returns true when this registry inspect bad request response a status code equal to that given
func (*RegistryInspectBadRequest) IsRedirect ¶
func (o *RegistryInspectBadRequest) IsRedirect() bool
IsRedirect returns true when this registry inspect bad request response has a 3xx status code
func (*RegistryInspectBadRequest) IsServerError ¶
func (o *RegistryInspectBadRequest) IsServerError() bool
IsServerError returns true when this registry inspect bad request response has a 5xx status code
func (*RegistryInspectBadRequest) IsSuccess ¶
func (o *RegistryInspectBadRequest) IsSuccess() bool
IsSuccess returns true when this registry inspect bad request response has a 2xx status code
func (*RegistryInspectBadRequest) String ¶
func (o *RegistryInspectBadRequest) String() string
type RegistryInspectForbidden ¶
type RegistryInspectForbidden struct {
}
RegistryInspectForbidden describes a response with status code 403, with default header values.
Permission denied to access registry
func NewRegistryInspectForbidden ¶
func NewRegistryInspectForbidden() *RegistryInspectForbidden
NewRegistryInspectForbidden creates a RegistryInspectForbidden with default headers values
func (*RegistryInspectForbidden) Code ¶
func (o *RegistryInspectForbidden) Code() int
Code gets the status code for the registry inspect forbidden response
func (*RegistryInspectForbidden) Error ¶
func (o *RegistryInspectForbidden) Error() string
func (*RegistryInspectForbidden) IsClientError ¶
func (o *RegistryInspectForbidden) IsClientError() bool
IsClientError returns true when this registry inspect forbidden response has a 4xx status code
func (*RegistryInspectForbidden) IsCode ¶
func (o *RegistryInspectForbidden) IsCode(code int) bool
IsCode returns true when this registry inspect forbidden response a status code equal to that given
func (*RegistryInspectForbidden) IsRedirect ¶
func (o *RegistryInspectForbidden) IsRedirect() bool
IsRedirect returns true when this registry inspect forbidden response has a 3xx status code
func (*RegistryInspectForbidden) IsServerError ¶
func (o *RegistryInspectForbidden) IsServerError() bool
IsServerError returns true when this registry inspect forbidden response has a 5xx status code
func (*RegistryInspectForbidden) IsSuccess ¶
func (o *RegistryInspectForbidden) IsSuccess() bool
IsSuccess returns true when this registry inspect forbidden response has a 2xx status code
func (*RegistryInspectForbidden) String ¶
func (o *RegistryInspectForbidden) String() string
type RegistryInspectInternalServerError ¶
type RegistryInspectInternalServerError struct {
}
RegistryInspectInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryInspectInternalServerError ¶
func NewRegistryInspectInternalServerError() *RegistryInspectInternalServerError
NewRegistryInspectInternalServerError creates a RegistryInspectInternalServerError with default headers values
func (*RegistryInspectInternalServerError) Code ¶
func (o *RegistryInspectInternalServerError) Code() int
Code gets the status code for the registry inspect internal server error response
func (*RegistryInspectInternalServerError) Error ¶
func (o *RegistryInspectInternalServerError) Error() string
func (*RegistryInspectInternalServerError) IsClientError ¶
func (o *RegistryInspectInternalServerError) IsClientError() bool
IsClientError returns true when this registry inspect internal server error response has a 4xx status code
func (*RegistryInspectInternalServerError) IsCode ¶
func (o *RegistryInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this registry inspect internal server error response a status code equal to that given
func (*RegistryInspectInternalServerError) IsRedirect ¶
func (o *RegistryInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry inspect internal server error response has a 3xx status code
func (*RegistryInspectInternalServerError) IsServerError ¶
func (o *RegistryInspectInternalServerError) IsServerError() bool
IsServerError returns true when this registry inspect internal server error response has a 5xx status code
func (*RegistryInspectInternalServerError) IsSuccess ¶
func (o *RegistryInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry inspect internal server error response has a 2xx status code
func (*RegistryInspectInternalServerError) String ¶
func (o *RegistryInspectInternalServerError) String() string
type RegistryInspectNotFound ¶
type RegistryInspectNotFound struct {
}
RegistryInspectNotFound describes a response with status code 404, with default header values.
Registry not found
func NewRegistryInspectNotFound ¶
func NewRegistryInspectNotFound() *RegistryInspectNotFound
NewRegistryInspectNotFound creates a RegistryInspectNotFound with default headers values
func (*RegistryInspectNotFound) Code ¶
func (o *RegistryInspectNotFound) Code() int
Code gets the status code for the registry inspect not found response
func (*RegistryInspectNotFound) Error ¶
func (o *RegistryInspectNotFound) Error() string
func (*RegistryInspectNotFound) IsClientError ¶
func (o *RegistryInspectNotFound) IsClientError() bool
IsClientError returns true when this registry inspect not found response has a 4xx status code
func (*RegistryInspectNotFound) IsCode ¶
func (o *RegistryInspectNotFound) IsCode(code int) bool
IsCode returns true when this registry inspect not found response a status code equal to that given
func (*RegistryInspectNotFound) IsRedirect ¶
func (o *RegistryInspectNotFound) IsRedirect() bool
IsRedirect returns true when this registry inspect not found response has a 3xx status code
func (*RegistryInspectNotFound) IsServerError ¶
func (o *RegistryInspectNotFound) IsServerError() bool
IsServerError returns true when this registry inspect not found response has a 5xx status code
func (*RegistryInspectNotFound) IsSuccess ¶
func (o *RegistryInspectNotFound) IsSuccess() bool
IsSuccess returns true when this registry inspect not found response has a 2xx status code
func (*RegistryInspectNotFound) String ¶
func (o *RegistryInspectNotFound) String() string
type RegistryInspectOK ¶
type RegistryInspectOK struct {
Payload *models.PortainereeRegistry
}
RegistryInspectOK describes a response with status code 200, with default header values.
Success
func NewRegistryInspectOK ¶
func NewRegistryInspectOK() *RegistryInspectOK
NewRegistryInspectOK creates a RegistryInspectOK with default headers values
func (*RegistryInspectOK) Code ¶
func (o *RegistryInspectOK) Code() int
Code gets the status code for the registry inspect o k response
func (*RegistryInspectOK) Error ¶
func (o *RegistryInspectOK) Error() string
func (*RegistryInspectOK) GetPayload ¶
func (o *RegistryInspectOK) GetPayload() *models.PortainereeRegistry
func (*RegistryInspectOK) IsClientError ¶
func (o *RegistryInspectOK) IsClientError() bool
IsClientError returns true when this registry inspect o k response has a 4xx status code
func (*RegistryInspectOK) IsCode ¶
func (o *RegistryInspectOK) IsCode(code int) bool
IsCode returns true when this registry inspect o k response a status code equal to that given
func (*RegistryInspectOK) IsRedirect ¶
func (o *RegistryInspectOK) IsRedirect() bool
IsRedirect returns true when this registry inspect o k response has a 3xx status code
func (*RegistryInspectOK) IsServerError ¶
func (o *RegistryInspectOK) IsServerError() bool
IsServerError returns true when this registry inspect o k response has a 5xx status code
func (*RegistryInspectOK) IsSuccess ¶
func (o *RegistryInspectOK) IsSuccess() bool
IsSuccess returns true when this registry inspect o k response has a 2xx status code
func (*RegistryInspectOK) String ¶
func (o *RegistryInspectOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryInspectParamsWithContext ¶
func NewRegistryInspectParamsWithContext(ctx context.Context) *RegistryInspectParams
NewRegistryInspectParamsWithContext creates a new RegistryInspectParams object with 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 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 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) SetDefaults ¶
func (o *RegistryInspectParams) SetDefaults()
SetDefaults hydrates default values in the registry inspect params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RegistryInspectParams) WithDefaults() *RegistryInspectParams
WithDefaults hydrates default values in the registry inspect params (not the query body).
All values with no default are reset to their zero value.
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 {
}
RegistryListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryListInternalServerError ¶
func NewRegistryListInternalServerError() *RegistryListInternalServerError
NewRegistryListInternalServerError creates a RegistryListInternalServerError with default headers values
func (*RegistryListInternalServerError) Code ¶
func (o *RegistryListInternalServerError) Code() int
Code gets the status code for the registry list internal server error response
func (*RegistryListInternalServerError) Error ¶
func (o *RegistryListInternalServerError) Error() string
func (*RegistryListInternalServerError) IsClientError ¶
func (o *RegistryListInternalServerError) IsClientError() bool
IsClientError returns true when this registry list internal server error response has a 4xx status code
func (*RegistryListInternalServerError) IsCode ¶
func (o *RegistryListInternalServerError) IsCode(code int) bool
IsCode returns true when this registry list internal server error response a status code equal to that given
func (*RegistryListInternalServerError) IsRedirect ¶
func (o *RegistryListInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry list internal server error response has a 3xx status code
func (*RegistryListInternalServerError) IsServerError ¶
func (o *RegistryListInternalServerError) IsServerError() bool
IsServerError returns true when this registry list internal server error response has a 5xx status code
func (*RegistryListInternalServerError) IsSuccess ¶
func (o *RegistryListInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry list internal server error response has a 2xx status code
func (*RegistryListInternalServerError) String ¶
func (o *RegistryListInternalServerError) String() string
type RegistryListOK ¶
type RegistryListOK struct {
Payload []*models.PortainereeRegistry
}
RegistryListOK describes a response with status code 200, with default header values.
Success
func NewRegistryListOK ¶
func NewRegistryListOK() *RegistryListOK
NewRegistryListOK creates a RegistryListOK with default headers values
func (*RegistryListOK) Code ¶
func (o *RegistryListOK) Code() int
Code gets the status code for the registry list o k response
func (*RegistryListOK) Error ¶
func (o *RegistryListOK) Error() string
func (*RegistryListOK) GetPayload ¶
func (o *RegistryListOK) GetPayload() []*models.PortainereeRegistry
func (*RegistryListOK) IsClientError ¶
func (o *RegistryListOK) IsClientError() bool
IsClientError returns true when this registry list o k response has a 4xx status code
func (*RegistryListOK) IsCode ¶
func (o *RegistryListOK) IsCode(code int) bool
IsCode returns true when this registry list o k response a status code equal to that given
func (*RegistryListOK) IsRedirect ¶
func (o *RegistryListOK) IsRedirect() bool
IsRedirect returns true when this registry list o k response has a 3xx status code
func (*RegistryListOK) IsServerError ¶
func (o *RegistryListOK) IsServerError() bool
IsServerError returns true when this registry list o k response has a 5xx status code
func (*RegistryListOK) IsSuccess ¶
func (o *RegistryListOK) IsSuccess() bool
IsSuccess returns true when this registry list o k response has a 2xx status code
func (*RegistryListOK) String ¶
func (o *RegistryListOK) String() 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryListParamsWithContext ¶
func NewRegistryListParamsWithContext(ctx context.Context) *RegistryListParams
NewRegistryListParamsWithContext creates a new RegistryListParams object with 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 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 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) SetDefaults ¶
func (o *RegistryListParams) SetDefaults()
SetDefaults hydrates default values in the registry list params (not the query body).
All values with no default are reset to their zero value.
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) WithDefaults ¶
func (o *RegistryListParams) WithDefaults() *RegistryListParams
WithDefaults hydrates default values in the registry list params (not the query body).
All values with no default are reset to their zero value.
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 {
}
RegistryUpdateBadRequest describes a response with status code 400, with default header values.
Invalid request
func NewRegistryUpdateBadRequest ¶
func NewRegistryUpdateBadRequest() *RegistryUpdateBadRequest
NewRegistryUpdateBadRequest creates a RegistryUpdateBadRequest with default headers values
func (*RegistryUpdateBadRequest) Code ¶
func (o *RegistryUpdateBadRequest) Code() int
Code gets the status code for the registry update bad request response
func (*RegistryUpdateBadRequest) Error ¶
func (o *RegistryUpdateBadRequest) Error() string
func (*RegistryUpdateBadRequest) IsClientError ¶
func (o *RegistryUpdateBadRequest) IsClientError() bool
IsClientError returns true when this registry update bad request response has a 4xx status code
func (*RegistryUpdateBadRequest) IsCode ¶
func (o *RegistryUpdateBadRequest) IsCode(code int) bool
IsCode returns true when this registry update bad request response a status code equal to that given
func (*RegistryUpdateBadRequest) IsRedirect ¶
func (o *RegistryUpdateBadRequest) IsRedirect() bool
IsRedirect returns true when this registry update bad request response has a 3xx status code
func (*RegistryUpdateBadRequest) IsServerError ¶
func (o *RegistryUpdateBadRequest) IsServerError() bool
IsServerError returns true when this registry update bad request response has a 5xx status code
func (*RegistryUpdateBadRequest) IsSuccess ¶
func (o *RegistryUpdateBadRequest) IsSuccess() bool
IsSuccess returns true when this registry update bad request response has a 2xx status code
func (*RegistryUpdateBadRequest) String ¶
func (o *RegistryUpdateBadRequest) String() string
type RegistryUpdateConflict ¶
type RegistryUpdateConflict struct {
}
RegistryUpdateConflict describes a response with status code 409, with default header values.
Another registry with either the same name or same URL & credentials already exists
func NewRegistryUpdateConflict ¶
func NewRegistryUpdateConflict() *RegistryUpdateConflict
NewRegistryUpdateConflict creates a RegistryUpdateConflict with default headers values
func (*RegistryUpdateConflict) Code ¶
func (o *RegistryUpdateConflict) Code() int
Code gets the status code for the registry update conflict response
func (*RegistryUpdateConflict) Error ¶
func (o *RegistryUpdateConflict) Error() string
func (*RegistryUpdateConflict) IsClientError ¶
func (o *RegistryUpdateConflict) IsClientError() bool
IsClientError returns true when this registry update conflict response has a 4xx status code
func (*RegistryUpdateConflict) IsCode ¶
func (o *RegistryUpdateConflict) IsCode(code int) bool
IsCode returns true when this registry update conflict response a status code equal to that given
func (*RegistryUpdateConflict) IsRedirect ¶
func (o *RegistryUpdateConflict) IsRedirect() bool
IsRedirect returns true when this registry update conflict response has a 3xx status code
func (*RegistryUpdateConflict) IsServerError ¶
func (o *RegistryUpdateConflict) IsServerError() bool
IsServerError returns true when this registry update conflict response has a 5xx status code
func (*RegistryUpdateConflict) IsSuccess ¶
func (o *RegistryUpdateConflict) IsSuccess() bool
IsSuccess returns true when this registry update conflict response has a 2xx status code
func (*RegistryUpdateConflict) String ¶
func (o *RegistryUpdateConflict) String() string
type RegistryUpdateInternalServerError ¶
type RegistryUpdateInternalServerError struct {
}
RegistryUpdateInternalServerError describes a response with status code 500, with default header values.
Server error
func NewRegistryUpdateInternalServerError ¶
func NewRegistryUpdateInternalServerError() *RegistryUpdateInternalServerError
NewRegistryUpdateInternalServerError creates a RegistryUpdateInternalServerError with default headers values
func (*RegistryUpdateInternalServerError) Code ¶
func (o *RegistryUpdateInternalServerError) Code() int
Code gets the status code for the registry update internal server error response
func (*RegistryUpdateInternalServerError) Error ¶
func (o *RegistryUpdateInternalServerError) Error() string
func (*RegistryUpdateInternalServerError) IsClientError ¶
func (o *RegistryUpdateInternalServerError) IsClientError() bool
IsClientError returns true when this registry update internal server error response has a 4xx status code
func (*RegistryUpdateInternalServerError) IsCode ¶
func (o *RegistryUpdateInternalServerError) IsCode(code int) bool
IsCode returns true when this registry update internal server error response a status code equal to that given
func (*RegistryUpdateInternalServerError) IsRedirect ¶
func (o *RegistryUpdateInternalServerError) IsRedirect() bool
IsRedirect returns true when this registry update internal server error response has a 3xx status code
func (*RegistryUpdateInternalServerError) IsServerError ¶
func (o *RegistryUpdateInternalServerError) IsServerError() bool
IsServerError returns true when this registry update internal server error response has a 5xx status code
func (*RegistryUpdateInternalServerError) IsSuccess ¶
func (o *RegistryUpdateInternalServerError) IsSuccess() bool
IsSuccess returns true when this registry update internal server error response has a 2xx status code
func (*RegistryUpdateInternalServerError) String ¶
func (o *RegistryUpdateInternalServerError) String() string
type RegistryUpdateNotFound ¶
type RegistryUpdateNotFound struct {
}
RegistryUpdateNotFound describes a response with status code 404, with default header values.
Registry not found
func NewRegistryUpdateNotFound ¶
func NewRegistryUpdateNotFound() *RegistryUpdateNotFound
NewRegistryUpdateNotFound creates a RegistryUpdateNotFound with default headers values
func (*RegistryUpdateNotFound) Code ¶
func (o *RegistryUpdateNotFound) Code() int
Code gets the status code for the registry update not found response
func (*RegistryUpdateNotFound) Error ¶
func (o *RegistryUpdateNotFound) Error() string
func (*RegistryUpdateNotFound) IsClientError ¶
func (o *RegistryUpdateNotFound) IsClientError() bool
IsClientError returns true when this registry update not found response has a 4xx status code
func (*RegistryUpdateNotFound) IsCode ¶
func (o *RegistryUpdateNotFound) IsCode(code int) bool
IsCode returns true when this registry update not found response a status code equal to that given
func (*RegistryUpdateNotFound) IsRedirect ¶
func (o *RegistryUpdateNotFound) IsRedirect() bool
IsRedirect returns true when this registry update not found response has a 3xx status code
func (*RegistryUpdateNotFound) IsServerError ¶
func (o *RegistryUpdateNotFound) IsServerError() bool
IsServerError returns true when this registry update not found response has a 5xx status code
func (*RegistryUpdateNotFound) IsSuccess ¶
func (o *RegistryUpdateNotFound) IsSuccess() bool
IsSuccess returns true when this registry update not found response has a 2xx status code
func (*RegistryUpdateNotFound) String ¶
func (o *RegistryUpdateNotFound) String() string
type RegistryUpdateOK ¶
type RegistryUpdateOK struct {
Payload *models.PortainereeRegistry
}
RegistryUpdateOK describes a response with status code 200, with default header values.
Success
func NewRegistryUpdateOK ¶
func NewRegistryUpdateOK() *RegistryUpdateOK
NewRegistryUpdateOK creates a RegistryUpdateOK with default headers values
func (*RegistryUpdateOK) Code ¶
func (o *RegistryUpdateOK) Code() int
Code gets the status code for the registry update o k response
func (*RegistryUpdateOK) Error ¶
func (o *RegistryUpdateOK) Error() string
func (*RegistryUpdateOK) GetPayload ¶
func (o *RegistryUpdateOK) GetPayload() *models.PortainereeRegistry
func (*RegistryUpdateOK) IsClientError ¶
func (o *RegistryUpdateOK) IsClientError() bool
IsClientError returns true when this registry update o k response has a 4xx status code
func (*RegistryUpdateOK) IsCode ¶
func (o *RegistryUpdateOK) IsCode(code int) bool
IsCode returns true when this registry update o k response a status code equal to that given
func (*RegistryUpdateOK) IsRedirect ¶
func (o *RegistryUpdateOK) IsRedirect() bool
IsRedirect returns true when this registry update o k response has a 3xx status code
func (*RegistryUpdateOK) IsServerError ¶
func (o *RegistryUpdateOK) IsServerError() bool
IsServerError returns true when this registry update o k response has a 5xx status code
func (*RegistryUpdateOK) IsSuccess ¶
func (o *RegistryUpdateOK) IsSuccess() bool
IsSuccess returns true when this registry update o k response has a 2xx status code
func (*RegistryUpdateOK) String ¶
func (o *RegistryUpdateOK) String() string
type RegistryUpdateParams ¶
type RegistryUpdateParams struct {
/* Body.
Registry details
*/
Body *models.RegistriesRegistryUpdatePayload
/* 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 timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewRegistryUpdateParamsWithContext ¶
func NewRegistryUpdateParamsWithContext(ctx context.Context) *RegistryUpdateParams
NewRegistryUpdateParamsWithContext creates a new RegistryUpdateParams object with 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 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 ability to set a timeout on a request.
func (*RegistryUpdateParams) SetBody ¶
func (o *RegistryUpdateParams) SetBody(body *models.RegistriesRegistryUpdatePayload)
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) SetDefaults ¶
func (o *RegistryUpdateParams) SetDefaults()
SetDefaults hydrates default values in the registry update params (not the query body).
All values with no default are reset to their zero value.
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.RegistriesRegistryUpdatePayload) *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) WithDefaults ¶
func (o *RegistryUpdateParams) WithDefaults() *RegistryUpdateParams
WithDefaults hydrates default values in the registry update params (not the query body).
All values with no default are reset to their zero value.
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
¶
- ecr_delete_repository_parameters.go
- ecr_delete_repository_responses.go
- ecr_delete_tags_parameters.go
- ecr_delete_tags_responses.go
- registries_client.go
- registry_configure_parameters.go
- registry_configure_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