Documentation
¶
Index ¶
- type API
- type Client
- func (a *Client) CreateRegistry(ctx context.Context, params *CreateRegistryParams) (*CreateRegistryCreated, error)
- func (a *Client) DeleteRegistry(ctx context.Context, params *DeleteRegistryParams) (*DeleteRegistryOK, error)
- func (a *Client) GetRegistry(ctx context.Context, params *GetRegistryParams) (*GetRegistryOK, error)
- func (a *Client) GetRegistryInfo(ctx context.Context, params *GetRegistryInfoParams) (*GetRegistryInfoOK, error)
- func (a *Client) ListRegistries(ctx context.Context, params *ListRegistriesParams) (*ListRegistriesOK, error)
- func (a *Client) ListRegistryProviderInfos(ctx context.Context, params *ListRegistryProviderInfosParams) (*ListRegistryProviderInfosOK, error)
- func (a *Client) ListRegistryProviderTypes(ctx context.Context, params *ListRegistryProviderTypesParams) (*ListRegistryProviderTypesOK, error)
- func (a *Client) PingRegistry(ctx context.Context, params *PingRegistryParams) (*PingRegistryOK, error)
- func (a *Client) UpdateRegistry(ctx context.Context, params *UpdateRegistryParams) (*UpdateRegistryOK, error)
- type CreateRegistryBadRequest
- func (o *CreateRegistryBadRequest) Code() int
- func (o *CreateRegistryBadRequest) Error() string
- func (o *CreateRegistryBadRequest) GetPayload() *models.Errors
- func (o *CreateRegistryBadRequest) IsClientError() bool
- func (o *CreateRegistryBadRequest) IsCode(code int) bool
- func (o *CreateRegistryBadRequest) IsRedirect() bool
- func (o *CreateRegistryBadRequest) IsServerError() bool
- func (o *CreateRegistryBadRequest) IsSuccess() bool
- func (o *CreateRegistryBadRequest) String() string
- type CreateRegistryConflict
- func (o *CreateRegistryConflict) Code() int
- func (o *CreateRegistryConflict) Error() string
- func (o *CreateRegistryConflict) GetPayload() *models.Errors
- func (o *CreateRegistryConflict) IsClientError() bool
- func (o *CreateRegistryConflict) IsCode(code int) bool
- func (o *CreateRegistryConflict) IsRedirect() bool
- func (o *CreateRegistryConflict) IsServerError() bool
- func (o *CreateRegistryConflict) IsSuccess() bool
- func (o *CreateRegistryConflict) String() string
- type CreateRegistryCreated
- func (o *CreateRegistryCreated) Code() int
- func (o *CreateRegistryCreated) Error() string
- func (o *CreateRegistryCreated) IsClientError() bool
- func (o *CreateRegistryCreated) IsCode(code int) bool
- func (o *CreateRegistryCreated) IsRedirect() bool
- func (o *CreateRegistryCreated) IsServerError() bool
- func (o *CreateRegistryCreated) IsSuccess() bool
- func (o *CreateRegistryCreated) String() string
- type CreateRegistryForbidden
- func (o *CreateRegistryForbidden) Code() int
- func (o *CreateRegistryForbidden) Error() string
- func (o *CreateRegistryForbidden) GetPayload() *models.Errors
- func (o *CreateRegistryForbidden) IsClientError() bool
- func (o *CreateRegistryForbidden) IsCode(code int) bool
- func (o *CreateRegistryForbidden) IsRedirect() bool
- func (o *CreateRegistryForbidden) IsServerError() bool
- func (o *CreateRegistryForbidden) IsSuccess() bool
- func (o *CreateRegistryForbidden) String() string
- type CreateRegistryInternalServerError
- func (o *CreateRegistryInternalServerError) Code() int
- func (o *CreateRegistryInternalServerError) Error() string
- func (o *CreateRegistryInternalServerError) GetPayload() *models.Errors
- func (o *CreateRegistryInternalServerError) IsClientError() bool
- func (o *CreateRegistryInternalServerError) IsCode(code int) bool
- func (o *CreateRegistryInternalServerError) IsRedirect() bool
- func (o *CreateRegistryInternalServerError) IsServerError() bool
- func (o *CreateRegistryInternalServerError) IsSuccess() bool
- func (o *CreateRegistryInternalServerError) String() string
- type CreateRegistryParams
- func NewCreateRegistryParams() *CreateRegistryParams
- func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParamsdeprecated
- func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
- func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) SetContext(ctx context.Context)deprecated
- func (o *CreateRegistryParams) SetDefaults()
- func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *CreateRegistryParams) SetRegistry(registry *models.Registry)
- func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *CreateRegistryParams) SetXRequestID(xRequestID *string)
- func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParamsdeprecated
- func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
- func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
- func (o *CreateRegistryParams) WithRegistry(registry *models.Registry) *CreateRegistryParams
- func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
- func (o *CreateRegistryParams) WithXRequestID(xRequestID *string) *CreateRegistryParams
- func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateRegistryReader
- type CreateRegistryUnauthorized
- func (o *CreateRegistryUnauthorized) Code() int
- func (o *CreateRegistryUnauthorized) Error() string
- func (o *CreateRegistryUnauthorized) GetPayload() *models.Errors
- func (o *CreateRegistryUnauthorized) IsClientError() bool
- func (o *CreateRegistryUnauthorized) IsCode(code int) bool
- func (o *CreateRegistryUnauthorized) IsRedirect() bool
- func (o *CreateRegistryUnauthorized) IsServerError() bool
- func (o *CreateRegistryUnauthorized) IsSuccess() bool
- func (o *CreateRegistryUnauthorized) String() string
- type DeleteRegistryForbidden
- func (o *DeleteRegistryForbidden) Code() int
- func (o *DeleteRegistryForbidden) Error() string
- func (o *DeleteRegistryForbidden) GetPayload() *models.Errors
- func (o *DeleteRegistryForbidden) IsClientError() bool
- func (o *DeleteRegistryForbidden) IsCode(code int) bool
- func (o *DeleteRegistryForbidden) IsRedirect() bool
- func (o *DeleteRegistryForbidden) IsServerError() bool
- func (o *DeleteRegistryForbidden) IsSuccess() bool
- func (o *DeleteRegistryForbidden) String() string
- type DeleteRegistryInternalServerError
- func (o *DeleteRegistryInternalServerError) Code() int
- func (o *DeleteRegistryInternalServerError) Error() string
- func (o *DeleteRegistryInternalServerError) GetPayload() *models.Errors
- func (o *DeleteRegistryInternalServerError) IsClientError() bool
- func (o *DeleteRegistryInternalServerError) IsCode(code int) bool
- func (o *DeleteRegistryInternalServerError) IsRedirect() bool
- func (o *DeleteRegistryInternalServerError) IsServerError() bool
- func (o *DeleteRegistryInternalServerError) IsSuccess() bool
- func (o *DeleteRegistryInternalServerError) String() string
- type DeleteRegistryNotFound
- func (o *DeleteRegistryNotFound) Code() int
- func (o *DeleteRegistryNotFound) Error() string
- func (o *DeleteRegistryNotFound) GetPayload() *models.Errors
- func (o *DeleteRegistryNotFound) IsClientError() bool
- func (o *DeleteRegistryNotFound) IsCode(code int) bool
- func (o *DeleteRegistryNotFound) IsRedirect() bool
- func (o *DeleteRegistryNotFound) IsServerError() bool
- func (o *DeleteRegistryNotFound) IsSuccess() bool
- func (o *DeleteRegistryNotFound) String() string
- type DeleteRegistryOK
- func (o *DeleteRegistryOK) Code() int
- func (o *DeleteRegistryOK) Error() string
- func (o *DeleteRegistryOK) IsClientError() bool
- func (o *DeleteRegistryOK) IsCode(code int) bool
- func (o *DeleteRegistryOK) IsRedirect() bool
- func (o *DeleteRegistryOK) IsServerError() bool
- func (o *DeleteRegistryOK) IsSuccess() bool
- func (o *DeleteRegistryOK) String() string
- type DeleteRegistryParams
- func NewDeleteRegistryParams() *DeleteRegistryParams
- func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParamsdeprecated
- func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
- func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) SetContext(ctx context.Context)deprecated
- func (o *DeleteRegistryParams) SetDefaults()
- func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
- func (o *DeleteRegistryParams) SetID(id int64)
- func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
- func (o *DeleteRegistryParams) SetXRequestID(xRequestID *string)
- func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParamsdeprecated
- func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithID(id int64) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WithXRequestID(xRequestID *string) *DeleteRegistryParams
- func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteRegistryPreconditionFailed
- func (o *DeleteRegistryPreconditionFailed) Code() int
- func (o *DeleteRegistryPreconditionFailed) Error() string
- func (o *DeleteRegistryPreconditionFailed) GetPayload() *models.Errors
- func (o *DeleteRegistryPreconditionFailed) IsClientError() bool
- func (o *DeleteRegistryPreconditionFailed) IsCode(code int) bool
- func (o *DeleteRegistryPreconditionFailed) IsRedirect() bool
- func (o *DeleteRegistryPreconditionFailed) IsServerError() bool
- func (o *DeleteRegistryPreconditionFailed) IsSuccess() bool
- func (o *DeleteRegistryPreconditionFailed) String() string
- type DeleteRegistryReader
- type DeleteRegistryUnauthorized
- func (o *DeleteRegistryUnauthorized) Code() int
- func (o *DeleteRegistryUnauthorized) Error() string
- func (o *DeleteRegistryUnauthorized) GetPayload() *models.Errors
- func (o *DeleteRegistryUnauthorized) IsClientError() bool
- func (o *DeleteRegistryUnauthorized) IsCode(code int) bool
- func (o *DeleteRegistryUnauthorized) IsRedirect() bool
- func (o *DeleteRegistryUnauthorized) IsServerError() bool
- func (o *DeleteRegistryUnauthorized) IsSuccess() bool
- func (o *DeleteRegistryUnauthorized) String() string
- type GetRegistryForbidden
- func (o *GetRegistryForbidden) Code() int
- func (o *GetRegistryForbidden) Error() string
- func (o *GetRegistryForbidden) GetPayload() *models.Errors
- func (o *GetRegistryForbidden) IsClientError() bool
- func (o *GetRegistryForbidden) IsCode(code int) bool
- func (o *GetRegistryForbidden) IsRedirect() bool
- func (o *GetRegistryForbidden) IsServerError() bool
- func (o *GetRegistryForbidden) IsSuccess() bool
- func (o *GetRegistryForbidden) String() string
- type GetRegistryInfoForbidden
- func (o *GetRegistryInfoForbidden) Code() int
- func (o *GetRegistryInfoForbidden) Error() string
- func (o *GetRegistryInfoForbidden) GetPayload() *models.Errors
- func (o *GetRegistryInfoForbidden) IsClientError() bool
- func (o *GetRegistryInfoForbidden) IsCode(code int) bool
- func (o *GetRegistryInfoForbidden) IsRedirect() bool
- func (o *GetRegistryInfoForbidden) IsServerError() bool
- func (o *GetRegistryInfoForbidden) IsSuccess() bool
- func (o *GetRegistryInfoForbidden) String() string
- type GetRegistryInfoInternalServerError
- func (o *GetRegistryInfoInternalServerError) Code() int
- func (o *GetRegistryInfoInternalServerError) Error() string
- func (o *GetRegistryInfoInternalServerError) GetPayload() *models.Errors
- func (o *GetRegistryInfoInternalServerError) IsClientError() bool
- func (o *GetRegistryInfoInternalServerError) IsCode(code int) bool
- func (o *GetRegistryInfoInternalServerError) IsRedirect() bool
- func (o *GetRegistryInfoInternalServerError) IsServerError() bool
- func (o *GetRegistryInfoInternalServerError) IsSuccess() bool
- func (o *GetRegistryInfoInternalServerError) String() string
- type GetRegistryInfoNotFound
- func (o *GetRegistryInfoNotFound) Code() int
- func (o *GetRegistryInfoNotFound) Error() string
- func (o *GetRegistryInfoNotFound) GetPayload() *models.Errors
- func (o *GetRegistryInfoNotFound) IsClientError() bool
- func (o *GetRegistryInfoNotFound) IsCode(code int) bool
- func (o *GetRegistryInfoNotFound) IsRedirect() bool
- func (o *GetRegistryInfoNotFound) IsServerError() bool
- func (o *GetRegistryInfoNotFound) IsSuccess() bool
- func (o *GetRegistryInfoNotFound) String() string
- type GetRegistryInfoOK
- func (o *GetRegistryInfoOK) Code() int
- func (o *GetRegistryInfoOK) Error() string
- func (o *GetRegistryInfoOK) GetPayload() *models.RegistryInfo
- func (o *GetRegistryInfoOK) IsClientError() bool
- func (o *GetRegistryInfoOK) IsCode(code int) bool
- func (o *GetRegistryInfoOK) IsRedirect() bool
- func (o *GetRegistryInfoOK) IsServerError() bool
- func (o *GetRegistryInfoOK) IsSuccess() bool
- func (o *GetRegistryInfoOK) String() string
- type GetRegistryInfoParams
- func NewGetRegistryInfoParams() *GetRegistryInfoParams
- func NewGetRegistryInfoParamsWithContext(ctx context.Context) *GetRegistryInfoParamsdeprecated
- func NewGetRegistryInfoParamsWithHTTPClient(client *http.Client) *GetRegistryInfoParams
- func NewGetRegistryInfoParamsWithTimeout(timeout time.Duration) *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) SetContext(ctx context.Context)deprecated
- func (o *GetRegistryInfoParams) SetDefaults()
- func (o *GetRegistryInfoParams) SetHTTPClient(client *http.Client)
- func (o *GetRegistryInfoParams) SetID(id int64)
- func (o *GetRegistryInfoParams) SetTimeout(timeout time.Duration)
- func (o *GetRegistryInfoParams) SetXRequestID(xRequestID *string)
- func (o *GetRegistryInfoParams) WithContext(ctx context.Context) *GetRegistryInfoParamsdeprecated
- func (o *GetRegistryInfoParams) WithDefaults() *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) WithHTTPClient(client *http.Client) *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) WithID(id int64) *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) WithTimeout(timeout time.Duration) *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) WithXRequestID(xRequestID *string) *GetRegistryInfoParams
- func (o *GetRegistryInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegistryInfoReader
- type GetRegistryInfoUnauthorized
- func (o *GetRegistryInfoUnauthorized) Code() int
- func (o *GetRegistryInfoUnauthorized) Error() string
- func (o *GetRegistryInfoUnauthorized) GetPayload() *models.Errors
- func (o *GetRegistryInfoUnauthorized) IsClientError() bool
- func (o *GetRegistryInfoUnauthorized) IsCode(code int) bool
- func (o *GetRegistryInfoUnauthorized) IsRedirect() bool
- func (o *GetRegistryInfoUnauthorized) IsServerError() bool
- func (o *GetRegistryInfoUnauthorized) IsSuccess() bool
- func (o *GetRegistryInfoUnauthorized) String() string
- type GetRegistryInternalServerError
- func (o *GetRegistryInternalServerError) Code() int
- func (o *GetRegistryInternalServerError) Error() string
- func (o *GetRegistryInternalServerError) GetPayload() *models.Errors
- func (o *GetRegistryInternalServerError) IsClientError() bool
- func (o *GetRegistryInternalServerError) IsCode(code int) bool
- func (o *GetRegistryInternalServerError) IsRedirect() bool
- func (o *GetRegistryInternalServerError) IsServerError() bool
- func (o *GetRegistryInternalServerError) IsSuccess() bool
- func (o *GetRegistryInternalServerError) String() string
- type GetRegistryNotFound
- func (o *GetRegistryNotFound) Code() int
- func (o *GetRegistryNotFound) Error() string
- func (o *GetRegistryNotFound) GetPayload() *models.Errors
- func (o *GetRegistryNotFound) IsClientError() bool
- func (o *GetRegistryNotFound) IsCode(code int) bool
- func (o *GetRegistryNotFound) IsRedirect() bool
- func (o *GetRegistryNotFound) IsServerError() bool
- func (o *GetRegistryNotFound) IsSuccess() bool
- func (o *GetRegistryNotFound) String() string
- type GetRegistryOK
- func (o *GetRegistryOK) Code() int
- func (o *GetRegistryOK) Error() string
- func (o *GetRegistryOK) GetPayload() *models.Registry
- func (o *GetRegistryOK) IsClientError() bool
- func (o *GetRegistryOK) IsCode(code int) bool
- func (o *GetRegistryOK) IsRedirect() bool
- func (o *GetRegistryOK) IsServerError() bool
- func (o *GetRegistryOK) IsSuccess() bool
- func (o *GetRegistryOK) String() string
- type GetRegistryParams
- func (o *GetRegistryParams) SetContext(ctx context.Context)deprecated
- func (o *GetRegistryParams) SetDefaults()
- func (o *GetRegistryParams) SetHTTPClient(client *http.Client)
- func (o *GetRegistryParams) SetID(id int64)
- func (o *GetRegistryParams) SetTimeout(timeout time.Duration)
- func (o *GetRegistryParams) SetXRequestID(xRequestID *string)
- func (o *GetRegistryParams) WithContext(ctx context.Context) *GetRegistryParamsdeprecated
- func (o *GetRegistryParams) WithDefaults() *GetRegistryParams
- func (o *GetRegistryParams) WithHTTPClient(client *http.Client) *GetRegistryParams
- func (o *GetRegistryParams) WithID(id int64) *GetRegistryParams
- func (o *GetRegistryParams) WithTimeout(timeout time.Duration) *GetRegistryParams
- func (o *GetRegistryParams) WithXRequestID(xRequestID *string) *GetRegistryParams
- func (o *GetRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRegistryReader
- type GetRegistryUnauthorized
- func (o *GetRegistryUnauthorized) Code() int
- func (o *GetRegistryUnauthorized) Error() string
- func (o *GetRegistryUnauthorized) GetPayload() *models.Errors
- func (o *GetRegistryUnauthorized) IsClientError() bool
- func (o *GetRegistryUnauthorized) IsCode(code int) bool
- func (o *GetRegistryUnauthorized) IsRedirect() bool
- func (o *GetRegistryUnauthorized) IsServerError() bool
- func (o *GetRegistryUnauthorized) IsSuccess() bool
- func (o *GetRegistryUnauthorized) String() string
- type ListRegistriesForbidden
- func (o *ListRegistriesForbidden) Code() int
- func (o *ListRegistriesForbidden) Error() string
- func (o *ListRegistriesForbidden) GetPayload() *models.Errors
- func (o *ListRegistriesForbidden) IsClientError() bool
- func (o *ListRegistriesForbidden) IsCode(code int) bool
- func (o *ListRegistriesForbidden) IsRedirect() bool
- func (o *ListRegistriesForbidden) IsServerError() bool
- func (o *ListRegistriesForbidden) IsSuccess() bool
- func (o *ListRegistriesForbidden) String() string
- type ListRegistriesInternalServerError
- func (o *ListRegistriesInternalServerError) Code() int
- func (o *ListRegistriesInternalServerError) Error() string
- func (o *ListRegistriesInternalServerError) GetPayload() *models.Errors
- func (o *ListRegistriesInternalServerError) IsClientError() bool
- func (o *ListRegistriesInternalServerError) IsCode(code int) bool
- func (o *ListRegistriesInternalServerError) IsRedirect() bool
- func (o *ListRegistriesInternalServerError) IsServerError() bool
- func (o *ListRegistriesInternalServerError) IsSuccess() bool
- func (o *ListRegistriesInternalServerError) String() string
- type ListRegistriesOK
- func (o *ListRegistriesOK) Code() int
- func (o *ListRegistriesOK) Error() string
- func (o *ListRegistriesOK) GetPayload() []*models.Registry
- func (o *ListRegistriesOK) IsClientError() bool
- func (o *ListRegistriesOK) IsCode(code int) bool
- func (o *ListRegistriesOK) IsRedirect() bool
- func (o *ListRegistriesOK) IsServerError() bool
- func (o *ListRegistriesOK) IsSuccess() bool
- func (o *ListRegistriesOK) String() string
- type ListRegistriesParams
- func NewListRegistriesParams() *ListRegistriesParams
- func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParamsdeprecated
- func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
- func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) SetContext(ctx context.Context)deprecated
- func (o *ListRegistriesParams) SetDefaults()
- func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
- func (o *ListRegistriesParams) SetName(name *string)
- func (o *ListRegistriesParams) SetPage(page *int64)
- func (o *ListRegistriesParams) SetPageSize(pageSize *int64)
- func (o *ListRegistriesParams) SetQ(q *string)
- func (o *ListRegistriesParams) SetSort(sort *string)
- func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
- func (o *ListRegistriesParams) SetXRequestID(xRequestID *string)
- func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParamsdeprecated
- func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
- func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
- func (o *ListRegistriesParams) WithName(name *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPage(page *int64) *ListRegistriesParams
- func (o *ListRegistriesParams) WithPageSize(pageSize *int64) *ListRegistriesParams
- func (o *ListRegistriesParams) WithQ(q *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithSort(sort *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
- func (o *ListRegistriesParams) WithXRequestID(xRequestID *string) *ListRegistriesParams
- func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRegistriesReader
- type ListRegistriesUnauthorized
- func (o *ListRegistriesUnauthorized) Code() int
- func (o *ListRegistriesUnauthorized) Error() string
- func (o *ListRegistriesUnauthorized) GetPayload() *models.Errors
- func (o *ListRegistriesUnauthorized) IsClientError() bool
- func (o *ListRegistriesUnauthorized) IsCode(code int) bool
- func (o *ListRegistriesUnauthorized) IsRedirect() bool
- func (o *ListRegistriesUnauthorized) IsServerError() bool
- func (o *ListRegistriesUnauthorized) IsSuccess() bool
- func (o *ListRegistriesUnauthorized) String() string
- type ListRegistryProviderInfosForbidden
- func (o *ListRegistryProviderInfosForbidden) Code() int
- func (o *ListRegistryProviderInfosForbidden) Error() string
- func (o *ListRegistryProviderInfosForbidden) GetPayload() *models.Errors
- func (o *ListRegistryProviderInfosForbidden) IsClientError() bool
- func (o *ListRegistryProviderInfosForbidden) IsCode(code int) bool
- func (o *ListRegistryProviderInfosForbidden) IsRedirect() bool
- func (o *ListRegistryProviderInfosForbidden) IsServerError() bool
- func (o *ListRegistryProviderInfosForbidden) IsSuccess() bool
- func (o *ListRegistryProviderInfosForbidden) String() string
- type ListRegistryProviderInfosInternalServerError
- func (o *ListRegistryProviderInfosInternalServerError) Code() int
- func (o *ListRegistryProviderInfosInternalServerError) Error() string
- func (o *ListRegistryProviderInfosInternalServerError) GetPayload() *models.Errors
- func (o *ListRegistryProviderInfosInternalServerError) IsClientError() bool
- func (o *ListRegistryProviderInfosInternalServerError) IsCode(code int) bool
- func (o *ListRegistryProviderInfosInternalServerError) IsRedirect() bool
- func (o *ListRegistryProviderInfosInternalServerError) IsServerError() bool
- func (o *ListRegistryProviderInfosInternalServerError) IsSuccess() bool
- func (o *ListRegistryProviderInfosInternalServerError) String() string
- type ListRegistryProviderInfosOK
- func (o *ListRegistryProviderInfosOK) Code() int
- func (o *ListRegistryProviderInfosOK) Error() string
- func (o *ListRegistryProviderInfosOK) GetPayload() map[string]models.RegistryProviderInfo
- func (o *ListRegistryProviderInfosOK) IsClientError() bool
- func (o *ListRegistryProviderInfosOK) IsCode(code int) bool
- func (o *ListRegistryProviderInfosOK) IsRedirect() bool
- func (o *ListRegistryProviderInfosOK) IsServerError() bool
- func (o *ListRegistryProviderInfosOK) IsSuccess() bool
- func (o *ListRegistryProviderInfosOK) String() string
- type ListRegistryProviderInfosParams
- func NewListRegistryProviderInfosParams() *ListRegistryProviderInfosParams
- func NewListRegistryProviderInfosParamsWithContext(ctx context.Context) *ListRegistryProviderInfosParamsdeprecated
- func NewListRegistryProviderInfosParamsWithHTTPClient(client *http.Client) *ListRegistryProviderInfosParams
- func NewListRegistryProviderInfosParamsWithTimeout(timeout time.Duration) *ListRegistryProviderInfosParams
- func (o *ListRegistryProviderInfosParams) SetContext(ctx context.Context)deprecated
- func (o *ListRegistryProviderInfosParams) SetDefaults()
- func (o *ListRegistryProviderInfosParams) SetHTTPClient(client *http.Client)
- func (o *ListRegistryProviderInfosParams) SetTimeout(timeout time.Duration)
- func (o *ListRegistryProviderInfosParams) SetXRequestID(xRequestID *string)
- func (o *ListRegistryProviderInfosParams) WithContext(ctx context.Context) *ListRegistryProviderInfosParamsdeprecated
- func (o *ListRegistryProviderInfosParams) WithDefaults() *ListRegistryProviderInfosParams
- func (o *ListRegistryProviderInfosParams) WithHTTPClient(client *http.Client) *ListRegistryProviderInfosParams
- func (o *ListRegistryProviderInfosParams) WithTimeout(timeout time.Duration) *ListRegistryProviderInfosParams
- func (o *ListRegistryProviderInfosParams) WithXRequestID(xRequestID *string) *ListRegistryProviderInfosParams
- func (o *ListRegistryProviderInfosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRegistryProviderInfosReader
- type ListRegistryProviderInfosUnauthorized
- func (o *ListRegistryProviderInfosUnauthorized) Code() int
- func (o *ListRegistryProviderInfosUnauthorized) Error() string
- func (o *ListRegistryProviderInfosUnauthorized) GetPayload() *models.Errors
- func (o *ListRegistryProviderInfosUnauthorized) IsClientError() bool
- func (o *ListRegistryProviderInfosUnauthorized) IsCode(code int) bool
- func (o *ListRegistryProviderInfosUnauthorized) IsRedirect() bool
- func (o *ListRegistryProviderInfosUnauthorized) IsServerError() bool
- func (o *ListRegistryProviderInfosUnauthorized) IsSuccess() bool
- func (o *ListRegistryProviderInfosUnauthorized) String() string
- type ListRegistryProviderTypesForbidden
- func (o *ListRegistryProviderTypesForbidden) Code() int
- func (o *ListRegistryProviderTypesForbidden) Error() string
- func (o *ListRegistryProviderTypesForbidden) GetPayload() *models.Errors
- func (o *ListRegistryProviderTypesForbidden) IsClientError() bool
- func (o *ListRegistryProviderTypesForbidden) IsCode(code int) bool
- func (o *ListRegistryProviderTypesForbidden) IsRedirect() bool
- func (o *ListRegistryProviderTypesForbidden) IsServerError() bool
- func (o *ListRegistryProviderTypesForbidden) IsSuccess() bool
- func (o *ListRegistryProviderTypesForbidden) String() string
- type ListRegistryProviderTypesInternalServerError
- func (o *ListRegistryProviderTypesInternalServerError) Code() int
- func (o *ListRegistryProviderTypesInternalServerError) Error() string
- func (o *ListRegistryProviderTypesInternalServerError) GetPayload() *models.Errors
- func (o *ListRegistryProviderTypesInternalServerError) IsClientError() bool
- func (o *ListRegistryProviderTypesInternalServerError) IsCode(code int) bool
- func (o *ListRegistryProviderTypesInternalServerError) IsRedirect() bool
- func (o *ListRegistryProviderTypesInternalServerError) IsServerError() bool
- func (o *ListRegistryProviderTypesInternalServerError) IsSuccess() bool
- func (o *ListRegistryProviderTypesInternalServerError) String() string
- type ListRegistryProviderTypesOK
- func (o *ListRegistryProviderTypesOK) Code() int
- func (o *ListRegistryProviderTypesOK) Error() string
- func (o *ListRegistryProviderTypesOK) GetPayload() []string
- func (o *ListRegistryProviderTypesOK) IsClientError() bool
- func (o *ListRegistryProviderTypesOK) IsCode(code int) bool
- func (o *ListRegistryProviderTypesOK) IsRedirect() bool
- func (o *ListRegistryProviderTypesOK) IsServerError() bool
- func (o *ListRegistryProviderTypesOK) IsSuccess() bool
- func (o *ListRegistryProviderTypesOK) String() string
- type ListRegistryProviderTypesParams
- func NewListRegistryProviderTypesParams() *ListRegistryProviderTypesParams
- func NewListRegistryProviderTypesParamsWithContext(ctx context.Context) *ListRegistryProviderTypesParamsdeprecated
- func NewListRegistryProviderTypesParamsWithHTTPClient(client *http.Client) *ListRegistryProviderTypesParams
- func NewListRegistryProviderTypesParamsWithTimeout(timeout time.Duration) *ListRegistryProviderTypesParams
- func (o *ListRegistryProviderTypesParams) SetContext(ctx context.Context)deprecated
- func (o *ListRegistryProviderTypesParams) SetDefaults()
- func (o *ListRegistryProviderTypesParams) SetHTTPClient(client *http.Client)
- func (o *ListRegistryProviderTypesParams) SetTimeout(timeout time.Duration)
- func (o *ListRegistryProviderTypesParams) SetXRequestID(xRequestID *string)
- func (o *ListRegistryProviderTypesParams) WithContext(ctx context.Context) *ListRegistryProviderTypesParamsdeprecated
- func (o *ListRegistryProviderTypesParams) WithDefaults() *ListRegistryProviderTypesParams
- func (o *ListRegistryProviderTypesParams) WithHTTPClient(client *http.Client) *ListRegistryProviderTypesParams
- func (o *ListRegistryProviderTypesParams) WithTimeout(timeout time.Duration) *ListRegistryProviderTypesParams
- func (o *ListRegistryProviderTypesParams) WithXRequestID(xRequestID *string) *ListRegistryProviderTypesParams
- func (o *ListRegistryProviderTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListRegistryProviderTypesReader
- type ListRegistryProviderTypesUnauthorized
- func (o *ListRegistryProviderTypesUnauthorized) Code() int
- func (o *ListRegistryProviderTypesUnauthorized) Error() string
- func (o *ListRegistryProviderTypesUnauthorized) GetPayload() *models.Errors
- func (o *ListRegistryProviderTypesUnauthorized) IsClientError() bool
- func (o *ListRegistryProviderTypesUnauthorized) IsCode(code int) bool
- func (o *ListRegistryProviderTypesUnauthorized) IsRedirect() bool
- func (o *ListRegistryProviderTypesUnauthorized) IsServerError() bool
- func (o *ListRegistryProviderTypesUnauthorized) IsSuccess() bool
- func (o *ListRegistryProviderTypesUnauthorized) String() string
- type PingRegistryBadRequest
- func (o *PingRegistryBadRequest) Code() int
- func (o *PingRegistryBadRequest) Error() string
- func (o *PingRegistryBadRequest) GetPayload() *models.Errors
- func (o *PingRegistryBadRequest) IsClientError() bool
- func (o *PingRegistryBadRequest) IsCode(code int) bool
- func (o *PingRegistryBadRequest) IsRedirect() bool
- func (o *PingRegistryBadRequest) IsServerError() bool
- func (o *PingRegistryBadRequest) IsSuccess() bool
- func (o *PingRegistryBadRequest) String() string
- type PingRegistryForbidden
- func (o *PingRegistryForbidden) Code() int
- func (o *PingRegistryForbidden) Error() string
- func (o *PingRegistryForbidden) GetPayload() *models.Errors
- func (o *PingRegistryForbidden) IsClientError() bool
- func (o *PingRegistryForbidden) IsCode(code int) bool
- func (o *PingRegistryForbidden) IsRedirect() bool
- func (o *PingRegistryForbidden) IsServerError() bool
- func (o *PingRegistryForbidden) IsSuccess() bool
- func (o *PingRegistryForbidden) String() string
- type PingRegistryInternalServerError
- func (o *PingRegistryInternalServerError) Code() int
- func (o *PingRegistryInternalServerError) Error() string
- func (o *PingRegistryInternalServerError) GetPayload() *models.Errors
- func (o *PingRegistryInternalServerError) IsClientError() bool
- func (o *PingRegistryInternalServerError) IsCode(code int) bool
- func (o *PingRegistryInternalServerError) IsRedirect() bool
- func (o *PingRegistryInternalServerError) IsServerError() bool
- func (o *PingRegistryInternalServerError) IsSuccess() bool
- func (o *PingRegistryInternalServerError) String() string
- type PingRegistryNotFound
- func (o *PingRegistryNotFound) Code() int
- func (o *PingRegistryNotFound) Error() string
- func (o *PingRegistryNotFound) GetPayload() *models.Errors
- func (o *PingRegistryNotFound) IsClientError() bool
- func (o *PingRegistryNotFound) IsCode(code int) bool
- func (o *PingRegistryNotFound) IsRedirect() bool
- func (o *PingRegistryNotFound) IsServerError() bool
- func (o *PingRegistryNotFound) IsSuccess() bool
- func (o *PingRegistryNotFound) String() string
- type PingRegistryOK
- func (o *PingRegistryOK) Code() int
- func (o *PingRegistryOK) Error() string
- func (o *PingRegistryOK) IsClientError() bool
- func (o *PingRegistryOK) IsCode(code int) bool
- func (o *PingRegistryOK) IsRedirect() bool
- func (o *PingRegistryOK) IsServerError() bool
- func (o *PingRegistryOK) IsSuccess() bool
- func (o *PingRegistryOK) String() string
- type PingRegistryParams
- func NewPingRegistryParams() *PingRegistryParams
- func NewPingRegistryParamsWithContext(ctx context.Context) *PingRegistryParamsdeprecated
- func NewPingRegistryParamsWithHTTPClient(client *http.Client) *PingRegistryParams
- func NewPingRegistryParamsWithTimeout(timeout time.Duration) *PingRegistryParams
- func (o *PingRegistryParams) SetContext(ctx context.Context)deprecated
- func (o *PingRegistryParams) SetDefaults()
- func (o *PingRegistryParams) SetHTTPClient(client *http.Client)
- func (o *PingRegistryParams) SetRegistry(registry *models.RegistryPing)
- func (o *PingRegistryParams) SetTimeout(timeout time.Duration)
- func (o *PingRegistryParams) SetXRequestID(xRequestID *string)
- func (o *PingRegistryParams) WithContext(ctx context.Context) *PingRegistryParamsdeprecated
- func (o *PingRegistryParams) WithDefaults() *PingRegistryParams
- func (o *PingRegistryParams) WithHTTPClient(client *http.Client) *PingRegistryParams
- func (o *PingRegistryParams) WithRegistry(registry *models.RegistryPing) *PingRegistryParams
- func (o *PingRegistryParams) WithTimeout(timeout time.Duration) *PingRegistryParams
- func (o *PingRegistryParams) WithXRequestID(xRequestID *string) *PingRegistryParams
- func (o *PingRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PingRegistryReader
- type PingRegistryUnauthorized
- func (o *PingRegistryUnauthorized) Code() int
- func (o *PingRegistryUnauthorized) Error() string
- func (o *PingRegistryUnauthorized) GetPayload() *models.Errors
- func (o *PingRegistryUnauthorized) IsClientError() bool
- func (o *PingRegistryUnauthorized) IsCode(code int) bool
- func (o *PingRegistryUnauthorized) IsRedirect() bool
- func (o *PingRegistryUnauthorized) IsServerError() bool
- func (o *PingRegistryUnauthorized) IsSuccess() bool
- func (o *PingRegistryUnauthorized) String() string
- type UpdateRegistryBadRequest
- func (o *UpdateRegistryBadRequest) Code() int
- func (o *UpdateRegistryBadRequest) Error() string
- func (o *UpdateRegistryBadRequest) GetPayload() *models.Errors
- func (o *UpdateRegistryBadRequest) IsClientError() bool
- func (o *UpdateRegistryBadRequest) IsCode(code int) bool
- func (o *UpdateRegistryBadRequest) IsRedirect() bool
- func (o *UpdateRegistryBadRequest) IsServerError() bool
- func (o *UpdateRegistryBadRequest) IsSuccess() bool
- func (o *UpdateRegistryBadRequest) String() string
- type UpdateRegistryConflict
- func (o *UpdateRegistryConflict) Code() int
- func (o *UpdateRegistryConflict) Error() string
- func (o *UpdateRegistryConflict) GetPayload() *models.Errors
- func (o *UpdateRegistryConflict) IsClientError() bool
- func (o *UpdateRegistryConflict) IsCode(code int) bool
- func (o *UpdateRegistryConflict) IsRedirect() bool
- func (o *UpdateRegistryConflict) IsServerError() bool
- func (o *UpdateRegistryConflict) IsSuccess() bool
- func (o *UpdateRegistryConflict) String() string
- type UpdateRegistryForbidden
- func (o *UpdateRegistryForbidden) Code() int
- func (o *UpdateRegistryForbidden) Error() string
- func (o *UpdateRegistryForbidden) GetPayload() *models.Errors
- func (o *UpdateRegistryForbidden) IsClientError() bool
- func (o *UpdateRegistryForbidden) IsCode(code int) bool
- func (o *UpdateRegistryForbidden) IsRedirect() bool
- func (o *UpdateRegistryForbidden) IsServerError() bool
- func (o *UpdateRegistryForbidden) IsSuccess() bool
- func (o *UpdateRegistryForbidden) String() string
- type UpdateRegistryInternalServerError
- func (o *UpdateRegistryInternalServerError) Code() int
- func (o *UpdateRegistryInternalServerError) Error() string
- func (o *UpdateRegistryInternalServerError) GetPayload() *models.Errors
- func (o *UpdateRegistryInternalServerError) IsClientError() bool
- func (o *UpdateRegistryInternalServerError) IsCode(code int) bool
- func (o *UpdateRegistryInternalServerError) IsRedirect() bool
- func (o *UpdateRegistryInternalServerError) IsServerError() bool
- func (o *UpdateRegistryInternalServerError) IsSuccess() bool
- func (o *UpdateRegistryInternalServerError) String() string
- type UpdateRegistryNotFound
- func (o *UpdateRegistryNotFound) Code() int
- func (o *UpdateRegistryNotFound) Error() string
- func (o *UpdateRegistryNotFound) GetPayload() *models.Errors
- func (o *UpdateRegistryNotFound) IsClientError() bool
- func (o *UpdateRegistryNotFound) IsCode(code int) bool
- func (o *UpdateRegistryNotFound) IsRedirect() bool
- func (o *UpdateRegistryNotFound) IsServerError() bool
- func (o *UpdateRegistryNotFound) IsSuccess() bool
- func (o *UpdateRegistryNotFound) String() string
- type UpdateRegistryOK
- func (o *UpdateRegistryOK) Code() int
- func (o *UpdateRegistryOK) Error() string
- func (o *UpdateRegistryOK) IsClientError() bool
- func (o *UpdateRegistryOK) IsCode(code int) bool
- func (o *UpdateRegistryOK) IsRedirect() bool
- func (o *UpdateRegistryOK) IsServerError() bool
- func (o *UpdateRegistryOK) IsSuccess() bool
- func (o *UpdateRegistryOK) String() string
- type UpdateRegistryParams
- func NewUpdateRegistryParams() *UpdateRegistryParams
- func NewUpdateRegistryParamsWithContext(ctx context.Context) *UpdateRegistryParamsdeprecated
- func NewUpdateRegistryParamsWithHTTPClient(client *http.Client) *UpdateRegistryParams
- func NewUpdateRegistryParamsWithTimeout(timeout time.Duration) *UpdateRegistryParams
- func (o *UpdateRegistryParams) SetContext(ctx context.Context)deprecated
- func (o *UpdateRegistryParams) SetDefaults()
- func (o *UpdateRegistryParams) SetHTTPClient(client *http.Client)
- func (o *UpdateRegistryParams) SetID(id int64)
- func (o *UpdateRegistryParams) SetRegistry(registry *models.RegistryUpdate)
- func (o *UpdateRegistryParams) SetTimeout(timeout time.Duration)
- func (o *UpdateRegistryParams) SetXRequestID(xRequestID *string)
- func (o *UpdateRegistryParams) WithContext(ctx context.Context) *UpdateRegistryParamsdeprecated
- func (o *UpdateRegistryParams) WithDefaults() *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithHTTPClient(client *http.Client) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithID(id int64) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithRegistry(registry *models.RegistryUpdate) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithTimeout(timeout time.Duration) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WithXRequestID(xRequestID *string) *UpdateRegistryParams
- func (o *UpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateRegistryReader
- type UpdateRegistryUnauthorized
- func (o *UpdateRegistryUnauthorized) Code() int
- func (o *UpdateRegistryUnauthorized) Error() string
- func (o *UpdateRegistryUnauthorized) GetPayload() *models.Errors
- func (o *UpdateRegistryUnauthorized) IsClientError() bool
- func (o *UpdateRegistryUnauthorized) IsCode(code int) bool
- func (o *UpdateRegistryUnauthorized) IsRedirect() bool
- func (o *UpdateRegistryUnauthorized) IsServerError() bool
- func (o *UpdateRegistryUnauthorized) IsSuccess() bool
- func (o *UpdateRegistryUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
// CreateRegistry creates a registry
//
// Create a registry
CreateRegistry(ctx context.Context, params *CreateRegistryParams) (*CreateRegistryCreated, error)
// DeleteRegistry deletes the specific registry
//
// Delete the specific registry
DeleteRegistry(ctx context.Context, params *DeleteRegistryParams) (*DeleteRegistryOK, error)
// GetRegistry gets the specific registry
//
// Get the specific registry
GetRegistry(ctx context.Context, params *GetRegistryParams) (*GetRegistryOK, error)
// GetRegistryInfo gets the registry info
//
// Get the registry info
GetRegistryInfo(ctx context.Context, params *GetRegistryInfoParams) (*GetRegistryInfoOK, error)
// ListRegistries lists the registries
//
// List the registries
ListRegistries(ctx context.Context, params *ListRegistriesParams) (*ListRegistriesOK, error)
// ListRegistryProviderInfos lists all registered registry provider information
//
// List all registered registry provider information
ListRegistryProviderInfos(ctx context.Context, params *ListRegistryProviderInfosParams) (*ListRegistryProviderInfosOK, error)
// ListRegistryProviderTypes lists registry adapters
//
// List registry adapters
ListRegistryProviderTypes(ctx context.Context, params *ListRegistryProviderTypesParams) (*ListRegistryProviderTypesOK, error)
// PingRegistry checks status of a registry
//
// Check status of a registry
PingRegistry(ctx context.Context, params *PingRegistryParams) (*PingRegistryOK, error)
// UpdateRegistry updates the registry
//
// Update the registry
UpdateRegistry(ctx context.Context, params *UpdateRegistryParams) (*UpdateRegistryOK, error)
}
API is the interface of the registry client.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for registry API
func New ¶
func New(transport runtime.ContextualTransport, formats strfmt.Registry, authInfo runtime.ClientAuthInfoWriter) *Client
New creates a new registry API client.
func (*Client) CreateRegistry ¶
func (a *Client) CreateRegistry(ctx context.Context, params *CreateRegistryParams) (*CreateRegistryCreated, error)
CreateRegistry creates a registry.
Create a registry.
func (*Client) DeleteRegistry ¶
func (a *Client) DeleteRegistry(ctx context.Context, params *DeleteRegistryParams) (*DeleteRegistryOK, error)
DeleteRegistry deletes the specific registry.
Delete the specific registry.
func (*Client) GetRegistry ¶
func (a *Client) GetRegistry(ctx context.Context, params *GetRegistryParams) (*GetRegistryOK, error)
GetRegistry gets the specific registry.
Get the specific registry.
func (*Client) GetRegistryInfo ¶
func (a *Client) GetRegistryInfo(ctx context.Context, params *GetRegistryInfoParams) (*GetRegistryInfoOK, error)
GetRegistryInfo gets the registry info.
Get the registry info.
func (*Client) ListRegistries ¶
func (a *Client) ListRegistries(ctx context.Context, params *ListRegistriesParams) (*ListRegistriesOK, error)
ListRegistries lists the registries.
List the registries.
func (*Client) ListRegistryProviderInfos ¶
func (a *Client) ListRegistryProviderInfos(ctx context.Context, params *ListRegistryProviderInfosParams) (*ListRegistryProviderInfosOK, error)
ListRegistryProviderInfos lists all registered registry provider information.
List all registered registry provider information.
func (*Client) ListRegistryProviderTypes ¶
func (a *Client) ListRegistryProviderTypes(ctx context.Context, params *ListRegistryProviderTypesParams) (*ListRegistryProviderTypesOK, error)
ListRegistryProviderTypes lists registry adapters.
List registry adapters.
func (*Client) PingRegistry ¶
func (a *Client) PingRegistry(ctx context.Context, params *PingRegistryParams) (*PingRegistryOK, error)
PingRegistry checks status of a registry.
Check status of a registry.
func (*Client) UpdateRegistry ¶
func (a *Client) UpdateRegistry(ctx context.Context, params *UpdateRegistryParams) (*UpdateRegistryOK, error)
UpdateRegistry updates the registry.
Update the registry.
type CreateRegistryBadRequest ¶
type CreateRegistryBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRegistryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewCreateRegistryBadRequest ¶
func NewCreateRegistryBadRequest() *CreateRegistryBadRequest
NewCreateRegistryBadRequest creates a CreateRegistryBadRequest with default headers values
func (*CreateRegistryBadRequest) Code ¶
func (o *CreateRegistryBadRequest) Code() int
Code gets the status code for the create registry bad request response
func (*CreateRegistryBadRequest) Error ¶
func (o *CreateRegistryBadRequest) Error() string
func (*CreateRegistryBadRequest) GetPayload ¶
func (o *CreateRegistryBadRequest) GetPayload() *models.Errors
func (*CreateRegistryBadRequest) IsClientError ¶
func (o *CreateRegistryBadRequest) IsClientError() bool
IsClientError returns true when this create registry bad request response has a 4xx status code
func (*CreateRegistryBadRequest) IsCode ¶
func (o *CreateRegistryBadRequest) IsCode(code int) bool
IsCode returns true when this create registry bad request response a status code equal to that given
func (*CreateRegistryBadRequest) IsRedirect ¶
func (o *CreateRegistryBadRequest) IsRedirect() bool
IsRedirect returns true when this create registry bad request response has a 3xx status code
func (*CreateRegistryBadRequest) IsServerError ¶
func (o *CreateRegistryBadRequest) IsServerError() bool
IsServerError returns true when this create registry bad request response has a 5xx status code
func (*CreateRegistryBadRequest) IsSuccess ¶
func (o *CreateRegistryBadRequest) IsSuccess() bool
IsSuccess returns true when this create registry bad request response has a 2xx status code
func (*CreateRegistryBadRequest) String ¶
func (o *CreateRegistryBadRequest) String() string
type CreateRegistryConflict ¶
type CreateRegistryConflict struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRegistryConflict describes a response with status code 409, with default header values.
Conflict
func NewCreateRegistryConflict ¶
func NewCreateRegistryConflict() *CreateRegistryConflict
NewCreateRegistryConflict creates a CreateRegistryConflict with default headers values
func (*CreateRegistryConflict) Code ¶
func (o *CreateRegistryConflict) Code() int
Code gets the status code for the create registry conflict response
func (*CreateRegistryConflict) Error ¶
func (o *CreateRegistryConflict) Error() string
func (*CreateRegistryConflict) GetPayload ¶
func (o *CreateRegistryConflict) GetPayload() *models.Errors
func (*CreateRegistryConflict) IsClientError ¶
func (o *CreateRegistryConflict) IsClientError() bool
IsClientError returns true when this create registry conflict response has a 4xx status code
func (*CreateRegistryConflict) IsCode ¶
func (o *CreateRegistryConflict) IsCode(code int) bool
IsCode returns true when this create registry conflict response a status code equal to that given
func (*CreateRegistryConflict) IsRedirect ¶
func (o *CreateRegistryConflict) IsRedirect() bool
IsRedirect returns true when this create registry conflict response has a 3xx status code
func (*CreateRegistryConflict) IsServerError ¶
func (o *CreateRegistryConflict) IsServerError() bool
IsServerError returns true when this create registry conflict response has a 5xx status code
func (*CreateRegistryConflict) IsSuccess ¶
func (o *CreateRegistryConflict) IsSuccess() bool
IsSuccess returns true when this create registry conflict response has a 2xx status code
func (*CreateRegistryConflict) String ¶
func (o *CreateRegistryConflict) String() string
type CreateRegistryCreated ¶
type CreateRegistryCreated struct {
// The location of the resource
Location string
// The ID of the corresponding request for the response
XRequestID string
}
CreateRegistryCreated describes a response with status code 201, with default header values.
Created
func NewCreateRegistryCreated ¶
func NewCreateRegistryCreated() *CreateRegistryCreated
NewCreateRegistryCreated creates a CreateRegistryCreated with default headers values
func (*CreateRegistryCreated) Code ¶
func (o *CreateRegistryCreated) Code() int
Code gets the status code for the create registry created response
func (*CreateRegistryCreated) Error ¶
func (o *CreateRegistryCreated) Error() string
func (*CreateRegistryCreated) IsClientError ¶
func (o *CreateRegistryCreated) IsClientError() bool
IsClientError returns true when this create registry created response has a 4xx status code
func (*CreateRegistryCreated) IsCode ¶
func (o *CreateRegistryCreated) IsCode(code int) bool
IsCode returns true when this create registry created response a status code equal to that given
func (*CreateRegistryCreated) IsRedirect ¶
func (o *CreateRegistryCreated) IsRedirect() bool
IsRedirect returns true when this create registry created response has a 3xx status code
func (*CreateRegistryCreated) IsServerError ¶
func (o *CreateRegistryCreated) IsServerError() bool
IsServerError returns true when this create registry created response has a 5xx status code
func (*CreateRegistryCreated) IsSuccess ¶
func (o *CreateRegistryCreated) IsSuccess() bool
IsSuccess returns true when this create registry created response has a 2xx status code
func (*CreateRegistryCreated) String ¶
func (o *CreateRegistryCreated) String() string
type CreateRegistryForbidden ¶
type CreateRegistryForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRegistryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewCreateRegistryForbidden ¶
func NewCreateRegistryForbidden() *CreateRegistryForbidden
NewCreateRegistryForbidden creates a CreateRegistryForbidden with default headers values
func (*CreateRegistryForbidden) Code ¶
func (o *CreateRegistryForbidden) Code() int
Code gets the status code for the create registry forbidden response
func (*CreateRegistryForbidden) Error ¶
func (o *CreateRegistryForbidden) Error() string
func (*CreateRegistryForbidden) GetPayload ¶
func (o *CreateRegistryForbidden) GetPayload() *models.Errors
func (*CreateRegistryForbidden) IsClientError ¶
func (o *CreateRegistryForbidden) IsClientError() bool
IsClientError returns true when this create registry forbidden response has a 4xx status code
func (*CreateRegistryForbidden) IsCode ¶
func (o *CreateRegistryForbidden) IsCode(code int) bool
IsCode returns true when this create registry forbidden response a status code equal to that given
func (*CreateRegistryForbidden) IsRedirect ¶
func (o *CreateRegistryForbidden) IsRedirect() bool
IsRedirect returns true when this create registry forbidden response has a 3xx status code
func (*CreateRegistryForbidden) IsServerError ¶
func (o *CreateRegistryForbidden) IsServerError() bool
IsServerError returns true when this create registry forbidden response has a 5xx status code
func (*CreateRegistryForbidden) IsSuccess ¶
func (o *CreateRegistryForbidden) IsSuccess() bool
IsSuccess returns true when this create registry forbidden response has a 2xx status code
func (*CreateRegistryForbidden) String ¶
func (o *CreateRegistryForbidden) String() string
type CreateRegistryInternalServerError ¶
type CreateRegistryInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
CreateRegistryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewCreateRegistryInternalServerError ¶
func NewCreateRegistryInternalServerError() *CreateRegistryInternalServerError
NewCreateRegistryInternalServerError creates a CreateRegistryInternalServerError with default headers values
func (*CreateRegistryInternalServerError) Code ¶
func (o *CreateRegistryInternalServerError) Code() int
Code gets the status code for the create registry internal server error response
func (*CreateRegistryInternalServerError) Error ¶
func (o *CreateRegistryInternalServerError) Error() string
func (*CreateRegistryInternalServerError) GetPayload ¶
func (o *CreateRegistryInternalServerError) GetPayload() *models.Errors
func (*CreateRegistryInternalServerError) IsClientError ¶
func (o *CreateRegistryInternalServerError) IsClientError() bool
IsClientError returns true when this create registry internal server error response has a 4xx status code
func (*CreateRegistryInternalServerError) IsCode ¶
func (o *CreateRegistryInternalServerError) IsCode(code int) bool
IsCode returns true when this create registry internal server error response a status code equal to that given
func (*CreateRegistryInternalServerError) IsRedirect ¶
func (o *CreateRegistryInternalServerError) IsRedirect() bool
IsRedirect returns true when this create registry internal server error response has a 3xx status code
func (*CreateRegistryInternalServerError) IsServerError ¶
func (o *CreateRegistryInternalServerError) IsServerError() bool
IsServerError returns true when this create registry internal server error response has a 5xx status code
func (*CreateRegistryInternalServerError) IsSuccess ¶
func (o *CreateRegistryInternalServerError) IsSuccess() bool
IsSuccess returns true when this create registry internal server error response has a 2xx status code
func (*CreateRegistryInternalServerError) String ¶
func (o *CreateRegistryInternalServerError) String() string
type CreateRegistryParams ¶
type CreateRegistryParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Registry.
//
// The registry
Registry *models.Registry
HTTPClient *http.Client
// contains filtered or unexported fields
}
CreateRegistryParams contains all the parameters to send to the API endpoint
for the create registry operation. Typically these are written to a http.Request.
func NewCreateRegistryParams ¶
func NewCreateRegistryParams() *CreateRegistryParams
NewCreateRegistryParams creates a new CreateRegistryParams 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 NewCreateRegistryParamsWithContext
deprecated
func NewCreateRegistryParamsWithContext(ctx context.Context) *CreateRegistryParams
NewCreateRegistryParamsWithContext creates a new CreateRegistryParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of CreateRegistryParams.
func NewCreateRegistryParamsWithHTTPClient ¶
func NewCreateRegistryParamsWithHTTPClient(client *http.Client) *CreateRegistryParams
NewCreateRegistryParamsWithHTTPClient creates a new CreateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewCreateRegistryParamsWithTimeout ¶
func NewCreateRegistryParamsWithTimeout(timeout time.Duration) *CreateRegistryParams
NewCreateRegistryParamsWithTimeout creates a new CreateRegistryParams object with the ability to set a timeout on a request.
func (*CreateRegistryParams) SetContext
deprecated
func (o *CreateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the create registry params.
Deprecated: use the operation call with context to pass the context instead of CreateRegistryParams.
func (*CreateRegistryParams) SetDefaults ¶
func (o *CreateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) SetHTTPClient ¶
func (o *CreateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create registry params.
func (*CreateRegistryParams) SetRegistry ¶
func (o *CreateRegistryParams) SetRegistry(registry *models.Registry)
SetRegistry adds the registry to the create registry params.
func (*CreateRegistryParams) SetTimeout ¶
func (o *CreateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create registry params.
func (*CreateRegistryParams) SetXRequestID ¶
func (o *CreateRegistryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the create registry params.
func (*CreateRegistryParams) WithContext
deprecated
func (o *CreateRegistryParams) WithContext(ctx context.Context) *CreateRegistryParams
WithContext adds the context to the create registry params.
Deprecated: use the operation call with context to pass the context instead of CreateRegistryParams.
func (*CreateRegistryParams) WithDefaults ¶
func (o *CreateRegistryParams) WithDefaults() *CreateRegistryParams
WithDefaults hydrates default values in the create registry params (not the query body).
All values with no default are reset to their zero value.
func (*CreateRegistryParams) WithHTTPClient ¶
func (o *CreateRegistryParams) WithHTTPClient(client *http.Client) *CreateRegistryParams
WithHTTPClient adds the HTTPClient to the create registry params.
func (*CreateRegistryParams) WithRegistry ¶
func (o *CreateRegistryParams) WithRegistry(registry *models.Registry) *CreateRegistryParams
WithRegistry adds the registry to the create registry params.
func (*CreateRegistryParams) WithTimeout ¶
func (o *CreateRegistryParams) WithTimeout(timeout time.Duration) *CreateRegistryParams
WithTimeout adds the timeout to the create registry params.
func (*CreateRegistryParams) WithXRequestID ¶
func (o *CreateRegistryParams) WithXRequestID(xRequestID *string) *CreateRegistryParams
WithXRequestID adds the xRequestID to the create registry params.
func (*CreateRegistryParams) WriteToRequest ¶
func (o *CreateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type CreateRegistryReader ¶
type CreateRegistryReader struct {
// contains filtered or unexported fields
}
CreateRegistryReader is a Reader for the CreateRegistry structure.
func (*CreateRegistryReader) ReadResponse ¶
func (o *CreateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type CreateRegistryUnauthorized ¶
type CreateRegistryUnauthorized struct {
XRequestID string
}
CreateRegistryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewCreateRegistryUnauthorized ¶
func NewCreateRegistryUnauthorized() *CreateRegistryUnauthorized
NewCreateRegistryUnauthorized creates a CreateRegistryUnauthorized with default headers values
func (*CreateRegistryUnauthorized) Code ¶
func (o *CreateRegistryUnauthorized) Code() int
Code gets the status code for the create registry unauthorized response
func (*CreateRegistryUnauthorized) Error ¶
func (o *CreateRegistryUnauthorized) Error() string
func (*CreateRegistryUnauthorized) GetPayload ¶
func (o *CreateRegistryUnauthorized) GetPayload() *models.Errors
func (*CreateRegistryUnauthorized) IsClientError ¶
func (o *CreateRegistryUnauthorized) IsClientError() bool
IsClientError returns true when this create registry unauthorized response has a 4xx status code
func (*CreateRegistryUnauthorized) IsCode ¶
func (o *CreateRegistryUnauthorized) IsCode(code int) bool
IsCode returns true when this create registry unauthorized response a status code equal to that given
func (*CreateRegistryUnauthorized) IsRedirect ¶
func (o *CreateRegistryUnauthorized) IsRedirect() bool
IsRedirect returns true when this create registry unauthorized response has a 3xx status code
func (*CreateRegistryUnauthorized) IsServerError ¶
func (o *CreateRegistryUnauthorized) IsServerError() bool
IsServerError returns true when this create registry unauthorized response has a 5xx status code
func (*CreateRegistryUnauthorized) IsSuccess ¶
func (o *CreateRegistryUnauthorized) IsSuccess() bool
IsSuccess returns true when this create registry unauthorized response has a 2xx status code
func (*CreateRegistryUnauthorized) String ¶
func (o *CreateRegistryUnauthorized) String() string
type DeleteRegistryForbidden ¶
type DeleteRegistryForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRegistryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewDeleteRegistryForbidden ¶
func NewDeleteRegistryForbidden() *DeleteRegistryForbidden
NewDeleteRegistryForbidden creates a DeleteRegistryForbidden with default headers values
func (*DeleteRegistryForbidden) Code ¶
func (o *DeleteRegistryForbidden) Code() int
Code gets the status code for the delete registry forbidden response
func (*DeleteRegistryForbidden) Error ¶
func (o *DeleteRegistryForbidden) Error() string
func (*DeleteRegistryForbidden) GetPayload ¶
func (o *DeleteRegistryForbidden) GetPayload() *models.Errors
func (*DeleteRegistryForbidden) IsClientError ¶
func (o *DeleteRegistryForbidden) IsClientError() bool
IsClientError returns true when this delete registry forbidden response has a 4xx status code
func (*DeleteRegistryForbidden) IsCode ¶
func (o *DeleteRegistryForbidden) IsCode(code int) bool
IsCode returns true when this delete registry forbidden response a status code equal to that given
func (*DeleteRegistryForbidden) IsRedirect ¶
func (o *DeleteRegistryForbidden) IsRedirect() bool
IsRedirect returns true when this delete registry forbidden response has a 3xx status code
func (*DeleteRegistryForbidden) IsServerError ¶
func (o *DeleteRegistryForbidden) IsServerError() bool
IsServerError returns true when this delete registry forbidden response has a 5xx status code
func (*DeleteRegistryForbidden) IsSuccess ¶
func (o *DeleteRegistryForbidden) IsSuccess() bool
IsSuccess returns true when this delete registry forbidden response has a 2xx status code
func (*DeleteRegistryForbidden) String ¶
func (o *DeleteRegistryForbidden) String() string
type DeleteRegistryInternalServerError ¶
type DeleteRegistryInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRegistryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewDeleteRegistryInternalServerError ¶
func NewDeleteRegistryInternalServerError() *DeleteRegistryInternalServerError
NewDeleteRegistryInternalServerError creates a DeleteRegistryInternalServerError with default headers values
func (*DeleteRegistryInternalServerError) Code ¶
func (o *DeleteRegistryInternalServerError) Code() int
Code gets the status code for the delete registry internal server error response
func (*DeleteRegistryInternalServerError) Error ¶
func (o *DeleteRegistryInternalServerError) Error() string
func (*DeleteRegistryInternalServerError) GetPayload ¶
func (o *DeleteRegistryInternalServerError) GetPayload() *models.Errors
func (*DeleteRegistryInternalServerError) IsClientError ¶
func (o *DeleteRegistryInternalServerError) IsClientError() bool
IsClientError returns true when this delete registry internal server error response has a 4xx status code
func (*DeleteRegistryInternalServerError) IsCode ¶
func (o *DeleteRegistryInternalServerError) IsCode(code int) bool
IsCode returns true when this delete registry internal server error response a status code equal to that given
func (*DeleteRegistryInternalServerError) IsRedirect ¶
func (o *DeleteRegistryInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete registry internal server error response has a 3xx status code
func (*DeleteRegistryInternalServerError) IsServerError ¶
func (o *DeleteRegistryInternalServerError) IsServerError() bool
IsServerError returns true when this delete registry internal server error response has a 5xx status code
func (*DeleteRegistryInternalServerError) IsSuccess ¶
func (o *DeleteRegistryInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete registry internal server error response has a 2xx status code
func (*DeleteRegistryInternalServerError) String ¶
func (o *DeleteRegistryInternalServerError) String() string
type DeleteRegistryNotFound ¶
type DeleteRegistryNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRegistryNotFound describes a response with status code 404, with default header values.
Not found
func NewDeleteRegistryNotFound ¶
func NewDeleteRegistryNotFound() *DeleteRegistryNotFound
NewDeleteRegistryNotFound creates a DeleteRegistryNotFound with default headers values
func (*DeleteRegistryNotFound) Code ¶
func (o *DeleteRegistryNotFound) Code() int
Code gets the status code for the delete registry not found response
func (*DeleteRegistryNotFound) Error ¶
func (o *DeleteRegistryNotFound) Error() string
func (*DeleteRegistryNotFound) GetPayload ¶
func (o *DeleteRegistryNotFound) GetPayload() *models.Errors
func (*DeleteRegistryNotFound) IsClientError ¶
func (o *DeleteRegistryNotFound) IsClientError() bool
IsClientError returns true when this delete registry not found response has a 4xx status code
func (*DeleteRegistryNotFound) IsCode ¶
func (o *DeleteRegistryNotFound) IsCode(code int) bool
IsCode returns true when this delete registry not found response a status code equal to that given
func (*DeleteRegistryNotFound) IsRedirect ¶
func (o *DeleteRegistryNotFound) IsRedirect() bool
IsRedirect returns true when this delete registry not found response has a 3xx status code
func (*DeleteRegistryNotFound) IsServerError ¶
func (o *DeleteRegistryNotFound) IsServerError() bool
IsServerError returns true when this delete registry not found response has a 5xx status code
func (*DeleteRegistryNotFound) IsSuccess ¶
func (o *DeleteRegistryNotFound) IsSuccess() bool
IsSuccess returns true when this delete registry not found response has a 2xx status code
func (*DeleteRegistryNotFound) String ¶
func (o *DeleteRegistryNotFound) String() string
type DeleteRegistryOK ¶
type DeleteRegistryOK struct {
// The ID of the corresponding request for the response
XRequestID string
}
DeleteRegistryOK describes a response with status code 200, with default header values.
Success
func NewDeleteRegistryOK ¶
func NewDeleteRegistryOK() *DeleteRegistryOK
NewDeleteRegistryOK creates a DeleteRegistryOK with default headers values
func (*DeleteRegistryOK) Code ¶
func (o *DeleteRegistryOK) Code() int
Code gets the status code for the delete registry o k response
func (*DeleteRegistryOK) Error ¶
func (o *DeleteRegistryOK) Error() string
func (*DeleteRegistryOK) IsClientError ¶
func (o *DeleteRegistryOK) IsClientError() bool
IsClientError returns true when this delete registry o k response has a 4xx status code
func (*DeleteRegistryOK) IsCode ¶
func (o *DeleteRegistryOK) IsCode(code int) bool
IsCode returns true when this delete registry o k response a status code equal to that given
func (*DeleteRegistryOK) IsRedirect ¶
func (o *DeleteRegistryOK) IsRedirect() bool
IsRedirect returns true when this delete registry o k response has a 3xx status code
func (*DeleteRegistryOK) IsServerError ¶
func (o *DeleteRegistryOK) IsServerError() bool
IsServerError returns true when this delete registry o k response has a 5xx status code
func (*DeleteRegistryOK) IsSuccess ¶
func (o *DeleteRegistryOK) IsSuccess() bool
IsSuccess returns true when this delete registry o k response has a 2xx status code
func (*DeleteRegistryOK) String ¶
func (o *DeleteRegistryOK) String() string
type DeleteRegistryParams ¶
type DeleteRegistryParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// ID.
//
// Registry ID
//
// Format: int64
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
DeleteRegistryParams contains all the parameters to send to the API endpoint
for the delete registry operation. Typically these are written to a http.Request.
func NewDeleteRegistryParams ¶
func NewDeleteRegistryParams() *DeleteRegistryParams
NewDeleteRegistryParams creates a new DeleteRegistryParams 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 NewDeleteRegistryParamsWithContext
deprecated
func NewDeleteRegistryParamsWithContext(ctx context.Context) *DeleteRegistryParams
NewDeleteRegistryParamsWithContext creates a new DeleteRegistryParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of DeleteRegistryParams.
func NewDeleteRegistryParamsWithHTTPClient ¶
func NewDeleteRegistryParamsWithHTTPClient(client *http.Client) *DeleteRegistryParams
NewDeleteRegistryParamsWithHTTPClient creates a new DeleteRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteRegistryParamsWithTimeout ¶
func NewDeleteRegistryParamsWithTimeout(timeout time.Duration) *DeleteRegistryParams
NewDeleteRegistryParamsWithTimeout creates a new DeleteRegistryParams object with the ability to set a timeout on a request.
func (*DeleteRegistryParams) SetContext
deprecated
func (o *DeleteRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the delete registry params.
Deprecated: use the operation call with context to pass the context instead of DeleteRegistryParams.
func (*DeleteRegistryParams) SetDefaults ¶
func (o *DeleteRegistryParams) SetDefaults()
SetDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) SetHTTPClient ¶
func (o *DeleteRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete registry params.
func (*DeleteRegistryParams) SetID ¶
func (o *DeleteRegistryParams) SetID(id int64)
SetID adds the id to the delete registry params.
func (*DeleteRegistryParams) SetTimeout ¶
func (o *DeleteRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete registry params.
func (*DeleteRegistryParams) SetXRequestID ¶
func (o *DeleteRegistryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the delete registry params.
func (*DeleteRegistryParams) WithContext
deprecated
func (o *DeleteRegistryParams) WithContext(ctx context.Context) *DeleteRegistryParams
WithContext adds the context to the delete registry params.
Deprecated: use the operation call with context to pass the context instead of DeleteRegistryParams.
func (*DeleteRegistryParams) WithDefaults ¶
func (o *DeleteRegistryParams) WithDefaults() *DeleteRegistryParams
WithDefaults hydrates default values in the delete registry params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteRegistryParams) WithHTTPClient ¶
func (o *DeleteRegistryParams) WithHTTPClient(client *http.Client) *DeleteRegistryParams
WithHTTPClient adds the HTTPClient to the delete registry params.
func (*DeleteRegistryParams) WithID ¶
func (o *DeleteRegistryParams) WithID(id int64) *DeleteRegistryParams
WithID adds the id to the delete registry params.
func (*DeleteRegistryParams) WithTimeout ¶
func (o *DeleteRegistryParams) WithTimeout(timeout time.Duration) *DeleteRegistryParams
WithTimeout adds the timeout to the delete registry params.
func (*DeleteRegistryParams) WithXRequestID ¶
func (o *DeleteRegistryParams) WithXRequestID(xRequestID *string) *DeleteRegistryParams
WithXRequestID adds the xRequestID to the delete registry params.
func (*DeleteRegistryParams) WriteToRequest ¶
func (o *DeleteRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type DeleteRegistryPreconditionFailed ¶
type DeleteRegistryPreconditionFailed struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
DeleteRegistryPreconditionFailed describes a response with status code 412, with default header values.
Precondition failed
func NewDeleteRegistryPreconditionFailed ¶
func NewDeleteRegistryPreconditionFailed() *DeleteRegistryPreconditionFailed
NewDeleteRegistryPreconditionFailed creates a DeleteRegistryPreconditionFailed with default headers values
func (*DeleteRegistryPreconditionFailed) Code ¶
func (o *DeleteRegistryPreconditionFailed) Code() int
Code gets the status code for the delete registry precondition failed response
func (*DeleteRegistryPreconditionFailed) Error ¶
func (o *DeleteRegistryPreconditionFailed) Error() string
func (*DeleteRegistryPreconditionFailed) GetPayload ¶
func (o *DeleteRegistryPreconditionFailed) GetPayload() *models.Errors
func (*DeleteRegistryPreconditionFailed) IsClientError ¶
func (o *DeleteRegistryPreconditionFailed) IsClientError() bool
IsClientError returns true when this delete registry precondition failed response has a 4xx status code
func (*DeleteRegistryPreconditionFailed) IsCode ¶
func (o *DeleteRegistryPreconditionFailed) IsCode(code int) bool
IsCode returns true when this delete registry precondition failed response a status code equal to that given
func (*DeleteRegistryPreconditionFailed) IsRedirect ¶
func (o *DeleteRegistryPreconditionFailed) IsRedirect() bool
IsRedirect returns true when this delete registry precondition failed response has a 3xx status code
func (*DeleteRegistryPreconditionFailed) IsServerError ¶
func (o *DeleteRegistryPreconditionFailed) IsServerError() bool
IsServerError returns true when this delete registry precondition failed response has a 5xx status code
func (*DeleteRegistryPreconditionFailed) IsSuccess ¶
func (o *DeleteRegistryPreconditionFailed) IsSuccess() bool
IsSuccess returns true when this delete registry precondition failed response has a 2xx status code
func (*DeleteRegistryPreconditionFailed) String ¶
func (o *DeleteRegistryPreconditionFailed) String() string
type DeleteRegistryReader ¶
type DeleteRegistryReader struct {
// contains filtered or unexported fields
}
DeleteRegistryReader is a Reader for the DeleteRegistry structure.
func (*DeleteRegistryReader) ReadResponse ¶
func (o *DeleteRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type DeleteRegistryUnauthorized ¶
type DeleteRegistryUnauthorized struct {
XRequestID string
}
DeleteRegistryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewDeleteRegistryUnauthorized ¶
func NewDeleteRegistryUnauthorized() *DeleteRegistryUnauthorized
NewDeleteRegistryUnauthorized creates a DeleteRegistryUnauthorized with default headers values
func (*DeleteRegistryUnauthorized) Code ¶
func (o *DeleteRegistryUnauthorized) Code() int
Code gets the status code for the delete registry unauthorized response
func (*DeleteRegistryUnauthorized) Error ¶
func (o *DeleteRegistryUnauthorized) Error() string
func (*DeleteRegistryUnauthorized) GetPayload ¶
func (o *DeleteRegistryUnauthorized) GetPayload() *models.Errors
func (*DeleteRegistryUnauthorized) IsClientError ¶
func (o *DeleteRegistryUnauthorized) IsClientError() bool
IsClientError returns true when this delete registry unauthorized response has a 4xx status code
func (*DeleteRegistryUnauthorized) IsCode ¶
func (o *DeleteRegistryUnauthorized) IsCode(code int) bool
IsCode returns true when this delete registry unauthorized response a status code equal to that given
func (*DeleteRegistryUnauthorized) IsRedirect ¶
func (o *DeleteRegistryUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete registry unauthorized response has a 3xx status code
func (*DeleteRegistryUnauthorized) IsServerError ¶
func (o *DeleteRegistryUnauthorized) IsServerError() bool
IsServerError returns true when this delete registry unauthorized response has a 5xx status code
func (*DeleteRegistryUnauthorized) IsSuccess ¶
func (o *DeleteRegistryUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete registry unauthorized response has a 2xx status code
func (*DeleteRegistryUnauthorized) String ¶
func (o *DeleteRegistryUnauthorized) String() string
type GetRegistryForbidden ¶
type GetRegistryForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRegistryForbidden ¶
func NewGetRegistryForbidden() *GetRegistryForbidden
NewGetRegistryForbidden creates a GetRegistryForbidden with default headers values
func (*GetRegistryForbidden) Code ¶
func (o *GetRegistryForbidden) Code() int
Code gets the status code for the get registry forbidden response
func (*GetRegistryForbidden) Error ¶
func (o *GetRegistryForbidden) Error() string
func (*GetRegistryForbidden) GetPayload ¶
func (o *GetRegistryForbidden) GetPayload() *models.Errors
func (*GetRegistryForbidden) IsClientError ¶
func (o *GetRegistryForbidden) IsClientError() bool
IsClientError returns true when this get registry forbidden response has a 4xx status code
func (*GetRegistryForbidden) IsCode ¶
func (o *GetRegistryForbidden) IsCode(code int) bool
IsCode returns true when this get registry forbidden response a status code equal to that given
func (*GetRegistryForbidden) IsRedirect ¶
func (o *GetRegistryForbidden) IsRedirect() bool
IsRedirect returns true when this get registry forbidden response has a 3xx status code
func (*GetRegistryForbidden) IsServerError ¶
func (o *GetRegistryForbidden) IsServerError() bool
IsServerError returns true when this get registry forbidden response has a 5xx status code
func (*GetRegistryForbidden) IsSuccess ¶
func (o *GetRegistryForbidden) IsSuccess() bool
IsSuccess returns true when this get registry forbidden response has a 2xx status code
func (*GetRegistryForbidden) String ¶
func (o *GetRegistryForbidden) String() string
type GetRegistryInfoForbidden ¶
type GetRegistryInfoForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryInfoForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetRegistryInfoForbidden ¶
func NewGetRegistryInfoForbidden() *GetRegistryInfoForbidden
NewGetRegistryInfoForbidden creates a GetRegistryInfoForbidden with default headers values
func (*GetRegistryInfoForbidden) Code ¶
func (o *GetRegistryInfoForbidden) Code() int
Code gets the status code for the get registry info forbidden response
func (*GetRegistryInfoForbidden) Error ¶
func (o *GetRegistryInfoForbidden) Error() string
func (*GetRegistryInfoForbidden) GetPayload ¶
func (o *GetRegistryInfoForbidden) GetPayload() *models.Errors
func (*GetRegistryInfoForbidden) IsClientError ¶
func (o *GetRegistryInfoForbidden) IsClientError() bool
IsClientError returns true when this get registry info forbidden response has a 4xx status code
func (*GetRegistryInfoForbidden) IsCode ¶
func (o *GetRegistryInfoForbidden) IsCode(code int) bool
IsCode returns true when this get registry info forbidden response a status code equal to that given
func (*GetRegistryInfoForbidden) IsRedirect ¶
func (o *GetRegistryInfoForbidden) IsRedirect() bool
IsRedirect returns true when this get registry info forbidden response has a 3xx status code
func (*GetRegistryInfoForbidden) IsServerError ¶
func (o *GetRegistryInfoForbidden) IsServerError() bool
IsServerError returns true when this get registry info forbidden response has a 5xx status code
func (*GetRegistryInfoForbidden) IsSuccess ¶
func (o *GetRegistryInfoForbidden) IsSuccess() bool
IsSuccess returns true when this get registry info forbidden response has a 2xx status code
func (*GetRegistryInfoForbidden) String ¶
func (o *GetRegistryInfoForbidden) String() string
type GetRegistryInfoInternalServerError ¶
type GetRegistryInfoInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryInfoInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRegistryInfoInternalServerError ¶
func NewGetRegistryInfoInternalServerError() *GetRegistryInfoInternalServerError
NewGetRegistryInfoInternalServerError creates a GetRegistryInfoInternalServerError with default headers values
func (*GetRegistryInfoInternalServerError) Code ¶
func (o *GetRegistryInfoInternalServerError) Code() int
Code gets the status code for the get registry info internal server error response
func (*GetRegistryInfoInternalServerError) Error ¶
func (o *GetRegistryInfoInternalServerError) Error() string
func (*GetRegistryInfoInternalServerError) GetPayload ¶
func (o *GetRegistryInfoInternalServerError) GetPayload() *models.Errors
func (*GetRegistryInfoInternalServerError) IsClientError ¶
func (o *GetRegistryInfoInternalServerError) IsClientError() bool
IsClientError returns true when this get registry info internal server error response has a 4xx status code
func (*GetRegistryInfoInternalServerError) IsCode ¶
func (o *GetRegistryInfoInternalServerError) IsCode(code int) bool
IsCode returns true when this get registry info internal server error response a status code equal to that given
func (*GetRegistryInfoInternalServerError) IsRedirect ¶
func (o *GetRegistryInfoInternalServerError) IsRedirect() bool
IsRedirect returns true when this get registry info internal server error response has a 3xx status code
func (*GetRegistryInfoInternalServerError) IsServerError ¶
func (o *GetRegistryInfoInternalServerError) IsServerError() bool
IsServerError returns true when this get registry info internal server error response has a 5xx status code
func (*GetRegistryInfoInternalServerError) IsSuccess ¶
func (o *GetRegistryInfoInternalServerError) IsSuccess() bool
IsSuccess returns true when this get registry info internal server error response has a 2xx status code
func (*GetRegistryInfoInternalServerError) String ¶
func (o *GetRegistryInfoInternalServerError) String() string
type GetRegistryInfoNotFound ¶
type GetRegistryInfoNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryInfoNotFound describes a response with status code 404, with default header values.
Not found
func NewGetRegistryInfoNotFound ¶
func NewGetRegistryInfoNotFound() *GetRegistryInfoNotFound
NewGetRegistryInfoNotFound creates a GetRegistryInfoNotFound with default headers values
func (*GetRegistryInfoNotFound) Code ¶
func (o *GetRegistryInfoNotFound) Code() int
Code gets the status code for the get registry info not found response
func (*GetRegistryInfoNotFound) Error ¶
func (o *GetRegistryInfoNotFound) Error() string
func (*GetRegistryInfoNotFound) GetPayload ¶
func (o *GetRegistryInfoNotFound) GetPayload() *models.Errors
func (*GetRegistryInfoNotFound) IsClientError ¶
func (o *GetRegistryInfoNotFound) IsClientError() bool
IsClientError returns true when this get registry info not found response has a 4xx status code
func (*GetRegistryInfoNotFound) IsCode ¶
func (o *GetRegistryInfoNotFound) IsCode(code int) bool
IsCode returns true when this get registry info not found response a status code equal to that given
func (*GetRegistryInfoNotFound) IsRedirect ¶
func (o *GetRegistryInfoNotFound) IsRedirect() bool
IsRedirect returns true when this get registry info not found response has a 3xx status code
func (*GetRegistryInfoNotFound) IsServerError ¶
func (o *GetRegistryInfoNotFound) IsServerError() bool
IsServerError returns true when this get registry info not found response has a 5xx status code
func (*GetRegistryInfoNotFound) IsSuccess ¶
func (o *GetRegistryInfoNotFound) IsSuccess() bool
IsSuccess returns true when this get registry info not found response has a 2xx status code
func (*GetRegistryInfoNotFound) String ¶
func (o *GetRegistryInfoNotFound) String() string
type GetRegistryInfoOK ¶
type GetRegistryInfoOK struct {
Payload *models.RegistryInfo
}
GetRegistryInfoOK describes a response with status code 200, with default header values.
Success
func NewGetRegistryInfoOK ¶
func NewGetRegistryInfoOK() *GetRegistryInfoOK
NewGetRegistryInfoOK creates a GetRegistryInfoOK with default headers values
func (*GetRegistryInfoOK) Code ¶
func (o *GetRegistryInfoOK) Code() int
Code gets the status code for the get registry info o k response
func (*GetRegistryInfoOK) Error ¶
func (o *GetRegistryInfoOK) Error() string
func (*GetRegistryInfoOK) GetPayload ¶
func (o *GetRegistryInfoOK) GetPayload() *models.RegistryInfo
func (*GetRegistryInfoOK) IsClientError ¶
func (o *GetRegistryInfoOK) IsClientError() bool
IsClientError returns true when this get registry info o k response has a 4xx status code
func (*GetRegistryInfoOK) IsCode ¶
func (o *GetRegistryInfoOK) IsCode(code int) bool
IsCode returns true when this get registry info o k response a status code equal to that given
func (*GetRegistryInfoOK) IsRedirect ¶
func (o *GetRegistryInfoOK) IsRedirect() bool
IsRedirect returns true when this get registry info o k response has a 3xx status code
func (*GetRegistryInfoOK) IsServerError ¶
func (o *GetRegistryInfoOK) IsServerError() bool
IsServerError returns true when this get registry info o k response has a 5xx status code
func (*GetRegistryInfoOK) IsSuccess ¶
func (o *GetRegistryInfoOK) IsSuccess() bool
IsSuccess returns true when this get registry info o k response has a 2xx status code
func (*GetRegistryInfoOK) String ¶
func (o *GetRegistryInfoOK) String() string
type GetRegistryInfoParams ¶
type GetRegistryInfoParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// ID.
//
// Registry ID
//
// Format: int64
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRegistryInfoParams contains all the parameters to send to the API endpoint
for the get registry info operation. Typically these are written to a http.Request.
func NewGetRegistryInfoParams ¶
func NewGetRegistryInfoParams() *GetRegistryInfoParams
NewGetRegistryInfoParams creates a new GetRegistryInfoParams 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 NewGetRegistryInfoParamsWithContext
deprecated
func NewGetRegistryInfoParamsWithContext(ctx context.Context) *GetRegistryInfoParams
NewGetRegistryInfoParamsWithContext creates a new GetRegistryInfoParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetRegistryInfoParams.
func NewGetRegistryInfoParamsWithHTTPClient ¶
func NewGetRegistryInfoParamsWithHTTPClient(client *http.Client) *GetRegistryInfoParams
NewGetRegistryInfoParamsWithHTTPClient creates a new GetRegistryInfoParams object with the ability to set a custom HTTPClient for a request.
func NewGetRegistryInfoParamsWithTimeout ¶
func NewGetRegistryInfoParamsWithTimeout(timeout time.Duration) *GetRegistryInfoParams
NewGetRegistryInfoParamsWithTimeout creates a new GetRegistryInfoParams object with the ability to set a timeout on a request.
func (*GetRegistryInfoParams) SetContext
deprecated
func (o *GetRegistryInfoParams) SetContext(ctx context.Context)
SetContext adds the context to the get registry info params.
Deprecated: use the operation call with context to pass the context instead of GetRegistryInfoParams.
func (*GetRegistryInfoParams) SetDefaults ¶
func (o *GetRegistryInfoParams) SetDefaults()
SetDefaults hydrates default values in the get registry info params (not the query body).
All values with no default are reset to their zero value.
func (*GetRegistryInfoParams) SetHTTPClient ¶
func (o *GetRegistryInfoParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get registry info params.
func (*GetRegistryInfoParams) SetID ¶
func (o *GetRegistryInfoParams) SetID(id int64)
SetID adds the id to the get registry info params.
func (*GetRegistryInfoParams) SetTimeout ¶
func (o *GetRegistryInfoParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get registry info params.
func (*GetRegistryInfoParams) SetXRequestID ¶
func (o *GetRegistryInfoParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get registry info params.
func (*GetRegistryInfoParams) WithContext
deprecated
func (o *GetRegistryInfoParams) WithContext(ctx context.Context) *GetRegistryInfoParams
WithContext adds the context to the get registry info params.
Deprecated: use the operation call with context to pass the context instead of GetRegistryInfoParams.
func (*GetRegistryInfoParams) WithDefaults ¶
func (o *GetRegistryInfoParams) WithDefaults() *GetRegistryInfoParams
WithDefaults hydrates default values in the get registry info params (not the query body).
All values with no default are reset to their zero value.
func (*GetRegistryInfoParams) WithHTTPClient ¶
func (o *GetRegistryInfoParams) WithHTTPClient(client *http.Client) *GetRegistryInfoParams
WithHTTPClient adds the HTTPClient to the get registry info params.
func (*GetRegistryInfoParams) WithID ¶
func (o *GetRegistryInfoParams) WithID(id int64) *GetRegistryInfoParams
WithID adds the id to the get registry info params.
func (*GetRegistryInfoParams) WithTimeout ¶
func (o *GetRegistryInfoParams) WithTimeout(timeout time.Duration) *GetRegistryInfoParams
WithTimeout adds the timeout to the get registry info params.
func (*GetRegistryInfoParams) WithXRequestID ¶
func (o *GetRegistryInfoParams) WithXRequestID(xRequestID *string) *GetRegistryInfoParams
WithXRequestID adds the xRequestID to the get registry info params.
func (*GetRegistryInfoParams) WriteToRequest ¶
func (o *GetRegistryInfoParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetRegistryInfoReader ¶
type GetRegistryInfoReader struct {
// contains filtered or unexported fields
}
GetRegistryInfoReader is a Reader for the GetRegistryInfo structure.
func (*GetRegistryInfoReader) ReadResponse ¶
func (o *GetRegistryInfoReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetRegistryInfoUnauthorized ¶
type GetRegistryInfoUnauthorized struct {
XRequestID string
}
GetRegistryInfoUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRegistryInfoUnauthorized ¶
func NewGetRegistryInfoUnauthorized() *GetRegistryInfoUnauthorized
NewGetRegistryInfoUnauthorized creates a GetRegistryInfoUnauthorized with default headers values
func (*GetRegistryInfoUnauthorized) Code ¶
func (o *GetRegistryInfoUnauthorized) Code() int
Code gets the status code for the get registry info unauthorized response
func (*GetRegistryInfoUnauthorized) Error ¶
func (o *GetRegistryInfoUnauthorized) Error() string
func (*GetRegistryInfoUnauthorized) GetPayload ¶
func (o *GetRegistryInfoUnauthorized) GetPayload() *models.Errors
func (*GetRegistryInfoUnauthorized) IsClientError ¶
func (o *GetRegistryInfoUnauthorized) IsClientError() bool
IsClientError returns true when this get registry info unauthorized response has a 4xx status code
func (*GetRegistryInfoUnauthorized) IsCode ¶
func (o *GetRegistryInfoUnauthorized) IsCode(code int) bool
IsCode returns true when this get registry info unauthorized response a status code equal to that given
func (*GetRegistryInfoUnauthorized) IsRedirect ¶
func (o *GetRegistryInfoUnauthorized) IsRedirect() bool
IsRedirect returns true when this get registry info unauthorized response has a 3xx status code
func (*GetRegistryInfoUnauthorized) IsServerError ¶
func (o *GetRegistryInfoUnauthorized) IsServerError() bool
IsServerError returns true when this get registry info unauthorized response has a 5xx status code
func (*GetRegistryInfoUnauthorized) IsSuccess ¶
func (o *GetRegistryInfoUnauthorized) IsSuccess() bool
IsSuccess returns true when this get registry info unauthorized response has a 2xx status code
func (*GetRegistryInfoUnauthorized) String ¶
func (o *GetRegistryInfoUnauthorized) String() string
type GetRegistryInternalServerError ¶
type GetRegistryInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewGetRegistryInternalServerError ¶
func NewGetRegistryInternalServerError() *GetRegistryInternalServerError
NewGetRegistryInternalServerError creates a GetRegistryInternalServerError with default headers values
func (*GetRegistryInternalServerError) Code ¶
func (o *GetRegistryInternalServerError) Code() int
Code gets the status code for the get registry internal server error response
func (*GetRegistryInternalServerError) Error ¶
func (o *GetRegistryInternalServerError) Error() string
func (*GetRegistryInternalServerError) GetPayload ¶
func (o *GetRegistryInternalServerError) GetPayload() *models.Errors
func (*GetRegistryInternalServerError) IsClientError ¶
func (o *GetRegistryInternalServerError) IsClientError() bool
IsClientError returns true when this get registry internal server error response has a 4xx status code
func (*GetRegistryInternalServerError) IsCode ¶
func (o *GetRegistryInternalServerError) IsCode(code int) bool
IsCode returns true when this get registry internal server error response a status code equal to that given
func (*GetRegistryInternalServerError) IsRedirect ¶
func (o *GetRegistryInternalServerError) IsRedirect() bool
IsRedirect returns true when this get registry internal server error response has a 3xx status code
func (*GetRegistryInternalServerError) IsServerError ¶
func (o *GetRegistryInternalServerError) IsServerError() bool
IsServerError returns true when this get registry internal server error response has a 5xx status code
func (*GetRegistryInternalServerError) IsSuccess ¶
func (o *GetRegistryInternalServerError) IsSuccess() bool
IsSuccess returns true when this get registry internal server error response has a 2xx status code
func (*GetRegistryInternalServerError) String ¶
func (o *GetRegistryInternalServerError) String() string
type GetRegistryNotFound ¶
type GetRegistryNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
GetRegistryNotFound describes a response with status code 404, with default header values.
Not found
func NewGetRegistryNotFound ¶
func NewGetRegistryNotFound() *GetRegistryNotFound
NewGetRegistryNotFound creates a GetRegistryNotFound with default headers values
func (*GetRegistryNotFound) Code ¶
func (o *GetRegistryNotFound) Code() int
Code gets the status code for the get registry not found response
func (*GetRegistryNotFound) Error ¶
func (o *GetRegistryNotFound) Error() string
func (*GetRegistryNotFound) GetPayload ¶
func (o *GetRegistryNotFound) GetPayload() *models.Errors
func (*GetRegistryNotFound) IsClientError ¶
func (o *GetRegistryNotFound) IsClientError() bool
IsClientError returns true when this get registry not found response has a 4xx status code
func (*GetRegistryNotFound) IsCode ¶
func (o *GetRegistryNotFound) IsCode(code int) bool
IsCode returns true when this get registry not found response a status code equal to that given
func (*GetRegistryNotFound) IsRedirect ¶
func (o *GetRegistryNotFound) IsRedirect() bool
IsRedirect returns true when this get registry not found response has a 3xx status code
func (*GetRegistryNotFound) IsServerError ¶
func (o *GetRegistryNotFound) IsServerError() bool
IsServerError returns true when this get registry not found response has a 5xx status code
func (*GetRegistryNotFound) IsSuccess ¶
func (o *GetRegistryNotFound) IsSuccess() bool
IsSuccess returns true when this get registry not found response has a 2xx status code
func (*GetRegistryNotFound) String ¶
func (o *GetRegistryNotFound) String() string
type GetRegistryOK ¶
GetRegistryOK describes a response with status code 200, with default header values.
Success
func NewGetRegistryOK ¶
func NewGetRegistryOK() *GetRegistryOK
NewGetRegistryOK creates a GetRegistryOK with default headers values
func (*GetRegistryOK) Code ¶
func (o *GetRegistryOK) Code() int
Code gets the status code for the get registry o k response
func (*GetRegistryOK) Error ¶
func (o *GetRegistryOK) Error() string
func (*GetRegistryOK) GetPayload ¶
func (o *GetRegistryOK) GetPayload() *models.Registry
func (*GetRegistryOK) IsClientError ¶
func (o *GetRegistryOK) IsClientError() bool
IsClientError returns true when this get registry o k response has a 4xx status code
func (*GetRegistryOK) IsCode ¶
func (o *GetRegistryOK) IsCode(code int) bool
IsCode returns true when this get registry o k response a status code equal to that given
func (*GetRegistryOK) IsRedirect ¶
func (o *GetRegistryOK) IsRedirect() bool
IsRedirect returns true when this get registry o k response has a 3xx status code
func (*GetRegistryOK) IsServerError ¶
func (o *GetRegistryOK) IsServerError() bool
IsServerError returns true when this get registry o k response has a 5xx status code
func (*GetRegistryOK) IsSuccess ¶
func (o *GetRegistryOK) IsSuccess() bool
IsSuccess returns true when this get registry o k response has a 2xx status code
func (*GetRegistryOK) String ¶
func (o *GetRegistryOK) String() string
type GetRegistryParams ¶
type GetRegistryParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// ID.
//
// Registry ID
//
// Format: int64
ID int64
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetRegistryParams contains all the parameters to send to the API endpoint
for the get registry operation. Typically these are written to a http.Request.
func NewGetRegistryParams ¶
func NewGetRegistryParams() *GetRegistryParams
NewGetRegistryParams creates a new GetRegistryParams 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 NewGetRegistryParamsWithContext
deprecated
func NewGetRegistryParamsWithContext(ctx context.Context) *GetRegistryParams
NewGetRegistryParamsWithContext creates a new GetRegistryParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of GetRegistryParams.
func NewGetRegistryParamsWithHTTPClient ¶
func NewGetRegistryParamsWithHTTPClient(client *http.Client) *GetRegistryParams
NewGetRegistryParamsWithHTTPClient creates a new GetRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewGetRegistryParamsWithTimeout ¶
func NewGetRegistryParamsWithTimeout(timeout time.Duration) *GetRegistryParams
NewGetRegistryParamsWithTimeout creates a new GetRegistryParams object with the ability to set a timeout on a request.
func (*GetRegistryParams) SetContext
deprecated
func (o *GetRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the get registry params.
Deprecated: use the operation call with context to pass the context instead of GetRegistryParams.
func (*GetRegistryParams) SetDefaults ¶
func (o *GetRegistryParams) SetDefaults()
SetDefaults hydrates default values in the get registry params (not the query body).
All values with no default are reset to their zero value.
func (*GetRegistryParams) SetHTTPClient ¶
func (o *GetRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get registry params.
func (*GetRegistryParams) SetID ¶
func (o *GetRegistryParams) SetID(id int64)
SetID adds the id to the get registry params.
func (*GetRegistryParams) SetTimeout ¶
func (o *GetRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get registry params.
func (*GetRegistryParams) SetXRequestID ¶
func (o *GetRegistryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the get registry params.
func (*GetRegistryParams) WithContext
deprecated
func (o *GetRegistryParams) WithContext(ctx context.Context) *GetRegistryParams
WithContext adds the context to the get registry params.
Deprecated: use the operation call with context to pass the context instead of GetRegistryParams.
func (*GetRegistryParams) WithDefaults ¶
func (o *GetRegistryParams) WithDefaults() *GetRegistryParams
WithDefaults hydrates default values in the get registry params (not the query body).
All values with no default are reset to their zero value.
func (*GetRegistryParams) WithHTTPClient ¶
func (o *GetRegistryParams) WithHTTPClient(client *http.Client) *GetRegistryParams
WithHTTPClient adds the HTTPClient to the get registry params.
func (*GetRegistryParams) WithID ¶
func (o *GetRegistryParams) WithID(id int64) *GetRegistryParams
WithID adds the id to the get registry params.
func (*GetRegistryParams) WithTimeout ¶
func (o *GetRegistryParams) WithTimeout(timeout time.Duration) *GetRegistryParams
WithTimeout adds the timeout to the get registry params.
func (*GetRegistryParams) WithXRequestID ¶
func (o *GetRegistryParams) WithXRequestID(xRequestID *string) *GetRegistryParams
WithXRequestID adds the xRequestID to the get registry params.
func (*GetRegistryParams) WriteToRequest ¶
func (o *GetRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type GetRegistryReader ¶
type GetRegistryReader struct {
// contains filtered or unexported fields
}
GetRegistryReader is a Reader for the GetRegistry structure.
func (*GetRegistryReader) ReadResponse ¶
func (o *GetRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type GetRegistryUnauthorized ¶
type GetRegistryUnauthorized struct {
XRequestID string
}
GetRegistryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetRegistryUnauthorized ¶
func NewGetRegistryUnauthorized() *GetRegistryUnauthorized
NewGetRegistryUnauthorized creates a GetRegistryUnauthorized with default headers values
func (*GetRegistryUnauthorized) Code ¶
func (o *GetRegistryUnauthorized) Code() int
Code gets the status code for the get registry unauthorized response
func (*GetRegistryUnauthorized) Error ¶
func (o *GetRegistryUnauthorized) Error() string
func (*GetRegistryUnauthorized) GetPayload ¶
func (o *GetRegistryUnauthorized) GetPayload() *models.Errors
func (*GetRegistryUnauthorized) IsClientError ¶
func (o *GetRegistryUnauthorized) IsClientError() bool
IsClientError returns true when this get registry unauthorized response has a 4xx status code
func (*GetRegistryUnauthorized) IsCode ¶
func (o *GetRegistryUnauthorized) IsCode(code int) bool
IsCode returns true when this get registry unauthorized response a status code equal to that given
func (*GetRegistryUnauthorized) IsRedirect ¶
func (o *GetRegistryUnauthorized) IsRedirect() bool
IsRedirect returns true when this get registry unauthorized response has a 3xx status code
func (*GetRegistryUnauthorized) IsServerError ¶
func (o *GetRegistryUnauthorized) IsServerError() bool
IsServerError returns true when this get registry unauthorized response has a 5xx status code
func (*GetRegistryUnauthorized) IsSuccess ¶
func (o *GetRegistryUnauthorized) IsSuccess() bool
IsSuccess returns true when this get registry unauthorized response has a 2xx status code
func (*GetRegistryUnauthorized) String ¶
func (o *GetRegistryUnauthorized) String() string
type ListRegistriesForbidden ¶
type ListRegistriesForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistriesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRegistriesForbidden ¶
func NewListRegistriesForbidden() *ListRegistriesForbidden
NewListRegistriesForbidden creates a ListRegistriesForbidden with default headers values
func (*ListRegistriesForbidden) Code ¶
func (o *ListRegistriesForbidden) Code() int
Code gets the status code for the list registries forbidden response
func (*ListRegistriesForbidden) Error ¶
func (o *ListRegistriesForbidden) Error() string
func (*ListRegistriesForbidden) GetPayload ¶
func (o *ListRegistriesForbidden) GetPayload() *models.Errors
func (*ListRegistriesForbidden) IsClientError ¶
func (o *ListRegistriesForbidden) IsClientError() bool
IsClientError returns true when this list registries forbidden response has a 4xx status code
func (*ListRegistriesForbidden) IsCode ¶
func (o *ListRegistriesForbidden) IsCode(code int) bool
IsCode returns true when this list registries forbidden response a status code equal to that given
func (*ListRegistriesForbidden) IsRedirect ¶
func (o *ListRegistriesForbidden) IsRedirect() bool
IsRedirect returns true when this list registries forbidden response has a 3xx status code
func (*ListRegistriesForbidden) IsServerError ¶
func (o *ListRegistriesForbidden) IsServerError() bool
IsServerError returns true when this list registries forbidden response has a 5xx status code
func (*ListRegistriesForbidden) IsSuccess ¶
func (o *ListRegistriesForbidden) IsSuccess() bool
IsSuccess returns true when this list registries forbidden response has a 2xx status code
func (*ListRegistriesForbidden) String ¶
func (o *ListRegistriesForbidden) String() string
type ListRegistriesInternalServerError ¶
type ListRegistriesInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistriesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRegistriesInternalServerError ¶
func NewListRegistriesInternalServerError() *ListRegistriesInternalServerError
NewListRegistriesInternalServerError creates a ListRegistriesInternalServerError with default headers values
func (*ListRegistriesInternalServerError) Code ¶
func (o *ListRegistriesInternalServerError) Code() int
Code gets the status code for the list registries internal server error response
func (*ListRegistriesInternalServerError) Error ¶
func (o *ListRegistriesInternalServerError) Error() string
func (*ListRegistriesInternalServerError) GetPayload ¶
func (o *ListRegistriesInternalServerError) GetPayload() *models.Errors
func (*ListRegistriesInternalServerError) IsClientError ¶
func (o *ListRegistriesInternalServerError) IsClientError() bool
IsClientError returns true when this list registries internal server error response has a 4xx status code
func (*ListRegistriesInternalServerError) IsCode ¶
func (o *ListRegistriesInternalServerError) IsCode(code int) bool
IsCode returns true when this list registries internal server error response a status code equal to that given
func (*ListRegistriesInternalServerError) IsRedirect ¶
func (o *ListRegistriesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list registries internal server error response has a 3xx status code
func (*ListRegistriesInternalServerError) IsServerError ¶
func (o *ListRegistriesInternalServerError) IsServerError() bool
IsServerError returns true when this list registries internal server error response has a 5xx status code
func (*ListRegistriesInternalServerError) IsSuccess ¶
func (o *ListRegistriesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list registries internal server error response has a 2xx status code
func (*ListRegistriesInternalServerError) String ¶
func (o *ListRegistriesInternalServerError) String() string
type ListRegistriesOK ¶
type ListRegistriesOK struct {
// Link refers to the previous page and next page
Link string
// The total count of the resources
XTotalCount int64
Payload []*models.Registry
}
ListRegistriesOK describes a response with status code 200, with default header values.
Success
func NewListRegistriesOK ¶
func NewListRegistriesOK() *ListRegistriesOK
NewListRegistriesOK creates a ListRegistriesOK with default headers values
func (*ListRegistriesOK) Code ¶
func (o *ListRegistriesOK) Code() int
Code gets the status code for the list registries o k response
func (*ListRegistriesOK) Error ¶
func (o *ListRegistriesOK) Error() string
func (*ListRegistriesOK) GetPayload ¶
func (o *ListRegistriesOK) GetPayload() []*models.Registry
func (*ListRegistriesOK) IsClientError ¶
func (o *ListRegistriesOK) IsClientError() bool
IsClientError returns true when this list registries o k response has a 4xx status code
func (*ListRegistriesOK) IsCode ¶
func (o *ListRegistriesOK) IsCode(code int) bool
IsCode returns true when this list registries o k response a status code equal to that given
func (*ListRegistriesOK) IsRedirect ¶
func (o *ListRegistriesOK) IsRedirect() bool
IsRedirect returns true when this list registries o k response has a 3xx status code
func (*ListRegistriesOK) IsServerError ¶
func (o *ListRegistriesOK) IsServerError() bool
IsServerError returns true when this list registries o k response has a 5xx status code
func (*ListRegistriesOK) IsSuccess ¶
func (o *ListRegistriesOK) IsSuccess() bool
IsSuccess returns true when this list registries o k response has a 2xx status code
func (*ListRegistriesOK) String ¶
func (o *ListRegistriesOK) String() string
type ListRegistriesParams ¶
type ListRegistriesParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Name.
//
// Deprecated, use `q` instead.
Name *string
// Page.
//
// The page number
//
// Format: int64
// Default: 1
Page *int64
// PageSize.
//
// The size of per page
//
// Format: int64
// Default: 10
PageSize *int64
// Q.
//
// Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k=~v)", "range(k=[min~max])", "list with union releationship(k={v1 v2 v3})" and "list with intersetion relationship(k=(v1 v2 v3))". The value of range and list can be string(enclosed by " or '), integer or time(in format "2020-04-09 02:36:00"). All of these query patterns should be put in the query string "q=xxx" and splitted by ",". e.g. q=k1=v1,k2=~v2,k3=[min~max]
Q *string
// Sort.
//
// Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending order and field2 in descending order with "sort=field1,-field2"
Sort *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRegistriesParams contains all the parameters to send to the API endpoint
for the list registries operation. Typically these are written to a http.Request.
func NewListRegistriesParams ¶
func NewListRegistriesParams() *ListRegistriesParams
NewListRegistriesParams creates a new ListRegistriesParams 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 NewListRegistriesParamsWithContext
deprecated
func NewListRegistriesParamsWithContext(ctx context.Context) *ListRegistriesParams
NewListRegistriesParamsWithContext creates a new ListRegistriesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListRegistriesParams.
func NewListRegistriesParamsWithHTTPClient ¶
func NewListRegistriesParamsWithHTTPClient(client *http.Client) *ListRegistriesParams
NewListRegistriesParamsWithHTTPClient creates a new ListRegistriesParams object with the ability to set a custom HTTPClient for a request.
func NewListRegistriesParamsWithTimeout ¶
func NewListRegistriesParamsWithTimeout(timeout time.Duration) *ListRegistriesParams
NewListRegistriesParamsWithTimeout creates a new ListRegistriesParams object with the ability to set a timeout on a request.
func (*ListRegistriesParams) SetContext
deprecated
func (o *ListRegistriesParams) SetContext(ctx context.Context)
SetContext adds the context to the list registries params.
Deprecated: use the operation call with context to pass the context instead of ListRegistriesParams.
func (*ListRegistriesParams) SetDefaults ¶
func (o *ListRegistriesParams) SetDefaults()
SetDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) SetHTTPClient ¶
func (o *ListRegistriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list registries params.
func (*ListRegistriesParams) SetName ¶
func (o *ListRegistriesParams) SetName(name *string)
SetName adds the name to the list registries params.
func (*ListRegistriesParams) SetPage ¶
func (o *ListRegistriesParams) SetPage(page *int64)
SetPage adds the page to the list registries params.
func (*ListRegistriesParams) SetPageSize ¶
func (o *ListRegistriesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the list registries params.
func (*ListRegistriesParams) SetQ ¶
func (o *ListRegistriesParams) SetQ(q *string)
SetQ adds the q to the list registries params.
func (*ListRegistriesParams) SetSort ¶
func (o *ListRegistriesParams) SetSort(sort *string)
SetSort adds the sort to the list registries params.
func (*ListRegistriesParams) SetTimeout ¶
func (o *ListRegistriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list registries params.
func (*ListRegistriesParams) SetXRequestID ¶
func (o *ListRegistriesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list registries params.
func (*ListRegistriesParams) WithContext
deprecated
func (o *ListRegistriesParams) WithContext(ctx context.Context) *ListRegistriesParams
WithContext adds the context to the list registries params.
Deprecated: use the operation call with context to pass the context instead of ListRegistriesParams.
func (*ListRegistriesParams) WithDefaults ¶
func (o *ListRegistriesParams) WithDefaults() *ListRegistriesParams
WithDefaults hydrates default values in the list registries params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistriesParams) WithHTTPClient ¶
func (o *ListRegistriesParams) WithHTTPClient(client *http.Client) *ListRegistriesParams
WithHTTPClient adds the HTTPClient to the list registries params.
func (*ListRegistriesParams) WithName ¶
func (o *ListRegistriesParams) WithName(name *string) *ListRegistriesParams
WithName adds the name to the list registries params.
func (*ListRegistriesParams) WithPage ¶
func (o *ListRegistriesParams) WithPage(page *int64) *ListRegistriesParams
WithPage adds the page to the list registries params.
func (*ListRegistriesParams) WithPageSize ¶
func (o *ListRegistriesParams) WithPageSize(pageSize *int64) *ListRegistriesParams
WithPageSize adds the pageSize to the list registries params.
func (*ListRegistriesParams) WithQ ¶
func (o *ListRegistriesParams) WithQ(q *string) *ListRegistriesParams
WithQ adds the q to the list registries params.
func (*ListRegistriesParams) WithSort ¶
func (o *ListRegistriesParams) WithSort(sort *string) *ListRegistriesParams
WithSort adds the sort to the list registries params.
func (*ListRegistriesParams) WithTimeout ¶
func (o *ListRegistriesParams) WithTimeout(timeout time.Duration) *ListRegistriesParams
WithTimeout adds the timeout to the list registries params.
func (*ListRegistriesParams) WithXRequestID ¶
func (o *ListRegistriesParams) WithXRequestID(xRequestID *string) *ListRegistriesParams
WithXRequestID adds the xRequestID to the list registries params.
func (*ListRegistriesParams) WriteToRequest ¶
func (o *ListRegistriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListRegistriesReader ¶
type ListRegistriesReader struct {
// contains filtered or unexported fields
}
ListRegistriesReader is a Reader for the ListRegistries structure.
func (*ListRegistriesReader) ReadResponse ¶
func (o *ListRegistriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListRegistriesUnauthorized ¶
type ListRegistriesUnauthorized struct {
XRequestID string
}
ListRegistriesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRegistriesUnauthorized ¶
func NewListRegistriesUnauthorized() *ListRegistriesUnauthorized
NewListRegistriesUnauthorized creates a ListRegistriesUnauthorized with default headers values
func (*ListRegistriesUnauthorized) Code ¶
func (o *ListRegistriesUnauthorized) Code() int
Code gets the status code for the list registries unauthorized response
func (*ListRegistriesUnauthorized) Error ¶
func (o *ListRegistriesUnauthorized) Error() string
func (*ListRegistriesUnauthorized) GetPayload ¶
func (o *ListRegistriesUnauthorized) GetPayload() *models.Errors
func (*ListRegistriesUnauthorized) IsClientError ¶
func (o *ListRegistriesUnauthorized) IsClientError() bool
IsClientError returns true when this list registries unauthorized response has a 4xx status code
func (*ListRegistriesUnauthorized) IsCode ¶
func (o *ListRegistriesUnauthorized) IsCode(code int) bool
IsCode returns true when this list registries unauthorized response a status code equal to that given
func (*ListRegistriesUnauthorized) IsRedirect ¶
func (o *ListRegistriesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list registries unauthorized response has a 3xx status code
func (*ListRegistriesUnauthorized) IsServerError ¶
func (o *ListRegistriesUnauthorized) IsServerError() bool
IsServerError returns true when this list registries unauthorized response has a 5xx status code
func (*ListRegistriesUnauthorized) IsSuccess ¶
func (o *ListRegistriesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list registries unauthorized response has a 2xx status code
func (*ListRegistriesUnauthorized) String ¶
func (o *ListRegistriesUnauthorized) String() string
type ListRegistryProviderInfosForbidden ¶
type ListRegistryProviderInfosForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistryProviderInfosForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRegistryProviderInfosForbidden ¶
func NewListRegistryProviderInfosForbidden() *ListRegistryProviderInfosForbidden
NewListRegistryProviderInfosForbidden creates a ListRegistryProviderInfosForbidden with default headers values
func (*ListRegistryProviderInfosForbidden) Code ¶
func (o *ListRegistryProviderInfosForbidden) Code() int
Code gets the status code for the list registry provider infos forbidden response
func (*ListRegistryProviderInfosForbidden) Error ¶
func (o *ListRegistryProviderInfosForbidden) Error() string
func (*ListRegistryProviderInfosForbidden) GetPayload ¶
func (o *ListRegistryProviderInfosForbidden) GetPayload() *models.Errors
func (*ListRegistryProviderInfosForbidden) IsClientError ¶
func (o *ListRegistryProviderInfosForbidden) IsClientError() bool
IsClientError returns true when this list registry provider infos forbidden response has a 4xx status code
func (*ListRegistryProviderInfosForbidden) IsCode ¶
func (o *ListRegistryProviderInfosForbidden) IsCode(code int) bool
IsCode returns true when this list registry provider infos forbidden response a status code equal to that given
func (*ListRegistryProviderInfosForbidden) IsRedirect ¶
func (o *ListRegistryProviderInfosForbidden) IsRedirect() bool
IsRedirect returns true when this list registry provider infos forbidden response has a 3xx status code
func (*ListRegistryProviderInfosForbidden) IsServerError ¶
func (o *ListRegistryProviderInfosForbidden) IsServerError() bool
IsServerError returns true when this list registry provider infos forbidden response has a 5xx status code
func (*ListRegistryProviderInfosForbidden) IsSuccess ¶
func (o *ListRegistryProviderInfosForbidden) IsSuccess() bool
IsSuccess returns true when this list registry provider infos forbidden response has a 2xx status code
func (*ListRegistryProviderInfosForbidden) String ¶
func (o *ListRegistryProviderInfosForbidden) String() string
type ListRegistryProviderInfosInternalServerError ¶
type ListRegistryProviderInfosInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistryProviderInfosInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRegistryProviderInfosInternalServerError ¶
func NewListRegistryProviderInfosInternalServerError() *ListRegistryProviderInfosInternalServerError
NewListRegistryProviderInfosInternalServerError creates a ListRegistryProviderInfosInternalServerError with default headers values
func (*ListRegistryProviderInfosInternalServerError) Code ¶
func (o *ListRegistryProviderInfosInternalServerError) Code() int
Code gets the status code for the list registry provider infos internal server error response
func (*ListRegistryProviderInfosInternalServerError) Error ¶
func (o *ListRegistryProviderInfosInternalServerError) Error() string
func (*ListRegistryProviderInfosInternalServerError) GetPayload ¶
func (o *ListRegistryProviderInfosInternalServerError) GetPayload() *models.Errors
func (*ListRegistryProviderInfosInternalServerError) IsClientError ¶
func (o *ListRegistryProviderInfosInternalServerError) IsClientError() bool
IsClientError returns true when this list registry provider infos internal server error response has a 4xx status code
func (*ListRegistryProviderInfosInternalServerError) IsCode ¶
func (o *ListRegistryProviderInfosInternalServerError) IsCode(code int) bool
IsCode returns true when this list registry provider infos internal server error response a status code equal to that given
func (*ListRegistryProviderInfosInternalServerError) IsRedirect ¶
func (o *ListRegistryProviderInfosInternalServerError) IsRedirect() bool
IsRedirect returns true when this list registry provider infos internal server error response has a 3xx status code
func (*ListRegistryProviderInfosInternalServerError) IsServerError ¶
func (o *ListRegistryProviderInfosInternalServerError) IsServerError() bool
IsServerError returns true when this list registry provider infos internal server error response has a 5xx status code
func (*ListRegistryProviderInfosInternalServerError) IsSuccess ¶
func (o *ListRegistryProviderInfosInternalServerError) IsSuccess() bool
IsSuccess returns true when this list registry provider infos internal server error response has a 2xx status code
func (*ListRegistryProviderInfosInternalServerError) String ¶
func (o *ListRegistryProviderInfosInternalServerError) String() string
type ListRegistryProviderInfosOK ¶
type ListRegistryProviderInfosOK struct {
Payload map[string]models.RegistryProviderInfo
}
ListRegistryProviderInfosOK describes a response with status code 200, with default header values.
Success.
func NewListRegistryProviderInfosOK ¶
func NewListRegistryProviderInfosOK() *ListRegistryProviderInfosOK
NewListRegistryProviderInfosOK creates a ListRegistryProviderInfosOK with default headers values
func (*ListRegistryProviderInfosOK) Code ¶
func (o *ListRegistryProviderInfosOK) Code() int
Code gets the status code for the list registry provider infos o k response
func (*ListRegistryProviderInfosOK) Error ¶
func (o *ListRegistryProviderInfosOK) Error() string
func (*ListRegistryProviderInfosOK) GetPayload ¶
func (o *ListRegistryProviderInfosOK) GetPayload() map[string]models.RegistryProviderInfo
func (*ListRegistryProviderInfosOK) IsClientError ¶
func (o *ListRegistryProviderInfosOK) IsClientError() bool
IsClientError returns true when this list registry provider infos o k response has a 4xx status code
func (*ListRegistryProviderInfosOK) IsCode ¶
func (o *ListRegistryProviderInfosOK) IsCode(code int) bool
IsCode returns true when this list registry provider infos o k response a status code equal to that given
func (*ListRegistryProviderInfosOK) IsRedirect ¶
func (o *ListRegistryProviderInfosOK) IsRedirect() bool
IsRedirect returns true when this list registry provider infos o k response has a 3xx status code
func (*ListRegistryProviderInfosOK) IsServerError ¶
func (o *ListRegistryProviderInfosOK) IsServerError() bool
IsServerError returns true when this list registry provider infos o k response has a 5xx status code
func (*ListRegistryProviderInfosOK) IsSuccess ¶
func (o *ListRegistryProviderInfosOK) IsSuccess() bool
IsSuccess returns true when this list registry provider infos o k response has a 2xx status code
func (*ListRegistryProviderInfosOK) String ¶
func (o *ListRegistryProviderInfosOK) String() string
type ListRegistryProviderInfosParams ¶
type ListRegistryProviderInfosParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRegistryProviderInfosParams contains all the parameters to send to the API endpoint
for the list registry provider infos operation. Typically these are written to a http.Request.
func NewListRegistryProviderInfosParams ¶
func NewListRegistryProviderInfosParams() *ListRegistryProviderInfosParams
NewListRegistryProviderInfosParams creates a new ListRegistryProviderInfosParams 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 NewListRegistryProviderInfosParamsWithContext
deprecated
func NewListRegistryProviderInfosParamsWithContext(ctx context.Context) *ListRegistryProviderInfosParams
NewListRegistryProviderInfosParamsWithContext creates a new ListRegistryProviderInfosParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderInfosParams.
func NewListRegistryProviderInfosParamsWithHTTPClient ¶
func NewListRegistryProviderInfosParamsWithHTTPClient(client *http.Client) *ListRegistryProviderInfosParams
NewListRegistryProviderInfosParamsWithHTTPClient creates a new ListRegistryProviderInfosParams object with the ability to set a custom HTTPClient for a request.
func NewListRegistryProviderInfosParamsWithTimeout ¶
func NewListRegistryProviderInfosParamsWithTimeout(timeout time.Duration) *ListRegistryProviderInfosParams
NewListRegistryProviderInfosParamsWithTimeout creates a new ListRegistryProviderInfosParams object with the ability to set a timeout on a request.
func (*ListRegistryProviderInfosParams) SetContext
deprecated
func (o *ListRegistryProviderInfosParams) SetContext(ctx context.Context)
SetContext adds the context to the list registry provider infos params.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderInfosParams.
func (*ListRegistryProviderInfosParams) SetDefaults ¶
func (o *ListRegistryProviderInfosParams) SetDefaults()
SetDefaults hydrates default values in the list registry provider infos params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistryProviderInfosParams) SetHTTPClient ¶
func (o *ListRegistryProviderInfosParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) SetTimeout ¶
func (o *ListRegistryProviderInfosParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) SetXRequestID ¶
func (o *ListRegistryProviderInfosParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) WithContext
deprecated
func (o *ListRegistryProviderInfosParams) WithContext(ctx context.Context) *ListRegistryProviderInfosParams
WithContext adds the context to the list registry provider infos params.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderInfosParams.
func (*ListRegistryProviderInfosParams) WithDefaults ¶
func (o *ListRegistryProviderInfosParams) WithDefaults() *ListRegistryProviderInfosParams
WithDefaults hydrates default values in the list registry provider infos params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistryProviderInfosParams) WithHTTPClient ¶
func (o *ListRegistryProviderInfosParams) WithHTTPClient(client *http.Client) *ListRegistryProviderInfosParams
WithHTTPClient adds the HTTPClient to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) WithTimeout ¶
func (o *ListRegistryProviderInfosParams) WithTimeout(timeout time.Duration) *ListRegistryProviderInfosParams
WithTimeout adds the timeout to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) WithXRequestID ¶
func (o *ListRegistryProviderInfosParams) WithXRequestID(xRequestID *string) *ListRegistryProviderInfosParams
WithXRequestID adds the xRequestID to the list registry provider infos params.
func (*ListRegistryProviderInfosParams) WriteToRequest ¶
func (o *ListRegistryProviderInfosParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListRegistryProviderInfosReader ¶
type ListRegistryProviderInfosReader struct {
// contains filtered or unexported fields
}
ListRegistryProviderInfosReader is a Reader for the ListRegistryProviderInfos structure.
func (*ListRegistryProviderInfosReader) ReadResponse ¶
func (o *ListRegistryProviderInfosReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListRegistryProviderInfosUnauthorized ¶
type ListRegistryProviderInfosUnauthorized struct {
XRequestID string
}
ListRegistryProviderInfosUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRegistryProviderInfosUnauthorized ¶
func NewListRegistryProviderInfosUnauthorized() *ListRegistryProviderInfosUnauthorized
NewListRegistryProviderInfosUnauthorized creates a ListRegistryProviderInfosUnauthorized with default headers values
func (*ListRegistryProviderInfosUnauthorized) Code ¶
func (o *ListRegistryProviderInfosUnauthorized) Code() int
Code gets the status code for the list registry provider infos unauthorized response
func (*ListRegistryProviderInfosUnauthorized) Error ¶
func (o *ListRegistryProviderInfosUnauthorized) Error() string
func (*ListRegistryProviderInfosUnauthorized) GetPayload ¶
func (o *ListRegistryProviderInfosUnauthorized) GetPayload() *models.Errors
func (*ListRegistryProviderInfosUnauthorized) IsClientError ¶
func (o *ListRegistryProviderInfosUnauthorized) IsClientError() bool
IsClientError returns true when this list registry provider infos unauthorized response has a 4xx status code
func (*ListRegistryProviderInfosUnauthorized) IsCode ¶
func (o *ListRegistryProviderInfosUnauthorized) IsCode(code int) bool
IsCode returns true when this list registry provider infos unauthorized response a status code equal to that given
func (*ListRegistryProviderInfosUnauthorized) IsRedirect ¶
func (o *ListRegistryProviderInfosUnauthorized) IsRedirect() bool
IsRedirect returns true when this list registry provider infos unauthorized response has a 3xx status code
func (*ListRegistryProviderInfosUnauthorized) IsServerError ¶
func (o *ListRegistryProviderInfosUnauthorized) IsServerError() bool
IsServerError returns true when this list registry provider infos unauthorized response has a 5xx status code
func (*ListRegistryProviderInfosUnauthorized) IsSuccess ¶
func (o *ListRegistryProviderInfosUnauthorized) IsSuccess() bool
IsSuccess returns true when this list registry provider infos unauthorized response has a 2xx status code
func (*ListRegistryProviderInfosUnauthorized) String ¶
func (o *ListRegistryProviderInfosUnauthorized) String() string
type ListRegistryProviderTypesForbidden ¶
type ListRegistryProviderTypesForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistryProviderTypesForbidden describes a response with status code 403, with default header values.
Forbidden
func NewListRegistryProviderTypesForbidden ¶
func NewListRegistryProviderTypesForbidden() *ListRegistryProviderTypesForbidden
NewListRegistryProviderTypesForbidden creates a ListRegistryProviderTypesForbidden with default headers values
func (*ListRegistryProviderTypesForbidden) Code ¶
func (o *ListRegistryProviderTypesForbidden) Code() int
Code gets the status code for the list registry provider types forbidden response
func (*ListRegistryProviderTypesForbidden) Error ¶
func (o *ListRegistryProviderTypesForbidden) Error() string
func (*ListRegistryProviderTypesForbidden) GetPayload ¶
func (o *ListRegistryProviderTypesForbidden) GetPayload() *models.Errors
func (*ListRegistryProviderTypesForbidden) IsClientError ¶
func (o *ListRegistryProviderTypesForbidden) IsClientError() bool
IsClientError returns true when this list registry provider types forbidden response has a 4xx status code
func (*ListRegistryProviderTypesForbidden) IsCode ¶
func (o *ListRegistryProviderTypesForbidden) IsCode(code int) bool
IsCode returns true when this list registry provider types forbidden response a status code equal to that given
func (*ListRegistryProviderTypesForbidden) IsRedirect ¶
func (o *ListRegistryProviderTypesForbidden) IsRedirect() bool
IsRedirect returns true when this list registry provider types forbidden response has a 3xx status code
func (*ListRegistryProviderTypesForbidden) IsServerError ¶
func (o *ListRegistryProviderTypesForbidden) IsServerError() bool
IsServerError returns true when this list registry provider types forbidden response has a 5xx status code
func (*ListRegistryProviderTypesForbidden) IsSuccess ¶
func (o *ListRegistryProviderTypesForbidden) IsSuccess() bool
IsSuccess returns true when this list registry provider types forbidden response has a 2xx status code
func (*ListRegistryProviderTypesForbidden) String ¶
func (o *ListRegistryProviderTypesForbidden) String() string
type ListRegistryProviderTypesInternalServerError ¶
type ListRegistryProviderTypesInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
ListRegistryProviderTypesInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewListRegistryProviderTypesInternalServerError ¶
func NewListRegistryProviderTypesInternalServerError() *ListRegistryProviderTypesInternalServerError
NewListRegistryProviderTypesInternalServerError creates a ListRegistryProviderTypesInternalServerError with default headers values
func (*ListRegistryProviderTypesInternalServerError) Code ¶
func (o *ListRegistryProviderTypesInternalServerError) Code() int
Code gets the status code for the list registry provider types internal server error response
func (*ListRegistryProviderTypesInternalServerError) Error ¶
func (o *ListRegistryProviderTypesInternalServerError) Error() string
func (*ListRegistryProviderTypesInternalServerError) GetPayload ¶
func (o *ListRegistryProviderTypesInternalServerError) GetPayload() *models.Errors
func (*ListRegistryProviderTypesInternalServerError) IsClientError ¶
func (o *ListRegistryProviderTypesInternalServerError) IsClientError() bool
IsClientError returns true when this list registry provider types internal server error response has a 4xx status code
func (*ListRegistryProviderTypesInternalServerError) IsCode ¶
func (o *ListRegistryProviderTypesInternalServerError) IsCode(code int) bool
IsCode returns true when this list registry provider types internal server error response a status code equal to that given
func (*ListRegistryProviderTypesInternalServerError) IsRedirect ¶
func (o *ListRegistryProviderTypesInternalServerError) IsRedirect() bool
IsRedirect returns true when this list registry provider types internal server error response has a 3xx status code
func (*ListRegistryProviderTypesInternalServerError) IsServerError ¶
func (o *ListRegistryProviderTypesInternalServerError) IsServerError() bool
IsServerError returns true when this list registry provider types internal server error response has a 5xx status code
func (*ListRegistryProviderTypesInternalServerError) IsSuccess ¶
func (o *ListRegistryProviderTypesInternalServerError) IsSuccess() bool
IsSuccess returns true when this list registry provider types internal server error response has a 2xx status code
func (*ListRegistryProviderTypesInternalServerError) String ¶
func (o *ListRegistryProviderTypesInternalServerError) String() string
type ListRegistryProviderTypesOK ¶
type ListRegistryProviderTypesOK struct {
Payload []string
}
ListRegistryProviderTypesOK describes a response with status code 200, with default header values.
Success.
func NewListRegistryProviderTypesOK ¶
func NewListRegistryProviderTypesOK() *ListRegistryProviderTypesOK
NewListRegistryProviderTypesOK creates a ListRegistryProviderTypesOK with default headers values
func (*ListRegistryProviderTypesOK) Code ¶
func (o *ListRegistryProviderTypesOK) Code() int
Code gets the status code for the list registry provider types o k response
func (*ListRegistryProviderTypesOK) Error ¶
func (o *ListRegistryProviderTypesOK) Error() string
func (*ListRegistryProviderTypesOK) GetPayload ¶
func (o *ListRegistryProviderTypesOK) GetPayload() []string
func (*ListRegistryProviderTypesOK) IsClientError ¶
func (o *ListRegistryProviderTypesOK) IsClientError() bool
IsClientError returns true when this list registry provider types o k response has a 4xx status code
func (*ListRegistryProviderTypesOK) IsCode ¶
func (o *ListRegistryProviderTypesOK) IsCode(code int) bool
IsCode returns true when this list registry provider types o k response a status code equal to that given
func (*ListRegistryProviderTypesOK) IsRedirect ¶
func (o *ListRegistryProviderTypesOK) IsRedirect() bool
IsRedirect returns true when this list registry provider types o k response has a 3xx status code
func (*ListRegistryProviderTypesOK) IsServerError ¶
func (o *ListRegistryProviderTypesOK) IsServerError() bool
IsServerError returns true when this list registry provider types o k response has a 5xx status code
func (*ListRegistryProviderTypesOK) IsSuccess ¶
func (o *ListRegistryProviderTypesOK) IsSuccess() bool
IsSuccess returns true when this list registry provider types o k response has a 2xx status code
func (*ListRegistryProviderTypesOK) String ¶
func (o *ListRegistryProviderTypesOK) String() string
type ListRegistryProviderTypesParams ¶
type ListRegistryProviderTypesParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
HTTPClient *http.Client
// contains filtered or unexported fields
}
ListRegistryProviderTypesParams contains all the parameters to send to the API endpoint
for the list registry provider types operation. Typically these are written to a http.Request.
func NewListRegistryProviderTypesParams ¶
func NewListRegistryProviderTypesParams() *ListRegistryProviderTypesParams
NewListRegistryProviderTypesParams creates a new ListRegistryProviderTypesParams 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 NewListRegistryProviderTypesParamsWithContext
deprecated
func NewListRegistryProviderTypesParamsWithContext(ctx context.Context) *ListRegistryProviderTypesParams
NewListRegistryProviderTypesParamsWithContext creates a new ListRegistryProviderTypesParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderTypesParams.
func NewListRegistryProviderTypesParamsWithHTTPClient ¶
func NewListRegistryProviderTypesParamsWithHTTPClient(client *http.Client) *ListRegistryProviderTypesParams
NewListRegistryProviderTypesParamsWithHTTPClient creates a new ListRegistryProviderTypesParams object with the ability to set a custom HTTPClient for a request.
func NewListRegistryProviderTypesParamsWithTimeout ¶
func NewListRegistryProviderTypesParamsWithTimeout(timeout time.Duration) *ListRegistryProviderTypesParams
NewListRegistryProviderTypesParamsWithTimeout creates a new ListRegistryProviderTypesParams object with the ability to set a timeout on a request.
func (*ListRegistryProviderTypesParams) SetContext
deprecated
func (o *ListRegistryProviderTypesParams) SetContext(ctx context.Context)
SetContext adds the context to the list registry provider types params.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderTypesParams.
func (*ListRegistryProviderTypesParams) SetDefaults ¶
func (o *ListRegistryProviderTypesParams) SetDefaults()
SetDefaults hydrates default values in the list registry provider types params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistryProviderTypesParams) SetHTTPClient ¶
func (o *ListRegistryProviderTypesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list registry provider types params.
func (*ListRegistryProviderTypesParams) SetTimeout ¶
func (o *ListRegistryProviderTypesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list registry provider types params.
func (*ListRegistryProviderTypesParams) SetXRequestID ¶
func (o *ListRegistryProviderTypesParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the list registry provider types params.
func (*ListRegistryProviderTypesParams) WithContext
deprecated
func (o *ListRegistryProviderTypesParams) WithContext(ctx context.Context) *ListRegistryProviderTypesParams
WithContext adds the context to the list registry provider types params.
Deprecated: use the operation call with context to pass the context instead of ListRegistryProviderTypesParams.
func (*ListRegistryProviderTypesParams) WithDefaults ¶
func (o *ListRegistryProviderTypesParams) WithDefaults() *ListRegistryProviderTypesParams
WithDefaults hydrates default values in the list registry provider types params (not the query body).
All values with no default are reset to their zero value.
func (*ListRegistryProviderTypesParams) WithHTTPClient ¶
func (o *ListRegistryProviderTypesParams) WithHTTPClient(client *http.Client) *ListRegistryProviderTypesParams
WithHTTPClient adds the HTTPClient to the list registry provider types params.
func (*ListRegistryProviderTypesParams) WithTimeout ¶
func (o *ListRegistryProviderTypesParams) WithTimeout(timeout time.Duration) *ListRegistryProviderTypesParams
WithTimeout adds the timeout to the list registry provider types params.
func (*ListRegistryProviderTypesParams) WithXRequestID ¶
func (o *ListRegistryProviderTypesParams) WithXRequestID(xRequestID *string) *ListRegistryProviderTypesParams
WithXRequestID adds the xRequestID to the list registry provider types params.
func (*ListRegistryProviderTypesParams) WriteToRequest ¶
func (o *ListRegistryProviderTypesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type ListRegistryProviderTypesReader ¶
type ListRegistryProviderTypesReader struct {
// contains filtered or unexported fields
}
ListRegistryProviderTypesReader is a Reader for the ListRegistryProviderTypes structure.
func (*ListRegistryProviderTypesReader) ReadResponse ¶
func (o *ListRegistryProviderTypesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type ListRegistryProviderTypesUnauthorized ¶
type ListRegistryProviderTypesUnauthorized struct {
XRequestID string
}
ListRegistryProviderTypesUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewListRegistryProviderTypesUnauthorized ¶
func NewListRegistryProviderTypesUnauthorized() *ListRegistryProviderTypesUnauthorized
NewListRegistryProviderTypesUnauthorized creates a ListRegistryProviderTypesUnauthorized with default headers values
func (*ListRegistryProviderTypesUnauthorized) Code ¶
func (o *ListRegistryProviderTypesUnauthorized) Code() int
Code gets the status code for the list registry provider types unauthorized response
func (*ListRegistryProviderTypesUnauthorized) Error ¶
func (o *ListRegistryProviderTypesUnauthorized) Error() string
func (*ListRegistryProviderTypesUnauthorized) GetPayload ¶
func (o *ListRegistryProviderTypesUnauthorized) GetPayload() *models.Errors
func (*ListRegistryProviderTypesUnauthorized) IsClientError ¶
func (o *ListRegistryProviderTypesUnauthorized) IsClientError() bool
IsClientError returns true when this list registry provider types unauthorized response has a 4xx status code
func (*ListRegistryProviderTypesUnauthorized) IsCode ¶
func (o *ListRegistryProviderTypesUnauthorized) IsCode(code int) bool
IsCode returns true when this list registry provider types unauthorized response a status code equal to that given
func (*ListRegistryProviderTypesUnauthorized) IsRedirect ¶
func (o *ListRegistryProviderTypesUnauthorized) IsRedirect() bool
IsRedirect returns true when this list registry provider types unauthorized response has a 3xx status code
func (*ListRegistryProviderTypesUnauthorized) IsServerError ¶
func (o *ListRegistryProviderTypesUnauthorized) IsServerError() bool
IsServerError returns true when this list registry provider types unauthorized response has a 5xx status code
func (*ListRegistryProviderTypesUnauthorized) IsSuccess ¶
func (o *ListRegistryProviderTypesUnauthorized) IsSuccess() bool
IsSuccess returns true when this list registry provider types unauthorized response has a 2xx status code
func (*ListRegistryProviderTypesUnauthorized) String ¶
func (o *ListRegistryProviderTypesUnauthorized) String() string
type PingRegistryBadRequest ¶
type PingRegistryBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
PingRegistryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewPingRegistryBadRequest ¶
func NewPingRegistryBadRequest() *PingRegistryBadRequest
NewPingRegistryBadRequest creates a PingRegistryBadRequest with default headers values
func (*PingRegistryBadRequest) Code ¶
func (o *PingRegistryBadRequest) Code() int
Code gets the status code for the ping registry bad request response
func (*PingRegistryBadRequest) Error ¶
func (o *PingRegistryBadRequest) Error() string
func (*PingRegistryBadRequest) GetPayload ¶
func (o *PingRegistryBadRequest) GetPayload() *models.Errors
func (*PingRegistryBadRequest) IsClientError ¶
func (o *PingRegistryBadRequest) IsClientError() bool
IsClientError returns true when this ping registry bad request response has a 4xx status code
func (*PingRegistryBadRequest) IsCode ¶
func (o *PingRegistryBadRequest) IsCode(code int) bool
IsCode returns true when this ping registry bad request response a status code equal to that given
func (*PingRegistryBadRequest) IsRedirect ¶
func (o *PingRegistryBadRequest) IsRedirect() bool
IsRedirect returns true when this ping registry bad request response has a 3xx status code
func (*PingRegistryBadRequest) IsServerError ¶
func (o *PingRegistryBadRequest) IsServerError() bool
IsServerError returns true when this ping registry bad request response has a 5xx status code
func (*PingRegistryBadRequest) IsSuccess ¶
func (o *PingRegistryBadRequest) IsSuccess() bool
IsSuccess returns true when this ping registry bad request response has a 2xx status code
func (*PingRegistryBadRequest) String ¶
func (o *PingRegistryBadRequest) String() string
type PingRegistryForbidden ¶
type PingRegistryForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
PingRegistryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewPingRegistryForbidden ¶
func NewPingRegistryForbidden() *PingRegistryForbidden
NewPingRegistryForbidden creates a PingRegistryForbidden with default headers values
func (*PingRegistryForbidden) Code ¶
func (o *PingRegistryForbidden) Code() int
Code gets the status code for the ping registry forbidden response
func (*PingRegistryForbidden) Error ¶
func (o *PingRegistryForbidden) Error() string
func (*PingRegistryForbidden) GetPayload ¶
func (o *PingRegistryForbidden) GetPayload() *models.Errors
func (*PingRegistryForbidden) IsClientError ¶
func (o *PingRegistryForbidden) IsClientError() bool
IsClientError returns true when this ping registry forbidden response has a 4xx status code
func (*PingRegistryForbidden) IsCode ¶
func (o *PingRegistryForbidden) IsCode(code int) bool
IsCode returns true when this ping registry forbidden response a status code equal to that given
func (*PingRegistryForbidden) IsRedirect ¶
func (o *PingRegistryForbidden) IsRedirect() bool
IsRedirect returns true when this ping registry forbidden response has a 3xx status code
func (*PingRegistryForbidden) IsServerError ¶
func (o *PingRegistryForbidden) IsServerError() bool
IsServerError returns true when this ping registry forbidden response has a 5xx status code
func (*PingRegistryForbidden) IsSuccess ¶
func (o *PingRegistryForbidden) IsSuccess() bool
IsSuccess returns true when this ping registry forbidden response has a 2xx status code
func (*PingRegistryForbidden) String ¶
func (o *PingRegistryForbidden) String() string
type PingRegistryInternalServerError ¶
type PingRegistryInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
PingRegistryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewPingRegistryInternalServerError ¶
func NewPingRegistryInternalServerError() *PingRegistryInternalServerError
NewPingRegistryInternalServerError creates a PingRegistryInternalServerError with default headers values
func (*PingRegistryInternalServerError) Code ¶
func (o *PingRegistryInternalServerError) Code() int
Code gets the status code for the ping registry internal server error response
func (*PingRegistryInternalServerError) Error ¶
func (o *PingRegistryInternalServerError) Error() string
func (*PingRegistryInternalServerError) GetPayload ¶
func (o *PingRegistryInternalServerError) GetPayload() *models.Errors
func (*PingRegistryInternalServerError) IsClientError ¶
func (o *PingRegistryInternalServerError) IsClientError() bool
IsClientError returns true when this ping registry internal server error response has a 4xx status code
func (*PingRegistryInternalServerError) IsCode ¶
func (o *PingRegistryInternalServerError) IsCode(code int) bool
IsCode returns true when this ping registry internal server error response a status code equal to that given
func (*PingRegistryInternalServerError) IsRedirect ¶
func (o *PingRegistryInternalServerError) IsRedirect() bool
IsRedirect returns true when this ping registry internal server error response has a 3xx status code
func (*PingRegistryInternalServerError) IsServerError ¶
func (o *PingRegistryInternalServerError) IsServerError() bool
IsServerError returns true when this ping registry internal server error response has a 5xx status code
func (*PingRegistryInternalServerError) IsSuccess ¶
func (o *PingRegistryInternalServerError) IsSuccess() bool
IsSuccess returns true when this ping registry internal server error response has a 2xx status code
func (*PingRegistryInternalServerError) String ¶
func (o *PingRegistryInternalServerError) String() string
type PingRegistryNotFound ¶
type PingRegistryNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
PingRegistryNotFound describes a response with status code 404, with default header values.
Not found
func NewPingRegistryNotFound ¶
func NewPingRegistryNotFound() *PingRegistryNotFound
NewPingRegistryNotFound creates a PingRegistryNotFound with default headers values
func (*PingRegistryNotFound) Code ¶
func (o *PingRegistryNotFound) Code() int
Code gets the status code for the ping registry not found response
func (*PingRegistryNotFound) Error ¶
func (o *PingRegistryNotFound) Error() string
func (*PingRegistryNotFound) GetPayload ¶
func (o *PingRegistryNotFound) GetPayload() *models.Errors
func (*PingRegistryNotFound) IsClientError ¶
func (o *PingRegistryNotFound) IsClientError() bool
IsClientError returns true when this ping registry not found response has a 4xx status code
func (*PingRegistryNotFound) IsCode ¶
func (o *PingRegistryNotFound) IsCode(code int) bool
IsCode returns true when this ping registry not found response a status code equal to that given
func (*PingRegistryNotFound) IsRedirect ¶
func (o *PingRegistryNotFound) IsRedirect() bool
IsRedirect returns true when this ping registry not found response has a 3xx status code
func (*PingRegistryNotFound) IsServerError ¶
func (o *PingRegistryNotFound) IsServerError() bool
IsServerError returns true when this ping registry not found response has a 5xx status code
func (*PingRegistryNotFound) IsSuccess ¶
func (o *PingRegistryNotFound) IsSuccess() bool
IsSuccess returns true when this ping registry not found response has a 2xx status code
func (*PingRegistryNotFound) String ¶
func (o *PingRegistryNotFound) String() string
type PingRegistryOK ¶
type PingRegistryOK struct {
// The ID of the corresponding request for the response
XRequestID string
}
PingRegistryOK describes a response with status code 200, with default header values.
Success
func NewPingRegistryOK ¶
func NewPingRegistryOK() *PingRegistryOK
NewPingRegistryOK creates a PingRegistryOK with default headers values
func (*PingRegistryOK) Code ¶
func (o *PingRegistryOK) Code() int
Code gets the status code for the ping registry o k response
func (*PingRegistryOK) Error ¶
func (o *PingRegistryOK) Error() string
func (*PingRegistryOK) IsClientError ¶
func (o *PingRegistryOK) IsClientError() bool
IsClientError returns true when this ping registry o k response has a 4xx status code
func (*PingRegistryOK) IsCode ¶
func (o *PingRegistryOK) IsCode(code int) bool
IsCode returns true when this ping registry o k response a status code equal to that given
func (*PingRegistryOK) IsRedirect ¶
func (o *PingRegistryOK) IsRedirect() bool
IsRedirect returns true when this ping registry o k response has a 3xx status code
func (*PingRegistryOK) IsServerError ¶
func (o *PingRegistryOK) IsServerError() bool
IsServerError returns true when this ping registry o k response has a 5xx status code
func (*PingRegistryOK) IsSuccess ¶
func (o *PingRegistryOK) IsSuccess() bool
IsSuccess returns true when this ping registry o k response has a 2xx status code
func (*PingRegistryOK) String ¶
func (o *PingRegistryOK) String() string
type PingRegistryParams ¶
type PingRegistryParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// Registry.
//
// The registry
Registry *models.RegistryPing
HTTPClient *http.Client
// contains filtered or unexported fields
}
PingRegistryParams contains all the parameters to send to the API endpoint
for the ping registry operation. Typically these are written to a http.Request.
func NewPingRegistryParams ¶
func NewPingRegistryParams() *PingRegistryParams
NewPingRegistryParams creates a new PingRegistryParams 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 NewPingRegistryParamsWithContext
deprecated
func NewPingRegistryParamsWithContext(ctx context.Context) *PingRegistryParams
NewPingRegistryParamsWithContext creates a new PingRegistryParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of PingRegistryParams.
func NewPingRegistryParamsWithHTTPClient ¶
func NewPingRegistryParamsWithHTTPClient(client *http.Client) *PingRegistryParams
NewPingRegistryParamsWithHTTPClient creates a new PingRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewPingRegistryParamsWithTimeout ¶
func NewPingRegistryParamsWithTimeout(timeout time.Duration) *PingRegistryParams
NewPingRegistryParamsWithTimeout creates a new PingRegistryParams object with the ability to set a timeout on a request.
func (*PingRegistryParams) SetContext
deprecated
func (o *PingRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the ping registry params.
Deprecated: use the operation call with context to pass the context instead of PingRegistryParams.
func (*PingRegistryParams) SetDefaults ¶
func (o *PingRegistryParams) SetDefaults()
SetDefaults hydrates default values in the ping registry params (not the query body).
All values with no default are reset to their zero value.
func (*PingRegistryParams) SetHTTPClient ¶
func (o *PingRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the ping registry params.
func (*PingRegistryParams) SetRegistry ¶
func (o *PingRegistryParams) SetRegistry(registry *models.RegistryPing)
SetRegistry adds the registry to the ping registry params.
func (*PingRegistryParams) SetTimeout ¶
func (o *PingRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the ping registry params.
func (*PingRegistryParams) SetXRequestID ¶
func (o *PingRegistryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the ping registry params.
func (*PingRegistryParams) WithContext
deprecated
func (o *PingRegistryParams) WithContext(ctx context.Context) *PingRegistryParams
WithContext adds the context to the ping registry params.
Deprecated: use the operation call with context to pass the context instead of PingRegistryParams.
func (*PingRegistryParams) WithDefaults ¶
func (o *PingRegistryParams) WithDefaults() *PingRegistryParams
WithDefaults hydrates default values in the ping registry params (not the query body).
All values with no default are reset to their zero value.
func (*PingRegistryParams) WithHTTPClient ¶
func (o *PingRegistryParams) WithHTTPClient(client *http.Client) *PingRegistryParams
WithHTTPClient adds the HTTPClient to the ping registry params.
func (*PingRegistryParams) WithRegistry ¶
func (o *PingRegistryParams) WithRegistry(registry *models.RegistryPing) *PingRegistryParams
WithRegistry adds the registry to the ping registry params.
func (*PingRegistryParams) WithTimeout ¶
func (o *PingRegistryParams) WithTimeout(timeout time.Duration) *PingRegistryParams
WithTimeout adds the timeout to the ping registry params.
func (*PingRegistryParams) WithXRequestID ¶
func (o *PingRegistryParams) WithXRequestID(xRequestID *string) *PingRegistryParams
WithXRequestID adds the xRequestID to the ping registry params.
func (*PingRegistryParams) WriteToRequest ¶
func (o *PingRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type PingRegistryReader ¶
type PingRegistryReader struct {
// contains filtered or unexported fields
}
PingRegistryReader is a Reader for the PingRegistry structure.
func (*PingRegistryReader) ReadResponse ¶
func (o *PingRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type PingRegistryUnauthorized ¶
type PingRegistryUnauthorized struct {
XRequestID string
}
PingRegistryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewPingRegistryUnauthorized ¶
func NewPingRegistryUnauthorized() *PingRegistryUnauthorized
NewPingRegistryUnauthorized creates a PingRegistryUnauthorized with default headers values
func (*PingRegistryUnauthorized) Code ¶
func (o *PingRegistryUnauthorized) Code() int
Code gets the status code for the ping registry unauthorized response
func (*PingRegistryUnauthorized) Error ¶
func (o *PingRegistryUnauthorized) Error() string
func (*PingRegistryUnauthorized) GetPayload ¶
func (o *PingRegistryUnauthorized) GetPayload() *models.Errors
func (*PingRegistryUnauthorized) IsClientError ¶
func (o *PingRegistryUnauthorized) IsClientError() bool
IsClientError returns true when this ping registry unauthorized response has a 4xx status code
func (*PingRegistryUnauthorized) IsCode ¶
func (o *PingRegistryUnauthorized) IsCode(code int) bool
IsCode returns true when this ping registry unauthorized response a status code equal to that given
func (*PingRegistryUnauthorized) IsRedirect ¶
func (o *PingRegistryUnauthorized) IsRedirect() bool
IsRedirect returns true when this ping registry unauthorized response has a 3xx status code
func (*PingRegistryUnauthorized) IsServerError ¶
func (o *PingRegistryUnauthorized) IsServerError() bool
IsServerError returns true when this ping registry unauthorized response has a 5xx status code
func (*PingRegistryUnauthorized) IsSuccess ¶
func (o *PingRegistryUnauthorized) IsSuccess() bool
IsSuccess returns true when this ping registry unauthorized response has a 2xx status code
func (*PingRegistryUnauthorized) String ¶
func (o *PingRegistryUnauthorized) String() string
type UpdateRegistryBadRequest ¶
type UpdateRegistryBadRequest struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRegistryBadRequest describes a response with status code 400, with default header values.
Bad request
func NewUpdateRegistryBadRequest ¶
func NewUpdateRegistryBadRequest() *UpdateRegistryBadRequest
NewUpdateRegistryBadRequest creates a UpdateRegistryBadRequest with default headers values
func (*UpdateRegistryBadRequest) Code ¶
func (o *UpdateRegistryBadRequest) Code() int
Code gets the status code for the update registry bad request response
func (*UpdateRegistryBadRequest) Error ¶
func (o *UpdateRegistryBadRequest) Error() string
func (*UpdateRegistryBadRequest) GetPayload ¶
func (o *UpdateRegistryBadRequest) GetPayload() *models.Errors
func (*UpdateRegistryBadRequest) IsClientError ¶
func (o *UpdateRegistryBadRequest) IsClientError() bool
IsClientError returns true when this update registry bad request response has a 4xx status code
func (*UpdateRegistryBadRequest) IsCode ¶
func (o *UpdateRegistryBadRequest) IsCode(code int) bool
IsCode returns true when this update registry bad request response a status code equal to that given
func (*UpdateRegistryBadRequest) IsRedirect ¶
func (o *UpdateRegistryBadRequest) IsRedirect() bool
IsRedirect returns true when this update registry bad request response has a 3xx status code
func (*UpdateRegistryBadRequest) IsServerError ¶
func (o *UpdateRegistryBadRequest) IsServerError() bool
IsServerError returns true when this update registry bad request response has a 5xx status code
func (*UpdateRegistryBadRequest) IsSuccess ¶
func (o *UpdateRegistryBadRequest) IsSuccess() bool
IsSuccess returns true when this update registry bad request response has a 2xx status code
func (*UpdateRegistryBadRequest) String ¶
func (o *UpdateRegistryBadRequest) String() string
type UpdateRegistryConflict ¶
type UpdateRegistryConflict struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRegistryConflict describes a response with status code 409, with default header values.
Conflict
func NewUpdateRegistryConflict ¶
func NewUpdateRegistryConflict() *UpdateRegistryConflict
NewUpdateRegistryConflict creates a UpdateRegistryConflict with default headers values
func (*UpdateRegistryConflict) Code ¶
func (o *UpdateRegistryConflict) Code() int
Code gets the status code for the update registry conflict response
func (*UpdateRegistryConflict) Error ¶
func (o *UpdateRegistryConflict) Error() string
func (*UpdateRegistryConflict) GetPayload ¶
func (o *UpdateRegistryConflict) GetPayload() *models.Errors
func (*UpdateRegistryConflict) IsClientError ¶
func (o *UpdateRegistryConflict) IsClientError() bool
IsClientError returns true when this update registry conflict response has a 4xx status code
func (*UpdateRegistryConflict) IsCode ¶
func (o *UpdateRegistryConflict) IsCode(code int) bool
IsCode returns true when this update registry conflict response a status code equal to that given
func (*UpdateRegistryConflict) IsRedirect ¶
func (o *UpdateRegistryConflict) IsRedirect() bool
IsRedirect returns true when this update registry conflict response has a 3xx status code
func (*UpdateRegistryConflict) IsServerError ¶
func (o *UpdateRegistryConflict) IsServerError() bool
IsServerError returns true when this update registry conflict response has a 5xx status code
func (*UpdateRegistryConflict) IsSuccess ¶
func (o *UpdateRegistryConflict) IsSuccess() bool
IsSuccess returns true when this update registry conflict response has a 2xx status code
func (*UpdateRegistryConflict) String ¶
func (o *UpdateRegistryConflict) String() string
type UpdateRegistryForbidden ¶
type UpdateRegistryForbidden struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRegistryForbidden describes a response with status code 403, with default header values.
Forbidden
func NewUpdateRegistryForbidden ¶
func NewUpdateRegistryForbidden() *UpdateRegistryForbidden
NewUpdateRegistryForbidden creates a UpdateRegistryForbidden with default headers values
func (*UpdateRegistryForbidden) Code ¶
func (o *UpdateRegistryForbidden) Code() int
Code gets the status code for the update registry forbidden response
func (*UpdateRegistryForbidden) Error ¶
func (o *UpdateRegistryForbidden) Error() string
func (*UpdateRegistryForbidden) GetPayload ¶
func (o *UpdateRegistryForbidden) GetPayload() *models.Errors
func (*UpdateRegistryForbidden) IsClientError ¶
func (o *UpdateRegistryForbidden) IsClientError() bool
IsClientError returns true when this update registry forbidden response has a 4xx status code
func (*UpdateRegistryForbidden) IsCode ¶
func (o *UpdateRegistryForbidden) IsCode(code int) bool
IsCode returns true when this update registry forbidden response a status code equal to that given
func (*UpdateRegistryForbidden) IsRedirect ¶
func (o *UpdateRegistryForbidden) IsRedirect() bool
IsRedirect returns true when this update registry forbidden response has a 3xx status code
func (*UpdateRegistryForbidden) IsServerError ¶
func (o *UpdateRegistryForbidden) IsServerError() bool
IsServerError returns true when this update registry forbidden response has a 5xx status code
func (*UpdateRegistryForbidden) IsSuccess ¶
func (o *UpdateRegistryForbidden) IsSuccess() bool
IsSuccess returns true when this update registry forbidden response has a 2xx status code
func (*UpdateRegistryForbidden) String ¶
func (o *UpdateRegistryForbidden) String() string
type UpdateRegistryInternalServerError ¶
type UpdateRegistryInternalServerError struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRegistryInternalServerError describes a response with status code 500, with default header values.
Internal server error
func NewUpdateRegistryInternalServerError ¶
func NewUpdateRegistryInternalServerError() *UpdateRegistryInternalServerError
NewUpdateRegistryInternalServerError creates a UpdateRegistryInternalServerError with default headers values
func (*UpdateRegistryInternalServerError) Code ¶
func (o *UpdateRegistryInternalServerError) Code() int
Code gets the status code for the update registry internal server error response
func (*UpdateRegistryInternalServerError) Error ¶
func (o *UpdateRegistryInternalServerError) Error() string
func (*UpdateRegistryInternalServerError) GetPayload ¶
func (o *UpdateRegistryInternalServerError) GetPayload() *models.Errors
func (*UpdateRegistryInternalServerError) IsClientError ¶
func (o *UpdateRegistryInternalServerError) IsClientError() bool
IsClientError returns true when this update registry internal server error response has a 4xx status code
func (*UpdateRegistryInternalServerError) IsCode ¶
func (o *UpdateRegistryInternalServerError) IsCode(code int) bool
IsCode returns true when this update registry internal server error response a status code equal to that given
func (*UpdateRegistryInternalServerError) IsRedirect ¶
func (o *UpdateRegistryInternalServerError) IsRedirect() bool
IsRedirect returns true when this update registry internal server error response has a 3xx status code
func (*UpdateRegistryInternalServerError) IsServerError ¶
func (o *UpdateRegistryInternalServerError) IsServerError() bool
IsServerError returns true when this update registry internal server error response has a 5xx status code
func (*UpdateRegistryInternalServerError) IsSuccess ¶
func (o *UpdateRegistryInternalServerError) IsSuccess() bool
IsSuccess returns true when this update registry internal server error response has a 2xx status code
func (*UpdateRegistryInternalServerError) String ¶
func (o *UpdateRegistryInternalServerError) String() string
type UpdateRegistryNotFound ¶
type UpdateRegistryNotFound struct {
// The ID of the corresponding request for the response
XRequestID string
Payload *models.Errors
}
UpdateRegistryNotFound describes a response with status code 404, with default header values.
Not found
func NewUpdateRegistryNotFound ¶
func NewUpdateRegistryNotFound() *UpdateRegistryNotFound
NewUpdateRegistryNotFound creates a UpdateRegistryNotFound with default headers values
func (*UpdateRegistryNotFound) Code ¶
func (o *UpdateRegistryNotFound) Code() int
Code gets the status code for the update registry not found response
func (*UpdateRegistryNotFound) Error ¶
func (o *UpdateRegistryNotFound) Error() string
func (*UpdateRegistryNotFound) GetPayload ¶
func (o *UpdateRegistryNotFound) GetPayload() *models.Errors
func (*UpdateRegistryNotFound) IsClientError ¶
func (o *UpdateRegistryNotFound) IsClientError() bool
IsClientError returns true when this update registry not found response has a 4xx status code
func (*UpdateRegistryNotFound) IsCode ¶
func (o *UpdateRegistryNotFound) IsCode(code int) bool
IsCode returns true when this update registry not found response a status code equal to that given
func (*UpdateRegistryNotFound) IsRedirect ¶
func (o *UpdateRegistryNotFound) IsRedirect() bool
IsRedirect returns true when this update registry not found response has a 3xx status code
func (*UpdateRegistryNotFound) IsServerError ¶
func (o *UpdateRegistryNotFound) IsServerError() bool
IsServerError returns true when this update registry not found response has a 5xx status code
func (*UpdateRegistryNotFound) IsSuccess ¶
func (o *UpdateRegistryNotFound) IsSuccess() bool
IsSuccess returns true when this update registry not found response has a 2xx status code
func (*UpdateRegistryNotFound) String ¶
func (o *UpdateRegistryNotFound) String() string
type UpdateRegistryOK ¶
type UpdateRegistryOK struct {
// The ID of the corresponding request for the response
XRequestID string
}
UpdateRegistryOK describes a response with status code 200, with default header values.
Success
func NewUpdateRegistryOK ¶
func NewUpdateRegistryOK() *UpdateRegistryOK
NewUpdateRegistryOK creates a UpdateRegistryOK with default headers values
func (*UpdateRegistryOK) Code ¶
func (o *UpdateRegistryOK) Code() int
Code gets the status code for the update registry o k response
func (*UpdateRegistryOK) Error ¶
func (o *UpdateRegistryOK) Error() string
func (*UpdateRegistryOK) IsClientError ¶
func (o *UpdateRegistryOK) IsClientError() bool
IsClientError returns true when this update registry o k response has a 4xx status code
func (*UpdateRegistryOK) IsCode ¶
func (o *UpdateRegistryOK) IsCode(code int) bool
IsCode returns true when this update registry o k response a status code equal to that given
func (*UpdateRegistryOK) IsRedirect ¶
func (o *UpdateRegistryOK) IsRedirect() bool
IsRedirect returns true when this update registry o k response has a 3xx status code
func (*UpdateRegistryOK) IsServerError ¶
func (o *UpdateRegistryOK) IsServerError() bool
IsServerError returns true when this update registry o k response has a 5xx status code
func (*UpdateRegistryOK) IsSuccess ¶
func (o *UpdateRegistryOK) IsSuccess() bool
IsSuccess returns true when this update registry o k response has a 2xx status code
func (*UpdateRegistryOK) String ¶
func (o *UpdateRegistryOK) String() string
type UpdateRegistryParams ¶
type UpdateRegistryParams struct {
// XRequestID.
//
// An unique ID for the request
XRequestID *string
// ID.
//
// The registry ID
//
// Format: int64
ID int64
// Registry.
//
// The registry
Registry *models.RegistryUpdate
HTTPClient *http.Client
// contains filtered or unexported fields
}
UpdateRegistryParams contains all the parameters to send to the API endpoint
for the update registry operation. Typically these are written to a http.Request.
func NewUpdateRegistryParams ¶
func NewUpdateRegistryParams() *UpdateRegistryParams
NewUpdateRegistryParams creates a new UpdateRegistryParams 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 NewUpdateRegistryParamsWithContext
deprecated
func NewUpdateRegistryParamsWithContext(ctx context.Context) *UpdateRegistryParams
NewUpdateRegistryParamsWithContext creates a new UpdateRegistryParams object with the ability to set a context for a request.
Deprecated: use the operation call with context to pass the context instead of UpdateRegistryParams.
func NewUpdateRegistryParamsWithHTTPClient ¶
func NewUpdateRegistryParamsWithHTTPClient(client *http.Client) *UpdateRegistryParams
NewUpdateRegistryParamsWithHTTPClient creates a new UpdateRegistryParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateRegistryParamsWithTimeout ¶
func NewUpdateRegistryParamsWithTimeout(timeout time.Duration) *UpdateRegistryParams
NewUpdateRegistryParamsWithTimeout creates a new UpdateRegistryParams object with the ability to set a timeout on a request.
func (*UpdateRegistryParams) SetContext
deprecated
func (o *UpdateRegistryParams) SetContext(ctx context.Context)
SetContext adds the context to the update registry params.
Deprecated: use the operation call with context to pass the context instead of UpdateRegistryParams.
func (*UpdateRegistryParams) SetDefaults ¶
func (o *UpdateRegistryParams) SetDefaults()
SetDefaults hydrates default values in the update registry params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRegistryParams) SetHTTPClient ¶
func (o *UpdateRegistryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update registry params.
func (*UpdateRegistryParams) SetID ¶
func (o *UpdateRegistryParams) SetID(id int64)
SetID adds the id to the update registry params.
func (*UpdateRegistryParams) SetRegistry ¶
func (o *UpdateRegistryParams) SetRegistry(registry *models.RegistryUpdate)
SetRegistry adds the registry to the update registry params.
func (*UpdateRegistryParams) SetTimeout ¶
func (o *UpdateRegistryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update registry params.
func (*UpdateRegistryParams) SetXRequestID ¶
func (o *UpdateRegistryParams) SetXRequestID(xRequestID *string)
SetXRequestID adds the xRequestId to the update registry params.
func (*UpdateRegistryParams) WithContext
deprecated
func (o *UpdateRegistryParams) WithContext(ctx context.Context) *UpdateRegistryParams
WithContext adds the context to the update registry params.
Deprecated: use the operation call with context to pass the context instead of UpdateRegistryParams.
func (*UpdateRegistryParams) WithDefaults ¶
func (o *UpdateRegistryParams) WithDefaults() *UpdateRegistryParams
WithDefaults hydrates default values in the update registry params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateRegistryParams) WithHTTPClient ¶
func (o *UpdateRegistryParams) WithHTTPClient(client *http.Client) *UpdateRegistryParams
WithHTTPClient adds the HTTPClient to the update registry params.
func (*UpdateRegistryParams) WithID ¶
func (o *UpdateRegistryParams) WithID(id int64) *UpdateRegistryParams
WithID adds the id to the update registry params.
func (*UpdateRegistryParams) WithRegistry ¶
func (o *UpdateRegistryParams) WithRegistry(registry *models.RegistryUpdate) *UpdateRegistryParams
WithRegistry adds the registry to the update registry params.
func (*UpdateRegistryParams) WithTimeout ¶
func (o *UpdateRegistryParams) WithTimeout(timeout time.Duration) *UpdateRegistryParams
WithTimeout adds the timeout to the update registry params.
func (*UpdateRegistryParams) WithXRequestID ¶
func (o *UpdateRegistryParams) WithXRequestID(xRequestID *string) *UpdateRegistryParams
WithXRequestID adds the xRequestID to the update registry params.
func (*UpdateRegistryParams) WriteToRequest ¶
func (o *UpdateRegistryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a runtime.ClientRequest.
type UpdateRegistryReader ¶
type UpdateRegistryReader struct {
// contains filtered or unexported fields
}
UpdateRegistryReader is a Reader for the UpdateRegistry structure.
func (*UpdateRegistryReader) ReadResponse ¶
func (o *UpdateRegistryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (any, error)
ReadResponse reads a server response into the received o.
type UpdateRegistryUnauthorized ¶
type UpdateRegistryUnauthorized struct {
XRequestID string
}
UpdateRegistryUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewUpdateRegistryUnauthorized ¶
func NewUpdateRegistryUnauthorized() *UpdateRegistryUnauthorized
NewUpdateRegistryUnauthorized creates a UpdateRegistryUnauthorized with default headers values
func (*UpdateRegistryUnauthorized) Code ¶
func (o *UpdateRegistryUnauthorized) Code() int
Code gets the status code for the update registry unauthorized response
func (*UpdateRegistryUnauthorized) Error ¶
func (o *UpdateRegistryUnauthorized) Error() string
func (*UpdateRegistryUnauthorized) GetPayload ¶
func (o *UpdateRegistryUnauthorized) GetPayload() *models.Errors
func (*UpdateRegistryUnauthorized) IsClientError ¶
func (o *UpdateRegistryUnauthorized) IsClientError() bool
IsClientError returns true when this update registry unauthorized response has a 4xx status code
func (*UpdateRegistryUnauthorized) IsCode ¶
func (o *UpdateRegistryUnauthorized) IsCode(code int) bool
IsCode returns true when this update registry unauthorized response a status code equal to that given
func (*UpdateRegistryUnauthorized) IsRedirect ¶
func (o *UpdateRegistryUnauthorized) IsRedirect() bool
IsRedirect returns true when this update registry unauthorized response has a 3xx status code
func (*UpdateRegistryUnauthorized) IsServerError ¶
func (o *UpdateRegistryUnauthorized) IsServerError() bool
IsServerError returns true when this update registry unauthorized response has a 5xx status code
func (*UpdateRegistryUnauthorized) IsSuccess ¶
func (o *UpdateRegistryUnauthorized) IsSuccess() bool
IsSuccess returns true when this update registry unauthorized response has a 2xx status code
func (*UpdateRegistryUnauthorized) String ¶
func (o *UpdateRegistryUnauthorized) String() string
Source Files
¶
- create_registry_parameters.go
- create_registry_responses.go
- delete_registry_parameters.go
- delete_registry_responses.go
- get_registry_info_parameters.go
- get_registry_info_responses.go
- get_registry_parameters.go
- get_registry_responses.go
- list_registries_parameters.go
- list_registries_responses.go
- list_registry_provider_infos_parameters.go
- list_registry_provider_infos_responses.go
- list_registry_provider_types_parameters.go
- list_registry_provider_types_responses.go
- ping_registry_parameters.go
- ping_registry_responses.go
- registry_client.go
- update_registry_parameters.go
- update_registry_responses.go