Documentation
¶
Index ¶
- type Client
- func (a *Client) CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePresetOK, *CreatePresetNoContent, error)
- func (a *Client) DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePresetOK, *DeletePresetNoContent, error)
- func (a *Client) GetPreset(params *GetPresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPresetOK, *GetPresetNoContent, error)
- func (a *Client) ListPresetNames(params *ListPresetNamesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPresetNamesOK, *ListPresetNamesNoContent, error)
- func (a *Client) ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListPresetsOK, *ListPresetsNoContent, error)
- func (a *Client) PatchPreset(params *PatchPresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PatchPresetOK, *PatchPresetNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePresetOK, *UpdatePresetNoContent, error)
- type ClientOption
- type ClientService
- type CreatePresetDefault
- func (o *CreatePresetDefault) Code() int
- func (o *CreatePresetDefault) Error() string
- func (o *CreatePresetDefault) GetPayload() *service_model.RuntimeError
- func (o *CreatePresetDefault) IsClientError() bool
- func (o *CreatePresetDefault) IsCode(code int) bool
- func (o *CreatePresetDefault) IsRedirect() bool
- func (o *CreatePresetDefault) IsServerError() bool
- func (o *CreatePresetDefault) IsSuccess() bool
- func (o *CreatePresetDefault) String() string
- type CreatePresetForbidden
- func (o *CreatePresetForbidden) Code() int
- func (o *CreatePresetForbidden) Error() string
- func (o *CreatePresetForbidden) GetPayload() interface{}
- func (o *CreatePresetForbidden) IsClientError() bool
- func (o *CreatePresetForbidden) IsCode(code int) bool
- func (o *CreatePresetForbidden) IsRedirect() bool
- func (o *CreatePresetForbidden) IsServerError() bool
- func (o *CreatePresetForbidden) IsSuccess() bool
- func (o *CreatePresetForbidden) String() string
- type CreatePresetNoContent
- func (o *CreatePresetNoContent) Code() int
- func (o *CreatePresetNoContent) Error() string
- func (o *CreatePresetNoContent) GetPayload() interface{}
- func (o *CreatePresetNoContent) IsClientError() bool
- func (o *CreatePresetNoContent) IsCode(code int) bool
- func (o *CreatePresetNoContent) IsRedirect() bool
- func (o *CreatePresetNoContent) IsServerError() bool
- func (o *CreatePresetNoContent) IsSuccess() bool
- func (o *CreatePresetNoContent) String() string
- type CreatePresetNotFound
- func (o *CreatePresetNotFound) Code() int
- func (o *CreatePresetNotFound) Error() string
- func (o *CreatePresetNotFound) GetPayload() interface{}
- func (o *CreatePresetNotFound) IsClientError() bool
- func (o *CreatePresetNotFound) IsCode(code int) bool
- func (o *CreatePresetNotFound) IsRedirect() bool
- func (o *CreatePresetNotFound) IsServerError() bool
- func (o *CreatePresetNotFound) IsSuccess() bool
- func (o *CreatePresetNotFound) String() string
- type CreatePresetOK
- func (o *CreatePresetOK) Code() int
- func (o *CreatePresetOK) Error() string
- func (o *CreatePresetOK) GetPayload() *service_model.V1Preset
- func (o *CreatePresetOK) IsClientError() bool
- func (o *CreatePresetOK) IsCode(code int) bool
- func (o *CreatePresetOK) IsRedirect() bool
- func (o *CreatePresetOK) IsServerError() bool
- func (o *CreatePresetOK) IsSuccess() bool
- func (o *CreatePresetOK) String() string
- type CreatePresetParams
- func (o *CreatePresetParams) SetBody(body *service_model.V1Preset)
- func (o *CreatePresetParams) SetContext(ctx context.Context)
- func (o *CreatePresetParams) SetDefaults()
- func (o *CreatePresetParams) SetHTTPClient(client *http.Client)
- func (o *CreatePresetParams) SetOwner(owner string)
- func (o *CreatePresetParams) SetTimeout(timeout time.Duration)
- func (o *CreatePresetParams) WithBody(body *service_model.V1Preset) *CreatePresetParams
- func (o *CreatePresetParams) WithContext(ctx context.Context) *CreatePresetParams
- func (o *CreatePresetParams) WithDefaults() *CreatePresetParams
- func (o *CreatePresetParams) WithHTTPClient(client *http.Client) *CreatePresetParams
- func (o *CreatePresetParams) WithOwner(owner string) *CreatePresetParams
- func (o *CreatePresetParams) WithTimeout(timeout time.Duration) *CreatePresetParams
- func (o *CreatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePresetReader
- type DeletePresetDefault
- func (o *DeletePresetDefault) Code() int
- func (o *DeletePresetDefault) Error() string
- func (o *DeletePresetDefault) GetPayload() *service_model.RuntimeError
- func (o *DeletePresetDefault) IsClientError() bool
- func (o *DeletePresetDefault) IsCode(code int) bool
- func (o *DeletePresetDefault) IsRedirect() bool
- func (o *DeletePresetDefault) IsServerError() bool
- func (o *DeletePresetDefault) IsSuccess() bool
- func (o *DeletePresetDefault) String() string
- type DeletePresetForbidden
- func (o *DeletePresetForbidden) Code() int
- func (o *DeletePresetForbidden) Error() string
- func (o *DeletePresetForbidden) GetPayload() interface{}
- func (o *DeletePresetForbidden) IsClientError() bool
- func (o *DeletePresetForbidden) IsCode(code int) bool
- func (o *DeletePresetForbidden) IsRedirect() bool
- func (o *DeletePresetForbidden) IsServerError() bool
- func (o *DeletePresetForbidden) IsSuccess() bool
- func (o *DeletePresetForbidden) String() string
- type DeletePresetNoContent
- func (o *DeletePresetNoContent) Code() int
- func (o *DeletePresetNoContent) Error() string
- func (o *DeletePresetNoContent) GetPayload() interface{}
- func (o *DeletePresetNoContent) IsClientError() bool
- func (o *DeletePresetNoContent) IsCode(code int) bool
- func (o *DeletePresetNoContent) IsRedirect() bool
- func (o *DeletePresetNoContent) IsServerError() bool
- func (o *DeletePresetNoContent) IsSuccess() bool
- func (o *DeletePresetNoContent) String() string
- type DeletePresetNotFound
- func (o *DeletePresetNotFound) Code() int
- func (o *DeletePresetNotFound) Error() string
- func (o *DeletePresetNotFound) GetPayload() interface{}
- func (o *DeletePresetNotFound) IsClientError() bool
- func (o *DeletePresetNotFound) IsCode(code int) bool
- func (o *DeletePresetNotFound) IsRedirect() bool
- func (o *DeletePresetNotFound) IsServerError() bool
- func (o *DeletePresetNotFound) IsSuccess() bool
- func (o *DeletePresetNotFound) String() string
- type DeletePresetOK
- func (o *DeletePresetOK) Code() int
- func (o *DeletePresetOK) Error() string
- func (o *DeletePresetOK) IsClientError() bool
- func (o *DeletePresetOK) IsCode(code int) bool
- func (o *DeletePresetOK) IsRedirect() bool
- func (o *DeletePresetOK) IsServerError() bool
- func (o *DeletePresetOK) IsSuccess() bool
- func (o *DeletePresetOK) String() string
- type DeletePresetParams
- func (o *DeletePresetParams) SetContext(ctx context.Context)
- func (o *DeletePresetParams) SetDefaults()
- func (o *DeletePresetParams) SetEntity(entity *string)
- func (o *DeletePresetParams) SetHTTPClient(client *http.Client)
- func (o *DeletePresetParams) SetOwner(owner string)
- func (o *DeletePresetParams) SetTimeout(timeout time.Duration)
- func (o *DeletePresetParams) SetUUID(uuid string)
- func (o *DeletePresetParams) WithContext(ctx context.Context) *DeletePresetParams
- func (o *DeletePresetParams) WithDefaults() *DeletePresetParams
- func (o *DeletePresetParams) WithEntity(entity *string) *DeletePresetParams
- func (o *DeletePresetParams) WithHTTPClient(client *http.Client) *DeletePresetParams
- func (o *DeletePresetParams) WithOwner(owner string) *DeletePresetParams
- func (o *DeletePresetParams) WithTimeout(timeout time.Duration) *DeletePresetParams
- func (o *DeletePresetParams) WithUUID(uuid string) *DeletePresetParams
- func (o *DeletePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePresetReader
- type GetPresetDefault
- func (o *GetPresetDefault) Code() int
- func (o *GetPresetDefault) Error() string
- func (o *GetPresetDefault) GetPayload() *service_model.RuntimeError
- func (o *GetPresetDefault) IsClientError() bool
- func (o *GetPresetDefault) IsCode(code int) bool
- func (o *GetPresetDefault) IsRedirect() bool
- func (o *GetPresetDefault) IsServerError() bool
- func (o *GetPresetDefault) IsSuccess() bool
- func (o *GetPresetDefault) String() string
- type GetPresetForbidden
- func (o *GetPresetForbidden) Code() int
- func (o *GetPresetForbidden) Error() string
- func (o *GetPresetForbidden) GetPayload() interface{}
- func (o *GetPresetForbidden) IsClientError() bool
- func (o *GetPresetForbidden) IsCode(code int) bool
- func (o *GetPresetForbidden) IsRedirect() bool
- func (o *GetPresetForbidden) IsServerError() bool
- func (o *GetPresetForbidden) IsSuccess() bool
- func (o *GetPresetForbidden) String() string
- type GetPresetNoContent
- func (o *GetPresetNoContent) Code() int
- func (o *GetPresetNoContent) Error() string
- func (o *GetPresetNoContent) GetPayload() interface{}
- func (o *GetPresetNoContent) IsClientError() bool
- func (o *GetPresetNoContent) IsCode(code int) bool
- func (o *GetPresetNoContent) IsRedirect() bool
- func (o *GetPresetNoContent) IsServerError() bool
- func (o *GetPresetNoContent) IsSuccess() bool
- func (o *GetPresetNoContent) String() string
- type GetPresetNotFound
- func (o *GetPresetNotFound) Code() int
- func (o *GetPresetNotFound) Error() string
- func (o *GetPresetNotFound) GetPayload() interface{}
- func (o *GetPresetNotFound) IsClientError() bool
- func (o *GetPresetNotFound) IsCode(code int) bool
- func (o *GetPresetNotFound) IsRedirect() bool
- func (o *GetPresetNotFound) IsServerError() bool
- func (o *GetPresetNotFound) IsSuccess() bool
- func (o *GetPresetNotFound) String() string
- type GetPresetOK
- func (o *GetPresetOK) Code() int
- func (o *GetPresetOK) Error() string
- func (o *GetPresetOK) GetPayload() *service_model.V1Preset
- func (o *GetPresetOK) IsClientError() bool
- func (o *GetPresetOK) IsCode(code int) bool
- func (o *GetPresetOK) IsRedirect() bool
- func (o *GetPresetOK) IsServerError() bool
- func (o *GetPresetOK) IsSuccess() bool
- func (o *GetPresetOK) String() string
- type GetPresetParams
- func (o *GetPresetParams) SetContext(ctx context.Context)
- func (o *GetPresetParams) SetDefaults()
- func (o *GetPresetParams) SetEntity(entity *string)
- func (o *GetPresetParams) SetHTTPClient(client *http.Client)
- func (o *GetPresetParams) SetOwner(owner string)
- func (o *GetPresetParams) SetTimeout(timeout time.Duration)
- func (o *GetPresetParams) SetUUID(uuid string)
- func (o *GetPresetParams) WithContext(ctx context.Context) *GetPresetParams
- func (o *GetPresetParams) WithDefaults() *GetPresetParams
- func (o *GetPresetParams) WithEntity(entity *string) *GetPresetParams
- func (o *GetPresetParams) WithHTTPClient(client *http.Client) *GetPresetParams
- func (o *GetPresetParams) WithOwner(owner string) *GetPresetParams
- func (o *GetPresetParams) WithTimeout(timeout time.Duration) *GetPresetParams
- func (o *GetPresetParams) WithUUID(uuid string) *GetPresetParams
- func (o *GetPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPresetReader
- type ListPresetNamesDefault
- func (o *ListPresetNamesDefault) Code() int
- func (o *ListPresetNamesDefault) Error() string
- func (o *ListPresetNamesDefault) GetPayload() *service_model.RuntimeError
- func (o *ListPresetNamesDefault) IsClientError() bool
- func (o *ListPresetNamesDefault) IsCode(code int) bool
- func (o *ListPresetNamesDefault) IsRedirect() bool
- func (o *ListPresetNamesDefault) IsServerError() bool
- func (o *ListPresetNamesDefault) IsSuccess() bool
- func (o *ListPresetNamesDefault) String() string
- type ListPresetNamesForbidden
- func (o *ListPresetNamesForbidden) Code() int
- func (o *ListPresetNamesForbidden) Error() string
- func (o *ListPresetNamesForbidden) GetPayload() interface{}
- func (o *ListPresetNamesForbidden) IsClientError() bool
- func (o *ListPresetNamesForbidden) IsCode(code int) bool
- func (o *ListPresetNamesForbidden) IsRedirect() bool
- func (o *ListPresetNamesForbidden) IsServerError() bool
- func (o *ListPresetNamesForbidden) IsSuccess() bool
- func (o *ListPresetNamesForbidden) String() string
- type ListPresetNamesNoContent
- func (o *ListPresetNamesNoContent) Code() int
- func (o *ListPresetNamesNoContent) Error() string
- func (o *ListPresetNamesNoContent) GetPayload() interface{}
- func (o *ListPresetNamesNoContent) IsClientError() bool
- func (o *ListPresetNamesNoContent) IsCode(code int) bool
- func (o *ListPresetNamesNoContent) IsRedirect() bool
- func (o *ListPresetNamesNoContent) IsServerError() bool
- func (o *ListPresetNamesNoContent) IsSuccess() bool
- func (o *ListPresetNamesNoContent) String() string
- type ListPresetNamesNotFound
- func (o *ListPresetNamesNotFound) Code() int
- func (o *ListPresetNamesNotFound) Error() string
- func (o *ListPresetNamesNotFound) GetPayload() interface{}
- func (o *ListPresetNamesNotFound) IsClientError() bool
- func (o *ListPresetNamesNotFound) IsCode(code int) bool
- func (o *ListPresetNamesNotFound) IsRedirect() bool
- func (o *ListPresetNamesNotFound) IsServerError() bool
- func (o *ListPresetNamesNotFound) IsSuccess() bool
- func (o *ListPresetNamesNotFound) String() string
- type ListPresetNamesOK
- func (o *ListPresetNamesOK) Code() int
- func (o *ListPresetNamesOK) Error() string
- func (o *ListPresetNamesOK) GetPayload() *service_model.V1ListPresetsResponse
- func (o *ListPresetNamesOK) IsClientError() bool
- func (o *ListPresetNamesOK) IsCode(code int) bool
- func (o *ListPresetNamesOK) IsRedirect() bool
- func (o *ListPresetNamesOK) IsServerError() bool
- func (o *ListPresetNamesOK) IsSuccess() bool
- func (o *ListPresetNamesOK) String() string
- type ListPresetNamesParams
- func NewListPresetNamesParams() *ListPresetNamesParams
- func NewListPresetNamesParamsWithContext(ctx context.Context) *ListPresetNamesParams
- func NewListPresetNamesParamsWithHTTPClient(client *http.Client) *ListPresetNamesParams
- func NewListPresetNamesParamsWithTimeout(timeout time.Duration) *ListPresetNamesParams
- func (o *ListPresetNamesParams) SetBookmarks(bookmarks *bool)
- func (o *ListPresetNamesParams) SetContext(ctx context.Context)
- func (o *ListPresetNamesParams) SetDefaults()
- func (o *ListPresetNamesParams) SetHTTPClient(client *http.Client)
- func (o *ListPresetNamesParams) SetLimit(limit *int32)
- func (o *ListPresetNamesParams) SetMode(mode *string)
- func (o *ListPresetNamesParams) SetNoPage(noPage *bool)
- func (o *ListPresetNamesParams) SetOffset(offset *int32)
- func (o *ListPresetNamesParams) SetOwner(owner string)
- func (o *ListPresetNamesParams) SetQuery(query *string)
- func (o *ListPresetNamesParams) SetSort(sort *string)
- func (o *ListPresetNamesParams) SetTimeout(timeout time.Duration)
- func (o *ListPresetNamesParams) WithBookmarks(bookmarks *bool) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithContext(ctx context.Context) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithDefaults() *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithHTTPClient(client *http.Client) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithLimit(limit *int32) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithMode(mode *string) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithNoPage(noPage *bool) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithOffset(offset *int32) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithOwner(owner string) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithQuery(query *string) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithSort(sort *string) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WithTimeout(timeout time.Duration) *ListPresetNamesParams
- func (o *ListPresetNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPresetNamesReader
- type ListPresetsDefault
- func (o *ListPresetsDefault) Code() int
- func (o *ListPresetsDefault) Error() string
- func (o *ListPresetsDefault) GetPayload() *service_model.RuntimeError
- func (o *ListPresetsDefault) IsClientError() bool
- func (o *ListPresetsDefault) IsCode(code int) bool
- func (o *ListPresetsDefault) IsRedirect() bool
- func (o *ListPresetsDefault) IsServerError() bool
- func (o *ListPresetsDefault) IsSuccess() bool
- func (o *ListPresetsDefault) String() string
- type ListPresetsForbidden
- func (o *ListPresetsForbidden) Code() int
- func (o *ListPresetsForbidden) Error() string
- func (o *ListPresetsForbidden) GetPayload() interface{}
- func (o *ListPresetsForbidden) IsClientError() bool
- func (o *ListPresetsForbidden) IsCode(code int) bool
- func (o *ListPresetsForbidden) IsRedirect() bool
- func (o *ListPresetsForbidden) IsServerError() bool
- func (o *ListPresetsForbidden) IsSuccess() bool
- func (o *ListPresetsForbidden) String() string
- type ListPresetsNoContent
- func (o *ListPresetsNoContent) Code() int
- func (o *ListPresetsNoContent) Error() string
- func (o *ListPresetsNoContent) GetPayload() interface{}
- func (o *ListPresetsNoContent) IsClientError() bool
- func (o *ListPresetsNoContent) IsCode(code int) bool
- func (o *ListPresetsNoContent) IsRedirect() bool
- func (o *ListPresetsNoContent) IsServerError() bool
- func (o *ListPresetsNoContent) IsSuccess() bool
- func (o *ListPresetsNoContent) String() string
- type ListPresetsNotFound
- func (o *ListPresetsNotFound) Code() int
- func (o *ListPresetsNotFound) Error() string
- func (o *ListPresetsNotFound) GetPayload() interface{}
- func (o *ListPresetsNotFound) IsClientError() bool
- func (o *ListPresetsNotFound) IsCode(code int) bool
- func (o *ListPresetsNotFound) IsRedirect() bool
- func (o *ListPresetsNotFound) IsServerError() bool
- func (o *ListPresetsNotFound) IsSuccess() bool
- func (o *ListPresetsNotFound) String() string
- type ListPresetsOK
- func (o *ListPresetsOK) Code() int
- func (o *ListPresetsOK) Error() string
- func (o *ListPresetsOK) GetPayload() *service_model.V1ListPresetsResponse
- func (o *ListPresetsOK) IsClientError() bool
- func (o *ListPresetsOK) IsCode(code int) bool
- func (o *ListPresetsOK) IsRedirect() bool
- func (o *ListPresetsOK) IsServerError() bool
- func (o *ListPresetsOK) IsSuccess() bool
- func (o *ListPresetsOK) String() string
- type ListPresetsParams
- func (o *ListPresetsParams) SetBookmarks(bookmarks *bool)
- func (o *ListPresetsParams) SetContext(ctx context.Context)
- func (o *ListPresetsParams) SetDefaults()
- func (o *ListPresetsParams) SetHTTPClient(client *http.Client)
- func (o *ListPresetsParams) SetLimit(limit *int32)
- func (o *ListPresetsParams) SetMode(mode *string)
- func (o *ListPresetsParams) SetNoPage(noPage *bool)
- func (o *ListPresetsParams) SetOffset(offset *int32)
- func (o *ListPresetsParams) SetOwner(owner string)
- func (o *ListPresetsParams) SetQuery(query *string)
- func (o *ListPresetsParams) SetSort(sort *string)
- func (o *ListPresetsParams) SetTimeout(timeout time.Duration)
- func (o *ListPresetsParams) WithBookmarks(bookmarks *bool) *ListPresetsParams
- func (o *ListPresetsParams) WithContext(ctx context.Context) *ListPresetsParams
- func (o *ListPresetsParams) WithDefaults() *ListPresetsParams
- func (o *ListPresetsParams) WithHTTPClient(client *http.Client) *ListPresetsParams
- func (o *ListPresetsParams) WithLimit(limit *int32) *ListPresetsParams
- func (o *ListPresetsParams) WithMode(mode *string) *ListPresetsParams
- func (o *ListPresetsParams) WithNoPage(noPage *bool) *ListPresetsParams
- func (o *ListPresetsParams) WithOffset(offset *int32) *ListPresetsParams
- func (o *ListPresetsParams) WithOwner(owner string) *ListPresetsParams
- func (o *ListPresetsParams) WithQuery(query *string) *ListPresetsParams
- func (o *ListPresetsParams) WithSort(sort *string) *ListPresetsParams
- func (o *ListPresetsParams) WithTimeout(timeout time.Duration) *ListPresetsParams
- func (o *ListPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListPresetsReader
- type PatchPresetDefault
- func (o *PatchPresetDefault) Code() int
- func (o *PatchPresetDefault) Error() string
- func (o *PatchPresetDefault) GetPayload() *service_model.RuntimeError
- func (o *PatchPresetDefault) IsClientError() bool
- func (o *PatchPresetDefault) IsCode(code int) bool
- func (o *PatchPresetDefault) IsRedirect() bool
- func (o *PatchPresetDefault) IsServerError() bool
- func (o *PatchPresetDefault) IsSuccess() bool
- func (o *PatchPresetDefault) String() string
- type PatchPresetForbidden
- func (o *PatchPresetForbidden) Code() int
- func (o *PatchPresetForbidden) Error() string
- func (o *PatchPresetForbidden) GetPayload() interface{}
- func (o *PatchPresetForbidden) IsClientError() bool
- func (o *PatchPresetForbidden) IsCode(code int) bool
- func (o *PatchPresetForbidden) IsRedirect() bool
- func (o *PatchPresetForbidden) IsServerError() bool
- func (o *PatchPresetForbidden) IsSuccess() bool
- func (o *PatchPresetForbidden) String() string
- type PatchPresetNoContent
- func (o *PatchPresetNoContent) Code() int
- func (o *PatchPresetNoContent) Error() string
- func (o *PatchPresetNoContent) GetPayload() interface{}
- func (o *PatchPresetNoContent) IsClientError() bool
- func (o *PatchPresetNoContent) IsCode(code int) bool
- func (o *PatchPresetNoContent) IsRedirect() bool
- func (o *PatchPresetNoContent) IsServerError() bool
- func (o *PatchPresetNoContent) IsSuccess() bool
- func (o *PatchPresetNoContent) String() string
- type PatchPresetNotFound
- func (o *PatchPresetNotFound) Code() int
- func (o *PatchPresetNotFound) Error() string
- func (o *PatchPresetNotFound) GetPayload() interface{}
- func (o *PatchPresetNotFound) IsClientError() bool
- func (o *PatchPresetNotFound) IsCode(code int) bool
- func (o *PatchPresetNotFound) IsRedirect() bool
- func (o *PatchPresetNotFound) IsServerError() bool
- func (o *PatchPresetNotFound) IsSuccess() bool
- func (o *PatchPresetNotFound) String() string
- type PatchPresetOK
- func (o *PatchPresetOK) Code() int
- func (o *PatchPresetOK) Error() string
- func (o *PatchPresetOK) GetPayload() *service_model.V1Preset
- func (o *PatchPresetOK) IsClientError() bool
- func (o *PatchPresetOK) IsCode(code int) bool
- func (o *PatchPresetOK) IsRedirect() bool
- func (o *PatchPresetOK) IsServerError() bool
- func (o *PatchPresetOK) IsSuccess() bool
- func (o *PatchPresetOK) String() string
- type PatchPresetParams
- func (o *PatchPresetParams) SetBody(body *service_model.V1Preset)
- func (o *PatchPresetParams) SetContext(ctx context.Context)
- func (o *PatchPresetParams) SetDefaults()
- func (o *PatchPresetParams) SetHTTPClient(client *http.Client)
- func (o *PatchPresetParams) SetOwner(owner string)
- func (o *PatchPresetParams) SetPresetUUID(presetUUID string)
- func (o *PatchPresetParams) SetTimeout(timeout time.Duration)
- func (o *PatchPresetParams) WithBody(body *service_model.V1Preset) *PatchPresetParams
- func (o *PatchPresetParams) WithContext(ctx context.Context) *PatchPresetParams
- func (o *PatchPresetParams) WithDefaults() *PatchPresetParams
- func (o *PatchPresetParams) WithHTTPClient(client *http.Client) *PatchPresetParams
- func (o *PatchPresetParams) WithOwner(owner string) *PatchPresetParams
- func (o *PatchPresetParams) WithPresetUUID(presetUUID string) *PatchPresetParams
- func (o *PatchPresetParams) WithTimeout(timeout time.Duration) *PatchPresetParams
- func (o *PatchPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PatchPresetReader
- type UpdatePresetDefault
- func (o *UpdatePresetDefault) Code() int
- func (o *UpdatePresetDefault) Error() string
- func (o *UpdatePresetDefault) GetPayload() *service_model.RuntimeError
- func (o *UpdatePresetDefault) IsClientError() bool
- func (o *UpdatePresetDefault) IsCode(code int) bool
- func (o *UpdatePresetDefault) IsRedirect() bool
- func (o *UpdatePresetDefault) IsServerError() bool
- func (o *UpdatePresetDefault) IsSuccess() bool
- func (o *UpdatePresetDefault) String() string
- type UpdatePresetForbidden
- func (o *UpdatePresetForbidden) Code() int
- func (o *UpdatePresetForbidden) Error() string
- func (o *UpdatePresetForbidden) GetPayload() interface{}
- func (o *UpdatePresetForbidden) IsClientError() bool
- func (o *UpdatePresetForbidden) IsCode(code int) bool
- func (o *UpdatePresetForbidden) IsRedirect() bool
- func (o *UpdatePresetForbidden) IsServerError() bool
- func (o *UpdatePresetForbidden) IsSuccess() bool
- func (o *UpdatePresetForbidden) String() string
- type UpdatePresetNoContent
- func (o *UpdatePresetNoContent) Code() int
- func (o *UpdatePresetNoContent) Error() string
- func (o *UpdatePresetNoContent) GetPayload() interface{}
- func (o *UpdatePresetNoContent) IsClientError() bool
- func (o *UpdatePresetNoContent) IsCode(code int) bool
- func (o *UpdatePresetNoContent) IsRedirect() bool
- func (o *UpdatePresetNoContent) IsServerError() bool
- func (o *UpdatePresetNoContent) IsSuccess() bool
- func (o *UpdatePresetNoContent) String() string
- type UpdatePresetNotFound
- func (o *UpdatePresetNotFound) Code() int
- func (o *UpdatePresetNotFound) Error() string
- func (o *UpdatePresetNotFound) GetPayload() interface{}
- func (o *UpdatePresetNotFound) IsClientError() bool
- func (o *UpdatePresetNotFound) IsCode(code int) bool
- func (o *UpdatePresetNotFound) IsRedirect() bool
- func (o *UpdatePresetNotFound) IsServerError() bool
- func (o *UpdatePresetNotFound) IsSuccess() bool
- func (o *UpdatePresetNotFound) String() string
- type UpdatePresetOK
- func (o *UpdatePresetOK) Code() int
- func (o *UpdatePresetOK) Error() string
- func (o *UpdatePresetOK) GetPayload() *service_model.V1Preset
- func (o *UpdatePresetOK) IsClientError() bool
- func (o *UpdatePresetOK) IsCode(code int) bool
- func (o *UpdatePresetOK) IsRedirect() bool
- func (o *UpdatePresetOK) IsServerError() bool
- func (o *UpdatePresetOK) IsSuccess() bool
- func (o *UpdatePresetOK) String() string
- type UpdatePresetParams
- func (o *UpdatePresetParams) SetBody(body *service_model.V1Preset)
- func (o *UpdatePresetParams) SetContext(ctx context.Context)
- func (o *UpdatePresetParams) SetDefaults()
- func (o *UpdatePresetParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePresetParams) SetOwner(owner string)
- func (o *UpdatePresetParams) SetPresetUUID(presetUUID string)
- func (o *UpdatePresetParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePresetParams) WithBody(body *service_model.V1Preset) *UpdatePresetParams
- func (o *UpdatePresetParams) WithContext(ctx context.Context) *UpdatePresetParams
- func (o *UpdatePresetParams) WithDefaults() *UpdatePresetParams
- func (o *UpdatePresetParams) WithHTTPClient(client *http.Client) *UpdatePresetParams
- func (o *UpdatePresetParams) WithOwner(owner string) *UpdatePresetParams
- func (o *UpdatePresetParams) WithPresetUUID(presetUUID string) *UpdatePresetParams
- func (o *UpdatePresetParams) WithTimeout(timeout time.Duration) *UpdatePresetParams
- func (o *UpdatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePresetReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for presets v1 API
func (*Client) CreatePreset ¶
func (a *Client) CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePresetOK, *CreatePresetNoContent, error)
CreatePreset creates scheduling presets
func (*Client) DeletePreset ¶
func (a *Client) DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetOK, *DeletePresetNoContent, error)
DeletePreset deletes scheduling preset
func (*Client) GetPreset ¶
func (a *Client) GetPreset(params *GetPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPresetOK, *GetPresetNoContent, error)
GetPreset gets scheduling preset
func (*Client) ListPresetNames ¶
func (a *Client) ListPresetNames(params *ListPresetNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetNamesOK, *ListPresetNamesNoContent, error)
ListPresetNames lists scheduling presets names
func (*Client) ListPresets ¶
func (a *Client) ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetsOK, *ListPresetsNoContent, error)
ListPresets lists scheduling presets
func (*Client) PatchPreset ¶
func (a *Client) PatchPreset(params *PatchPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPresetOK, *PatchPresetNoContent, error)
PatchPreset patches scheduling preset
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdatePreset ¶
func (a *Client) UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetOK, *UpdatePresetNoContent, error)
UpdatePreset updates scheduling preset
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreatePreset(params *CreatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePresetOK, *CreatePresetNoContent, error) DeletePreset(params *DeletePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePresetOK, *DeletePresetNoContent, error) GetPreset(params *GetPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPresetOK, *GetPresetNoContent, error) ListPresetNames(params *ListPresetNamesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetNamesOK, *ListPresetNamesNoContent, error) ListPresets(params *ListPresetsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListPresetsOK, *ListPresetsNoContent, error) PatchPreset(params *PatchPresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PatchPresetOK, *PatchPresetNoContent, error) UpdatePreset(params *UpdatePresetParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePresetOK, *UpdatePresetNoContent, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new presets v1 API client.
type CreatePresetDefault ¶
type CreatePresetDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
CreatePresetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewCreatePresetDefault ¶
func NewCreatePresetDefault(code int) *CreatePresetDefault
NewCreatePresetDefault creates a CreatePresetDefault with default headers values
func (*CreatePresetDefault) Code ¶
func (o *CreatePresetDefault) Code() int
Code gets the status code for the create preset default response
func (*CreatePresetDefault) Error ¶
func (o *CreatePresetDefault) Error() string
func (*CreatePresetDefault) GetPayload ¶
func (o *CreatePresetDefault) GetPayload() *service_model.RuntimeError
func (*CreatePresetDefault) IsClientError ¶
func (o *CreatePresetDefault) IsClientError() bool
IsClientError returns true when this create preset default response has a 4xx status code
func (*CreatePresetDefault) IsCode ¶
func (o *CreatePresetDefault) IsCode(code int) bool
IsCode returns true when this create preset default response a status code equal to that given
func (*CreatePresetDefault) IsRedirect ¶
func (o *CreatePresetDefault) IsRedirect() bool
IsRedirect returns true when this create preset default response has a 3xx status code
func (*CreatePresetDefault) IsServerError ¶
func (o *CreatePresetDefault) IsServerError() bool
IsServerError returns true when this create preset default response has a 5xx status code
func (*CreatePresetDefault) IsSuccess ¶
func (o *CreatePresetDefault) IsSuccess() bool
IsSuccess returns true when this create preset default response has a 2xx status code
func (*CreatePresetDefault) String ¶
func (o *CreatePresetDefault) String() string
type CreatePresetForbidden ¶
type CreatePresetForbidden struct {
Payload interface{}
}
CreatePresetForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewCreatePresetForbidden ¶
func NewCreatePresetForbidden() *CreatePresetForbidden
NewCreatePresetForbidden creates a CreatePresetForbidden with default headers values
func (*CreatePresetForbidden) Code ¶
func (o *CreatePresetForbidden) Code() int
Code gets the status code for the create preset forbidden response
func (*CreatePresetForbidden) Error ¶
func (o *CreatePresetForbidden) Error() string
func (*CreatePresetForbidden) GetPayload ¶
func (o *CreatePresetForbidden) GetPayload() interface{}
func (*CreatePresetForbidden) IsClientError ¶
func (o *CreatePresetForbidden) IsClientError() bool
IsClientError returns true when this create preset forbidden response has a 4xx status code
func (*CreatePresetForbidden) IsCode ¶
func (o *CreatePresetForbidden) IsCode(code int) bool
IsCode returns true when this create preset forbidden response a status code equal to that given
func (*CreatePresetForbidden) IsRedirect ¶
func (o *CreatePresetForbidden) IsRedirect() bool
IsRedirect returns true when this create preset forbidden response has a 3xx status code
func (*CreatePresetForbidden) IsServerError ¶
func (o *CreatePresetForbidden) IsServerError() bool
IsServerError returns true when this create preset forbidden response has a 5xx status code
func (*CreatePresetForbidden) IsSuccess ¶
func (o *CreatePresetForbidden) IsSuccess() bool
IsSuccess returns true when this create preset forbidden response has a 2xx status code
func (*CreatePresetForbidden) String ¶
func (o *CreatePresetForbidden) String() string
type CreatePresetNoContent ¶
type CreatePresetNoContent struct {
Payload interface{}
}
CreatePresetNoContent describes a response with status code 204, with default header values.
No content.
func NewCreatePresetNoContent ¶
func NewCreatePresetNoContent() *CreatePresetNoContent
NewCreatePresetNoContent creates a CreatePresetNoContent with default headers values
func (*CreatePresetNoContent) Code ¶
func (o *CreatePresetNoContent) Code() int
Code gets the status code for the create preset no content response
func (*CreatePresetNoContent) Error ¶
func (o *CreatePresetNoContent) Error() string
func (*CreatePresetNoContent) GetPayload ¶
func (o *CreatePresetNoContent) GetPayload() interface{}
func (*CreatePresetNoContent) IsClientError ¶
func (o *CreatePresetNoContent) IsClientError() bool
IsClientError returns true when this create preset no content response has a 4xx status code
func (*CreatePresetNoContent) IsCode ¶
func (o *CreatePresetNoContent) IsCode(code int) bool
IsCode returns true when this create preset no content response a status code equal to that given
func (*CreatePresetNoContent) IsRedirect ¶
func (o *CreatePresetNoContent) IsRedirect() bool
IsRedirect returns true when this create preset no content response has a 3xx status code
func (*CreatePresetNoContent) IsServerError ¶
func (o *CreatePresetNoContent) IsServerError() bool
IsServerError returns true when this create preset no content response has a 5xx status code
func (*CreatePresetNoContent) IsSuccess ¶
func (o *CreatePresetNoContent) IsSuccess() bool
IsSuccess returns true when this create preset no content response has a 2xx status code
func (*CreatePresetNoContent) String ¶
func (o *CreatePresetNoContent) String() string
type CreatePresetNotFound ¶
type CreatePresetNotFound struct {
Payload interface{}
}
CreatePresetNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewCreatePresetNotFound ¶
func NewCreatePresetNotFound() *CreatePresetNotFound
NewCreatePresetNotFound creates a CreatePresetNotFound with default headers values
func (*CreatePresetNotFound) Code ¶
func (o *CreatePresetNotFound) Code() int
Code gets the status code for the create preset not found response
func (*CreatePresetNotFound) Error ¶
func (o *CreatePresetNotFound) Error() string
func (*CreatePresetNotFound) GetPayload ¶
func (o *CreatePresetNotFound) GetPayload() interface{}
func (*CreatePresetNotFound) IsClientError ¶
func (o *CreatePresetNotFound) IsClientError() bool
IsClientError returns true when this create preset not found response has a 4xx status code
func (*CreatePresetNotFound) IsCode ¶
func (o *CreatePresetNotFound) IsCode(code int) bool
IsCode returns true when this create preset not found response a status code equal to that given
func (*CreatePresetNotFound) IsRedirect ¶
func (o *CreatePresetNotFound) IsRedirect() bool
IsRedirect returns true when this create preset not found response has a 3xx status code
func (*CreatePresetNotFound) IsServerError ¶
func (o *CreatePresetNotFound) IsServerError() bool
IsServerError returns true when this create preset not found response has a 5xx status code
func (*CreatePresetNotFound) IsSuccess ¶
func (o *CreatePresetNotFound) IsSuccess() bool
IsSuccess returns true when this create preset not found response has a 2xx status code
func (*CreatePresetNotFound) String ¶
func (o *CreatePresetNotFound) String() string
type CreatePresetOK ¶
type CreatePresetOK struct {
Payload *service_model.V1Preset
}
CreatePresetOK describes a response with status code 200, with default header values.
A successful response.
func NewCreatePresetOK ¶
func NewCreatePresetOK() *CreatePresetOK
NewCreatePresetOK creates a CreatePresetOK with default headers values
func (*CreatePresetOK) Code ¶
func (o *CreatePresetOK) Code() int
Code gets the status code for the create preset o k response
func (*CreatePresetOK) Error ¶
func (o *CreatePresetOK) Error() string
func (*CreatePresetOK) GetPayload ¶
func (o *CreatePresetOK) GetPayload() *service_model.V1Preset
func (*CreatePresetOK) IsClientError ¶
func (o *CreatePresetOK) IsClientError() bool
IsClientError returns true when this create preset o k response has a 4xx status code
func (*CreatePresetOK) IsCode ¶
func (o *CreatePresetOK) IsCode(code int) bool
IsCode returns true when this create preset o k response a status code equal to that given
func (*CreatePresetOK) IsRedirect ¶
func (o *CreatePresetOK) IsRedirect() bool
IsRedirect returns true when this create preset o k response has a 3xx status code
func (*CreatePresetOK) IsServerError ¶
func (o *CreatePresetOK) IsServerError() bool
IsServerError returns true when this create preset o k response has a 5xx status code
func (*CreatePresetOK) IsSuccess ¶
func (o *CreatePresetOK) IsSuccess() bool
IsSuccess returns true when this create preset o k response has a 2xx status code
func (*CreatePresetOK) String ¶
func (o *CreatePresetOK) String() string
type CreatePresetParams ¶
type CreatePresetParams struct { /* Body. Preset body */ Body *service_model.V1Preset /* Owner. Owner of the namespace */ Owner string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreatePresetParams contains all the parameters to send to the API endpoint
for the create preset operation. Typically these are written to a http.Request.
func NewCreatePresetParams ¶
func NewCreatePresetParams() *CreatePresetParams
NewCreatePresetParams creates a new CreatePresetParams 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 NewCreatePresetParamsWithContext ¶
func NewCreatePresetParamsWithContext(ctx context.Context) *CreatePresetParams
NewCreatePresetParamsWithContext creates a new CreatePresetParams object with the ability to set a context for a request.
func NewCreatePresetParamsWithHTTPClient ¶
func NewCreatePresetParamsWithHTTPClient(client *http.Client) *CreatePresetParams
NewCreatePresetParamsWithHTTPClient creates a new CreatePresetParams object with the ability to set a custom HTTPClient for a request.
func NewCreatePresetParamsWithTimeout ¶
func NewCreatePresetParamsWithTimeout(timeout time.Duration) *CreatePresetParams
NewCreatePresetParamsWithTimeout creates a new CreatePresetParams object with the ability to set a timeout on a request.
func (*CreatePresetParams) SetBody ¶
func (o *CreatePresetParams) SetBody(body *service_model.V1Preset)
SetBody adds the body to the create preset params
func (*CreatePresetParams) SetContext ¶
func (o *CreatePresetParams) SetContext(ctx context.Context)
SetContext adds the context to the create preset params
func (*CreatePresetParams) SetDefaults ¶
func (o *CreatePresetParams) SetDefaults()
SetDefaults hydrates default values in the create preset params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePresetParams) SetHTTPClient ¶
func (o *CreatePresetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create preset params
func (*CreatePresetParams) SetOwner ¶
func (o *CreatePresetParams) SetOwner(owner string)
SetOwner adds the owner to the create preset params
func (*CreatePresetParams) SetTimeout ¶
func (o *CreatePresetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create preset params
func (*CreatePresetParams) WithBody ¶
func (o *CreatePresetParams) WithBody(body *service_model.V1Preset) *CreatePresetParams
WithBody adds the body to the create preset params
func (*CreatePresetParams) WithContext ¶
func (o *CreatePresetParams) WithContext(ctx context.Context) *CreatePresetParams
WithContext adds the context to the create preset params
func (*CreatePresetParams) WithDefaults ¶
func (o *CreatePresetParams) WithDefaults() *CreatePresetParams
WithDefaults hydrates default values in the create preset params (not the query body).
All values with no default are reset to their zero value.
func (*CreatePresetParams) WithHTTPClient ¶
func (o *CreatePresetParams) WithHTTPClient(client *http.Client) *CreatePresetParams
WithHTTPClient adds the HTTPClient to the create preset params
func (*CreatePresetParams) WithOwner ¶
func (o *CreatePresetParams) WithOwner(owner string) *CreatePresetParams
WithOwner adds the owner to the create preset params
func (*CreatePresetParams) WithTimeout ¶
func (o *CreatePresetParams) WithTimeout(timeout time.Duration) *CreatePresetParams
WithTimeout adds the timeout to the create preset params
func (*CreatePresetParams) WriteToRequest ¶
func (o *CreatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreatePresetReader ¶
type CreatePresetReader struct {
// contains filtered or unexported fields
}
CreatePresetReader is a Reader for the CreatePreset structure.
func (*CreatePresetReader) ReadResponse ¶
func (o *CreatePresetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeletePresetDefault ¶
type DeletePresetDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
DeletePresetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewDeletePresetDefault ¶
func NewDeletePresetDefault(code int) *DeletePresetDefault
NewDeletePresetDefault creates a DeletePresetDefault with default headers values
func (*DeletePresetDefault) Code ¶
func (o *DeletePresetDefault) Code() int
Code gets the status code for the delete preset default response
func (*DeletePresetDefault) Error ¶
func (o *DeletePresetDefault) Error() string
func (*DeletePresetDefault) GetPayload ¶
func (o *DeletePresetDefault) GetPayload() *service_model.RuntimeError
func (*DeletePresetDefault) IsClientError ¶
func (o *DeletePresetDefault) IsClientError() bool
IsClientError returns true when this delete preset default response has a 4xx status code
func (*DeletePresetDefault) IsCode ¶
func (o *DeletePresetDefault) IsCode(code int) bool
IsCode returns true when this delete preset default response a status code equal to that given
func (*DeletePresetDefault) IsRedirect ¶
func (o *DeletePresetDefault) IsRedirect() bool
IsRedirect returns true when this delete preset default response has a 3xx status code
func (*DeletePresetDefault) IsServerError ¶
func (o *DeletePresetDefault) IsServerError() bool
IsServerError returns true when this delete preset default response has a 5xx status code
func (*DeletePresetDefault) IsSuccess ¶
func (o *DeletePresetDefault) IsSuccess() bool
IsSuccess returns true when this delete preset default response has a 2xx status code
func (*DeletePresetDefault) String ¶
func (o *DeletePresetDefault) String() string
type DeletePresetForbidden ¶
type DeletePresetForbidden struct {
Payload interface{}
}
DeletePresetForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewDeletePresetForbidden ¶
func NewDeletePresetForbidden() *DeletePresetForbidden
NewDeletePresetForbidden creates a DeletePresetForbidden with default headers values
func (*DeletePresetForbidden) Code ¶
func (o *DeletePresetForbidden) Code() int
Code gets the status code for the delete preset forbidden response
func (*DeletePresetForbidden) Error ¶
func (o *DeletePresetForbidden) Error() string
func (*DeletePresetForbidden) GetPayload ¶
func (o *DeletePresetForbidden) GetPayload() interface{}
func (*DeletePresetForbidden) IsClientError ¶
func (o *DeletePresetForbidden) IsClientError() bool
IsClientError returns true when this delete preset forbidden response has a 4xx status code
func (*DeletePresetForbidden) IsCode ¶
func (o *DeletePresetForbidden) IsCode(code int) bool
IsCode returns true when this delete preset forbidden response a status code equal to that given
func (*DeletePresetForbidden) IsRedirect ¶
func (o *DeletePresetForbidden) IsRedirect() bool
IsRedirect returns true when this delete preset forbidden response has a 3xx status code
func (*DeletePresetForbidden) IsServerError ¶
func (o *DeletePresetForbidden) IsServerError() bool
IsServerError returns true when this delete preset forbidden response has a 5xx status code
func (*DeletePresetForbidden) IsSuccess ¶
func (o *DeletePresetForbidden) IsSuccess() bool
IsSuccess returns true when this delete preset forbidden response has a 2xx status code
func (*DeletePresetForbidden) String ¶
func (o *DeletePresetForbidden) String() string
type DeletePresetNoContent ¶
type DeletePresetNoContent struct {
Payload interface{}
}
DeletePresetNoContent describes a response with status code 204, with default header values.
No content.
func NewDeletePresetNoContent ¶
func NewDeletePresetNoContent() *DeletePresetNoContent
NewDeletePresetNoContent creates a DeletePresetNoContent with default headers values
func (*DeletePresetNoContent) Code ¶
func (o *DeletePresetNoContent) Code() int
Code gets the status code for the delete preset no content response
func (*DeletePresetNoContent) Error ¶
func (o *DeletePresetNoContent) Error() string
func (*DeletePresetNoContent) GetPayload ¶
func (o *DeletePresetNoContent) GetPayload() interface{}
func (*DeletePresetNoContent) IsClientError ¶
func (o *DeletePresetNoContent) IsClientError() bool
IsClientError returns true when this delete preset no content response has a 4xx status code
func (*DeletePresetNoContent) IsCode ¶
func (o *DeletePresetNoContent) IsCode(code int) bool
IsCode returns true when this delete preset no content response a status code equal to that given
func (*DeletePresetNoContent) IsRedirect ¶
func (o *DeletePresetNoContent) IsRedirect() bool
IsRedirect returns true when this delete preset no content response has a 3xx status code
func (*DeletePresetNoContent) IsServerError ¶
func (o *DeletePresetNoContent) IsServerError() bool
IsServerError returns true when this delete preset no content response has a 5xx status code
func (*DeletePresetNoContent) IsSuccess ¶
func (o *DeletePresetNoContent) IsSuccess() bool
IsSuccess returns true when this delete preset no content response has a 2xx status code
func (*DeletePresetNoContent) String ¶
func (o *DeletePresetNoContent) String() string
type DeletePresetNotFound ¶
type DeletePresetNotFound struct {
Payload interface{}
}
DeletePresetNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewDeletePresetNotFound ¶
func NewDeletePresetNotFound() *DeletePresetNotFound
NewDeletePresetNotFound creates a DeletePresetNotFound with default headers values
func (*DeletePresetNotFound) Code ¶
func (o *DeletePresetNotFound) Code() int
Code gets the status code for the delete preset not found response
func (*DeletePresetNotFound) Error ¶
func (o *DeletePresetNotFound) Error() string
func (*DeletePresetNotFound) GetPayload ¶
func (o *DeletePresetNotFound) GetPayload() interface{}
func (*DeletePresetNotFound) IsClientError ¶
func (o *DeletePresetNotFound) IsClientError() bool
IsClientError returns true when this delete preset not found response has a 4xx status code
func (*DeletePresetNotFound) IsCode ¶
func (o *DeletePresetNotFound) IsCode(code int) bool
IsCode returns true when this delete preset not found response a status code equal to that given
func (*DeletePresetNotFound) IsRedirect ¶
func (o *DeletePresetNotFound) IsRedirect() bool
IsRedirect returns true when this delete preset not found response has a 3xx status code
func (*DeletePresetNotFound) IsServerError ¶
func (o *DeletePresetNotFound) IsServerError() bool
IsServerError returns true when this delete preset not found response has a 5xx status code
func (*DeletePresetNotFound) IsSuccess ¶
func (o *DeletePresetNotFound) IsSuccess() bool
IsSuccess returns true when this delete preset not found response has a 2xx status code
func (*DeletePresetNotFound) String ¶
func (o *DeletePresetNotFound) String() string
type DeletePresetOK ¶
type DeletePresetOK struct { }
DeletePresetOK describes a response with status code 200, with default header values.
A successful response.
func NewDeletePresetOK ¶
func NewDeletePresetOK() *DeletePresetOK
NewDeletePresetOK creates a DeletePresetOK with default headers values
func (*DeletePresetOK) Code ¶
func (o *DeletePresetOK) Code() int
Code gets the status code for the delete preset o k response
func (*DeletePresetOK) Error ¶
func (o *DeletePresetOK) Error() string
func (*DeletePresetOK) IsClientError ¶
func (o *DeletePresetOK) IsClientError() bool
IsClientError returns true when this delete preset o k response has a 4xx status code
func (*DeletePresetOK) IsCode ¶
func (o *DeletePresetOK) IsCode(code int) bool
IsCode returns true when this delete preset o k response a status code equal to that given
func (*DeletePresetOK) IsRedirect ¶
func (o *DeletePresetOK) IsRedirect() bool
IsRedirect returns true when this delete preset o k response has a 3xx status code
func (*DeletePresetOK) IsServerError ¶
func (o *DeletePresetOK) IsServerError() bool
IsServerError returns true when this delete preset o k response has a 5xx status code
func (*DeletePresetOK) IsSuccess ¶
func (o *DeletePresetOK) IsSuccess() bool
IsSuccess returns true when this delete preset o k response has a 2xx status code
func (*DeletePresetOK) String ¶
func (o *DeletePresetOK) String() string
type DeletePresetParams ¶
type DeletePresetParams struct { /* Entity. Entity: project name, hub name, registry name, ... */ Entity *string /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the sub-entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeletePresetParams contains all the parameters to send to the API endpoint
for the delete preset operation. Typically these are written to a http.Request.
func NewDeletePresetParams ¶
func NewDeletePresetParams() *DeletePresetParams
NewDeletePresetParams creates a new DeletePresetParams 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 NewDeletePresetParamsWithContext ¶
func NewDeletePresetParamsWithContext(ctx context.Context) *DeletePresetParams
NewDeletePresetParamsWithContext creates a new DeletePresetParams object with the ability to set a context for a request.
func NewDeletePresetParamsWithHTTPClient ¶
func NewDeletePresetParamsWithHTTPClient(client *http.Client) *DeletePresetParams
NewDeletePresetParamsWithHTTPClient creates a new DeletePresetParams object with the ability to set a custom HTTPClient for a request.
func NewDeletePresetParamsWithTimeout ¶
func NewDeletePresetParamsWithTimeout(timeout time.Duration) *DeletePresetParams
NewDeletePresetParamsWithTimeout creates a new DeletePresetParams object with the ability to set a timeout on a request.
func (*DeletePresetParams) SetContext ¶
func (o *DeletePresetParams) SetContext(ctx context.Context)
SetContext adds the context to the delete preset params
func (*DeletePresetParams) SetDefaults ¶
func (o *DeletePresetParams) SetDefaults()
SetDefaults hydrates default values in the delete preset params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePresetParams) SetEntity ¶
func (o *DeletePresetParams) SetEntity(entity *string)
SetEntity adds the entity to the delete preset params
func (*DeletePresetParams) SetHTTPClient ¶
func (o *DeletePresetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete preset params
func (*DeletePresetParams) SetOwner ¶
func (o *DeletePresetParams) SetOwner(owner string)
SetOwner adds the owner to the delete preset params
func (*DeletePresetParams) SetTimeout ¶
func (o *DeletePresetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete preset params
func (*DeletePresetParams) SetUUID ¶
func (o *DeletePresetParams) SetUUID(uuid string)
SetUUID adds the uuid to the delete preset params
func (*DeletePresetParams) WithContext ¶
func (o *DeletePresetParams) WithContext(ctx context.Context) *DeletePresetParams
WithContext adds the context to the delete preset params
func (*DeletePresetParams) WithDefaults ¶
func (o *DeletePresetParams) WithDefaults() *DeletePresetParams
WithDefaults hydrates default values in the delete preset params (not the query body).
All values with no default are reset to their zero value.
func (*DeletePresetParams) WithEntity ¶
func (o *DeletePresetParams) WithEntity(entity *string) *DeletePresetParams
WithEntity adds the entity to the delete preset params
func (*DeletePresetParams) WithHTTPClient ¶
func (o *DeletePresetParams) WithHTTPClient(client *http.Client) *DeletePresetParams
WithHTTPClient adds the HTTPClient to the delete preset params
func (*DeletePresetParams) WithOwner ¶
func (o *DeletePresetParams) WithOwner(owner string) *DeletePresetParams
WithOwner adds the owner to the delete preset params
func (*DeletePresetParams) WithTimeout ¶
func (o *DeletePresetParams) WithTimeout(timeout time.Duration) *DeletePresetParams
WithTimeout adds the timeout to the delete preset params
func (*DeletePresetParams) WithUUID ¶
func (o *DeletePresetParams) WithUUID(uuid string) *DeletePresetParams
WithUUID adds the uuid to the delete preset params
func (*DeletePresetParams) WriteToRequest ¶
func (o *DeletePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeletePresetReader ¶
type DeletePresetReader struct {
// contains filtered or unexported fields
}
DeletePresetReader is a Reader for the DeletePreset structure.
func (*DeletePresetReader) ReadResponse ¶
func (o *DeletePresetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPresetDefault ¶
type GetPresetDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
GetPresetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewGetPresetDefault ¶
func NewGetPresetDefault(code int) *GetPresetDefault
NewGetPresetDefault creates a GetPresetDefault with default headers values
func (*GetPresetDefault) Code ¶
func (o *GetPresetDefault) Code() int
Code gets the status code for the get preset default response
func (*GetPresetDefault) Error ¶
func (o *GetPresetDefault) Error() string
func (*GetPresetDefault) GetPayload ¶
func (o *GetPresetDefault) GetPayload() *service_model.RuntimeError
func (*GetPresetDefault) IsClientError ¶
func (o *GetPresetDefault) IsClientError() bool
IsClientError returns true when this get preset default response has a 4xx status code
func (*GetPresetDefault) IsCode ¶
func (o *GetPresetDefault) IsCode(code int) bool
IsCode returns true when this get preset default response a status code equal to that given
func (*GetPresetDefault) IsRedirect ¶
func (o *GetPresetDefault) IsRedirect() bool
IsRedirect returns true when this get preset default response has a 3xx status code
func (*GetPresetDefault) IsServerError ¶
func (o *GetPresetDefault) IsServerError() bool
IsServerError returns true when this get preset default response has a 5xx status code
func (*GetPresetDefault) IsSuccess ¶
func (o *GetPresetDefault) IsSuccess() bool
IsSuccess returns true when this get preset default response has a 2xx status code
func (*GetPresetDefault) String ¶
func (o *GetPresetDefault) String() string
type GetPresetForbidden ¶
type GetPresetForbidden struct {
Payload interface{}
}
GetPresetForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewGetPresetForbidden ¶
func NewGetPresetForbidden() *GetPresetForbidden
NewGetPresetForbidden creates a GetPresetForbidden with default headers values
func (*GetPresetForbidden) Code ¶
func (o *GetPresetForbidden) Code() int
Code gets the status code for the get preset forbidden response
func (*GetPresetForbidden) Error ¶
func (o *GetPresetForbidden) Error() string
func (*GetPresetForbidden) GetPayload ¶
func (o *GetPresetForbidden) GetPayload() interface{}
func (*GetPresetForbidden) IsClientError ¶
func (o *GetPresetForbidden) IsClientError() bool
IsClientError returns true when this get preset forbidden response has a 4xx status code
func (*GetPresetForbidden) IsCode ¶
func (o *GetPresetForbidden) IsCode(code int) bool
IsCode returns true when this get preset forbidden response a status code equal to that given
func (*GetPresetForbidden) IsRedirect ¶
func (o *GetPresetForbidden) IsRedirect() bool
IsRedirect returns true when this get preset forbidden response has a 3xx status code
func (*GetPresetForbidden) IsServerError ¶
func (o *GetPresetForbidden) IsServerError() bool
IsServerError returns true when this get preset forbidden response has a 5xx status code
func (*GetPresetForbidden) IsSuccess ¶
func (o *GetPresetForbidden) IsSuccess() bool
IsSuccess returns true when this get preset forbidden response has a 2xx status code
func (*GetPresetForbidden) String ¶
func (o *GetPresetForbidden) String() string
type GetPresetNoContent ¶
type GetPresetNoContent struct {
Payload interface{}
}
GetPresetNoContent describes a response with status code 204, with default header values.
No content.
func NewGetPresetNoContent ¶
func NewGetPresetNoContent() *GetPresetNoContent
NewGetPresetNoContent creates a GetPresetNoContent with default headers values
func (*GetPresetNoContent) Code ¶
func (o *GetPresetNoContent) Code() int
Code gets the status code for the get preset no content response
func (*GetPresetNoContent) Error ¶
func (o *GetPresetNoContent) Error() string
func (*GetPresetNoContent) GetPayload ¶
func (o *GetPresetNoContent) GetPayload() interface{}
func (*GetPresetNoContent) IsClientError ¶
func (o *GetPresetNoContent) IsClientError() bool
IsClientError returns true when this get preset no content response has a 4xx status code
func (*GetPresetNoContent) IsCode ¶
func (o *GetPresetNoContent) IsCode(code int) bool
IsCode returns true when this get preset no content response a status code equal to that given
func (*GetPresetNoContent) IsRedirect ¶
func (o *GetPresetNoContent) IsRedirect() bool
IsRedirect returns true when this get preset no content response has a 3xx status code
func (*GetPresetNoContent) IsServerError ¶
func (o *GetPresetNoContent) IsServerError() bool
IsServerError returns true when this get preset no content response has a 5xx status code
func (*GetPresetNoContent) IsSuccess ¶
func (o *GetPresetNoContent) IsSuccess() bool
IsSuccess returns true when this get preset no content response has a 2xx status code
func (*GetPresetNoContent) String ¶
func (o *GetPresetNoContent) String() string
type GetPresetNotFound ¶
type GetPresetNotFound struct {
Payload interface{}
}
GetPresetNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewGetPresetNotFound ¶
func NewGetPresetNotFound() *GetPresetNotFound
NewGetPresetNotFound creates a GetPresetNotFound with default headers values
func (*GetPresetNotFound) Code ¶
func (o *GetPresetNotFound) Code() int
Code gets the status code for the get preset not found response
func (*GetPresetNotFound) Error ¶
func (o *GetPresetNotFound) Error() string
func (*GetPresetNotFound) GetPayload ¶
func (o *GetPresetNotFound) GetPayload() interface{}
func (*GetPresetNotFound) IsClientError ¶
func (o *GetPresetNotFound) IsClientError() bool
IsClientError returns true when this get preset not found response has a 4xx status code
func (*GetPresetNotFound) IsCode ¶
func (o *GetPresetNotFound) IsCode(code int) bool
IsCode returns true when this get preset not found response a status code equal to that given
func (*GetPresetNotFound) IsRedirect ¶
func (o *GetPresetNotFound) IsRedirect() bool
IsRedirect returns true when this get preset not found response has a 3xx status code
func (*GetPresetNotFound) IsServerError ¶
func (o *GetPresetNotFound) IsServerError() bool
IsServerError returns true when this get preset not found response has a 5xx status code
func (*GetPresetNotFound) IsSuccess ¶
func (o *GetPresetNotFound) IsSuccess() bool
IsSuccess returns true when this get preset not found response has a 2xx status code
func (*GetPresetNotFound) String ¶
func (o *GetPresetNotFound) String() string
type GetPresetOK ¶
type GetPresetOK struct {
Payload *service_model.V1Preset
}
GetPresetOK describes a response with status code 200, with default header values.
A successful response.
func NewGetPresetOK ¶
func NewGetPresetOK() *GetPresetOK
NewGetPresetOK creates a GetPresetOK with default headers values
func (*GetPresetOK) Code ¶
func (o *GetPresetOK) Code() int
Code gets the status code for the get preset o k response
func (*GetPresetOK) Error ¶
func (o *GetPresetOK) Error() string
func (*GetPresetOK) GetPayload ¶
func (o *GetPresetOK) GetPayload() *service_model.V1Preset
func (*GetPresetOK) IsClientError ¶
func (o *GetPresetOK) IsClientError() bool
IsClientError returns true when this get preset o k response has a 4xx status code
func (*GetPresetOK) IsCode ¶
func (o *GetPresetOK) IsCode(code int) bool
IsCode returns true when this get preset o k response a status code equal to that given
func (*GetPresetOK) IsRedirect ¶
func (o *GetPresetOK) IsRedirect() bool
IsRedirect returns true when this get preset o k response has a 3xx status code
func (*GetPresetOK) IsServerError ¶
func (o *GetPresetOK) IsServerError() bool
IsServerError returns true when this get preset o k response has a 5xx status code
func (*GetPresetOK) IsSuccess ¶
func (o *GetPresetOK) IsSuccess() bool
IsSuccess returns true when this get preset o k response has a 2xx status code
func (*GetPresetOK) String ¶
func (o *GetPresetOK) String() string
type GetPresetParams ¶
type GetPresetParams struct { /* Entity. Entity: project name, hub name, registry name, ... */ Entity *string /* Owner. Owner of the namespace */ Owner string /* UUID. Uuid identifier of the sub-entity */ UUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPresetParams contains all the parameters to send to the API endpoint
for the get preset operation. Typically these are written to a http.Request.
func NewGetPresetParams ¶
func NewGetPresetParams() *GetPresetParams
NewGetPresetParams creates a new GetPresetParams 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 NewGetPresetParamsWithContext ¶
func NewGetPresetParamsWithContext(ctx context.Context) *GetPresetParams
NewGetPresetParamsWithContext creates a new GetPresetParams object with the ability to set a context for a request.
func NewGetPresetParamsWithHTTPClient ¶
func NewGetPresetParamsWithHTTPClient(client *http.Client) *GetPresetParams
NewGetPresetParamsWithHTTPClient creates a new GetPresetParams object with the ability to set a custom HTTPClient for a request.
func NewGetPresetParamsWithTimeout ¶
func NewGetPresetParamsWithTimeout(timeout time.Duration) *GetPresetParams
NewGetPresetParamsWithTimeout creates a new GetPresetParams object with the ability to set a timeout on a request.
func (*GetPresetParams) SetContext ¶
func (o *GetPresetParams) SetContext(ctx context.Context)
SetContext adds the context to the get preset params
func (*GetPresetParams) SetDefaults ¶
func (o *GetPresetParams) SetDefaults()
SetDefaults hydrates default values in the get preset params (not the query body).
All values with no default are reset to their zero value.
func (*GetPresetParams) SetEntity ¶
func (o *GetPresetParams) SetEntity(entity *string)
SetEntity adds the entity to the get preset params
func (*GetPresetParams) SetHTTPClient ¶
func (o *GetPresetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get preset params
func (*GetPresetParams) SetOwner ¶
func (o *GetPresetParams) SetOwner(owner string)
SetOwner adds the owner to the get preset params
func (*GetPresetParams) SetTimeout ¶
func (o *GetPresetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get preset params
func (*GetPresetParams) SetUUID ¶
func (o *GetPresetParams) SetUUID(uuid string)
SetUUID adds the uuid to the get preset params
func (*GetPresetParams) WithContext ¶
func (o *GetPresetParams) WithContext(ctx context.Context) *GetPresetParams
WithContext adds the context to the get preset params
func (*GetPresetParams) WithDefaults ¶
func (o *GetPresetParams) WithDefaults() *GetPresetParams
WithDefaults hydrates default values in the get preset params (not the query body).
All values with no default are reset to their zero value.
func (*GetPresetParams) WithEntity ¶
func (o *GetPresetParams) WithEntity(entity *string) *GetPresetParams
WithEntity adds the entity to the get preset params
func (*GetPresetParams) WithHTTPClient ¶
func (o *GetPresetParams) WithHTTPClient(client *http.Client) *GetPresetParams
WithHTTPClient adds the HTTPClient to the get preset params
func (*GetPresetParams) WithOwner ¶
func (o *GetPresetParams) WithOwner(owner string) *GetPresetParams
WithOwner adds the owner to the get preset params
func (*GetPresetParams) WithTimeout ¶
func (o *GetPresetParams) WithTimeout(timeout time.Duration) *GetPresetParams
WithTimeout adds the timeout to the get preset params
func (*GetPresetParams) WithUUID ¶
func (o *GetPresetParams) WithUUID(uuid string) *GetPresetParams
WithUUID adds the uuid to the get preset params
func (*GetPresetParams) WriteToRequest ¶
func (o *GetPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPresetReader ¶
type GetPresetReader struct {
// contains filtered or unexported fields
}
GetPresetReader is a Reader for the GetPreset structure.
func (*GetPresetReader) ReadResponse ¶
func (o *GetPresetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPresetNamesDefault ¶
type ListPresetNamesDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListPresetNamesDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPresetNamesDefault ¶
func NewListPresetNamesDefault(code int) *ListPresetNamesDefault
NewListPresetNamesDefault creates a ListPresetNamesDefault with default headers values
func (*ListPresetNamesDefault) Code ¶
func (o *ListPresetNamesDefault) Code() int
Code gets the status code for the list preset names default response
func (*ListPresetNamesDefault) Error ¶
func (o *ListPresetNamesDefault) Error() string
func (*ListPresetNamesDefault) GetPayload ¶
func (o *ListPresetNamesDefault) GetPayload() *service_model.RuntimeError
func (*ListPresetNamesDefault) IsClientError ¶
func (o *ListPresetNamesDefault) IsClientError() bool
IsClientError returns true when this list preset names default response has a 4xx status code
func (*ListPresetNamesDefault) IsCode ¶
func (o *ListPresetNamesDefault) IsCode(code int) bool
IsCode returns true when this list preset names default response a status code equal to that given
func (*ListPresetNamesDefault) IsRedirect ¶
func (o *ListPresetNamesDefault) IsRedirect() bool
IsRedirect returns true when this list preset names default response has a 3xx status code
func (*ListPresetNamesDefault) IsServerError ¶
func (o *ListPresetNamesDefault) IsServerError() bool
IsServerError returns true when this list preset names default response has a 5xx status code
func (*ListPresetNamesDefault) IsSuccess ¶
func (o *ListPresetNamesDefault) IsSuccess() bool
IsSuccess returns true when this list preset names default response has a 2xx status code
func (*ListPresetNamesDefault) String ¶
func (o *ListPresetNamesDefault) String() string
type ListPresetNamesForbidden ¶
type ListPresetNamesForbidden struct {
Payload interface{}
}
ListPresetNamesForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListPresetNamesForbidden ¶
func NewListPresetNamesForbidden() *ListPresetNamesForbidden
NewListPresetNamesForbidden creates a ListPresetNamesForbidden with default headers values
func (*ListPresetNamesForbidden) Code ¶
func (o *ListPresetNamesForbidden) Code() int
Code gets the status code for the list preset names forbidden response
func (*ListPresetNamesForbidden) Error ¶
func (o *ListPresetNamesForbidden) Error() string
func (*ListPresetNamesForbidden) GetPayload ¶
func (o *ListPresetNamesForbidden) GetPayload() interface{}
func (*ListPresetNamesForbidden) IsClientError ¶
func (o *ListPresetNamesForbidden) IsClientError() bool
IsClientError returns true when this list preset names forbidden response has a 4xx status code
func (*ListPresetNamesForbidden) IsCode ¶
func (o *ListPresetNamesForbidden) IsCode(code int) bool
IsCode returns true when this list preset names forbidden response a status code equal to that given
func (*ListPresetNamesForbidden) IsRedirect ¶
func (o *ListPresetNamesForbidden) IsRedirect() bool
IsRedirect returns true when this list preset names forbidden response has a 3xx status code
func (*ListPresetNamesForbidden) IsServerError ¶
func (o *ListPresetNamesForbidden) IsServerError() bool
IsServerError returns true when this list preset names forbidden response has a 5xx status code
func (*ListPresetNamesForbidden) IsSuccess ¶
func (o *ListPresetNamesForbidden) IsSuccess() bool
IsSuccess returns true when this list preset names forbidden response has a 2xx status code
func (*ListPresetNamesForbidden) String ¶
func (o *ListPresetNamesForbidden) String() string
type ListPresetNamesNoContent ¶
type ListPresetNamesNoContent struct {
Payload interface{}
}
ListPresetNamesNoContent describes a response with status code 204, with default header values.
No content.
func NewListPresetNamesNoContent ¶
func NewListPresetNamesNoContent() *ListPresetNamesNoContent
NewListPresetNamesNoContent creates a ListPresetNamesNoContent with default headers values
func (*ListPresetNamesNoContent) Code ¶
func (o *ListPresetNamesNoContent) Code() int
Code gets the status code for the list preset names no content response
func (*ListPresetNamesNoContent) Error ¶
func (o *ListPresetNamesNoContent) Error() string
func (*ListPresetNamesNoContent) GetPayload ¶
func (o *ListPresetNamesNoContent) GetPayload() interface{}
func (*ListPresetNamesNoContent) IsClientError ¶
func (o *ListPresetNamesNoContent) IsClientError() bool
IsClientError returns true when this list preset names no content response has a 4xx status code
func (*ListPresetNamesNoContent) IsCode ¶
func (o *ListPresetNamesNoContent) IsCode(code int) bool
IsCode returns true when this list preset names no content response a status code equal to that given
func (*ListPresetNamesNoContent) IsRedirect ¶
func (o *ListPresetNamesNoContent) IsRedirect() bool
IsRedirect returns true when this list preset names no content response has a 3xx status code
func (*ListPresetNamesNoContent) IsServerError ¶
func (o *ListPresetNamesNoContent) IsServerError() bool
IsServerError returns true when this list preset names no content response has a 5xx status code
func (*ListPresetNamesNoContent) IsSuccess ¶
func (o *ListPresetNamesNoContent) IsSuccess() bool
IsSuccess returns true when this list preset names no content response has a 2xx status code
func (*ListPresetNamesNoContent) String ¶
func (o *ListPresetNamesNoContent) String() string
type ListPresetNamesNotFound ¶
type ListPresetNamesNotFound struct {
Payload interface{}
}
ListPresetNamesNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListPresetNamesNotFound ¶
func NewListPresetNamesNotFound() *ListPresetNamesNotFound
NewListPresetNamesNotFound creates a ListPresetNamesNotFound with default headers values
func (*ListPresetNamesNotFound) Code ¶
func (o *ListPresetNamesNotFound) Code() int
Code gets the status code for the list preset names not found response
func (*ListPresetNamesNotFound) Error ¶
func (o *ListPresetNamesNotFound) Error() string
func (*ListPresetNamesNotFound) GetPayload ¶
func (o *ListPresetNamesNotFound) GetPayload() interface{}
func (*ListPresetNamesNotFound) IsClientError ¶
func (o *ListPresetNamesNotFound) IsClientError() bool
IsClientError returns true when this list preset names not found response has a 4xx status code
func (*ListPresetNamesNotFound) IsCode ¶
func (o *ListPresetNamesNotFound) IsCode(code int) bool
IsCode returns true when this list preset names not found response a status code equal to that given
func (*ListPresetNamesNotFound) IsRedirect ¶
func (o *ListPresetNamesNotFound) IsRedirect() bool
IsRedirect returns true when this list preset names not found response has a 3xx status code
func (*ListPresetNamesNotFound) IsServerError ¶
func (o *ListPresetNamesNotFound) IsServerError() bool
IsServerError returns true when this list preset names not found response has a 5xx status code
func (*ListPresetNamesNotFound) IsSuccess ¶
func (o *ListPresetNamesNotFound) IsSuccess() bool
IsSuccess returns true when this list preset names not found response has a 2xx status code
func (*ListPresetNamesNotFound) String ¶
func (o *ListPresetNamesNotFound) String() string
type ListPresetNamesOK ¶
type ListPresetNamesOK struct {
Payload *service_model.V1ListPresetsResponse
}
ListPresetNamesOK describes a response with status code 200, with default header values.
A successful response.
func NewListPresetNamesOK ¶
func NewListPresetNamesOK() *ListPresetNamesOK
NewListPresetNamesOK creates a ListPresetNamesOK with default headers values
func (*ListPresetNamesOK) Code ¶
func (o *ListPresetNamesOK) Code() int
Code gets the status code for the list preset names o k response
func (*ListPresetNamesOK) Error ¶
func (o *ListPresetNamesOK) Error() string
func (*ListPresetNamesOK) GetPayload ¶
func (o *ListPresetNamesOK) GetPayload() *service_model.V1ListPresetsResponse
func (*ListPresetNamesOK) IsClientError ¶
func (o *ListPresetNamesOK) IsClientError() bool
IsClientError returns true when this list preset names o k response has a 4xx status code
func (*ListPresetNamesOK) IsCode ¶
func (o *ListPresetNamesOK) IsCode(code int) bool
IsCode returns true when this list preset names o k response a status code equal to that given
func (*ListPresetNamesOK) IsRedirect ¶
func (o *ListPresetNamesOK) IsRedirect() bool
IsRedirect returns true when this list preset names o k response has a 3xx status code
func (*ListPresetNamesOK) IsServerError ¶
func (o *ListPresetNamesOK) IsServerError() bool
IsServerError returns true when this list preset names o k response has a 5xx status code
func (*ListPresetNamesOK) IsSuccess ¶
func (o *ListPresetNamesOK) IsSuccess() bool
IsSuccess returns true when this list preset names o k response has a 2xx status code
func (*ListPresetNamesOK) String ¶
func (o *ListPresetNamesOK) String() string
type ListPresetNamesParams ¶
type ListPresetNamesParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPresetNamesParams contains all the parameters to send to the API endpoint
for the list preset names operation. Typically these are written to a http.Request.
func NewListPresetNamesParams ¶
func NewListPresetNamesParams() *ListPresetNamesParams
NewListPresetNamesParams creates a new ListPresetNamesParams 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 NewListPresetNamesParamsWithContext ¶
func NewListPresetNamesParamsWithContext(ctx context.Context) *ListPresetNamesParams
NewListPresetNamesParamsWithContext creates a new ListPresetNamesParams object with the ability to set a context for a request.
func NewListPresetNamesParamsWithHTTPClient ¶
func NewListPresetNamesParamsWithHTTPClient(client *http.Client) *ListPresetNamesParams
NewListPresetNamesParamsWithHTTPClient creates a new ListPresetNamesParams object with the ability to set a custom HTTPClient for a request.
func NewListPresetNamesParamsWithTimeout ¶
func NewListPresetNamesParamsWithTimeout(timeout time.Duration) *ListPresetNamesParams
NewListPresetNamesParamsWithTimeout creates a new ListPresetNamesParams object with the ability to set a timeout on a request.
func (*ListPresetNamesParams) SetBookmarks ¶
func (o *ListPresetNamesParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list preset names params
func (*ListPresetNamesParams) SetContext ¶
func (o *ListPresetNamesParams) SetContext(ctx context.Context)
SetContext adds the context to the list preset names params
func (*ListPresetNamesParams) SetDefaults ¶
func (o *ListPresetNamesParams) SetDefaults()
SetDefaults hydrates default values in the list preset names params (not the query body).
All values with no default are reset to their zero value.
func (*ListPresetNamesParams) SetHTTPClient ¶
func (o *ListPresetNamesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list preset names params
func (*ListPresetNamesParams) SetLimit ¶
func (o *ListPresetNamesParams) SetLimit(limit *int32)
SetLimit adds the limit to the list preset names params
func (*ListPresetNamesParams) SetMode ¶
func (o *ListPresetNamesParams) SetMode(mode *string)
SetMode adds the mode to the list preset names params
func (*ListPresetNamesParams) SetNoPage ¶
func (o *ListPresetNamesParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list preset names params
func (*ListPresetNamesParams) SetOffset ¶
func (o *ListPresetNamesParams) SetOffset(offset *int32)
SetOffset adds the offset to the list preset names params
func (*ListPresetNamesParams) SetOwner ¶
func (o *ListPresetNamesParams) SetOwner(owner string)
SetOwner adds the owner to the list preset names params
func (*ListPresetNamesParams) SetQuery ¶
func (o *ListPresetNamesParams) SetQuery(query *string)
SetQuery adds the query to the list preset names params
func (*ListPresetNamesParams) SetSort ¶
func (o *ListPresetNamesParams) SetSort(sort *string)
SetSort adds the sort to the list preset names params
func (*ListPresetNamesParams) SetTimeout ¶
func (o *ListPresetNamesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list preset names params
func (*ListPresetNamesParams) WithBookmarks ¶
func (o *ListPresetNamesParams) WithBookmarks(bookmarks *bool) *ListPresetNamesParams
WithBookmarks adds the bookmarks to the list preset names params
func (*ListPresetNamesParams) WithContext ¶
func (o *ListPresetNamesParams) WithContext(ctx context.Context) *ListPresetNamesParams
WithContext adds the context to the list preset names params
func (*ListPresetNamesParams) WithDefaults ¶
func (o *ListPresetNamesParams) WithDefaults() *ListPresetNamesParams
WithDefaults hydrates default values in the list preset names params (not the query body).
All values with no default are reset to their zero value.
func (*ListPresetNamesParams) WithHTTPClient ¶
func (o *ListPresetNamesParams) WithHTTPClient(client *http.Client) *ListPresetNamesParams
WithHTTPClient adds the HTTPClient to the list preset names params
func (*ListPresetNamesParams) WithLimit ¶
func (o *ListPresetNamesParams) WithLimit(limit *int32) *ListPresetNamesParams
WithLimit adds the limit to the list preset names params
func (*ListPresetNamesParams) WithMode ¶
func (o *ListPresetNamesParams) WithMode(mode *string) *ListPresetNamesParams
WithMode adds the mode to the list preset names params
func (*ListPresetNamesParams) WithNoPage ¶
func (o *ListPresetNamesParams) WithNoPage(noPage *bool) *ListPresetNamesParams
WithNoPage adds the noPage to the list preset names params
func (*ListPresetNamesParams) WithOffset ¶
func (o *ListPresetNamesParams) WithOffset(offset *int32) *ListPresetNamesParams
WithOffset adds the offset to the list preset names params
func (*ListPresetNamesParams) WithOwner ¶
func (o *ListPresetNamesParams) WithOwner(owner string) *ListPresetNamesParams
WithOwner adds the owner to the list preset names params
func (*ListPresetNamesParams) WithQuery ¶
func (o *ListPresetNamesParams) WithQuery(query *string) *ListPresetNamesParams
WithQuery adds the query to the list preset names params
func (*ListPresetNamesParams) WithSort ¶
func (o *ListPresetNamesParams) WithSort(sort *string) *ListPresetNamesParams
WithSort adds the sort to the list preset names params
func (*ListPresetNamesParams) WithTimeout ¶
func (o *ListPresetNamesParams) WithTimeout(timeout time.Duration) *ListPresetNamesParams
WithTimeout adds the timeout to the list preset names params
func (*ListPresetNamesParams) WriteToRequest ¶
func (o *ListPresetNamesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPresetNamesReader ¶
type ListPresetNamesReader struct {
// contains filtered or unexported fields
}
ListPresetNamesReader is a Reader for the ListPresetNames structure.
func (*ListPresetNamesReader) ReadResponse ¶
func (o *ListPresetNamesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListPresetsDefault ¶
type ListPresetsDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
ListPresetsDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewListPresetsDefault ¶
func NewListPresetsDefault(code int) *ListPresetsDefault
NewListPresetsDefault creates a ListPresetsDefault with default headers values
func (*ListPresetsDefault) Code ¶
func (o *ListPresetsDefault) Code() int
Code gets the status code for the list presets default response
func (*ListPresetsDefault) Error ¶
func (o *ListPresetsDefault) Error() string
func (*ListPresetsDefault) GetPayload ¶
func (o *ListPresetsDefault) GetPayload() *service_model.RuntimeError
func (*ListPresetsDefault) IsClientError ¶
func (o *ListPresetsDefault) IsClientError() bool
IsClientError returns true when this list presets default response has a 4xx status code
func (*ListPresetsDefault) IsCode ¶
func (o *ListPresetsDefault) IsCode(code int) bool
IsCode returns true when this list presets default response a status code equal to that given
func (*ListPresetsDefault) IsRedirect ¶
func (o *ListPresetsDefault) IsRedirect() bool
IsRedirect returns true when this list presets default response has a 3xx status code
func (*ListPresetsDefault) IsServerError ¶
func (o *ListPresetsDefault) IsServerError() bool
IsServerError returns true when this list presets default response has a 5xx status code
func (*ListPresetsDefault) IsSuccess ¶
func (o *ListPresetsDefault) IsSuccess() bool
IsSuccess returns true when this list presets default response has a 2xx status code
func (*ListPresetsDefault) String ¶
func (o *ListPresetsDefault) String() string
type ListPresetsForbidden ¶
type ListPresetsForbidden struct {
Payload interface{}
}
ListPresetsForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewListPresetsForbidden ¶
func NewListPresetsForbidden() *ListPresetsForbidden
NewListPresetsForbidden creates a ListPresetsForbidden with default headers values
func (*ListPresetsForbidden) Code ¶
func (o *ListPresetsForbidden) Code() int
Code gets the status code for the list presets forbidden response
func (*ListPresetsForbidden) Error ¶
func (o *ListPresetsForbidden) Error() string
func (*ListPresetsForbidden) GetPayload ¶
func (o *ListPresetsForbidden) GetPayload() interface{}
func (*ListPresetsForbidden) IsClientError ¶
func (o *ListPresetsForbidden) IsClientError() bool
IsClientError returns true when this list presets forbidden response has a 4xx status code
func (*ListPresetsForbidden) IsCode ¶
func (o *ListPresetsForbidden) IsCode(code int) bool
IsCode returns true when this list presets forbidden response a status code equal to that given
func (*ListPresetsForbidden) IsRedirect ¶
func (o *ListPresetsForbidden) IsRedirect() bool
IsRedirect returns true when this list presets forbidden response has a 3xx status code
func (*ListPresetsForbidden) IsServerError ¶
func (o *ListPresetsForbidden) IsServerError() bool
IsServerError returns true when this list presets forbidden response has a 5xx status code
func (*ListPresetsForbidden) IsSuccess ¶
func (o *ListPresetsForbidden) IsSuccess() bool
IsSuccess returns true when this list presets forbidden response has a 2xx status code
func (*ListPresetsForbidden) String ¶
func (o *ListPresetsForbidden) String() string
type ListPresetsNoContent ¶
type ListPresetsNoContent struct {
Payload interface{}
}
ListPresetsNoContent describes a response with status code 204, with default header values.
No content.
func NewListPresetsNoContent ¶
func NewListPresetsNoContent() *ListPresetsNoContent
NewListPresetsNoContent creates a ListPresetsNoContent with default headers values
func (*ListPresetsNoContent) Code ¶
func (o *ListPresetsNoContent) Code() int
Code gets the status code for the list presets no content response
func (*ListPresetsNoContent) Error ¶
func (o *ListPresetsNoContent) Error() string
func (*ListPresetsNoContent) GetPayload ¶
func (o *ListPresetsNoContent) GetPayload() interface{}
func (*ListPresetsNoContent) IsClientError ¶
func (o *ListPresetsNoContent) IsClientError() bool
IsClientError returns true when this list presets no content response has a 4xx status code
func (*ListPresetsNoContent) IsCode ¶
func (o *ListPresetsNoContent) IsCode(code int) bool
IsCode returns true when this list presets no content response a status code equal to that given
func (*ListPresetsNoContent) IsRedirect ¶
func (o *ListPresetsNoContent) IsRedirect() bool
IsRedirect returns true when this list presets no content response has a 3xx status code
func (*ListPresetsNoContent) IsServerError ¶
func (o *ListPresetsNoContent) IsServerError() bool
IsServerError returns true when this list presets no content response has a 5xx status code
func (*ListPresetsNoContent) IsSuccess ¶
func (o *ListPresetsNoContent) IsSuccess() bool
IsSuccess returns true when this list presets no content response has a 2xx status code
func (*ListPresetsNoContent) String ¶
func (o *ListPresetsNoContent) String() string
type ListPresetsNotFound ¶
type ListPresetsNotFound struct {
Payload interface{}
}
ListPresetsNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewListPresetsNotFound ¶
func NewListPresetsNotFound() *ListPresetsNotFound
NewListPresetsNotFound creates a ListPresetsNotFound with default headers values
func (*ListPresetsNotFound) Code ¶
func (o *ListPresetsNotFound) Code() int
Code gets the status code for the list presets not found response
func (*ListPresetsNotFound) Error ¶
func (o *ListPresetsNotFound) Error() string
func (*ListPresetsNotFound) GetPayload ¶
func (o *ListPresetsNotFound) GetPayload() interface{}
func (*ListPresetsNotFound) IsClientError ¶
func (o *ListPresetsNotFound) IsClientError() bool
IsClientError returns true when this list presets not found response has a 4xx status code
func (*ListPresetsNotFound) IsCode ¶
func (o *ListPresetsNotFound) IsCode(code int) bool
IsCode returns true when this list presets not found response a status code equal to that given
func (*ListPresetsNotFound) IsRedirect ¶
func (o *ListPresetsNotFound) IsRedirect() bool
IsRedirect returns true when this list presets not found response has a 3xx status code
func (*ListPresetsNotFound) IsServerError ¶
func (o *ListPresetsNotFound) IsServerError() bool
IsServerError returns true when this list presets not found response has a 5xx status code
func (*ListPresetsNotFound) IsSuccess ¶
func (o *ListPresetsNotFound) IsSuccess() bool
IsSuccess returns true when this list presets not found response has a 2xx status code
func (*ListPresetsNotFound) String ¶
func (o *ListPresetsNotFound) String() string
type ListPresetsOK ¶
type ListPresetsOK struct {
Payload *service_model.V1ListPresetsResponse
}
ListPresetsOK describes a response with status code 200, with default header values.
A successful response.
func NewListPresetsOK ¶
func NewListPresetsOK() *ListPresetsOK
NewListPresetsOK creates a ListPresetsOK with default headers values
func (*ListPresetsOK) Code ¶
func (o *ListPresetsOK) Code() int
Code gets the status code for the list presets o k response
func (*ListPresetsOK) Error ¶
func (o *ListPresetsOK) Error() string
func (*ListPresetsOK) GetPayload ¶
func (o *ListPresetsOK) GetPayload() *service_model.V1ListPresetsResponse
func (*ListPresetsOK) IsClientError ¶
func (o *ListPresetsOK) IsClientError() bool
IsClientError returns true when this list presets o k response has a 4xx status code
func (*ListPresetsOK) IsCode ¶
func (o *ListPresetsOK) IsCode(code int) bool
IsCode returns true when this list presets o k response a status code equal to that given
func (*ListPresetsOK) IsRedirect ¶
func (o *ListPresetsOK) IsRedirect() bool
IsRedirect returns true when this list presets o k response has a 3xx status code
func (*ListPresetsOK) IsServerError ¶
func (o *ListPresetsOK) IsServerError() bool
IsServerError returns true when this list presets o k response has a 5xx status code
func (*ListPresetsOK) IsSuccess ¶
func (o *ListPresetsOK) IsSuccess() bool
IsSuccess returns true when this list presets o k response has a 2xx status code
func (*ListPresetsOK) String ¶
func (o *ListPresetsOK) String() string
type ListPresetsParams ¶
type ListPresetsParams struct { /* Bookmarks. Filter by bookmarks. */ Bookmarks *bool /* Limit. Limit size. Format: int32 */ Limit *int32 /* Mode. Mode of the search. */ Mode *string /* NoPage. No pagination. */ NoPage *bool /* Offset. Pagination offset. Format: int32 */ Offset *int32 /* Owner. Owner of the namespace */ Owner string /* Query. Query filter the search. */ Query *string /* Sort. Sort to order the search. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListPresetsParams contains all the parameters to send to the API endpoint
for the list presets operation. Typically these are written to a http.Request.
func NewListPresetsParams ¶
func NewListPresetsParams() *ListPresetsParams
NewListPresetsParams creates a new ListPresetsParams 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 NewListPresetsParamsWithContext ¶
func NewListPresetsParamsWithContext(ctx context.Context) *ListPresetsParams
NewListPresetsParamsWithContext creates a new ListPresetsParams object with the ability to set a context for a request.
func NewListPresetsParamsWithHTTPClient ¶
func NewListPresetsParamsWithHTTPClient(client *http.Client) *ListPresetsParams
NewListPresetsParamsWithHTTPClient creates a new ListPresetsParams object with the ability to set a custom HTTPClient for a request.
func NewListPresetsParamsWithTimeout ¶
func NewListPresetsParamsWithTimeout(timeout time.Duration) *ListPresetsParams
NewListPresetsParamsWithTimeout creates a new ListPresetsParams object with the ability to set a timeout on a request.
func (*ListPresetsParams) SetBookmarks ¶
func (o *ListPresetsParams) SetBookmarks(bookmarks *bool)
SetBookmarks adds the bookmarks to the list presets params
func (*ListPresetsParams) SetContext ¶
func (o *ListPresetsParams) SetContext(ctx context.Context)
SetContext adds the context to the list presets params
func (*ListPresetsParams) SetDefaults ¶
func (o *ListPresetsParams) SetDefaults()
SetDefaults hydrates default values in the list presets params (not the query body).
All values with no default are reset to their zero value.
func (*ListPresetsParams) SetHTTPClient ¶
func (o *ListPresetsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list presets params
func (*ListPresetsParams) SetLimit ¶
func (o *ListPresetsParams) SetLimit(limit *int32)
SetLimit adds the limit to the list presets params
func (*ListPresetsParams) SetMode ¶
func (o *ListPresetsParams) SetMode(mode *string)
SetMode adds the mode to the list presets params
func (*ListPresetsParams) SetNoPage ¶
func (o *ListPresetsParams) SetNoPage(noPage *bool)
SetNoPage adds the noPage to the list presets params
func (*ListPresetsParams) SetOffset ¶
func (o *ListPresetsParams) SetOffset(offset *int32)
SetOffset adds the offset to the list presets params
func (*ListPresetsParams) SetOwner ¶
func (o *ListPresetsParams) SetOwner(owner string)
SetOwner adds the owner to the list presets params
func (*ListPresetsParams) SetQuery ¶
func (o *ListPresetsParams) SetQuery(query *string)
SetQuery adds the query to the list presets params
func (*ListPresetsParams) SetSort ¶
func (o *ListPresetsParams) SetSort(sort *string)
SetSort adds the sort to the list presets params
func (*ListPresetsParams) SetTimeout ¶
func (o *ListPresetsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list presets params
func (*ListPresetsParams) WithBookmarks ¶
func (o *ListPresetsParams) WithBookmarks(bookmarks *bool) *ListPresetsParams
WithBookmarks adds the bookmarks to the list presets params
func (*ListPresetsParams) WithContext ¶
func (o *ListPresetsParams) WithContext(ctx context.Context) *ListPresetsParams
WithContext adds the context to the list presets params
func (*ListPresetsParams) WithDefaults ¶
func (o *ListPresetsParams) WithDefaults() *ListPresetsParams
WithDefaults hydrates default values in the list presets params (not the query body).
All values with no default are reset to their zero value.
func (*ListPresetsParams) WithHTTPClient ¶
func (o *ListPresetsParams) WithHTTPClient(client *http.Client) *ListPresetsParams
WithHTTPClient adds the HTTPClient to the list presets params
func (*ListPresetsParams) WithLimit ¶
func (o *ListPresetsParams) WithLimit(limit *int32) *ListPresetsParams
WithLimit adds the limit to the list presets params
func (*ListPresetsParams) WithMode ¶
func (o *ListPresetsParams) WithMode(mode *string) *ListPresetsParams
WithMode adds the mode to the list presets params
func (*ListPresetsParams) WithNoPage ¶
func (o *ListPresetsParams) WithNoPage(noPage *bool) *ListPresetsParams
WithNoPage adds the noPage to the list presets params
func (*ListPresetsParams) WithOffset ¶
func (o *ListPresetsParams) WithOffset(offset *int32) *ListPresetsParams
WithOffset adds the offset to the list presets params
func (*ListPresetsParams) WithOwner ¶
func (o *ListPresetsParams) WithOwner(owner string) *ListPresetsParams
WithOwner adds the owner to the list presets params
func (*ListPresetsParams) WithQuery ¶
func (o *ListPresetsParams) WithQuery(query *string) *ListPresetsParams
WithQuery adds the query to the list presets params
func (*ListPresetsParams) WithSort ¶
func (o *ListPresetsParams) WithSort(sort *string) *ListPresetsParams
WithSort adds the sort to the list presets params
func (*ListPresetsParams) WithTimeout ¶
func (o *ListPresetsParams) WithTimeout(timeout time.Duration) *ListPresetsParams
WithTimeout adds the timeout to the list presets params
func (*ListPresetsParams) WriteToRequest ¶
func (o *ListPresetsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListPresetsReader ¶
type ListPresetsReader struct {
// contains filtered or unexported fields
}
ListPresetsReader is a Reader for the ListPresets structure.
func (*ListPresetsReader) ReadResponse ¶
func (o *ListPresetsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PatchPresetDefault ¶
type PatchPresetDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
PatchPresetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewPatchPresetDefault ¶
func NewPatchPresetDefault(code int) *PatchPresetDefault
NewPatchPresetDefault creates a PatchPresetDefault with default headers values
func (*PatchPresetDefault) Code ¶
func (o *PatchPresetDefault) Code() int
Code gets the status code for the patch preset default response
func (*PatchPresetDefault) Error ¶
func (o *PatchPresetDefault) Error() string
func (*PatchPresetDefault) GetPayload ¶
func (o *PatchPresetDefault) GetPayload() *service_model.RuntimeError
func (*PatchPresetDefault) IsClientError ¶
func (o *PatchPresetDefault) IsClientError() bool
IsClientError returns true when this patch preset default response has a 4xx status code
func (*PatchPresetDefault) IsCode ¶
func (o *PatchPresetDefault) IsCode(code int) bool
IsCode returns true when this patch preset default response a status code equal to that given
func (*PatchPresetDefault) IsRedirect ¶
func (o *PatchPresetDefault) IsRedirect() bool
IsRedirect returns true when this patch preset default response has a 3xx status code
func (*PatchPresetDefault) IsServerError ¶
func (o *PatchPresetDefault) IsServerError() bool
IsServerError returns true when this patch preset default response has a 5xx status code
func (*PatchPresetDefault) IsSuccess ¶
func (o *PatchPresetDefault) IsSuccess() bool
IsSuccess returns true when this patch preset default response has a 2xx status code
func (*PatchPresetDefault) String ¶
func (o *PatchPresetDefault) String() string
type PatchPresetForbidden ¶
type PatchPresetForbidden struct {
Payload interface{}
}
PatchPresetForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewPatchPresetForbidden ¶
func NewPatchPresetForbidden() *PatchPresetForbidden
NewPatchPresetForbidden creates a PatchPresetForbidden with default headers values
func (*PatchPresetForbidden) Code ¶
func (o *PatchPresetForbidden) Code() int
Code gets the status code for the patch preset forbidden response
func (*PatchPresetForbidden) Error ¶
func (o *PatchPresetForbidden) Error() string
func (*PatchPresetForbidden) GetPayload ¶
func (o *PatchPresetForbidden) GetPayload() interface{}
func (*PatchPresetForbidden) IsClientError ¶
func (o *PatchPresetForbidden) IsClientError() bool
IsClientError returns true when this patch preset forbidden response has a 4xx status code
func (*PatchPresetForbidden) IsCode ¶
func (o *PatchPresetForbidden) IsCode(code int) bool
IsCode returns true when this patch preset forbidden response a status code equal to that given
func (*PatchPresetForbidden) IsRedirect ¶
func (o *PatchPresetForbidden) IsRedirect() bool
IsRedirect returns true when this patch preset forbidden response has a 3xx status code
func (*PatchPresetForbidden) IsServerError ¶
func (o *PatchPresetForbidden) IsServerError() bool
IsServerError returns true when this patch preset forbidden response has a 5xx status code
func (*PatchPresetForbidden) IsSuccess ¶
func (o *PatchPresetForbidden) IsSuccess() bool
IsSuccess returns true when this patch preset forbidden response has a 2xx status code
func (*PatchPresetForbidden) String ¶
func (o *PatchPresetForbidden) String() string
type PatchPresetNoContent ¶
type PatchPresetNoContent struct {
Payload interface{}
}
PatchPresetNoContent describes a response with status code 204, with default header values.
No content.
func NewPatchPresetNoContent ¶
func NewPatchPresetNoContent() *PatchPresetNoContent
NewPatchPresetNoContent creates a PatchPresetNoContent with default headers values
func (*PatchPresetNoContent) Code ¶
func (o *PatchPresetNoContent) Code() int
Code gets the status code for the patch preset no content response
func (*PatchPresetNoContent) Error ¶
func (o *PatchPresetNoContent) Error() string
func (*PatchPresetNoContent) GetPayload ¶
func (o *PatchPresetNoContent) GetPayload() interface{}
func (*PatchPresetNoContent) IsClientError ¶
func (o *PatchPresetNoContent) IsClientError() bool
IsClientError returns true when this patch preset no content response has a 4xx status code
func (*PatchPresetNoContent) IsCode ¶
func (o *PatchPresetNoContent) IsCode(code int) bool
IsCode returns true when this patch preset no content response a status code equal to that given
func (*PatchPresetNoContent) IsRedirect ¶
func (o *PatchPresetNoContent) IsRedirect() bool
IsRedirect returns true when this patch preset no content response has a 3xx status code
func (*PatchPresetNoContent) IsServerError ¶
func (o *PatchPresetNoContent) IsServerError() bool
IsServerError returns true when this patch preset no content response has a 5xx status code
func (*PatchPresetNoContent) IsSuccess ¶
func (o *PatchPresetNoContent) IsSuccess() bool
IsSuccess returns true when this patch preset no content response has a 2xx status code
func (*PatchPresetNoContent) String ¶
func (o *PatchPresetNoContent) String() string
type PatchPresetNotFound ¶
type PatchPresetNotFound struct {
Payload interface{}
}
PatchPresetNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewPatchPresetNotFound ¶
func NewPatchPresetNotFound() *PatchPresetNotFound
NewPatchPresetNotFound creates a PatchPresetNotFound with default headers values
func (*PatchPresetNotFound) Code ¶
func (o *PatchPresetNotFound) Code() int
Code gets the status code for the patch preset not found response
func (*PatchPresetNotFound) Error ¶
func (o *PatchPresetNotFound) Error() string
func (*PatchPresetNotFound) GetPayload ¶
func (o *PatchPresetNotFound) GetPayload() interface{}
func (*PatchPresetNotFound) IsClientError ¶
func (o *PatchPresetNotFound) IsClientError() bool
IsClientError returns true when this patch preset not found response has a 4xx status code
func (*PatchPresetNotFound) IsCode ¶
func (o *PatchPresetNotFound) IsCode(code int) bool
IsCode returns true when this patch preset not found response a status code equal to that given
func (*PatchPresetNotFound) IsRedirect ¶
func (o *PatchPresetNotFound) IsRedirect() bool
IsRedirect returns true when this patch preset not found response has a 3xx status code
func (*PatchPresetNotFound) IsServerError ¶
func (o *PatchPresetNotFound) IsServerError() bool
IsServerError returns true when this patch preset not found response has a 5xx status code
func (*PatchPresetNotFound) IsSuccess ¶
func (o *PatchPresetNotFound) IsSuccess() bool
IsSuccess returns true when this patch preset not found response has a 2xx status code
func (*PatchPresetNotFound) String ¶
func (o *PatchPresetNotFound) String() string
type PatchPresetOK ¶
type PatchPresetOK struct {
Payload *service_model.V1Preset
}
PatchPresetOK describes a response with status code 200, with default header values.
A successful response.
func NewPatchPresetOK ¶
func NewPatchPresetOK() *PatchPresetOK
NewPatchPresetOK creates a PatchPresetOK with default headers values
func (*PatchPresetOK) Code ¶
func (o *PatchPresetOK) Code() int
Code gets the status code for the patch preset o k response
func (*PatchPresetOK) Error ¶
func (o *PatchPresetOK) Error() string
func (*PatchPresetOK) GetPayload ¶
func (o *PatchPresetOK) GetPayload() *service_model.V1Preset
func (*PatchPresetOK) IsClientError ¶
func (o *PatchPresetOK) IsClientError() bool
IsClientError returns true when this patch preset o k response has a 4xx status code
func (*PatchPresetOK) IsCode ¶
func (o *PatchPresetOK) IsCode(code int) bool
IsCode returns true when this patch preset o k response a status code equal to that given
func (*PatchPresetOK) IsRedirect ¶
func (o *PatchPresetOK) IsRedirect() bool
IsRedirect returns true when this patch preset o k response has a 3xx status code
func (*PatchPresetOK) IsServerError ¶
func (o *PatchPresetOK) IsServerError() bool
IsServerError returns true when this patch preset o k response has a 5xx status code
func (*PatchPresetOK) IsSuccess ¶
func (o *PatchPresetOK) IsSuccess() bool
IsSuccess returns true when this patch preset o k response has a 2xx status code
func (*PatchPresetOK) String ¶
func (o *PatchPresetOK) String() string
type PatchPresetParams ¶
type PatchPresetParams struct { /* Body. Preset body */ Body *service_model.V1Preset /* Owner. Owner of the namespace */ Owner string /* PresetUUID. UUID */ PresetUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PatchPresetParams contains all the parameters to send to the API endpoint
for the patch preset operation. Typically these are written to a http.Request.
func NewPatchPresetParams ¶
func NewPatchPresetParams() *PatchPresetParams
NewPatchPresetParams creates a new PatchPresetParams 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 NewPatchPresetParamsWithContext ¶
func NewPatchPresetParamsWithContext(ctx context.Context) *PatchPresetParams
NewPatchPresetParamsWithContext creates a new PatchPresetParams object with the ability to set a context for a request.
func NewPatchPresetParamsWithHTTPClient ¶
func NewPatchPresetParamsWithHTTPClient(client *http.Client) *PatchPresetParams
NewPatchPresetParamsWithHTTPClient creates a new PatchPresetParams object with the ability to set a custom HTTPClient for a request.
func NewPatchPresetParamsWithTimeout ¶
func NewPatchPresetParamsWithTimeout(timeout time.Duration) *PatchPresetParams
NewPatchPresetParamsWithTimeout creates a new PatchPresetParams object with the ability to set a timeout on a request.
func (*PatchPresetParams) SetBody ¶
func (o *PatchPresetParams) SetBody(body *service_model.V1Preset)
SetBody adds the body to the patch preset params
func (*PatchPresetParams) SetContext ¶
func (o *PatchPresetParams) SetContext(ctx context.Context)
SetContext adds the context to the patch preset params
func (*PatchPresetParams) SetDefaults ¶
func (o *PatchPresetParams) SetDefaults()
SetDefaults hydrates default values in the patch preset params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPresetParams) SetHTTPClient ¶
func (o *PatchPresetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the patch preset params
func (*PatchPresetParams) SetOwner ¶
func (o *PatchPresetParams) SetOwner(owner string)
SetOwner adds the owner to the patch preset params
func (*PatchPresetParams) SetPresetUUID ¶
func (o *PatchPresetParams) SetPresetUUID(presetUUID string)
SetPresetUUID adds the presetUuid to the patch preset params
func (*PatchPresetParams) SetTimeout ¶
func (o *PatchPresetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the patch preset params
func (*PatchPresetParams) WithBody ¶
func (o *PatchPresetParams) WithBody(body *service_model.V1Preset) *PatchPresetParams
WithBody adds the body to the patch preset params
func (*PatchPresetParams) WithContext ¶
func (o *PatchPresetParams) WithContext(ctx context.Context) *PatchPresetParams
WithContext adds the context to the patch preset params
func (*PatchPresetParams) WithDefaults ¶
func (o *PatchPresetParams) WithDefaults() *PatchPresetParams
WithDefaults hydrates default values in the patch preset params (not the query body).
All values with no default are reset to their zero value.
func (*PatchPresetParams) WithHTTPClient ¶
func (o *PatchPresetParams) WithHTTPClient(client *http.Client) *PatchPresetParams
WithHTTPClient adds the HTTPClient to the patch preset params
func (*PatchPresetParams) WithOwner ¶
func (o *PatchPresetParams) WithOwner(owner string) *PatchPresetParams
WithOwner adds the owner to the patch preset params
func (*PatchPresetParams) WithPresetUUID ¶
func (o *PatchPresetParams) WithPresetUUID(presetUUID string) *PatchPresetParams
WithPresetUUID adds the presetUUID to the patch preset params
func (*PatchPresetParams) WithTimeout ¶
func (o *PatchPresetParams) WithTimeout(timeout time.Duration) *PatchPresetParams
WithTimeout adds the timeout to the patch preset params
func (*PatchPresetParams) WriteToRequest ¶
func (o *PatchPresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PatchPresetReader ¶
type PatchPresetReader struct {
// contains filtered or unexported fields
}
PatchPresetReader is a Reader for the PatchPreset structure.
func (*PatchPresetReader) ReadResponse ¶
func (o *PatchPresetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdatePresetDefault ¶
type UpdatePresetDefault struct { Payload *service_model.RuntimeError // contains filtered or unexported fields }
UpdatePresetDefault describes a response with status code -1, with default header values.
An unexpected error response.
func NewUpdatePresetDefault ¶
func NewUpdatePresetDefault(code int) *UpdatePresetDefault
NewUpdatePresetDefault creates a UpdatePresetDefault with default headers values
func (*UpdatePresetDefault) Code ¶
func (o *UpdatePresetDefault) Code() int
Code gets the status code for the update preset default response
func (*UpdatePresetDefault) Error ¶
func (o *UpdatePresetDefault) Error() string
func (*UpdatePresetDefault) GetPayload ¶
func (o *UpdatePresetDefault) GetPayload() *service_model.RuntimeError
func (*UpdatePresetDefault) IsClientError ¶
func (o *UpdatePresetDefault) IsClientError() bool
IsClientError returns true when this update preset default response has a 4xx status code
func (*UpdatePresetDefault) IsCode ¶
func (o *UpdatePresetDefault) IsCode(code int) bool
IsCode returns true when this update preset default response a status code equal to that given
func (*UpdatePresetDefault) IsRedirect ¶
func (o *UpdatePresetDefault) IsRedirect() bool
IsRedirect returns true when this update preset default response has a 3xx status code
func (*UpdatePresetDefault) IsServerError ¶
func (o *UpdatePresetDefault) IsServerError() bool
IsServerError returns true when this update preset default response has a 5xx status code
func (*UpdatePresetDefault) IsSuccess ¶
func (o *UpdatePresetDefault) IsSuccess() bool
IsSuccess returns true when this update preset default response has a 2xx status code
func (*UpdatePresetDefault) String ¶
func (o *UpdatePresetDefault) String() string
type UpdatePresetForbidden ¶
type UpdatePresetForbidden struct {
Payload interface{}
}
UpdatePresetForbidden describes a response with status code 403, with default header values.
You don't have permission to access the resource.
func NewUpdatePresetForbidden ¶
func NewUpdatePresetForbidden() *UpdatePresetForbidden
NewUpdatePresetForbidden creates a UpdatePresetForbidden with default headers values
func (*UpdatePresetForbidden) Code ¶
func (o *UpdatePresetForbidden) Code() int
Code gets the status code for the update preset forbidden response
func (*UpdatePresetForbidden) Error ¶
func (o *UpdatePresetForbidden) Error() string
func (*UpdatePresetForbidden) GetPayload ¶
func (o *UpdatePresetForbidden) GetPayload() interface{}
func (*UpdatePresetForbidden) IsClientError ¶
func (o *UpdatePresetForbidden) IsClientError() bool
IsClientError returns true when this update preset forbidden response has a 4xx status code
func (*UpdatePresetForbidden) IsCode ¶
func (o *UpdatePresetForbidden) IsCode(code int) bool
IsCode returns true when this update preset forbidden response a status code equal to that given
func (*UpdatePresetForbidden) IsRedirect ¶
func (o *UpdatePresetForbidden) IsRedirect() bool
IsRedirect returns true when this update preset forbidden response has a 3xx status code
func (*UpdatePresetForbidden) IsServerError ¶
func (o *UpdatePresetForbidden) IsServerError() bool
IsServerError returns true when this update preset forbidden response has a 5xx status code
func (*UpdatePresetForbidden) IsSuccess ¶
func (o *UpdatePresetForbidden) IsSuccess() bool
IsSuccess returns true when this update preset forbidden response has a 2xx status code
func (*UpdatePresetForbidden) String ¶
func (o *UpdatePresetForbidden) String() string
type UpdatePresetNoContent ¶
type UpdatePresetNoContent struct {
Payload interface{}
}
UpdatePresetNoContent describes a response with status code 204, with default header values.
No content.
func NewUpdatePresetNoContent ¶
func NewUpdatePresetNoContent() *UpdatePresetNoContent
NewUpdatePresetNoContent creates a UpdatePresetNoContent with default headers values
func (*UpdatePresetNoContent) Code ¶
func (o *UpdatePresetNoContent) Code() int
Code gets the status code for the update preset no content response
func (*UpdatePresetNoContent) Error ¶
func (o *UpdatePresetNoContent) Error() string
func (*UpdatePresetNoContent) GetPayload ¶
func (o *UpdatePresetNoContent) GetPayload() interface{}
func (*UpdatePresetNoContent) IsClientError ¶
func (o *UpdatePresetNoContent) IsClientError() bool
IsClientError returns true when this update preset no content response has a 4xx status code
func (*UpdatePresetNoContent) IsCode ¶
func (o *UpdatePresetNoContent) IsCode(code int) bool
IsCode returns true when this update preset no content response a status code equal to that given
func (*UpdatePresetNoContent) IsRedirect ¶
func (o *UpdatePresetNoContent) IsRedirect() bool
IsRedirect returns true when this update preset no content response has a 3xx status code
func (*UpdatePresetNoContent) IsServerError ¶
func (o *UpdatePresetNoContent) IsServerError() bool
IsServerError returns true when this update preset no content response has a 5xx status code
func (*UpdatePresetNoContent) IsSuccess ¶
func (o *UpdatePresetNoContent) IsSuccess() bool
IsSuccess returns true when this update preset no content response has a 2xx status code
func (*UpdatePresetNoContent) String ¶
func (o *UpdatePresetNoContent) String() string
type UpdatePresetNotFound ¶
type UpdatePresetNotFound struct {
Payload interface{}
}
UpdatePresetNotFound describes a response with status code 404, with default header values.
Resource does not exist.
func NewUpdatePresetNotFound ¶
func NewUpdatePresetNotFound() *UpdatePresetNotFound
NewUpdatePresetNotFound creates a UpdatePresetNotFound with default headers values
func (*UpdatePresetNotFound) Code ¶
func (o *UpdatePresetNotFound) Code() int
Code gets the status code for the update preset not found response
func (*UpdatePresetNotFound) Error ¶
func (o *UpdatePresetNotFound) Error() string
func (*UpdatePresetNotFound) GetPayload ¶
func (o *UpdatePresetNotFound) GetPayload() interface{}
func (*UpdatePresetNotFound) IsClientError ¶
func (o *UpdatePresetNotFound) IsClientError() bool
IsClientError returns true when this update preset not found response has a 4xx status code
func (*UpdatePresetNotFound) IsCode ¶
func (o *UpdatePresetNotFound) IsCode(code int) bool
IsCode returns true when this update preset not found response a status code equal to that given
func (*UpdatePresetNotFound) IsRedirect ¶
func (o *UpdatePresetNotFound) IsRedirect() bool
IsRedirect returns true when this update preset not found response has a 3xx status code
func (*UpdatePresetNotFound) IsServerError ¶
func (o *UpdatePresetNotFound) IsServerError() bool
IsServerError returns true when this update preset not found response has a 5xx status code
func (*UpdatePresetNotFound) IsSuccess ¶
func (o *UpdatePresetNotFound) IsSuccess() bool
IsSuccess returns true when this update preset not found response has a 2xx status code
func (*UpdatePresetNotFound) String ¶
func (o *UpdatePresetNotFound) String() string
type UpdatePresetOK ¶
type UpdatePresetOK struct {
Payload *service_model.V1Preset
}
UpdatePresetOK describes a response with status code 200, with default header values.
A successful response.
func NewUpdatePresetOK ¶
func NewUpdatePresetOK() *UpdatePresetOK
NewUpdatePresetOK creates a UpdatePresetOK with default headers values
func (*UpdatePresetOK) Code ¶
func (o *UpdatePresetOK) Code() int
Code gets the status code for the update preset o k response
func (*UpdatePresetOK) Error ¶
func (o *UpdatePresetOK) Error() string
func (*UpdatePresetOK) GetPayload ¶
func (o *UpdatePresetOK) GetPayload() *service_model.V1Preset
func (*UpdatePresetOK) IsClientError ¶
func (o *UpdatePresetOK) IsClientError() bool
IsClientError returns true when this update preset o k response has a 4xx status code
func (*UpdatePresetOK) IsCode ¶
func (o *UpdatePresetOK) IsCode(code int) bool
IsCode returns true when this update preset o k response a status code equal to that given
func (*UpdatePresetOK) IsRedirect ¶
func (o *UpdatePresetOK) IsRedirect() bool
IsRedirect returns true when this update preset o k response has a 3xx status code
func (*UpdatePresetOK) IsServerError ¶
func (o *UpdatePresetOK) IsServerError() bool
IsServerError returns true when this update preset o k response has a 5xx status code
func (*UpdatePresetOK) IsSuccess ¶
func (o *UpdatePresetOK) IsSuccess() bool
IsSuccess returns true when this update preset o k response has a 2xx status code
func (*UpdatePresetOK) String ¶
func (o *UpdatePresetOK) String() string
type UpdatePresetParams ¶
type UpdatePresetParams struct { /* Body. Preset body */ Body *service_model.V1Preset /* Owner. Owner of the namespace */ Owner string /* PresetUUID. UUID */ PresetUUID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdatePresetParams contains all the parameters to send to the API endpoint
for the update preset operation. Typically these are written to a http.Request.
func NewUpdatePresetParams ¶
func NewUpdatePresetParams() *UpdatePresetParams
NewUpdatePresetParams creates a new UpdatePresetParams 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 NewUpdatePresetParamsWithContext ¶
func NewUpdatePresetParamsWithContext(ctx context.Context) *UpdatePresetParams
NewUpdatePresetParamsWithContext creates a new UpdatePresetParams object with the ability to set a context for a request.
func NewUpdatePresetParamsWithHTTPClient ¶
func NewUpdatePresetParamsWithHTTPClient(client *http.Client) *UpdatePresetParams
NewUpdatePresetParamsWithHTTPClient creates a new UpdatePresetParams object with the ability to set a custom HTTPClient for a request.
func NewUpdatePresetParamsWithTimeout ¶
func NewUpdatePresetParamsWithTimeout(timeout time.Duration) *UpdatePresetParams
NewUpdatePresetParamsWithTimeout creates a new UpdatePresetParams object with the ability to set a timeout on a request.
func (*UpdatePresetParams) SetBody ¶
func (o *UpdatePresetParams) SetBody(body *service_model.V1Preset)
SetBody adds the body to the update preset params
func (*UpdatePresetParams) SetContext ¶
func (o *UpdatePresetParams) SetContext(ctx context.Context)
SetContext adds the context to the update preset params
func (*UpdatePresetParams) SetDefaults ¶
func (o *UpdatePresetParams) SetDefaults()
SetDefaults hydrates default values in the update preset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePresetParams) SetHTTPClient ¶
func (o *UpdatePresetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update preset params
func (*UpdatePresetParams) SetOwner ¶
func (o *UpdatePresetParams) SetOwner(owner string)
SetOwner adds the owner to the update preset params
func (*UpdatePresetParams) SetPresetUUID ¶
func (o *UpdatePresetParams) SetPresetUUID(presetUUID string)
SetPresetUUID adds the presetUuid to the update preset params
func (*UpdatePresetParams) SetTimeout ¶
func (o *UpdatePresetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update preset params
func (*UpdatePresetParams) WithBody ¶
func (o *UpdatePresetParams) WithBody(body *service_model.V1Preset) *UpdatePresetParams
WithBody adds the body to the update preset params
func (*UpdatePresetParams) WithContext ¶
func (o *UpdatePresetParams) WithContext(ctx context.Context) *UpdatePresetParams
WithContext adds the context to the update preset params
func (*UpdatePresetParams) WithDefaults ¶
func (o *UpdatePresetParams) WithDefaults() *UpdatePresetParams
WithDefaults hydrates default values in the update preset params (not the query body).
All values with no default are reset to their zero value.
func (*UpdatePresetParams) WithHTTPClient ¶
func (o *UpdatePresetParams) WithHTTPClient(client *http.Client) *UpdatePresetParams
WithHTTPClient adds the HTTPClient to the update preset params
func (*UpdatePresetParams) WithOwner ¶
func (o *UpdatePresetParams) WithOwner(owner string) *UpdatePresetParams
WithOwner adds the owner to the update preset params
func (*UpdatePresetParams) WithPresetUUID ¶
func (o *UpdatePresetParams) WithPresetUUID(presetUUID string) *UpdatePresetParams
WithPresetUUID adds the presetUUID to the update preset params
func (*UpdatePresetParams) WithTimeout ¶
func (o *UpdatePresetParams) WithTimeout(timeout time.Duration) *UpdatePresetParams
WithTimeout adds the timeout to the update preset params
func (*UpdatePresetParams) WriteToRequest ¶
func (o *UpdatePresetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdatePresetReader ¶
type UpdatePresetReader struct {
// contains filtered or unexported fields
}
UpdatePresetReader is a Reader for the UpdatePreset structure.
func (*UpdatePresetReader) ReadResponse ¶
func (o *UpdatePresetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_preset_parameters.go
- create_preset_responses.go
- delete_preset_parameters.go
- delete_preset_responses.go
- get_preset_parameters.go
- get_preset_responses.go
- list_preset_names_parameters.go
- list_preset_names_responses.go
- list_presets_parameters.go
- list_presets_responses.go
- patch_preset_parameters.go
- patch_preset_responses.go
- presets_v1_client.go
- update_preset_parameters.go
- update_preset_responses.go