Documentation ¶
Index ¶
- type Client
- func (a *Client) GetPluginPrivileges(params *GetPluginPrivilegesParams, opts ...ClientOption) (*GetPluginPrivilegesOK, error)
- func (a *Client) PluginCreate(params *PluginCreateParams, opts ...ClientOption) (*PluginCreateNoContent, error)
- func (a *Client) PluginDelete(params *PluginDeleteParams, opts ...ClientOption) (*PluginDeleteOK, error)
- func (a *Client) PluginDisable(params *PluginDisableParams, opts ...ClientOption) (*PluginDisableOK, error)
- func (a *Client) PluginEnable(params *PluginEnableParams, opts ...ClientOption) (*PluginEnableOK, error)
- func (a *Client) PluginInspect(params *PluginInspectParams, opts ...ClientOption) (*PluginInspectOK, error)
- func (a *Client) PluginList(params *PluginListParams, opts ...ClientOption) (*PluginListOK, error)
- func (a *Client) PluginPull(params *PluginPullParams, opts ...ClientOption) (*PluginPullNoContent, error)
- func (a *Client) PluginPush(params *PluginPushParams, opts ...ClientOption) (*PluginPushOK, error)
- func (a *Client) PluginSet(params *PluginSetParams, opts ...ClientOption) (*PluginSetNoContent, error)
- func (a *Client) PluginUpgrade(params *PluginUpgradeParams, opts ...ClientOption) (*PluginUpgradeNoContent, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetPluginPrivilegesInternalServerError
- func (o *GetPluginPrivilegesInternalServerError) Error() string
- func (o *GetPluginPrivilegesInternalServerError) GetPayload() *models.ErrorResponse
- func (o *GetPluginPrivilegesInternalServerError) IsClientError() bool
- func (o *GetPluginPrivilegesInternalServerError) IsCode(code int) bool
- func (o *GetPluginPrivilegesInternalServerError) IsRedirect() bool
- func (o *GetPluginPrivilegesInternalServerError) IsServerError() bool
- func (o *GetPluginPrivilegesInternalServerError) IsSuccess() bool
- func (o *GetPluginPrivilegesInternalServerError) String() string
- type GetPluginPrivilegesOK
- func (o *GetPluginPrivilegesOK) Error() string
- func (o *GetPluginPrivilegesOK) GetPayload() []*GetPluginPrivilegesOKBodyItems0
- func (o *GetPluginPrivilegesOK) IsClientError() bool
- func (o *GetPluginPrivilegesOK) IsCode(code int) bool
- func (o *GetPluginPrivilegesOK) IsRedirect() bool
- func (o *GetPluginPrivilegesOK) IsServerError() bool
- func (o *GetPluginPrivilegesOK) IsSuccess() bool
- func (o *GetPluginPrivilegesOK) String() string
- type GetPluginPrivilegesOKBodyItems0
- func (o *GetPluginPrivilegesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetPluginPrivilegesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetPluginPrivilegesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetPluginPrivilegesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetPluginPrivilegesParams
- func NewGetPluginPrivilegesParams() *GetPluginPrivilegesParams
- func NewGetPluginPrivilegesParamsWithContext(ctx context.Context) *GetPluginPrivilegesParams
- func NewGetPluginPrivilegesParamsWithHTTPClient(client *http.Client) *GetPluginPrivilegesParams
- func NewGetPluginPrivilegesParamsWithTimeout(timeout time.Duration) *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) SetContext(ctx context.Context)
- func (o *GetPluginPrivilegesParams) SetDefaults()
- func (o *GetPluginPrivilegesParams) SetHTTPClient(client *http.Client)
- func (o *GetPluginPrivilegesParams) SetRemote(remote string)
- func (o *GetPluginPrivilegesParams) SetTimeout(timeout time.Duration)
- func (o *GetPluginPrivilegesParams) WithContext(ctx context.Context) *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) WithDefaults() *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) WithHTTPClient(client *http.Client) *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) WithRemote(remote string) *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) WithTimeout(timeout time.Duration) *GetPluginPrivilegesParams
- func (o *GetPluginPrivilegesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPluginPrivilegesReader
- type PluginCreateInternalServerError
- func (o *PluginCreateInternalServerError) Error() string
- func (o *PluginCreateInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginCreateInternalServerError) IsClientError() bool
- func (o *PluginCreateInternalServerError) IsCode(code int) bool
- func (o *PluginCreateInternalServerError) IsRedirect() bool
- func (o *PluginCreateInternalServerError) IsServerError() bool
- func (o *PluginCreateInternalServerError) IsSuccess() bool
- func (o *PluginCreateInternalServerError) String() string
- type PluginCreateNoContent
- func (o *PluginCreateNoContent) Error() string
- func (o *PluginCreateNoContent) IsClientError() bool
- func (o *PluginCreateNoContent) IsCode(code int) bool
- func (o *PluginCreateNoContent) IsRedirect() bool
- func (o *PluginCreateNoContent) IsServerError() bool
- func (o *PluginCreateNoContent) IsSuccess() bool
- func (o *PluginCreateNoContent) String() string
- type PluginCreateParams
- func (o *PluginCreateParams) SetContext(ctx context.Context)
- func (o *PluginCreateParams) SetDefaults()
- func (o *PluginCreateParams) SetHTTPClient(client *http.Client)
- func (o *PluginCreateParams) SetName(name string)
- func (o *PluginCreateParams) SetTarContext(tarContext io.ReadCloser)
- func (o *PluginCreateParams) SetTimeout(timeout time.Duration)
- func (o *PluginCreateParams) WithContext(ctx context.Context) *PluginCreateParams
- func (o *PluginCreateParams) WithDefaults() *PluginCreateParams
- func (o *PluginCreateParams) WithHTTPClient(client *http.Client) *PluginCreateParams
- func (o *PluginCreateParams) WithName(name string) *PluginCreateParams
- func (o *PluginCreateParams) WithTarContext(tarContext io.ReadCloser) *PluginCreateParams
- func (o *PluginCreateParams) WithTimeout(timeout time.Duration) *PluginCreateParams
- func (o *PluginCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginCreateReader
- type PluginDeleteInternalServerError
- func (o *PluginDeleteInternalServerError) Error() string
- func (o *PluginDeleteInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginDeleteInternalServerError) IsClientError() bool
- func (o *PluginDeleteInternalServerError) IsCode(code int) bool
- func (o *PluginDeleteInternalServerError) IsRedirect() bool
- func (o *PluginDeleteInternalServerError) IsServerError() bool
- func (o *PluginDeleteInternalServerError) IsSuccess() bool
- func (o *PluginDeleteInternalServerError) String() string
- type PluginDeleteNotFound
- func (o *PluginDeleteNotFound) Error() string
- func (o *PluginDeleteNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginDeleteNotFound) IsClientError() bool
- func (o *PluginDeleteNotFound) IsCode(code int) bool
- func (o *PluginDeleteNotFound) IsRedirect() bool
- func (o *PluginDeleteNotFound) IsServerError() bool
- func (o *PluginDeleteNotFound) IsSuccess() bool
- func (o *PluginDeleteNotFound) String() string
- type PluginDeleteOK
- func (o *PluginDeleteOK) Error() string
- func (o *PluginDeleteOK) GetPayload() *models.Plugin
- func (o *PluginDeleteOK) IsClientError() bool
- func (o *PluginDeleteOK) IsCode(code int) bool
- func (o *PluginDeleteOK) IsRedirect() bool
- func (o *PluginDeleteOK) IsServerError() bool
- func (o *PluginDeleteOK) IsSuccess() bool
- func (o *PluginDeleteOK) String() string
- type PluginDeleteParams
- func (o *PluginDeleteParams) SetContext(ctx context.Context)
- func (o *PluginDeleteParams) SetDefaults()
- func (o *PluginDeleteParams) SetForce(force *bool)
- func (o *PluginDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PluginDeleteParams) SetName(name string)
- func (o *PluginDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PluginDeleteParams) WithContext(ctx context.Context) *PluginDeleteParams
- func (o *PluginDeleteParams) WithDefaults() *PluginDeleteParams
- func (o *PluginDeleteParams) WithForce(force *bool) *PluginDeleteParams
- func (o *PluginDeleteParams) WithHTTPClient(client *http.Client) *PluginDeleteParams
- func (o *PluginDeleteParams) WithName(name string) *PluginDeleteParams
- func (o *PluginDeleteParams) WithTimeout(timeout time.Duration) *PluginDeleteParams
- func (o *PluginDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginDeleteReader
- type PluginDisableInternalServerError
- func (o *PluginDisableInternalServerError) Error() string
- func (o *PluginDisableInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginDisableInternalServerError) IsClientError() bool
- func (o *PluginDisableInternalServerError) IsCode(code int) bool
- func (o *PluginDisableInternalServerError) IsRedirect() bool
- func (o *PluginDisableInternalServerError) IsServerError() bool
- func (o *PluginDisableInternalServerError) IsSuccess() bool
- func (o *PluginDisableInternalServerError) String() string
- type PluginDisableNotFound
- func (o *PluginDisableNotFound) Error() string
- func (o *PluginDisableNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginDisableNotFound) IsClientError() bool
- func (o *PluginDisableNotFound) IsCode(code int) bool
- func (o *PluginDisableNotFound) IsRedirect() bool
- func (o *PluginDisableNotFound) IsServerError() bool
- func (o *PluginDisableNotFound) IsSuccess() bool
- func (o *PluginDisableNotFound) String() string
- type PluginDisableOK
- func (o *PluginDisableOK) Error() string
- func (o *PluginDisableOK) IsClientError() bool
- func (o *PluginDisableOK) IsCode(code int) bool
- func (o *PluginDisableOK) IsRedirect() bool
- func (o *PluginDisableOK) IsServerError() bool
- func (o *PluginDisableOK) IsSuccess() bool
- func (o *PluginDisableOK) String() string
- type PluginDisableParams
- func (o *PluginDisableParams) SetContext(ctx context.Context)
- func (o *PluginDisableParams) SetDefaults()
- func (o *PluginDisableParams) SetHTTPClient(client *http.Client)
- func (o *PluginDisableParams) SetName(name string)
- func (o *PluginDisableParams) SetTimeout(timeout time.Duration)
- func (o *PluginDisableParams) WithContext(ctx context.Context) *PluginDisableParams
- func (o *PluginDisableParams) WithDefaults() *PluginDisableParams
- func (o *PluginDisableParams) WithHTTPClient(client *http.Client) *PluginDisableParams
- func (o *PluginDisableParams) WithName(name string) *PluginDisableParams
- func (o *PluginDisableParams) WithTimeout(timeout time.Duration) *PluginDisableParams
- func (o *PluginDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginDisableReader
- type PluginEnableInternalServerError
- func (o *PluginEnableInternalServerError) Error() string
- func (o *PluginEnableInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginEnableInternalServerError) IsClientError() bool
- func (o *PluginEnableInternalServerError) IsCode(code int) bool
- func (o *PluginEnableInternalServerError) IsRedirect() bool
- func (o *PluginEnableInternalServerError) IsServerError() bool
- func (o *PluginEnableInternalServerError) IsSuccess() bool
- func (o *PluginEnableInternalServerError) String() string
- type PluginEnableNotFound
- func (o *PluginEnableNotFound) Error() string
- func (o *PluginEnableNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginEnableNotFound) IsClientError() bool
- func (o *PluginEnableNotFound) IsCode(code int) bool
- func (o *PluginEnableNotFound) IsRedirect() bool
- func (o *PluginEnableNotFound) IsServerError() bool
- func (o *PluginEnableNotFound) IsSuccess() bool
- func (o *PluginEnableNotFound) String() string
- type PluginEnableOK
- func (o *PluginEnableOK) Error() string
- func (o *PluginEnableOK) IsClientError() bool
- func (o *PluginEnableOK) IsCode(code int) bool
- func (o *PluginEnableOK) IsRedirect() bool
- func (o *PluginEnableOK) IsServerError() bool
- func (o *PluginEnableOK) IsSuccess() bool
- func (o *PluginEnableOK) String() string
- type PluginEnableParams
- func (o *PluginEnableParams) SetContext(ctx context.Context)
- func (o *PluginEnableParams) SetDefaults()
- func (o *PluginEnableParams) SetHTTPClient(client *http.Client)
- func (o *PluginEnableParams) SetName(name string)
- func (o *PluginEnableParams) SetRequestTimeout(timeout time.Duration)
- func (o *PluginEnableParams) SetTimeout(timeout *int64)
- func (o *PluginEnableParams) WithContext(ctx context.Context) *PluginEnableParams
- func (o *PluginEnableParams) WithDefaults() *PluginEnableParams
- func (o *PluginEnableParams) WithHTTPClient(client *http.Client) *PluginEnableParams
- func (o *PluginEnableParams) WithName(name string) *PluginEnableParams
- func (o *PluginEnableParams) WithRequestTimeout(timeout time.Duration) *PluginEnableParams
- func (o *PluginEnableParams) WithTimeout(timeout *int64) *PluginEnableParams
- func (o *PluginEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginEnableReader
- type PluginInspectInternalServerError
- func (o *PluginInspectInternalServerError) Error() string
- func (o *PluginInspectInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginInspectInternalServerError) IsClientError() bool
- func (o *PluginInspectInternalServerError) IsCode(code int) bool
- func (o *PluginInspectInternalServerError) IsRedirect() bool
- func (o *PluginInspectInternalServerError) IsServerError() bool
- func (o *PluginInspectInternalServerError) IsSuccess() bool
- func (o *PluginInspectInternalServerError) String() string
- type PluginInspectNotFound
- func (o *PluginInspectNotFound) Error() string
- func (o *PluginInspectNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginInspectNotFound) IsClientError() bool
- func (o *PluginInspectNotFound) IsCode(code int) bool
- func (o *PluginInspectNotFound) IsRedirect() bool
- func (o *PluginInspectNotFound) IsServerError() bool
- func (o *PluginInspectNotFound) IsSuccess() bool
- func (o *PluginInspectNotFound) String() string
- type PluginInspectOK
- func (o *PluginInspectOK) Error() string
- func (o *PluginInspectOK) GetPayload() *models.Plugin
- func (o *PluginInspectOK) IsClientError() bool
- func (o *PluginInspectOK) IsCode(code int) bool
- func (o *PluginInspectOK) IsRedirect() bool
- func (o *PluginInspectOK) IsServerError() bool
- func (o *PluginInspectOK) IsSuccess() bool
- func (o *PluginInspectOK) String() string
- type PluginInspectParams
- func (o *PluginInspectParams) SetContext(ctx context.Context)
- func (o *PluginInspectParams) SetDefaults()
- func (o *PluginInspectParams) SetHTTPClient(client *http.Client)
- func (o *PluginInspectParams) SetName(name string)
- func (o *PluginInspectParams) SetTimeout(timeout time.Duration)
- func (o *PluginInspectParams) WithContext(ctx context.Context) *PluginInspectParams
- func (o *PluginInspectParams) WithDefaults() *PluginInspectParams
- func (o *PluginInspectParams) WithHTTPClient(client *http.Client) *PluginInspectParams
- func (o *PluginInspectParams) WithName(name string) *PluginInspectParams
- func (o *PluginInspectParams) WithTimeout(timeout time.Duration) *PluginInspectParams
- func (o *PluginInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginInspectReader
- type PluginListInternalServerError
- func (o *PluginListInternalServerError) Error() string
- func (o *PluginListInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginListInternalServerError) IsClientError() bool
- func (o *PluginListInternalServerError) IsCode(code int) bool
- func (o *PluginListInternalServerError) IsRedirect() bool
- func (o *PluginListInternalServerError) IsServerError() bool
- func (o *PluginListInternalServerError) IsSuccess() bool
- func (o *PluginListInternalServerError) String() string
- type PluginListOK
- func (o *PluginListOK) Error() string
- func (o *PluginListOK) GetPayload() []*models.Plugin
- func (o *PluginListOK) IsClientError() bool
- func (o *PluginListOK) IsCode(code int) bool
- func (o *PluginListOK) IsRedirect() bool
- func (o *PluginListOK) IsServerError() bool
- func (o *PluginListOK) IsSuccess() bool
- func (o *PluginListOK) String() string
- type PluginListParams
- func (o *PluginListParams) SetContext(ctx context.Context)
- func (o *PluginListParams) SetDefaults()
- func (o *PluginListParams) SetFilters(filters *string)
- func (o *PluginListParams) SetHTTPClient(client *http.Client)
- func (o *PluginListParams) SetTimeout(timeout time.Duration)
- func (o *PluginListParams) WithContext(ctx context.Context) *PluginListParams
- func (o *PluginListParams) WithDefaults() *PluginListParams
- func (o *PluginListParams) WithFilters(filters *string) *PluginListParams
- func (o *PluginListParams) WithHTTPClient(client *http.Client) *PluginListParams
- func (o *PluginListParams) WithTimeout(timeout time.Duration) *PluginListParams
- func (o *PluginListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginListReader
- type PluginPullInternalServerError
- func (o *PluginPullInternalServerError) Error() string
- func (o *PluginPullInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginPullInternalServerError) IsClientError() bool
- func (o *PluginPullInternalServerError) IsCode(code int) bool
- func (o *PluginPullInternalServerError) IsRedirect() bool
- func (o *PluginPullInternalServerError) IsServerError() bool
- func (o *PluginPullInternalServerError) IsSuccess() bool
- func (o *PluginPullInternalServerError) String() string
- type PluginPullNoContent
- func (o *PluginPullNoContent) Error() string
- func (o *PluginPullNoContent) IsClientError() bool
- func (o *PluginPullNoContent) IsCode(code int) bool
- func (o *PluginPullNoContent) IsRedirect() bool
- func (o *PluginPullNoContent) IsServerError() bool
- func (o *PluginPullNoContent) IsSuccess() bool
- func (o *PluginPullNoContent) String() string
- type PluginPullParams
- func (o *PluginPullParams) SetBody(body []*PluginPullParamsBodyItems0)
- func (o *PluginPullParams) SetContext(ctx context.Context)
- func (o *PluginPullParams) SetDefaults()
- func (o *PluginPullParams) SetHTTPClient(client *http.Client)
- func (o *PluginPullParams) SetName(name *string)
- func (o *PluginPullParams) SetRemote(remote string)
- func (o *PluginPullParams) SetTimeout(timeout time.Duration)
- func (o *PluginPullParams) SetXRegistryAuth(xRegistryAuth *string)
- func (o *PluginPullParams) WithBody(body []*PluginPullParamsBodyItems0) *PluginPullParams
- func (o *PluginPullParams) WithContext(ctx context.Context) *PluginPullParams
- func (o *PluginPullParams) WithDefaults() *PluginPullParams
- func (o *PluginPullParams) WithHTTPClient(client *http.Client) *PluginPullParams
- func (o *PluginPullParams) WithName(name *string) *PluginPullParams
- func (o *PluginPullParams) WithRemote(remote string) *PluginPullParams
- func (o *PluginPullParams) WithTimeout(timeout time.Duration) *PluginPullParams
- func (o *PluginPullParams) WithXRegistryAuth(xRegistryAuth *string) *PluginPullParams
- func (o *PluginPullParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginPullParamsBodyItems0
- func (o *PluginPullParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PluginPullParamsBodyItems0) MarshalBinary() ([]byte, error)
- func (o *PluginPullParamsBodyItems0) UnmarshalBinary(b []byte) error
- func (o *PluginPullParamsBodyItems0) Validate(formats strfmt.Registry) error
- type PluginPullReader
- type PluginPushInternalServerError
- func (o *PluginPushInternalServerError) Error() string
- func (o *PluginPushInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginPushInternalServerError) IsClientError() bool
- func (o *PluginPushInternalServerError) IsCode(code int) bool
- func (o *PluginPushInternalServerError) IsRedirect() bool
- func (o *PluginPushInternalServerError) IsServerError() bool
- func (o *PluginPushInternalServerError) IsSuccess() bool
- func (o *PluginPushInternalServerError) String() string
- type PluginPushNotFound
- func (o *PluginPushNotFound) Error() string
- func (o *PluginPushNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginPushNotFound) IsClientError() bool
- func (o *PluginPushNotFound) IsCode(code int) bool
- func (o *PluginPushNotFound) IsRedirect() bool
- func (o *PluginPushNotFound) IsServerError() bool
- func (o *PluginPushNotFound) IsSuccess() bool
- func (o *PluginPushNotFound) String() string
- type PluginPushOK
- type PluginPushParams
- func (o *PluginPushParams) SetContext(ctx context.Context)
- func (o *PluginPushParams) SetDefaults()
- func (o *PluginPushParams) SetHTTPClient(client *http.Client)
- func (o *PluginPushParams) SetName(name string)
- func (o *PluginPushParams) SetTimeout(timeout time.Duration)
- func (o *PluginPushParams) WithContext(ctx context.Context) *PluginPushParams
- func (o *PluginPushParams) WithDefaults() *PluginPushParams
- func (o *PluginPushParams) WithHTTPClient(client *http.Client) *PluginPushParams
- func (o *PluginPushParams) WithName(name string) *PluginPushParams
- func (o *PluginPushParams) WithTimeout(timeout time.Duration) *PluginPushParams
- func (o *PluginPushParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginPushReader
- type PluginSetInternalServerError
- func (o *PluginSetInternalServerError) Error() string
- func (o *PluginSetInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginSetInternalServerError) IsClientError() bool
- func (o *PluginSetInternalServerError) IsCode(code int) bool
- func (o *PluginSetInternalServerError) IsRedirect() bool
- func (o *PluginSetInternalServerError) IsServerError() bool
- func (o *PluginSetInternalServerError) IsSuccess() bool
- func (o *PluginSetInternalServerError) String() string
- type PluginSetNoContent
- func (o *PluginSetNoContent) Error() string
- func (o *PluginSetNoContent) IsClientError() bool
- func (o *PluginSetNoContent) IsCode(code int) bool
- func (o *PluginSetNoContent) IsRedirect() bool
- func (o *PluginSetNoContent) IsServerError() bool
- func (o *PluginSetNoContent) IsSuccess() bool
- func (o *PluginSetNoContent) String() string
- type PluginSetNotFound
- func (o *PluginSetNotFound) Error() string
- func (o *PluginSetNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginSetNotFound) IsClientError() bool
- func (o *PluginSetNotFound) IsCode(code int) bool
- func (o *PluginSetNotFound) IsRedirect() bool
- func (o *PluginSetNotFound) IsServerError() bool
- func (o *PluginSetNotFound) IsSuccess() bool
- func (o *PluginSetNotFound) String() string
- type PluginSetParams
- func (o *PluginSetParams) SetBody(body []string)
- func (o *PluginSetParams) SetContext(ctx context.Context)
- func (o *PluginSetParams) SetDefaults()
- func (o *PluginSetParams) SetHTTPClient(client *http.Client)
- func (o *PluginSetParams) SetName(name string)
- func (o *PluginSetParams) SetTimeout(timeout time.Duration)
- func (o *PluginSetParams) WithBody(body []string) *PluginSetParams
- func (o *PluginSetParams) WithContext(ctx context.Context) *PluginSetParams
- func (o *PluginSetParams) WithDefaults() *PluginSetParams
- func (o *PluginSetParams) WithHTTPClient(client *http.Client) *PluginSetParams
- func (o *PluginSetParams) WithName(name string) *PluginSetParams
- func (o *PluginSetParams) WithTimeout(timeout time.Duration) *PluginSetParams
- func (o *PluginSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginSetReader
- type PluginUpgradeInternalServerError
- func (o *PluginUpgradeInternalServerError) Error() string
- func (o *PluginUpgradeInternalServerError) GetPayload() *models.ErrorResponse
- func (o *PluginUpgradeInternalServerError) IsClientError() bool
- func (o *PluginUpgradeInternalServerError) IsCode(code int) bool
- func (o *PluginUpgradeInternalServerError) IsRedirect() bool
- func (o *PluginUpgradeInternalServerError) IsServerError() bool
- func (o *PluginUpgradeInternalServerError) IsSuccess() bool
- func (o *PluginUpgradeInternalServerError) String() string
- type PluginUpgradeNoContent
- func (o *PluginUpgradeNoContent) Error() string
- func (o *PluginUpgradeNoContent) IsClientError() bool
- func (o *PluginUpgradeNoContent) IsCode(code int) bool
- func (o *PluginUpgradeNoContent) IsRedirect() bool
- func (o *PluginUpgradeNoContent) IsServerError() bool
- func (o *PluginUpgradeNoContent) IsSuccess() bool
- func (o *PluginUpgradeNoContent) String() string
- type PluginUpgradeNotFound
- func (o *PluginUpgradeNotFound) Error() string
- func (o *PluginUpgradeNotFound) GetPayload() *models.ErrorResponse
- func (o *PluginUpgradeNotFound) IsClientError() bool
- func (o *PluginUpgradeNotFound) IsCode(code int) bool
- func (o *PluginUpgradeNotFound) IsRedirect() bool
- func (o *PluginUpgradeNotFound) IsServerError() bool
- func (o *PluginUpgradeNotFound) IsSuccess() bool
- func (o *PluginUpgradeNotFound) String() string
- type PluginUpgradeParams
- func (o *PluginUpgradeParams) SetBody(body []*PluginUpgradeParamsBodyItems0)
- func (o *PluginUpgradeParams) SetContext(ctx context.Context)
- func (o *PluginUpgradeParams) SetDefaults()
- func (o *PluginUpgradeParams) SetHTTPClient(client *http.Client)
- func (o *PluginUpgradeParams) SetName(name string)
- func (o *PluginUpgradeParams) SetRemote(remote string)
- func (o *PluginUpgradeParams) SetTimeout(timeout time.Duration)
- func (o *PluginUpgradeParams) SetXRegistryAuth(xRegistryAuth *string)
- func (o *PluginUpgradeParams) WithBody(body []*PluginUpgradeParamsBodyItems0) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithContext(ctx context.Context) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithDefaults() *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithHTTPClient(client *http.Client) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithName(name string) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithRemote(remote string) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithTimeout(timeout time.Duration) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WithXRegistryAuth(xRegistryAuth *string) *PluginUpgradeParams
- func (o *PluginUpgradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PluginUpgradeParamsBodyItems0
- func (o *PluginUpgradeParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *PluginUpgradeParamsBodyItems0) MarshalBinary() ([]byte, error)
- func (o *PluginUpgradeParamsBodyItems0) UnmarshalBinary(b []byte) error
- func (o *PluginUpgradeParamsBodyItems0) Validate(formats strfmt.Registry) error
- type PluginUpgradeReader
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 plugin API
func (*Client) GetPluginPrivileges ¶
func (a *Client) GetPluginPrivileges(params *GetPluginPrivilegesParams, opts ...ClientOption) (*GetPluginPrivilegesOK, error)
GetPluginPrivileges gets plugin privileges
func (*Client) PluginCreate ¶
func (a *Client) PluginCreate(params *PluginCreateParams, opts ...ClientOption) (*PluginCreateNoContent, error)
PluginCreate creates a plugin
func (*Client) PluginDelete ¶
func (a *Client) PluginDelete(params *PluginDeleteParams, opts ...ClientOption) (*PluginDeleteOK, error)
PluginDelete removes a plugin
func (*Client) PluginDisable ¶
func (a *Client) PluginDisable(params *PluginDisableParams, opts ...ClientOption) (*PluginDisableOK, error)
PluginDisable disables a plugin
func (*Client) PluginEnable ¶
func (a *Client) PluginEnable(params *PluginEnableParams, opts ...ClientOption) (*PluginEnableOK, error)
PluginEnable enables a plugin
func (*Client) PluginInspect ¶
func (a *Client) PluginInspect(params *PluginInspectParams, opts ...ClientOption) (*PluginInspectOK, error)
PluginInspect inspects a plugin
func (*Client) PluginList ¶
func (a *Client) PluginList(params *PluginListParams, opts ...ClientOption) (*PluginListOK, error)
PluginList lists plugins
Returns information about installed plugins.
func (*Client) PluginPull ¶
func (a *Client) PluginPull(params *PluginPullParams, opts ...ClientOption) (*PluginPullNoContent, error)
PluginPull installs a plugin
Pulls and installs a plugin. After the plugin is installed, it can be enabled using the [`POST /plugins/{name}/enable` endpoint](#operation/PostPluginsEnable).
func (*Client) PluginPush ¶
func (a *Client) PluginPush(params *PluginPushParams, opts ...ClientOption) (*PluginPushOK, error)
PluginPush pushes a plugin
Push a plugin to the registry.
func (*Client) PluginSet ¶
func (a *Client) PluginSet(params *PluginSetParams, opts ...ClientOption) (*PluginSetNoContent, error)
PluginSet configures a plugin
func (*Client) PluginUpgrade ¶
func (a *Client) PluginUpgrade(params *PluginUpgradeParams, opts ...ClientOption) (*PluginUpgradeNoContent, error)
PluginUpgrade upgrades a plugin
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { GetPluginPrivileges(params *GetPluginPrivilegesParams, opts ...ClientOption) (*GetPluginPrivilegesOK, error) PluginCreate(params *PluginCreateParams, opts ...ClientOption) (*PluginCreateNoContent, error) PluginDelete(params *PluginDeleteParams, opts ...ClientOption) (*PluginDeleteOK, error) PluginDisable(params *PluginDisableParams, opts ...ClientOption) (*PluginDisableOK, error) PluginEnable(params *PluginEnableParams, opts ...ClientOption) (*PluginEnableOK, error) PluginInspect(params *PluginInspectParams, opts ...ClientOption) (*PluginInspectOK, error) PluginList(params *PluginListParams, opts ...ClientOption) (*PluginListOK, error) PluginPull(params *PluginPullParams, opts ...ClientOption) (*PluginPullNoContent, error) PluginPush(params *PluginPushParams, opts ...ClientOption) (*PluginPushOK, error) PluginSet(params *PluginSetParams, opts ...ClientOption) (*PluginSetNoContent, error) PluginUpgrade(params *PluginUpgradeParams, opts ...ClientOption) (*PluginUpgradeNoContent, 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 plugin API client.
type GetPluginPrivilegesInternalServerError ¶
type GetPluginPrivilegesInternalServerError struct {
Payload *models.ErrorResponse
}
GetPluginPrivilegesInternalServerError describes a response with status code 500, with default header values.
server error
func NewGetPluginPrivilegesInternalServerError ¶
func NewGetPluginPrivilegesInternalServerError() *GetPluginPrivilegesInternalServerError
NewGetPluginPrivilegesInternalServerError creates a GetPluginPrivilegesInternalServerError with default headers values
func (*GetPluginPrivilegesInternalServerError) Error ¶
func (o *GetPluginPrivilegesInternalServerError) Error() string
func (*GetPluginPrivilegesInternalServerError) GetPayload ¶
func (o *GetPluginPrivilegesInternalServerError) GetPayload() *models.ErrorResponse
func (*GetPluginPrivilegesInternalServerError) IsClientError ¶
func (o *GetPluginPrivilegesInternalServerError) IsClientError() bool
IsClientError returns true when this get plugin privileges internal server error response has a 4xx status code
func (*GetPluginPrivilegesInternalServerError) IsCode ¶
func (o *GetPluginPrivilegesInternalServerError) IsCode(code int) bool
IsCode returns true when this get plugin privileges internal server error response a status code equal to that given
func (*GetPluginPrivilegesInternalServerError) IsRedirect ¶
func (o *GetPluginPrivilegesInternalServerError) IsRedirect() bool
IsRedirect returns true when this get plugin privileges internal server error response has a 3xx status code
func (*GetPluginPrivilegesInternalServerError) IsServerError ¶
func (o *GetPluginPrivilegesInternalServerError) IsServerError() bool
IsServerError returns true when this get plugin privileges internal server error response has a 5xx status code
func (*GetPluginPrivilegesInternalServerError) IsSuccess ¶
func (o *GetPluginPrivilegesInternalServerError) IsSuccess() bool
IsSuccess returns true when this get plugin privileges internal server error response has a 2xx status code
func (*GetPluginPrivilegesInternalServerError) String ¶
func (o *GetPluginPrivilegesInternalServerError) String() string
type GetPluginPrivilegesOK ¶
type GetPluginPrivilegesOK struct {
Payload []*GetPluginPrivilegesOKBodyItems0
}
GetPluginPrivilegesOK describes a response with status code 200, with default header values.
no error
func NewGetPluginPrivilegesOK ¶
func NewGetPluginPrivilegesOK() *GetPluginPrivilegesOK
NewGetPluginPrivilegesOK creates a GetPluginPrivilegesOK with default headers values
func (*GetPluginPrivilegesOK) Error ¶
func (o *GetPluginPrivilegesOK) Error() string
func (*GetPluginPrivilegesOK) GetPayload ¶
func (o *GetPluginPrivilegesOK) GetPayload() []*GetPluginPrivilegesOKBodyItems0
func (*GetPluginPrivilegesOK) IsClientError ¶
func (o *GetPluginPrivilegesOK) IsClientError() bool
IsClientError returns true when this get plugin privileges o k response has a 4xx status code
func (*GetPluginPrivilegesOK) IsCode ¶
func (o *GetPluginPrivilegesOK) IsCode(code int) bool
IsCode returns true when this get plugin privileges o k response a status code equal to that given
func (*GetPluginPrivilegesOK) IsRedirect ¶
func (o *GetPluginPrivilegesOK) IsRedirect() bool
IsRedirect returns true when this get plugin privileges o k response has a 3xx status code
func (*GetPluginPrivilegesOK) IsServerError ¶
func (o *GetPluginPrivilegesOK) IsServerError() bool
IsServerError returns true when this get plugin privileges o k response has a 5xx status code
func (*GetPluginPrivilegesOK) IsSuccess ¶
func (o *GetPluginPrivilegesOK) IsSuccess() bool
IsSuccess returns true when this get plugin privileges o k response has a 2xx status code
func (*GetPluginPrivilegesOK) String ¶
func (o *GetPluginPrivilegesOK) String() string
type GetPluginPrivilegesOKBodyItems0 ¶
type GetPluginPrivilegesOKBodyItems0 struct { // description Description string `json:"Description,omitempty"` // name Name string `json:"Name,omitempty"` // value Value []string `json:"Value"` }
GetPluginPrivilegesOKBodyItems0 PluginPrivilegeItem // // Describes a permission the user has to accept upon installing the plugin. swagger:model GetPluginPrivilegesOKBodyItems0
func (*GetPluginPrivilegesOKBodyItems0) ContextValidate ¶
func (o *GetPluginPrivilegesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get plugin privileges o k body items0 based on context it is used
func (*GetPluginPrivilegesOKBodyItems0) MarshalBinary ¶
func (o *GetPluginPrivilegesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetPluginPrivilegesOKBodyItems0) UnmarshalBinary ¶
func (o *GetPluginPrivilegesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetPluginPrivilegesParams ¶
type GetPluginPrivilegesParams struct { /* Remote. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Remote string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPluginPrivilegesParams contains all the parameters to send to the API endpoint
for the get plugin privileges operation. Typically these are written to a http.Request.
func NewGetPluginPrivilegesParams ¶
func NewGetPluginPrivilegesParams() *GetPluginPrivilegesParams
NewGetPluginPrivilegesParams creates a new GetPluginPrivilegesParams 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 NewGetPluginPrivilegesParamsWithContext ¶
func NewGetPluginPrivilegesParamsWithContext(ctx context.Context) *GetPluginPrivilegesParams
NewGetPluginPrivilegesParamsWithContext creates a new GetPluginPrivilegesParams object with the ability to set a context for a request.
func NewGetPluginPrivilegesParamsWithHTTPClient ¶
func NewGetPluginPrivilegesParamsWithHTTPClient(client *http.Client) *GetPluginPrivilegesParams
NewGetPluginPrivilegesParamsWithHTTPClient creates a new GetPluginPrivilegesParams object with the ability to set a custom HTTPClient for a request.
func NewGetPluginPrivilegesParamsWithTimeout ¶
func NewGetPluginPrivilegesParamsWithTimeout(timeout time.Duration) *GetPluginPrivilegesParams
NewGetPluginPrivilegesParamsWithTimeout creates a new GetPluginPrivilegesParams object with the ability to set a timeout on a request.
func (*GetPluginPrivilegesParams) SetContext ¶
func (o *GetPluginPrivilegesParams) SetContext(ctx context.Context)
SetContext adds the context to the get plugin privileges params
func (*GetPluginPrivilegesParams) SetDefaults ¶
func (o *GetPluginPrivilegesParams) SetDefaults()
SetDefaults hydrates default values in the get plugin privileges params (not the query body).
All values with no default are reset to their zero value.
func (*GetPluginPrivilegesParams) SetHTTPClient ¶
func (o *GetPluginPrivilegesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get plugin privileges params
func (*GetPluginPrivilegesParams) SetRemote ¶
func (o *GetPluginPrivilegesParams) SetRemote(remote string)
SetRemote adds the remote to the get plugin privileges params
func (*GetPluginPrivilegesParams) SetTimeout ¶
func (o *GetPluginPrivilegesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get plugin privileges params
func (*GetPluginPrivilegesParams) WithContext ¶
func (o *GetPluginPrivilegesParams) WithContext(ctx context.Context) *GetPluginPrivilegesParams
WithContext adds the context to the get plugin privileges params
func (*GetPluginPrivilegesParams) WithDefaults ¶
func (o *GetPluginPrivilegesParams) WithDefaults() *GetPluginPrivilegesParams
WithDefaults hydrates default values in the get plugin privileges params (not the query body).
All values with no default are reset to their zero value.
func (*GetPluginPrivilegesParams) WithHTTPClient ¶
func (o *GetPluginPrivilegesParams) WithHTTPClient(client *http.Client) *GetPluginPrivilegesParams
WithHTTPClient adds the HTTPClient to the get plugin privileges params
func (*GetPluginPrivilegesParams) WithRemote ¶
func (o *GetPluginPrivilegesParams) WithRemote(remote string) *GetPluginPrivilegesParams
WithRemote adds the remote to the get plugin privileges params
func (*GetPluginPrivilegesParams) WithTimeout ¶
func (o *GetPluginPrivilegesParams) WithTimeout(timeout time.Duration) *GetPluginPrivilegesParams
WithTimeout adds the timeout to the get plugin privileges params
func (*GetPluginPrivilegesParams) WriteToRequest ¶
func (o *GetPluginPrivilegesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPluginPrivilegesReader ¶
type GetPluginPrivilegesReader struct {
// contains filtered or unexported fields
}
GetPluginPrivilegesReader is a Reader for the GetPluginPrivileges structure.
func (*GetPluginPrivilegesReader) ReadResponse ¶
func (o *GetPluginPrivilegesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginCreateInternalServerError ¶
type PluginCreateInternalServerError struct {
Payload *models.ErrorResponse
}
PluginCreateInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginCreateInternalServerError ¶
func NewPluginCreateInternalServerError() *PluginCreateInternalServerError
NewPluginCreateInternalServerError creates a PluginCreateInternalServerError with default headers values
func (*PluginCreateInternalServerError) Error ¶
func (o *PluginCreateInternalServerError) Error() string
func (*PluginCreateInternalServerError) GetPayload ¶
func (o *PluginCreateInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginCreateInternalServerError) IsClientError ¶
func (o *PluginCreateInternalServerError) IsClientError() bool
IsClientError returns true when this plugin create internal server error response has a 4xx status code
func (*PluginCreateInternalServerError) IsCode ¶
func (o *PluginCreateInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin create internal server error response a status code equal to that given
func (*PluginCreateInternalServerError) IsRedirect ¶
func (o *PluginCreateInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin create internal server error response has a 3xx status code
func (*PluginCreateInternalServerError) IsServerError ¶
func (o *PluginCreateInternalServerError) IsServerError() bool
IsServerError returns true when this plugin create internal server error response has a 5xx status code
func (*PluginCreateInternalServerError) IsSuccess ¶
func (o *PluginCreateInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin create internal server error response has a 2xx status code
func (*PluginCreateInternalServerError) String ¶
func (o *PluginCreateInternalServerError) String() string
type PluginCreateNoContent ¶
type PluginCreateNoContent struct { }
PluginCreateNoContent describes a response with status code 204, with default header values.
no error
func NewPluginCreateNoContent ¶
func NewPluginCreateNoContent() *PluginCreateNoContent
NewPluginCreateNoContent creates a PluginCreateNoContent with default headers values
func (*PluginCreateNoContent) Error ¶
func (o *PluginCreateNoContent) Error() string
func (*PluginCreateNoContent) IsClientError ¶
func (o *PluginCreateNoContent) IsClientError() bool
IsClientError returns true when this plugin create no content response has a 4xx status code
func (*PluginCreateNoContent) IsCode ¶
func (o *PluginCreateNoContent) IsCode(code int) bool
IsCode returns true when this plugin create no content response a status code equal to that given
func (*PluginCreateNoContent) IsRedirect ¶
func (o *PluginCreateNoContent) IsRedirect() bool
IsRedirect returns true when this plugin create no content response has a 3xx status code
func (*PluginCreateNoContent) IsServerError ¶
func (o *PluginCreateNoContent) IsServerError() bool
IsServerError returns true when this plugin create no content response has a 5xx status code
func (*PluginCreateNoContent) IsSuccess ¶
func (o *PluginCreateNoContent) IsSuccess() bool
IsSuccess returns true when this plugin create no content response has a 2xx status code
func (*PluginCreateNoContent) String ¶
func (o *PluginCreateNoContent) String() string
type PluginCreateParams ¶
type PluginCreateParams struct { /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string /* TarContext. Path to tar containing plugin rootfs and manifest Format: binary */ TarContext io.ReadCloser Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginCreateParams contains all the parameters to send to the API endpoint
for the plugin create operation. Typically these are written to a http.Request.
func NewPluginCreateParams ¶
func NewPluginCreateParams() *PluginCreateParams
NewPluginCreateParams creates a new PluginCreateParams 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 NewPluginCreateParamsWithContext ¶
func NewPluginCreateParamsWithContext(ctx context.Context) *PluginCreateParams
NewPluginCreateParamsWithContext creates a new PluginCreateParams object with the ability to set a context for a request.
func NewPluginCreateParamsWithHTTPClient ¶
func NewPluginCreateParamsWithHTTPClient(client *http.Client) *PluginCreateParams
NewPluginCreateParamsWithHTTPClient creates a new PluginCreateParams object with the ability to set a custom HTTPClient for a request.
func NewPluginCreateParamsWithTimeout ¶
func NewPluginCreateParamsWithTimeout(timeout time.Duration) *PluginCreateParams
NewPluginCreateParamsWithTimeout creates a new PluginCreateParams object with the ability to set a timeout on a request.
func (*PluginCreateParams) SetContext ¶
func (o *PluginCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin create params
func (*PluginCreateParams) SetDefaults ¶
func (o *PluginCreateParams) SetDefaults()
SetDefaults hydrates default values in the plugin create params (not the query body).
All values with no default are reset to their zero value.
func (*PluginCreateParams) SetHTTPClient ¶
func (o *PluginCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin create params
func (*PluginCreateParams) SetName ¶
func (o *PluginCreateParams) SetName(name string)
SetName adds the name to the plugin create params
func (*PluginCreateParams) SetTarContext ¶
func (o *PluginCreateParams) SetTarContext(tarContext io.ReadCloser)
SetTarContext adds the tarContext to the plugin create params
func (*PluginCreateParams) SetTimeout ¶
func (o *PluginCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin create params
func (*PluginCreateParams) WithContext ¶
func (o *PluginCreateParams) WithContext(ctx context.Context) *PluginCreateParams
WithContext adds the context to the plugin create params
func (*PluginCreateParams) WithDefaults ¶
func (o *PluginCreateParams) WithDefaults() *PluginCreateParams
WithDefaults hydrates default values in the plugin create params (not the query body).
All values with no default are reset to their zero value.
func (*PluginCreateParams) WithHTTPClient ¶
func (o *PluginCreateParams) WithHTTPClient(client *http.Client) *PluginCreateParams
WithHTTPClient adds the HTTPClient to the plugin create params
func (*PluginCreateParams) WithName ¶
func (o *PluginCreateParams) WithName(name string) *PluginCreateParams
WithName adds the name to the plugin create params
func (*PluginCreateParams) WithTarContext ¶
func (o *PluginCreateParams) WithTarContext(tarContext io.ReadCloser) *PluginCreateParams
WithTarContext adds the tarContext to the plugin create params
func (*PluginCreateParams) WithTimeout ¶
func (o *PluginCreateParams) WithTimeout(timeout time.Duration) *PluginCreateParams
WithTimeout adds the timeout to the plugin create params
func (*PluginCreateParams) WriteToRequest ¶
func (o *PluginCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginCreateReader ¶
type PluginCreateReader struct {
// contains filtered or unexported fields
}
PluginCreateReader is a Reader for the PluginCreate structure.
func (*PluginCreateReader) ReadResponse ¶
func (o *PluginCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginDeleteInternalServerError ¶
type PluginDeleteInternalServerError struct {
Payload *models.ErrorResponse
}
PluginDeleteInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginDeleteInternalServerError ¶
func NewPluginDeleteInternalServerError() *PluginDeleteInternalServerError
NewPluginDeleteInternalServerError creates a PluginDeleteInternalServerError with default headers values
func (*PluginDeleteInternalServerError) Error ¶
func (o *PluginDeleteInternalServerError) Error() string
func (*PluginDeleteInternalServerError) GetPayload ¶
func (o *PluginDeleteInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginDeleteInternalServerError) IsClientError ¶
func (o *PluginDeleteInternalServerError) IsClientError() bool
IsClientError returns true when this plugin delete internal server error response has a 4xx status code
func (*PluginDeleteInternalServerError) IsCode ¶
func (o *PluginDeleteInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin delete internal server error response a status code equal to that given
func (*PluginDeleteInternalServerError) IsRedirect ¶
func (o *PluginDeleteInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin delete internal server error response has a 3xx status code
func (*PluginDeleteInternalServerError) IsServerError ¶
func (o *PluginDeleteInternalServerError) IsServerError() bool
IsServerError returns true when this plugin delete internal server error response has a 5xx status code
func (*PluginDeleteInternalServerError) IsSuccess ¶
func (o *PluginDeleteInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin delete internal server error response has a 2xx status code
func (*PluginDeleteInternalServerError) String ¶
func (o *PluginDeleteInternalServerError) String() string
type PluginDeleteNotFound ¶
type PluginDeleteNotFound struct {
Payload *models.ErrorResponse
}
PluginDeleteNotFound describes a response with status code 404, with default header values.
plugin is not installed
func NewPluginDeleteNotFound ¶
func NewPluginDeleteNotFound() *PluginDeleteNotFound
NewPluginDeleteNotFound creates a PluginDeleteNotFound with default headers values
func (*PluginDeleteNotFound) Error ¶
func (o *PluginDeleteNotFound) Error() string
func (*PluginDeleteNotFound) GetPayload ¶
func (o *PluginDeleteNotFound) GetPayload() *models.ErrorResponse
func (*PluginDeleteNotFound) IsClientError ¶
func (o *PluginDeleteNotFound) IsClientError() bool
IsClientError returns true when this plugin delete not found response has a 4xx status code
func (*PluginDeleteNotFound) IsCode ¶
func (o *PluginDeleteNotFound) IsCode(code int) bool
IsCode returns true when this plugin delete not found response a status code equal to that given
func (*PluginDeleteNotFound) IsRedirect ¶
func (o *PluginDeleteNotFound) IsRedirect() bool
IsRedirect returns true when this plugin delete not found response has a 3xx status code
func (*PluginDeleteNotFound) IsServerError ¶
func (o *PluginDeleteNotFound) IsServerError() bool
IsServerError returns true when this plugin delete not found response has a 5xx status code
func (*PluginDeleteNotFound) IsSuccess ¶
func (o *PluginDeleteNotFound) IsSuccess() bool
IsSuccess returns true when this plugin delete not found response has a 2xx status code
func (*PluginDeleteNotFound) String ¶
func (o *PluginDeleteNotFound) String() string
type PluginDeleteOK ¶
PluginDeleteOK describes a response with status code 200, with default header values.
no error
func NewPluginDeleteOK ¶
func NewPluginDeleteOK() *PluginDeleteOK
NewPluginDeleteOK creates a PluginDeleteOK with default headers values
func (*PluginDeleteOK) Error ¶
func (o *PluginDeleteOK) Error() string
func (*PluginDeleteOK) GetPayload ¶
func (o *PluginDeleteOK) GetPayload() *models.Plugin
func (*PluginDeleteOK) IsClientError ¶
func (o *PluginDeleteOK) IsClientError() bool
IsClientError returns true when this plugin delete o k response has a 4xx status code
func (*PluginDeleteOK) IsCode ¶
func (o *PluginDeleteOK) IsCode(code int) bool
IsCode returns true when this plugin delete o k response a status code equal to that given
func (*PluginDeleteOK) IsRedirect ¶
func (o *PluginDeleteOK) IsRedirect() bool
IsRedirect returns true when this plugin delete o k response has a 3xx status code
func (*PluginDeleteOK) IsServerError ¶
func (o *PluginDeleteOK) IsServerError() bool
IsServerError returns true when this plugin delete o k response has a 5xx status code
func (*PluginDeleteOK) IsSuccess ¶
func (o *PluginDeleteOK) IsSuccess() bool
IsSuccess returns true when this plugin delete o k response has a 2xx status code
func (*PluginDeleteOK) String ¶
func (o *PluginDeleteOK) String() string
type PluginDeleteParams ¶
type PluginDeleteParams struct { /* Force. Disable the plugin before removing. This may result in issues if the plugin is in use by a container. */ Force *bool /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginDeleteParams contains all the parameters to send to the API endpoint
for the plugin delete operation. Typically these are written to a http.Request.
func NewPluginDeleteParams ¶
func NewPluginDeleteParams() *PluginDeleteParams
NewPluginDeleteParams creates a new PluginDeleteParams 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 NewPluginDeleteParamsWithContext ¶
func NewPluginDeleteParamsWithContext(ctx context.Context) *PluginDeleteParams
NewPluginDeleteParamsWithContext creates a new PluginDeleteParams object with the ability to set a context for a request.
func NewPluginDeleteParamsWithHTTPClient ¶
func NewPluginDeleteParamsWithHTTPClient(client *http.Client) *PluginDeleteParams
NewPluginDeleteParamsWithHTTPClient creates a new PluginDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPluginDeleteParamsWithTimeout ¶
func NewPluginDeleteParamsWithTimeout(timeout time.Duration) *PluginDeleteParams
NewPluginDeleteParamsWithTimeout creates a new PluginDeleteParams object with the ability to set a timeout on a request.
func (*PluginDeleteParams) SetContext ¶
func (o *PluginDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin delete params
func (*PluginDeleteParams) SetDefaults ¶
func (o *PluginDeleteParams) SetDefaults()
SetDefaults hydrates default values in the plugin delete params (not the query body).
All values with no default are reset to their zero value.
func (*PluginDeleteParams) SetForce ¶
func (o *PluginDeleteParams) SetForce(force *bool)
SetForce adds the force to the plugin delete params
func (*PluginDeleteParams) SetHTTPClient ¶
func (o *PluginDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin delete params
func (*PluginDeleteParams) SetName ¶
func (o *PluginDeleteParams) SetName(name string)
SetName adds the name to the plugin delete params
func (*PluginDeleteParams) SetTimeout ¶
func (o *PluginDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin delete params
func (*PluginDeleteParams) WithContext ¶
func (o *PluginDeleteParams) WithContext(ctx context.Context) *PluginDeleteParams
WithContext adds the context to the plugin delete params
func (*PluginDeleteParams) WithDefaults ¶
func (o *PluginDeleteParams) WithDefaults() *PluginDeleteParams
WithDefaults hydrates default values in the plugin delete params (not the query body).
All values with no default are reset to their zero value.
func (*PluginDeleteParams) WithForce ¶
func (o *PluginDeleteParams) WithForce(force *bool) *PluginDeleteParams
WithForce adds the force to the plugin delete params
func (*PluginDeleteParams) WithHTTPClient ¶
func (o *PluginDeleteParams) WithHTTPClient(client *http.Client) *PluginDeleteParams
WithHTTPClient adds the HTTPClient to the plugin delete params
func (*PluginDeleteParams) WithName ¶
func (o *PluginDeleteParams) WithName(name string) *PluginDeleteParams
WithName adds the name to the plugin delete params
func (*PluginDeleteParams) WithTimeout ¶
func (o *PluginDeleteParams) WithTimeout(timeout time.Duration) *PluginDeleteParams
WithTimeout adds the timeout to the plugin delete params
func (*PluginDeleteParams) WriteToRequest ¶
func (o *PluginDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginDeleteReader ¶
type PluginDeleteReader struct {
// contains filtered or unexported fields
}
PluginDeleteReader is a Reader for the PluginDelete structure.
func (*PluginDeleteReader) ReadResponse ¶
func (o *PluginDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginDisableInternalServerError ¶
type PluginDisableInternalServerError struct {
Payload *models.ErrorResponse
}
PluginDisableInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginDisableInternalServerError ¶
func NewPluginDisableInternalServerError() *PluginDisableInternalServerError
NewPluginDisableInternalServerError creates a PluginDisableInternalServerError with default headers values
func (*PluginDisableInternalServerError) Error ¶
func (o *PluginDisableInternalServerError) Error() string
func (*PluginDisableInternalServerError) GetPayload ¶
func (o *PluginDisableInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginDisableInternalServerError) IsClientError ¶
func (o *PluginDisableInternalServerError) IsClientError() bool
IsClientError returns true when this plugin disable internal server error response has a 4xx status code
func (*PluginDisableInternalServerError) IsCode ¶
func (o *PluginDisableInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin disable internal server error response a status code equal to that given
func (*PluginDisableInternalServerError) IsRedirect ¶
func (o *PluginDisableInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin disable internal server error response has a 3xx status code
func (*PluginDisableInternalServerError) IsServerError ¶
func (o *PluginDisableInternalServerError) IsServerError() bool
IsServerError returns true when this plugin disable internal server error response has a 5xx status code
func (*PluginDisableInternalServerError) IsSuccess ¶
func (o *PluginDisableInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin disable internal server error response has a 2xx status code
func (*PluginDisableInternalServerError) String ¶
func (o *PluginDisableInternalServerError) String() string
type PluginDisableNotFound ¶
type PluginDisableNotFound struct {
Payload *models.ErrorResponse
}
PluginDisableNotFound describes a response with status code 404, with default header values.
plugin is not installed
func NewPluginDisableNotFound ¶
func NewPluginDisableNotFound() *PluginDisableNotFound
NewPluginDisableNotFound creates a PluginDisableNotFound with default headers values
func (*PluginDisableNotFound) Error ¶
func (o *PluginDisableNotFound) Error() string
func (*PluginDisableNotFound) GetPayload ¶
func (o *PluginDisableNotFound) GetPayload() *models.ErrorResponse
func (*PluginDisableNotFound) IsClientError ¶
func (o *PluginDisableNotFound) IsClientError() bool
IsClientError returns true when this plugin disable not found response has a 4xx status code
func (*PluginDisableNotFound) IsCode ¶
func (o *PluginDisableNotFound) IsCode(code int) bool
IsCode returns true when this plugin disable not found response a status code equal to that given
func (*PluginDisableNotFound) IsRedirect ¶
func (o *PluginDisableNotFound) IsRedirect() bool
IsRedirect returns true when this plugin disable not found response has a 3xx status code
func (*PluginDisableNotFound) IsServerError ¶
func (o *PluginDisableNotFound) IsServerError() bool
IsServerError returns true when this plugin disable not found response has a 5xx status code
func (*PluginDisableNotFound) IsSuccess ¶
func (o *PluginDisableNotFound) IsSuccess() bool
IsSuccess returns true when this plugin disable not found response has a 2xx status code
func (*PluginDisableNotFound) String ¶
func (o *PluginDisableNotFound) String() string
type PluginDisableOK ¶
type PluginDisableOK struct { }
PluginDisableOK describes a response with status code 200, with default header values.
no error
func NewPluginDisableOK ¶
func NewPluginDisableOK() *PluginDisableOK
NewPluginDisableOK creates a PluginDisableOK with default headers values
func (*PluginDisableOK) Error ¶
func (o *PluginDisableOK) Error() string
func (*PluginDisableOK) IsClientError ¶
func (o *PluginDisableOK) IsClientError() bool
IsClientError returns true when this plugin disable o k response has a 4xx status code
func (*PluginDisableOK) IsCode ¶
func (o *PluginDisableOK) IsCode(code int) bool
IsCode returns true when this plugin disable o k response a status code equal to that given
func (*PluginDisableOK) IsRedirect ¶
func (o *PluginDisableOK) IsRedirect() bool
IsRedirect returns true when this plugin disable o k response has a 3xx status code
func (*PluginDisableOK) IsServerError ¶
func (o *PluginDisableOK) IsServerError() bool
IsServerError returns true when this plugin disable o k response has a 5xx status code
func (*PluginDisableOK) IsSuccess ¶
func (o *PluginDisableOK) IsSuccess() bool
IsSuccess returns true when this plugin disable o k response has a 2xx status code
func (*PluginDisableOK) String ¶
func (o *PluginDisableOK) String() string
type PluginDisableParams ¶
type PluginDisableParams struct { /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginDisableParams contains all the parameters to send to the API endpoint
for the plugin disable operation. Typically these are written to a http.Request.
func NewPluginDisableParams ¶
func NewPluginDisableParams() *PluginDisableParams
NewPluginDisableParams creates a new PluginDisableParams 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 NewPluginDisableParamsWithContext ¶
func NewPluginDisableParamsWithContext(ctx context.Context) *PluginDisableParams
NewPluginDisableParamsWithContext creates a new PluginDisableParams object with the ability to set a context for a request.
func NewPluginDisableParamsWithHTTPClient ¶
func NewPluginDisableParamsWithHTTPClient(client *http.Client) *PluginDisableParams
NewPluginDisableParamsWithHTTPClient creates a new PluginDisableParams object with the ability to set a custom HTTPClient for a request.
func NewPluginDisableParamsWithTimeout ¶
func NewPluginDisableParamsWithTimeout(timeout time.Duration) *PluginDisableParams
NewPluginDisableParamsWithTimeout creates a new PluginDisableParams object with the ability to set a timeout on a request.
func (*PluginDisableParams) SetContext ¶
func (o *PluginDisableParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin disable params
func (*PluginDisableParams) SetDefaults ¶
func (o *PluginDisableParams) SetDefaults()
SetDefaults hydrates default values in the plugin disable params (not the query body).
All values with no default are reset to their zero value.
func (*PluginDisableParams) SetHTTPClient ¶
func (o *PluginDisableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin disable params
func (*PluginDisableParams) SetName ¶
func (o *PluginDisableParams) SetName(name string)
SetName adds the name to the plugin disable params
func (*PluginDisableParams) SetTimeout ¶
func (o *PluginDisableParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin disable params
func (*PluginDisableParams) WithContext ¶
func (o *PluginDisableParams) WithContext(ctx context.Context) *PluginDisableParams
WithContext adds the context to the plugin disable params
func (*PluginDisableParams) WithDefaults ¶
func (o *PluginDisableParams) WithDefaults() *PluginDisableParams
WithDefaults hydrates default values in the plugin disable params (not the query body).
All values with no default are reset to their zero value.
func (*PluginDisableParams) WithHTTPClient ¶
func (o *PluginDisableParams) WithHTTPClient(client *http.Client) *PluginDisableParams
WithHTTPClient adds the HTTPClient to the plugin disable params
func (*PluginDisableParams) WithName ¶
func (o *PluginDisableParams) WithName(name string) *PluginDisableParams
WithName adds the name to the plugin disable params
func (*PluginDisableParams) WithTimeout ¶
func (o *PluginDisableParams) WithTimeout(timeout time.Duration) *PluginDisableParams
WithTimeout adds the timeout to the plugin disable params
func (*PluginDisableParams) WriteToRequest ¶
func (o *PluginDisableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginDisableReader ¶
type PluginDisableReader struct {
// contains filtered or unexported fields
}
PluginDisableReader is a Reader for the PluginDisable structure.
func (*PluginDisableReader) ReadResponse ¶
func (o *PluginDisableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginEnableInternalServerError ¶
type PluginEnableInternalServerError struct {
Payload *models.ErrorResponse
}
PluginEnableInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginEnableInternalServerError ¶
func NewPluginEnableInternalServerError() *PluginEnableInternalServerError
NewPluginEnableInternalServerError creates a PluginEnableInternalServerError with default headers values
func (*PluginEnableInternalServerError) Error ¶
func (o *PluginEnableInternalServerError) Error() string
func (*PluginEnableInternalServerError) GetPayload ¶
func (o *PluginEnableInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginEnableInternalServerError) IsClientError ¶
func (o *PluginEnableInternalServerError) IsClientError() bool
IsClientError returns true when this plugin enable internal server error response has a 4xx status code
func (*PluginEnableInternalServerError) IsCode ¶
func (o *PluginEnableInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin enable internal server error response a status code equal to that given
func (*PluginEnableInternalServerError) IsRedirect ¶
func (o *PluginEnableInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin enable internal server error response has a 3xx status code
func (*PluginEnableInternalServerError) IsServerError ¶
func (o *PluginEnableInternalServerError) IsServerError() bool
IsServerError returns true when this plugin enable internal server error response has a 5xx status code
func (*PluginEnableInternalServerError) IsSuccess ¶
func (o *PluginEnableInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin enable internal server error response has a 2xx status code
func (*PluginEnableInternalServerError) String ¶
func (o *PluginEnableInternalServerError) String() string
type PluginEnableNotFound ¶
type PluginEnableNotFound struct {
Payload *models.ErrorResponse
}
PluginEnableNotFound describes a response with status code 404, with default header values.
plugin is not installed
func NewPluginEnableNotFound ¶
func NewPluginEnableNotFound() *PluginEnableNotFound
NewPluginEnableNotFound creates a PluginEnableNotFound with default headers values
func (*PluginEnableNotFound) Error ¶
func (o *PluginEnableNotFound) Error() string
func (*PluginEnableNotFound) GetPayload ¶
func (o *PluginEnableNotFound) GetPayload() *models.ErrorResponse
func (*PluginEnableNotFound) IsClientError ¶
func (o *PluginEnableNotFound) IsClientError() bool
IsClientError returns true when this plugin enable not found response has a 4xx status code
func (*PluginEnableNotFound) IsCode ¶
func (o *PluginEnableNotFound) IsCode(code int) bool
IsCode returns true when this plugin enable not found response a status code equal to that given
func (*PluginEnableNotFound) IsRedirect ¶
func (o *PluginEnableNotFound) IsRedirect() bool
IsRedirect returns true when this plugin enable not found response has a 3xx status code
func (*PluginEnableNotFound) IsServerError ¶
func (o *PluginEnableNotFound) IsServerError() bool
IsServerError returns true when this plugin enable not found response has a 5xx status code
func (*PluginEnableNotFound) IsSuccess ¶
func (o *PluginEnableNotFound) IsSuccess() bool
IsSuccess returns true when this plugin enable not found response has a 2xx status code
func (*PluginEnableNotFound) String ¶
func (o *PluginEnableNotFound) String() string
type PluginEnableOK ¶
type PluginEnableOK struct { }
PluginEnableOK describes a response with status code 200, with default header values.
no error
func NewPluginEnableOK ¶
func NewPluginEnableOK() *PluginEnableOK
NewPluginEnableOK creates a PluginEnableOK with default headers values
func (*PluginEnableOK) Error ¶
func (o *PluginEnableOK) Error() string
func (*PluginEnableOK) IsClientError ¶
func (o *PluginEnableOK) IsClientError() bool
IsClientError returns true when this plugin enable o k response has a 4xx status code
func (*PluginEnableOK) IsCode ¶
func (o *PluginEnableOK) IsCode(code int) bool
IsCode returns true when this plugin enable o k response a status code equal to that given
func (*PluginEnableOK) IsRedirect ¶
func (o *PluginEnableOK) IsRedirect() bool
IsRedirect returns true when this plugin enable o k response has a 3xx status code
func (*PluginEnableOK) IsServerError ¶
func (o *PluginEnableOK) IsServerError() bool
IsServerError returns true when this plugin enable o k response has a 5xx status code
func (*PluginEnableOK) IsSuccess ¶
func (o *PluginEnableOK) IsSuccess() bool
IsSuccess returns true when this plugin enable o k response has a 2xx status code
func (*PluginEnableOK) String ¶
func (o *PluginEnableOK) String() string
type PluginEnableParams ¶
type PluginEnableParams struct { /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string /* Timeout. Set the HTTP client timeout (in seconds) */ Timeout *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginEnableParams contains all the parameters to send to the API endpoint
for the plugin enable operation. Typically these are written to a http.Request.
func NewPluginEnableParams ¶
func NewPluginEnableParams() *PluginEnableParams
NewPluginEnableParams creates a new PluginEnableParams 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 NewPluginEnableParamsWithContext ¶
func NewPluginEnableParamsWithContext(ctx context.Context) *PluginEnableParams
NewPluginEnableParamsWithContext creates a new PluginEnableParams object with the ability to set a context for a request.
func NewPluginEnableParamsWithHTTPClient ¶
func NewPluginEnableParamsWithHTTPClient(client *http.Client) *PluginEnableParams
NewPluginEnableParamsWithHTTPClient creates a new PluginEnableParams object with the ability to set a custom HTTPClient for a request.
func NewPluginEnableParamsWithTimeout ¶
func NewPluginEnableParamsWithTimeout(timeout time.Duration) *PluginEnableParams
NewPluginEnableParamsWithTimeout creates a new PluginEnableParams object with the ability to set a timeout on a request.
func (*PluginEnableParams) SetContext ¶
func (o *PluginEnableParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin enable params
func (*PluginEnableParams) SetDefaults ¶
func (o *PluginEnableParams) SetDefaults()
SetDefaults hydrates default values in the plugin enable params (not the query body).
All values with no default are reset to their zero value.
func (*PluginEnableParams) SetHTTPClient ¶
func (o *PluginEnableParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin enable params
func (*PluginEnableParams) SetName ¶
func (o *PluginEnableParams) SetName(name string)
SetName adds the name to the plugin enable params
func (*PluginEnableParams) SetRequestTimeout ¶
func (o *PluginEnableParams) SetRequestTimeout(timeout time.Duration)
SetRequestTimeout adds the timeout to the plugin enable params
func (*PluginEnableParams) SetTimeout ¶
func (o *PluginEnableParams) SetTimeout(timeout *int64)
SetTimeout adds the timeout to the plugin enable params
func (*PluginEnableParams) WithContext ¶
func (o *PluginEnableParams) WithContext(ctx context.Context) *PluginEnableParams
WithContext adds the context to the plugin enable params
func (*PluginEnableParams) WithDefaults ¶
func (o *PluginEnableParams) WithDefaults() *PluginEnableParams
WithDefaults hydrates default values in the plugin enable params (not the query body).
All values with no default are reset to their zero value.
func (*PluginEnableParams) WithHTTPClient ¶
func (o *PluginEnableParams) WithHTTPClient(client *http.Client) *PluginEnableParams
WithHTTPClient adds the HTTPClient to the plugin enable params
func (*PluginEnableParams) WithName ¶
func (o *PluginEnableParams) WithName(name string) *PluginEnableParams
WithName adds the name to the plugin enable params
func (*PluginEnableParams) WithRequestTimeout ¶
func (o *PluginEnableParams) WithRequestTimeout(timeout time.Duration) *PluginEnableParams
WithRequestTimeout adds the timeout to the plugin enable params
func (*PluginEnableParams) WithTimeout ¶
func (o *PluginEnableParams) WithTimeout(timeout *int64) *PluginEnableParams
WithTimeout adds the timeout to the plugin enable params
func (*PluginEnableParams) WriteToRequest ¶
func (o *PluginEnableParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginEnableReader ¶
type PluginEnableReader struct {
// contains filtered or unexported fields
}
PluginEnableReader is a Reader for the PluginEnable structure.
func (*PluginEnableReader) ReadResponse ¶
func (o *PluginEnableReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginInspectInternalServerError ¶
type PluginInspectInternalServerError struct {
Payload *models.ErrorResponse
}
PluginInspectInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginInspectInternalServerError ¶
func NewPluginInspectInternalServerError() *PluginInspectInternalServerError
NewPluginInspectInternalServerError creates a PluginInspectInternalServerError with default headers values
func (*PluginInspectInternalServerError) Error ¶
func (o *PluginInspectInternalServerError) Error() string
func (*PluginInspectInternalServerError) GetPayload ¶
func (o *PluginInspectInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginInspectInternalServerError) IsClientError ¶
func (o *PluginInspectInternalServerError) IsClientError() bool
IsClientError returns true when this plugin inspect internal server error response has a 4xx status code
func (*PluginInspectInternalServerError) IsCode ¶
func (o *PluginInspectInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin inspect internal server error response a status code equal to that given
func (*PluginInspectInternalServerError) IsRedirect ¶
func (o *PluginInspectInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin inspect internal server error response has a 3xx status code
func (*PluginInspectInternalServerError) IsServerError ¶
func (o *PluginInspectInternalServerError) IsServerError() bool
IsServerError returns true when this plugin inspect internal server error response has a 5xx status code
func (*PluginInspectInternalServerError) IsSuccess ¶
func (o *PluginInspectInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin inspect internal server error response has a 2xx status code
func (*PluginInspectInternalServerError) String ¶
func (o *PluginInspectInternalServerError) String() string
type PluginInspectNotFound ¶
type PluginInspectNotFound struct {
Payload *models.ErrorResponse
}
PluginInspectNotFound describes a response with status code 404, with default header values.
plugin is not installed
func NewPluginInspectNotFound ¶
func NewPluginInspectNotFound() *PluginInspectNotFound
NewPluginInspectNotFound creates a PluginInspectNotFound with default headers values
func (*PluginInspectNotFound) Error ¶
func (o *PluginInspectNotFound) Error() string
func (*PluginInspectNotFound) GetPayload ¶
func (o *PluginInspectNotFound) GetPayload() *models.ErrorResponse
func (*PluginInspectNotFound) IsClientError ¶
func (o *PluginInspectNotFound) IsClientError() bool
IsClientError returns true when this plugin inspect not found response has a 4xx status code
func (*PluginInspectNotFound) IsCode ¶
func (o *PluginInspectNotFound) IsCode(code int) bool
IsCode returns true when this plugin inspect not found response a status code equal to that given
func (*PluginInspectNotFound) IsRedirect ¶
func (o *PluginInspectNotFound) IsRedirect() bool
IsRedirect returns true when this plugin inspect not found response has a 3xx status code
func (*PluginInspectNotFound) IsServerError ¶
func (o *PluginInspectNotFound) IsServerError() bool
IsServerError returns true when this plugin inspect not found response has a 5xx status code
func (*PluginInspectNotFound) IsSuccess ¶
func (o *PluginInspectNotFound) IsSuccess() bool
IsSuccess returns true when this plugin inspect not found response has a 2xx status code
func (*PluginInspectNotFound) String ¶
func (o *PluginInspectNotFound) String() string
type PluginInspectOK ¶
PluginInspectOK describes a response with status code 200, with default header values.
no error
func NewPluginInspectOK ¶
func NewPluginInspectOK() *PluginInspectOK
NewPluginInspectOK creates a PluginInspectOK with default headers values
func (*PluginInspectOK) Error ¶
func (o *PluginInspectOK) Error() string
func (*PluginInspectOK) GetPayload ¶
func (o *PluginInspectOK) GetPayload() *models.Plugin
func (*PluginInspectOK) IsClientError ¶
func (o *PluginInspectOK) IsClientError() bool
IsClientError returns true when this plugin inspect o k response has a 4xx status code
func (*PluginInspectOK) IsCode ¶
func (o *PluginInspectOK) IsCode(code int) bool
IsCode returns true when this plugin inspect o k response a status code equal to that given
func (*PluginInspectOK) IsRedirect ¶
func (o *PluginInspectOK) IsRedirect() bool
IsRedirect returns true when this plugin inspect o k response has a 3xx status code
func (*PluginInspectOK) IsServerError ¶
func (o *PluginInspectOK) IsServerError() bool
IsServerError returns true when this plugin inspect o k response has a 5xx status code
func (*PluginInspectOK) IsSuccess ¶
func (o *PluginInspectOK) IsSuccess() bool
IsSuccess returns true when this plugin inspect o k response has a 2xx status code
func (*PluginInspectOK) String ¶
func (o *PluginInspectOK) String() string
type PluginInspectParams ¶
type PluginInspectParams struct { /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginInspectParams contains all the parameters to send to the API endpoint
for the plugin inspect operation. Typically these are written to a http.Request.
func NewPluginInspectParams ¶
func NewPluginInspectParams() *PluginInspectParams
NewPluginInspectParams creates a new PluginInspectParams 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 NewPluginInspectParamsWithContext ¶
func NewPluginInspectParamsWithContext(ctx context.Context) *PluginInspectParams
NewPluginInspectParamsWithContext creates a new PluginInspectParams object with the ability to set a context for a request.
func NewPluginInspectParamsWithHTTPClient ¶
func NewPluginInspectParamsWithHTTPClient(client *http.Client) *PluginInspectParams
NewPluginInspectParamsWithHTTPClient creates a new PluginInspectParams object with the ability to set a custom HTTPClient for a request.
func NewPluginInspectParamsWithTimeout ¶
func NewPluginInspectParamsWithTimeout(timeout time.Duration) *PluginInspectParams
NewPluginInspectParamsWithTimeout creates a new PluginInspectParams object with the ability to set a timeout on a request.
func (*PluginInspectParams) SetContext ¶
func (o *PluginInspectParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin inspect params
func (*PluginInspectParams) SetDefaults ¶
func (o *PluginInspectParams) SetDefaults()
SetDefaults hydrates default values in the plugin inspect params (not the query body).
All values with no default are reset to their zero value.
func (*PluginInspectParams) SetHTTPClient ¶
func (o *PluginInspectParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin inspect params
func (*PluginInspectParams) SetName ¶
func (o *PluginInspectParams) SetName(name string)
SetName adds the name to the plugin inspect params
func (*PluginInspectParams) SetTimeout ¶
func (o *PluginInspectParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin inspect params
func (*PluginInspectParams) WithContext ¶
func (o *PluginInspectParams) WithContext(ctx context.Context) *PluginInspectParams
WithContext adds the context to the plugin inspect params
func (*PluginInspectParams) WithDefaults ¶
func (o *PluginInspectParams) WithDefaults() *PluginInspectParams
WithDefaults hydrates default values in the plugin inspect params (not the query body).
All values with no default are reset to their zero value.
func (*PluginInspectParams) WithHTTPClient ¶
func (o *PluginInspectParams) WithHTTPClient(client *http.Client) *PluginInspectParams
WithHTTPClient adds the HTTPClient to the plugin inspect params
func (*PluginInspectParams) WithName ¶
func (o *PluginInspectParams) WithName(name string) *PluginInspectParams
WithName adds the name to the plugin inspect params
func (*PluginInspectParams) WithTimeout ¶
func (o *PluginInspectParams) WithTimeout(timeout time.Duration) *PluginInspectParams
WithTimeout adds the timeout to the plugin inspect params
func (*PluginInspectParams) WriteToRequest ¶
func (o *PluginInspectParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginInspectReader ¶
type PluginInspectReader struct {
// contains filtered or unexported fields
}
PluginInspectReader is a Reader for the PluginInspect structure.
func (*PluginInspectReader) ReadResponse ¶
func (o *PluginInspectReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginListInternalServerError ¶
type PluginListInternalServerError struct {
Payload *models.ErrorResponse
}
PluginListInternalServerError describes a response with status code 500, with default header values.
Server error
func NewPluginListInternalServerError ¶
func NewPluginListInternalServerError() *PluginListInternalServerError
NewPluginListInternalServerError creates a PluginListInternalServerError with default headers values
func (*PluginListInternalServerError) Error ¶
func (o *PluginListInternalServerError) Error() string
func (*PluginListInternalServerError) GetPayload ¶
func (o *PluginListInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginListInternalServerError) IsClientError ¶
func (o *PluginListInternalServerError) IsClientError() bool
IsClientError returns true when this plugin list internal server error response has a 4xx status code
func (*PluginListInternalServerError) IsCode ¶
func (o *PluginListInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin list internal server error response a status code equal to that given
func (*PluginListInternalServerError) IsRedirect ¶
func (o *PluginListInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin list internal server error response has a 3xx status code
func (*PluginListInternalServerError) IsServerError ¶
func (o *PluginListInternalServerError) IsServerError() bool
IsServerError returns true when this plugin list internal server error response has a 5xx status code
func (*PluginListInternalServerError) IsSuccess ¶
func (o *PluginListInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin list internal server error response has a 2xx status code
func (*PluginListInternalServerError) String ¶
func (o *PluginListInternalServerError) String() string
type PluginListOK ¶
PluginListOK describes a response with status code 200, with default header values.
No error
func NewPluginListOK ¶
func NewPluginListOK() *PluginListOK
NewPluginListOK creates a PluginListOK with default headers values
func (*PluginListOK) Error ¶
func (o *PluginListOK) Error() string
func (*PluginListOK) GetPayload ¶
func (o *PluginListOK) GetPayload() []*models.Plugin
func (*PluginListOK) IsClientError ¶
func (o *PluginListOK) IsClientError() bool
IsClientError returns true when this plugin list o k response has a 4xx status code
func (*PluginListOK) IsCode ¶
func (o *PluginListOK) IsCode(code int) bool
IsCode returns true when this plugin list o k response a status code equal to that given
func (*PluginListOK) IsRedirect ¶
func (o *PluginListOK) IsRedirect() bool
IsRedirect returns true when this plugin list o k response has a 3xx status code
func (*PluginListOK) IsServerError ¶
func (o *PluginListOK) IsServerError() bool
IsServerError returns true when this plugin list o k response has a 5xx status code
func (*PluginListOK) IsSuccess ¶
func (o *PluginListOK) IsSuccess() bool
IsSuccess returns true when this plugin list o k response has a 2xx status code
func (*PluginListOK) String ¶
func (o *PluginListOK) String() string
type PluginListParams ¶
type PluginListParams struct { /* Filters. A JSON encoded value of the filters (a `map[string][]string`) to process on the plugin list. Available filters: - `capability=<capability name>` - `enable=<true>|<false>` */ Filters *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginListParams contains all the parameters to send to the API endpoint
for the plugin list operation. Typically these are written to a http.Request.
func NewPluginListParams ¶
func NewPluginListParams() *PluginListParams
NewPluginListParams creates a new PluginListParams 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 NewPluginListParamsWithContext ¶
func NewPluginListParamsWithContext(ctx context.Context) *PluginListParams
NewPluginListParamsWithContext creates a new PluginListParams object with the ability to set a context for a request.
func NewPluginListParamsWithHTTPClient ¶
func NewPluginListParamsWithHTTPClient(client *http.Client) *PluginListParams
NewPluginListParamsWithHTTPClient creates a new PluginListParams object with the ability to set a custom HTTPClient for a request.
func NewPluginListParamsWithTimeout ¶
func NewPluginListParamsWithTimeout(timeout time.Duration) *PluginListParams
NewPluginListParamsWithTimeout creates a new PluginListParams object with the ability to set a timeout on a request.
func (*PluginListParams) SetContext ¶
func (o *PluginListParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin list params
func (*PluginListParams) SetDefaults ¶
func (o *PluginListParams) SetDefaults()
SetDefaults hydrates default values in the plugin list params (not the query body).
All values with no default are reset to their zero value.
func (*PluginListParams) SetFilters ¶
func (o *PluginListParams) SetFilters(filters *string)
SetFilters adds the filters to the plugin list params
func (*PluginListParams) SetHTTPClient ¶
func (o *PluginListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin list params
func (*PluginListParams) SetTimeout ¶
func (o *PluginListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin list params
func (*PluginListParams) WithContext ¶
func (o *PluginListParams) WithContext(ctx context.Context) *PluginListParams
WithContext adds the context to the plugin list params
func (*PluginListParams) WithDefaults ¶
func (o *PluginListParams) WithDefaults() *PluginListParams
WithDefaults hydrates default values in the plugin list params (not the query body).
All values with no default are reset to their zero value.
func (*PluginListParams) WithFilters ¶
func (o *PluginListParams) WithFilters(filters *string) *PluginListParams
WithFilters adds the filters to the plugin list params
func (*PluginListParams) WithHTTPClient ¶
func (o *PluginListParams) WithHTTPClient(client *http.Client) *PluginListParams
WithHTTPClient adds the HTTPClient to the plugin list params
func (*PluginListParams) WithTimeout ¶
func (o *PluginListParams) WithTimeout(timeout time.Duration) *PluginListParams
WithTimeout adds the timeout to the plugin list params
func (*PluginListParams) WriteToRequest ¶
func (o *PluginListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginListReader ¶
type PluginListReader struct {
// contains filtered or unexported fields
}
PluginListReader is a Reader for the PluginList structure.
func (*PluginListReader) ReadResponse ¶
func (o *PluginListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginPullInternalServerError ¶
type PluginPullInternalServerError struct {
Payload *models.ErrorResponse
}
PluginPullInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginPullInternalServerError ¶
func NewPluginPullInternalServerError() *PluginPullInternalServerError
NewPluginPullInternalServerError creates a PluginPullInternalServerError with default headers values
func (*PluginPullInternalServerError) Error ¶
func (o *PluginPullInternalServerError) Error() string
func (*PluginPullInternalServerError) GetPayload ¶
func (o *PluginPullInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginPullInternalServerError) IsClientError ¶
func (o *PluginPullInternalServerError) IsClientError() bool
IsClientError returns true when this plugin pull internal server error response has a 4xx status code
func (*PluginPullInternalServerError) IsCode ¶
func (o *PluginPullInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin pull internal server error response a status code equal to that given
func (*PluginPullInternalServerError) IsRedirect ¶
func (o *PluginPullInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin pull internal server error response has a 3xx status code
func (*PluginPullInternalServerError) IsServerError ¶
func (o *PluginPullInternalServerError) IsServerError() bool
IsServerError returns true when this plugin pull internal server error response has a 5xx status code
func (*PluginPullInternalServerError) IsSuccess ¶
func (o *PluginPullInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin pull internal server error response has a 2xx status code
func (*PluginPullInternalServerError) String ¶
func (o *PluginPullInternalServerError) String() string
type PluginPullNoContent ¶
type PluginPullNoContent struct { }
PluginPullNoContent describes a response with status code 204, with default header values.
no error
func NewPluginPullNoContent ¶
func NewPluginPullNoContent() *PluginPullNoContent
NewPluginPullNoContent creates a PluginPullNoContent with default headers values
func (*PluginPullNoContent) Error ¶
func (o *PluginPullNoContent) Error() string
func (*PluginPullNoContent) IsClientError ¶
func (o *PluginPullNoContent) IsClientError() bool
IsClientError returns true when this plugin pull no content response has a 4xx status code
func (*PluginPullNoContent) IsCode ¶
func (o *PluginPullNoContent) IsCode(code int) bool
IsCode returns true when this plugin pull no content response a status code equal to that given
func (*PluginPullNoContent) IsRedirect ¶
func (o *PluginPullNoContent) IsRedirect() bool
IsRedirect returns true when this plugin pull no content response has a 3xx status code
func (*PluginPullNoContent) IsServerError ¶
func (o *PluginPullNoContent) IsServerError() bool
IsServerError returns true when this plugin pull no content response has a 5xx status code
func (*PluginPullNoContent) IsSuccess ¶
func (o *PluginPullNoContent) IsSuccess() bool
IsSuccess returns true when this plugin pull no content response has a 2xx status code
func (*PluginPullNoContent) String ¶
func (o *PluginPullNoContent) String() string
type PluginPullParams ¶
type PluginPullParams struct { /* XRegistryAuth. A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication) */ XRegistryAuth *string // Body. Body []*PluginPullParamsBodyItems0 /* Name. Local name for the pulled plugin. The `:latest` tag is optional, and is used as the default if omitted. */ Name *string /* Remote. Remote reference for plugin to install. The `:latest` tag is optional, and is used as the default if omitted. */ Remote string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginPullParams contains all the parameters to send to the API endpoint
for the plugin pull operation. Typically these are written to a http.Request.
func NewPluginPullParams ¶
func NewPluginPullParams() *PluginPullParams
NewPluginPullParams creates a new PluginPullParams 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 NewPluginPullParamsWithContext ¶
func NewPluginPullParamsWithContext(ctx context.Context) *PluginPullParams
NewPluginPullParamsWithContext creates a new PluginPullParams object with the ability to set a context for a request.
func NewPluginPullParamsWithHTTPClient ¶
func NewPluginPullParamsWithHTTPClient(client *http.Client) *PluginPullParams
NewPluginPullParamsWithHTTPClient creates a new PluginPullParams object with the ability to set a custom HTTPClient for a request.
func NewPluginPullParamsWithTimeout ¶
func NewPluginPullParamsWithTimeout(timeout time.Duration) *PluginPullParams
NewPluginPullParamsWithTimeout creates a new PluginPullParams object with the ability to set a timeout on a request.
func (*PluginPullParams) SetBody ¶
func (o *PluginPullParams) SetBody(body []*PluginPullParamsBodyItems0)
SetBody adds the body to the plugin pull params
func (*PluginPullParams) SetContext ¶
func (o *PluginPullParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin pull params
func (*PluginPullParams) SetDefaults ¶
func (o *PluginPullParams) SetDefaults()
SetDefaults hydrates default values in the plugin pull params (not the query body).
All values with no default are reset to their zero value.
func (*PluginPullParams) SetHTTPClient ¶
func (o *PluginPullParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin pull params
func (*PluginPullParams) SetName ¶
func (o *PluginPullParams) SetName(name *string)
SetName adds the name to the plugin pull params
func (*PluginPullParams) SetRemote ¶
func (o *PluginPullParams) SetRemote(remote string)
SetRemote adds the remote to the plugin pull params
func (*PluginPullParams) SetTimeout ¶
func (o *PluginPullParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin pull params
func (*PluginPullParams) SetXRegistryAuth ¶
func (o *PluginPullParams) SetXRegistryAuth(xRegistryAuth *string)
SetXRegistryAuth adds the xRegistryAuth to the plugin pull params
func (*PluginPullParams) WithBody ¶
func (o *PluginPullParams) WithBody(body []*PluginPullParamsBodyItems0) *PluginPullParams
WithBody adds the body to the plugin pull params
func (*PluginPullParams) WithContext ¶
func (o *PluginPullParams) WithContext(ctx context.Context) *PluginPullParams
WithContext adds the context to the plugin pull params
func (*PluginPullParams) WithDefaults ¶
func (o *PluginPullParams) WithDefaults() *PluginPullParams
WithDefaults hydrates default values in the plugin pull params (not the query body).
All values with no default are reset to their zero value.
func (*PluginPullParams) WithHTTPClient ¶
func (o *PluginPullParams) WithHTTPClient(client *http.Client) *PluginPullParams
WithHTTPClient adds the HTTPClient to the plugin pull params
func (*PluginPullParams) WithName ¶
func (o *PluginPullParams) WithName(name *string) *PluginPullParams
WithName adds the name to the plugin pull params
func (*PluginPullParams) WithRemote ¶
func (o *PluginPullParams) WithRemote(remote string) *PluginPullParams
WithRemote adds the remote to the plugin pull params
func (*PluginPullParams) WithTimeout ¶
func (o *PluginPullParams) WithTimeout(timeout time.Duration) *PluginPullParams
WithTimeout adds the timeout to the plugin pull params
func (*PluginPullParams) WithXRegistryAuth ¶
func (o *PluginPullParams) WithXRegistryAuth(xRegistryAuth *string) *PluginPullParams
WithXRegistryAuth adds the xRegistryAuth to the plugin pull params
func (*PluginPullParams) WriteToRequest ¶
func (o *PluginPullParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginPullParamsBodyItems0 ¶
type PluginPullParamsBodyItems0 struct { // description Description string `json:"Description,omitempty"` // name Name string `json:"Name,omitempty"` // value Value []string `json:"Value"` }
PluginPullParamsBodyItems0 Describes a permission accepted by the user upon installing the plugin. swagger:model PluginPullParamsBodyItems0
func (*PluginPullParamsBodyItems0) ContextValidate ¶
func (o *PluginPullParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plugin pull params body items0 based on context it is used
func (*PluginPullParamsBodyItems0) MarshalBinary ¶
func (o *PluginPullParamsBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PluginPullParamsBodyItems0) UnmarshalBinary ¶
func (o *PluginPullParamsBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PluginPullReader ¶
type PluginPullReader struct {
// contains filtered or unexported fields
}
PluginPullReader is a Reader for the PluginPull structure.
func (*PluginPullReader) ReadResponse ¶
func (o *PluginPullReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginPushInternalServerError ¶
type PluginPushInternalServerError struct {
Payload *models.ErrorResponse
}
PluginPushInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginPushInternalServerError ¶
func NewPluginPushInternalServerError() *PluginPushInternalServerError
NewPluginPushInternalServerError creates a PluginPushInternalServerError with default headers values
func (*PluginPushInternalServerError) Error ¶
func (o *PluginPushInternalServerError) Error() string
func (*PluginPushInternalServerError) GetPayload ¶
func (o *PluginPushInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginPushInternalServerError) IsClientError ¶
func (o *PluginPushInternalServerError) IsClientError() bool
IsClientError returns true when this plugin push internal server error response has a 4xx status code
func (*PluginPushInternalServerError) IsCode ¶
func (o *PluginPushInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin push internal server error response a status code equal to that given
func (*PluginPushInternalServerError) IsRedirect ¶
func (o *PluginPushInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin push internal server error response has a 3xx status code
func (*PluginPushInternalServerError) IsServerError ¶
func (o *PluginPushInternalServerError) IsServerError() bool
IsServerError returns true when this plugin push internal server error response has a 5xx status code
func (*PluginPushInternalServerError) IsSuccess ¶
func (o *PluginPushInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin push internal server error response has a 2xx status code
func (*PluginPushInternalServerError) String ¶
func (o *PluginPushInternalServerError) String() string
type PluginPushNotFound ¶
type PluginPushNotFound struct {
Payload *models.ErrorResponse
}
PluginPushNotFound describes a response with status code 404, with default header values.
plugin not installed
func NewPluginPushNotFound ¶
func NewPluginPushNotFound() *PluginPushNotFound
NewPluginPushNotFound creates a PluginPushNotFound with default headers values
func (*PluginPushNotFound) Error ¶
func (o *PluginPushNotFound) Error() string
func (*PluginPushNotFound) GetPayload ¶
func (o *PluginPushNotFound) GetPayload() *models.ErrorResponse
func (*PluginPushNotFound) IsClientError ¶
func (o *PluginPushNotFound) IsClientError() bool
IsClientError returns true when this plugin push not found response has a 4xx status code
func (*PluginPushNotFound) IsCode ¶
func (o *PluginPushNotFound) IsCode(code int) bool
IsCode returns true when this plugin push not found response a status code equal to that given
func (*PluginPushNotFound) IsRedirect ¶
func (o *PluginPushNotFound) IsRedirect() bool
IsRedirect returns true when this plugin push not found response has a 3xx status code
func (*PluginPushNotFound) IsServerError ¶
func (o *PluginPushNotFound) IsServerError() bool
IsServerError returns true when this plugin push not found response has a 5xx status code
func (*PluginPushNotFound) IsSuccess ¶
func (o *PluginPushNotFound) IsSuccess() bool
IsSuccess returns true when this plugin push not found response has a 2xx status code
func (*PluginPushNotFound) String ¶
func (o *PluginPushNotFound) String() string
type PluginPushOK ¶
type PluginPushOK struct { }
PluginPushOK describes a response with status code 200, with default header values.
no error
func NewPluginPushOK ¶
func NewPluginPushOK() *PluginPushOK
NewPluginPushOK creates a PluginPushOK with default headers values
func (*PluginPushOK) Error ¶
func (o *PluginPushOK) Error() string
func (*PluginPushOK) IsClientError ¶
func (o *PluginPushOK) IsClientError() bool
IsClientError returns true when this plugin push o k response has a 4xx status code
func (*PluginPushOK) IsCode ¶
func (o *PluginPushOK) IsCode(code int) bool
IsCode returns true when this plugin push o k response a status code equal to that given
func (*PluginPushOK) IsRedirect ¶
func (o *PluginPushOK) IsRedirect() bool
IsRedirect returns true when this plugin push o k response has a 3xx status code
func (*PluginPushOK) IsServerError ¶
func (o *PluginPushOK) IsServerError() bool
IsServerError returns true when this plugin push o k response has a 5xx status code
func (*PluginPushOK) IsSuccess ¶
func (o *PluginPushOK) IsSuccess() bool
IsSuccess returns true when this plugin push o k response has a 2xx status code
func (*PluginPushOK) String ¶
func (o *PluginPushOK) String() string
type PluginPushParams ¶
type PluginPushParams struct { /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginPushParams contains all the parameters to send to the API endpoint
for the plugin push operation. Typically these are written to a http.Request.
func NewPluginPushParams ¶
func NewPluginPushParams() *PluginPushParams
NewPluginPushParams creates a new PluginPushParams 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 NewPluginPushParamsWithContext ¶
func NewPluginPushParamsWithContext(ctx context.Context) *PluginPushParams
NewPluginPushParamsWithContext creates a new PluginPushParams object with the ability to set a context for a request.
func NewPluginPushParamsWithHTTPClient ¶
func NewPluginPushParamsWithHTTPClient(client *http.Client) *PluginPushParams
NewPluginPushParamsWithHTTPClient creates a new PluginPushParams object with the ability to set a custom HTTPClient for a request.
func NewPluginPushParamsWithTimeout ¶
func NewPluginPushParamsWithTimeout(timeout time.Duration) *PluginPushParams
NewPluginPushParamsWithTimeout creates a new PluginPushParams object with the ability to set a timeout on a request.
func (*PluginPushParams) SetContext ¶
func (o *PluginPushParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin push params
func (*PluginPushParams) SetDefaults ¶
func (o *PluginPushParams) SetDefaults()
SetDefaults hydrates default values in the plugin push params (not the query body).
All values with no default are reset to their zero value.
func (*PluginPushParams) SetHTTPClient ¶
func (o *PluginPushParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin push params
func (*PluginPushParams) SetName ¶
func (o *PluginPushParams) SetName(name string)
SetName adds the name to the plugin push params
func (*PluginPushParams) SetTimeout ¶
func (o *PluginPushParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin push params
func (*PluginPushParams) WithContext ¶
func (o *PluginPushParams) WithContext(ctx context.Context) *PluginPushParams
WithContext adds the context to the plugin push params
func (*PluginPushParams) WithDefaults ¶
func (o *PluginPushParams) WithDefaults() *PluginPushParams
WithDefaults hydrates default values in the plugin push params (not the query body).
All values with no default are reset to their zero value.
func (*PluginPushParams) WithHTTPClient ¶
func (o *PluginPushParams) WithHTTPClient(client *http.Client) *PluginPushParams
WithHTTPClient adds the HTTPClient to the plugin push params
func (*PluginPushParams) WithName ¶
func (o *PluginPushParams) WithName(name string) *PluginPushParams
WithName adds the name to the plugin push params
func (*PluginPushParams) WithTimeout ¶
func (o *PluginPushParams) WithTimeout(timeout time.Duration) *PluginPushParams
WithTimeout adds the timeout to the plugin push params
func (*PluginPushParams) WriteToRequest ¶
func (o *PluginPushParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginPushReader ¶
type PluginPushReader struct {
// contains filtered or unexported fields
}
PluginPushReader is a Reader for the PluginPush structure.
func (*PluginPushReader) ReadResponse ¶
func (o *PluginPushReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginSetInternalServerError ¶
type PluginSetInternalServerError struct {
Payload *models.ErrorResponse
}
PluginSetInternalServerError describes a response with status code 500, with default header values.
Server error
func NewPluginSetInternalServerError ¶
func NewPluginSetInternalServerError() *PluginSetInternalServerError
NewPluginSetInternalServerError creates a PluginSetInternalServerError with default headers values
func (*PluginSetInternalServerError) Error ¶
func (o *PluginSetInternalServerError) Error() string
func (*PluginSetInternalServerError) GetPayload ¶
func (o *PluginSetInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginSetInternalServerError) IsClientError ¶
func (o *PluginSetInternalServerError) IsClientError() bool
IsClientError returns true when this plugin set internal server error response has a 4xx status code
func (*PluginSetInternalServerError) IsCode ¶
func (o *PluginSetInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin set internal server error response a status code equal to that given
func (*PluginSetInternalServerError) IsRedirect ¶
func (o *PluginSetInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin set internal server error response has a 3xx status code
func (*PluginSetInternalServerError) IsServerError ¶
func (o *PluginSetInternalServerError) IsServerError() bool
IsServerError returns true when this plugin set internal server error response has a 5xx status code
func (*PluginSetInternalServerError) IsSuccess ¶
func (o *PluginSetInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin set internal server error response has a 2xx status code
func (*PluginSetInternalServerError) String ¶
func (o *PluginSetInternalServerError) String() string
type PluginSetNoContent ¶
type PluginSetNoContent struct { }
PluginSetNoContent describes a response with status code 204, with default header values.
No error
func NewPluginSetNoContent ¶
func NewPluginSetNoContent() *PluginSetNoContent
NewPluginSetNoContent creates a PluginSetNoContent with default headers values
func (*PluginSetNoContent) Error ¶
func (o *PluginSetNoContent) Error() string
func (*PluginSetNoContent) IsClientError ¶
func (o *PluginSetNoContent) IsClientError() bool
IsClientError returns true when this plugin set no content response has a 4xx status code
func (*PluginSetNoContent) IsCode ¶
func (o *PluginSetNoContent) IsCode(code int) bool
IsCode returns true when this plugin set no content response a status code equal to that given
func (*PluginSetNoContent) IsRedirect ¶
func (o *PluginSetNoContent) IsRedirect() bool
IsRedirect returns true when this plugin set no content response has a 3xx status code
func (*PluginSetNoContent) IsServerError ¶
func (o *PluginSetNoContent) IsServerError() bool
IsServerError returns true when this plugin set no content response has a 5xx status code
func (*PluginSetNoContent) IsSuccess ¶
func (o *PluginSetNoContent) IsSuccess() bool
IsSuccess returns true when this plugin set no content response has a 2xx status code
func (*PluginSetNoContent) String ¶
func (o *PluginSetNoContent) String() string
type PluginSetNotFound ¶
type PluginSetNotFound struct {
Payload *models.ErrorResponse
}
PluginSetNotFound describes a response with status code 404, with default header values.
Plugin not installed
func NewPluginSetNotFound ¶
func NewPluginSetNotFound() *PluginSetNotFound
NewPluginSetNotFound creates a PluginSetNotFound with default headers values
func (*PluginSetNotFound) Error ¶
func (o *PluginSetNotFound) Error() string
func (*PluginSetNotFound) GetPayload ¶
func (o *PluginSetNotFound) GetPayload() *models.ErrorResponse
func (*PluginSetNotFound) IsClientError ¶
func (o *PluginSetNotFound) IsClientError() bool
IsClientError returns true when this plugin set not found response has a 4xx status code
func (*PluginSetNotFound) IsCode ¶
func (o *PluginSetNotFound) IsCode(code int) bool
IsCode returns true when this plugin set not found response a status code equal to that given
func (*PluginSetNotFound) IsRedirect ¶
func (o *PluginSetNotFound) IsRedirect() bool
IsRedirect returns true when this plugin set not found response has a 3xx status code
func (*PluginSetNotFound) IsServerError ¶
func (o *PluginSetNotFound) IsServerError() bool
IsServerError returns true when this plugin set not found response has a 5xx status code
func (*PluginSetNotFound) IsSuccess ¶
func (o *PluginSetNotFound) IsSuccess() bool
IsSuccess returns true when this plugin set not found response has a 2xx status code
func (*PluginSetNotFound) String ¶
func (o *PluginSetNotFound) String() string
type PluginSetParams ¶
type PluginSetParams struct { // Body. Body []string /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginSetParams contains all the parameters to send to the API endpoint
for the plugin set operation. Typically these are written to a http.Request.
func NewPluginSetParams ¶
func NewPluginSetParams() *PluginSetParams
NewPluginSetParams creates a new PluginSetParams 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 NewPluginSetParamsWithContext ¶
func NewPluginSetParamsWithContext(ctx context.Context) *PluginSetParams
NewPluginSetParamsWithContext creates a new PluginSetParams object with the ability to set a context for a request.
func NewPluginSetParamsWithHTTPClient ¶
func NewPluginSetParamsWithHTTPClient(client *http.Client) *PluginSetParams
NewPluginSetParamsWithHTTPClient creates a new PluginSetParams object with the ability to set a custom HTTPClient for a request.
func NewPluginSetParamsWithTimeout ¶
func NewPluginSetParamsWithTimeout(timeout time.Duration) *PluginSetParams
NewPluginSetParamsWithTimeout creates a new PluginSetParams object with the ability to set a timeout on a request.
func (*PluginSetParams) SetBody ¶
func (o *PluginSetParams) SetBody(body []string)
SetBody adds the body to the plugin set params
func (*PluginSetParams) SetContext ¶
func (o *PluginSetParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin set params
func (*PluginSetParams) SetDefaults ¶
func (o *PluginSetParams) SetDefaults()
SetDefaults hydrates default values in the plugin set params (not the query body).
All values with no default are reset to their zero value.
func (*PluginSetParams) SetHTTPClient ¶
func (o *PluginSetParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin set params
func (*PluginSetParams) SetName ¶
func (o *PluginSetParams) SetName(name string)
SetName adds the name to the plugin set params
func (*PluginSetParams) SetTimeout ¶
func (o *PluginSetParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin set params
func (*PluginSetParams) WithBody ¶
func (o *PluginSetParams) WithBody(body []string) *PluginSetParams
WithBody adds the body to the plugin set params
func (*PluginSetParams) WithContext ¶
func (o *PluginSetParams) WithContext(ctx context.Context) *PluginSetParams
WithContext adds the context to the plugin set params
func (*PluginSetParams) WithDefaults ¶
func (o *PluginSetParams) WithDefaults() *PluginSetParams
WithDefaults hydrates default values in the plugin set params (not the query body).
All values with no default are reset to their zero value.
func (*PluginSetParams) WithHTTPClient ¶
func (o *PluginSetParams) WithHTTPClient(client *http.Client) *PluginSetParams
WithHTTPClient adds the HTTPClient to the plugin set params
func (*PluginSetParams) WithName ¶
func (o *PluginSetParams) WithName(name string) *PluginSetParams
WithName adds the name to the plugin set params
func (*PluginSetParams) WithTimeout ¶
func (o *PluginSetParams) WithTimeout(timeout time.Duration) *PluginSetParams
WithTimeout adds the timeout to the plugin set params
func (*PluginSetParams) WriteToRequest ¶
func (o *PluginSetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginSetReader ¶
type PluginSetReader struct {
// contains filtered or unexported fields
}
PluginSetReader is a Reader for the PluginSet structure.
func (*PluginSetReader) ReadResponse ¶
func (o *PluginSetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PluginUpgradeInternalServerError ¶
type PluginUpgradeInternalServerError struct {
Payload *models.ErrorResponse
}
PluginUpgradeInternalServerError describes a response with status code 500, with default header values.
server error
func NewPluginUpgradeInternalServerError ¶
func NewPluginUpgradeInternalServerError() *PluginUpgradeInternalServerError
NewPluginUpgradeInternalServerError creates a PluginUpgradeInternalServerError with default headers values
func (*PluginUpgradeInternalServerError) Error ¶
func (o *PluginUpgradeInternalServerError) Error() string
func (*PluginUpgradeInternalServerError) GetPayload ¶
func (o *PluginUpgradeInternalServerError) GetPayload() *models.ErrorResponse
func (*PluginUpgradeInternalServerError) IsClientError ¶
func (o *PluginUpgradeInternalServerError) IsClientError() bool
IsClientError returns true when this plugin upgrade internal server error response has a 4xx status code
func (*PluginUpgradeInternalServerError) IsCode ¶
func (o *PluginUpgradeInternalServerError) IsCode(code int) bool
IsCode returns true when this plugin upgrade internal server error response a status code equal to that given
func (*PluginUpgradeInternalServerError) IsRedirect ¶
func (o *PluginUpgradeInternalServerError) IsRedirect() bool
IsRedirect returns true when this plugin upgrade internal server error response has a 3xx status code
func (*PluginUpgradeInternalServerError) IsServerError ¶
func (o *PluginUpgradeInternalServerError) IsServerError() bool
IsServerError returns true when this plugin upgrade internal server error response has a 5xx status code
func (*PluginUpgradeInternalServerError) IsSuccess ¶
func (o *PluginUpgradeInternalServerError) IsSuccess() bool
IsSuccess returns true when this plugin upgrade internal server error response has a 2xx status code
func (*PluginUpgradeInternalServerError) String ¶
func (o *PluginUpgradeInternalServerError) String() string
type PluginUpgradeNoContent ¶
type PluginUpgradeNoContent struct { }
PluginUpgradeNoContent describes a response with status code 204, with default header values.
no error
func NewPluginUpgradeNoContent ¶
func NewPluginUpgradeNoContent() *PluginUpgradeNoContent
NewPluginUpgradeNoContent creates a PluginUpgradeNoContent with default headers values
func (*PluginUpgradeNoContent) Error ¶
func (o *PluginUpgradeNoContent) Error() string
func (*PluginUpgradeNoContent) IsClientError ¶
func (o *PluginUpgradeNoContent) IsClientError() bool
IsClientError returns true when this plugin upgrade no content response has a 4xx status code
func (*PluginUpgradeNoContent) IsCode ¶
func (o *PluginUpgradeNoContent) IsCode(code int) bool
IsCode returns true when this plugin upgrade no content response a status code equal to that given
func (*PluginUpgradeNoContent) IsRedirect ¶
func (o *PluginUpgradeNoContent) IsRedirect() bool
IsRedirect returns true when this plugin upgrade no content response has a 3xx status code
func (*PluginUpgradeNoContent) IsServerError ¶
func (o *PluginUpgradeNoContent) IsServerError() bool
IsServerError returns true when this plugin upgrade no content response has a 5xx status code
func (*PluginUpgradeNoContent) IsSuccess ¶
func (o *PluginUpgradeNoContent) IsSuccess() bool
IsSuccess returns true when this plugin upgrade no content response has a 2xx status code
func (*PluginUpgradeNoContent) String ¶
func (o *PluginUpgradeNoContent) String() string
type PluginUpgradeNotFound ¶
type PluginUpgradeNotFound struct {
Payload *models.ErrorResponse
}
PluginUpgradeNotFound describes a response with status code 404, with default header values.
plugin not installed
func NewPluginUpgradeNotFound ¶
func NewPluginUpgradeNotFound() *PluginUpgradeNotFound
NewPluginUpgradeNotFound creates a PluginUpgradeNotFound with default headers values
func (*PluginUpgradeNotFound) Error ¶
func (o *PluginUpgradeNotFound) Error() string
func (*PluginUpgradeNotFound) GetPayload ¶
func (o *PluginUpgradeNotFound) GetPayload() *models.ErrorResponse
func (*PluginUpgradeNotFound) IsClientError ¶
func (o *PluginUpgradeNotFound) IsClientError() bool
IsClientError returns true when this plugin upgrade not found response has a 4xx status code
func (*PluginUpgradeNotFound) IsCode ¶
func (o *PluginUpgradeNotFound) IsCode(code int) bool
IsCode returns true when this plugin upgrade not found response a status code equal to that given
func (*PluginUpgradeNotFound) IsRedirect ¶
func (o *PluginUpgradeNotFound) IsRedirect() bool
IsRedirect returns true when this plugin upgrade not found response has a 3xx status code
func (*PluginUpgradeNotFound) IsServerError ¶
func (o *PluginUpgradeNotFound) IsServerError() bool
IsServerError returns true when this plugin upgrade not found response has a 5xx status code
func (*PluginUpgradeNotFound) IsSuccess ¶
func (o *PluginUpgradeNotFound) IsSuccess() bool
IsSuccess returns true when this plugin upgrade not found response has a 2xx status code
func (*PluginUpgradeNotFound) String ¶
func (o *PluginUpgradeNotFound) String() string
type PluginUpgradeParams ¶
type PluginUpgradeParams struct { /* XRegistryAuth. A base64-encoded auth configuration to use when pulling a plugin from a registry. [See the authentication section for details.](#section/Authentication) */ XRegistryAuth *string // Body. Body []*PluginUpgradeParamsBodyItems0 /* Name. The name of the plugin. The `:latest` tag is optional, and is the default if omitted. */ Name string /* Remote. Remote reference to upgrade to. The `:latest` tag is optional, and is used as the default if omitted. */ Remote string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PluginUpgradeParams contains all the parameters to send to the API endpoint
for the plugin upgrade operation. Typically these are written to a http.Request.
func NewPluginUpgradeParams ¶
func NewPluginUpgradeParams() *PluginUpgradeParams
NewPluginUpgradeParams creates a new PluginUpgradeParams 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 NewPluginUpgradeParamsWithContext ¶
func NewPluginUpgradeParamsWithContext(ctx context.Context) *PluginUpgradeParams
NewPluginUpgradeParamsWithContext creates a new PluginUpgradeParams object with the ability to set a context for a request.
func NewPluginUpgradeParamsWithHTTPClient ¶
func NewPluginUpgradeParamsWithHTTPClient(client *http.Client) *PluginUpgradeParams
NewPluginUpgradeParamsWithHTTPClient creates a new PluginUpgradeParams object with the ability to set a custom HTTPClient for a request.
func NewPluginUpgradeParamsWithTimeout ¶
func NewPluginUpgradeParamsWithTimeout(timeout time.Duration) *PluginUpgradeParams
NewPluginUpgradeParamsWithTimeout creates a new PluginUpgradeParams object with the ability to set a timeout on a request.
func (*PluginUpgradeParams) SetBody ¶
func (o *PluginUpgradeParams) SetBody(body []*PluginUpgradeParamsBodyItems0)
SetBody adds the body to the plugin upgrade params
func (*PluginUpgradeParams) SetContext ¶
func (o *PluginUpgradeParams) SetContext(ctx context.Context)
SetContext adds the context to the plugin upgrade params
func (*PluginUpgradeParams) SetDefaults ¶
func (o *PluginUpgradeParams) SetDefaults()
SetDefaults hydrates default values in the plugin upgrade params (not the query body).
All values with no default are reset to their zero value.
func (*PluginUpgradeParams) SetHTTPClient ¶
func (o *PluginUpgradeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the plugin upgrade params
func (*PluginUpgradeParams) SetName ¶
func (o *PluginUpgradeParams) SetName(name string)
SetName adds the name to the plugin upgrade params
func (*PluginUpgradeParams) SetRemote ¶
func (o *PluginUpgradeParams) SetRemote(remote string)
SetRemote adds the remote to the plugin upgrade params
func (*PluginUpgradeParams) SetTimeout ¶
func (o *PluginUpgradeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the plugin upgrade params
func (*PluginUpgradeParams) SetXRegistryAuth ¶
func (o *PluginUpgradeParams) SetXRegistryAuth(xRegistryAuth *string)
SetXRegistryAuth adds the xRegistryAuth to the plugin upgrade params
func (*PluginUpgradeParams) WithBody ¶
func (o *PluginUpgradeParams) WithBody(body []*PluginUpgradeParamsBodyItems0) *PluginUpgradeParams
WithBody adds the body to the plugin upgrade params
func (*PluginUpgradeParams) WithContext ¶
func (o *PluginUpgradeParams) WithContext(ctx context.Context) *PluginUpgradeParams
WithContext adds the context to the plugin upgrade params
func (*PluginUpgradeParams) WithDefaults ¶
func (o *PluginUpgradeParams) WithDefaults() *PluginUpgradeParams
WithDefaults hydrates default values in the plugin upgrade params (not the query body).
All values with no default are reset to their zero value.
func (*PluginUpgradeParams) WithHTTPClient ¶
func (o *PluginUpgradeParams) WithHTTPClient(client *http.Client) *PluginUpgradeParams
WithHTTPClient adds the HTTPClient to the plugin upgrade params
func (*PluginUpgradeParams) WithName ¶
func (o *PluginUpgradeParams) WithName(name string) *PluginUpgradeParams
WithName adds the name to the plugin upgrade params
func (*PluginUpgradeParams) WithRemote ¶
func (o *PluginUpgradeParams) WithRemote(remote string) *PluginUpgradeParams
WithRemote adds the remote to the plugin upgrade params
func (*PluginUpgradeParams) WithTimeout ¶
func (o *PluginUpgradeParams) WithTimeout(timeout time.Duration) *PluginUpgradeParams
WithTimeout adds the timeout to the plugin upgrade params
func (*PluginUpgradeParams) WithXRegistryAuth ¶
func (o *PluginUpgradeParams) WithXRegistryAuth(xRegistryAuth *string) *PluginUpgradeParams
WithXRegistryAuth adds the xRegistryAuth to the plugin upgrade params
func (*PluginUpgradeParams) WriteToRequest ¶
func (o *PluginUpgradeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PluginUpgradeParamsBodyItems0 ¶
type PluginUpgradeParamsBodyItems0 struct { // description Description string `json:"Description,omitempty"` // name Name string `json:"Name,omitempty"` // value Value []string `json:"Value"` }
PluginUpgradeParamsBodyItems0 Describes a permission accepted by the user upon installing the plugin. swagger:model PluginUpgradeParamsBodyItems0
func (*PluginUpgradeParamsBodyItems0) ContextValidate ¶
func (o *PluginUpgradeParamsBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this plugin upgrade params body items0 based on context it is used
func (*PluginUpgradeParamsBodyItems0) MarshalBinary ¶
func (o *PluginUpgradeParamsBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PluginUpgradeParamsBodyItems0) UnmarshalBinary ¶
func (o *PluginUpgradeParamsBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PluginUpgradeReader ¶
type PluginUpgradeReader struct {
// contains filtered or unexported fields
}
PluginUpgradeReader is a Reader for the PluginUpgrade structure.
func (*PluginUpgradeReader) ReadResponse ¶
func (o *PluginUpgradeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- get_plugin_privileges_parameters.go
- get_plugin_privileges_responses.go
- plugin_client.go
- plugin_create_parameters.go
- plugin_create_responses.go
- plugin_delete_parameters.go
- plugin_delete_responses.go
- plugin_disable_parameters.go
- plugin_disable_responses.go
- plugin_enable_parameters.go
- plugin_enable_responses.go
- plugin_inspect_parameters.go
- plugin_inspect_responses.go
- plugin_list_parameters.go
- plugin_list_responses.go
- plugin_pull_parameters.go
- plugin_pull_responses.go
- plugin_push_parameters.go
- plugin_push_responses.go
- plugin_set_parameters.go
- plugin_set_responses.go
- plugin_upgrade_parameters.go
- plugin_upgrade_responses.go