configuration

package
v0.26.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2023 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const AddNotificationEndpointCreatedCode int = 201

AddNotificationEndpointCreatedCode is the HTTP code returned for type AddNotificationEndpointCreated

View Source
const ConfigInfoOKCode int = 200

ConfigInfoOKCode is the HTTP code returned for type ConfigInfoOK

View Source
const ExportConfigOKCode int = 200

ExportConfigOKCode is the HTTP code returned for type ExportConfigOK

View Source
const ListConfigOKCode int = 200

ListConfigOKCode is the HTTP code returned for type ListConfigOK

View Source
const NotificationEndpointListOKCode int = 200

NotificationEndpointListOKCode is the HTTP code returned for type NotificationEndpointListOK

View Source
const PostConfigsImportOKCode int = 200

PostConfigsImportOKCode is the HTTP code returned for type PostConfigsImportOK

View Source
const ResetConfigOKCode int = 200

ResetConfigOKCode is the HTTP code returned for type ResetConfigOK

View Source
const SetConfigOKCode int = 200

SetConfigOKCode is the HTTP code returned for type SetConfigOK

Variables

View Source
var PostConfigsImportMaxParseMemory int64 = 32 << 20

PostConfigsImportMaxParseMemory sets the maximum size in bytes for the multipart form parser for this operation.

The default value is 32 MB. The multipart parser stores up to this + 10MB.

Functions

This section is empty.

Types

type AddNotificationEndpoint

type AddNotificationEndpoint struct {
	Context *middleware.Context
	Handler AddNotificationEndpointHandler
}
AddNotificationEndpoint swagger:route POST /admin/notification_endpoints Configuration addNotificationEndpoint

Allows to configure a new notification endpoint

func NewAddNotificationEndpoint

func NewAddNotificationEndpoint(ctx *middleware.Context, handler AddNotificationEndpointHandler) *AddNotificationEndpoint

NewAddNotificationEndpoint creates a new http.Handler for the add notification endpoint operation

func (*AddNotificationEndpoint) ServeHTTP

type AddNotificationEndpointCreated

type AddNotificationEndpointCreated struct {

	/*
	  In: Body
	*/
	Payload *models.SetNotificationEndpointResponse `json:"body,omitempty"`
}

AddNotificationEndpointCreated A successful response.

swagger:response addNotificationEndpointCreated

func NewAddNotificationEndpointCreated

func NewAddNotificationEndpointCreated() *AddNotificationEndpointCreated

NewAddNotificationEndpointCreated creates AddNotificationEndpointCreated with default headers values

func (*AddNotificationEndpointCreated) SetPayload

SetPayload sets the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WithPayload

WithPayload adds the payload to the add notification endpoint created response

func (*AddNotificationEndpointCreated) WriteResponse

func (o *AddNotificationEndpointCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNotificationEndpointDefault

type AddNotificationEndpointDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

AddNotificationEndpointDefault Generic error response.

swagger:response addNotificationEndpointDefault

func NewAddNotificationEndpointDefault

func NewAddNotificationEndpointDefault(code int) *AddNotificationEndpointDefault

NewAddNotificationEndpointDefault creates AddNotificationEndpointDefault with default headers values

func (*AddNotificationEndpointDefault) SetPayload

func (o *AddNotificationEndpointDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) SetStatusCode

func (o *AddNotificationEndpointDefault) SetStatusCode(code int)

SetStatusCode sets the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithPayload

WithPayload adds the payload to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WithStatusCode

WithStatusCode adds the status to the add notification endpoint default response

func (*AddNotificationEndpointDefault) WriteResponse

func (o *AddNotificationEndpointDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type AddNotificationEndpointHandler

type AddNotificationEndpointHandler interface {
	Handle(AddNotificationEndpointParams, *models.Principal) middleware.Responder
}

AddNotificationEndpointHandler interface for that can handle valid add notification endpoint params

type AddNotificationEndpointHandlerFunc

type AddNotificationEndpointHandlerFunc func(AddNotificationEndpointParams, *models.Principal) middleware.Responder

AddNotificationEndpointHandlerFunc turns a function with the right signature into a add notification endpoint handler

func (AddNotificationEndpointHandlerFunc) Handle

Handle executing the request and returning a response

type AddNotificationEndpointParams

type AddNotificationEndpointParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.NotificationEndpoint
}

AddNotificationEndpointParams contains all the bound params for the add notification endpoint operation typically these are obtained from a http.Request

swagger:parameters AddNotificationEndpoint

func NewAddNotificationEndpointParams

func NewAddNotificationEndpointParams() AddNotificationEndpointParams

NewAddNotificationEndpointParams creates a new AddNotificationEndpointParams object

There are no default values defined in the spec.

func (*AddNotificationEndpointParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewAddNotificationEndpointParams() beforehand.

type AddNotificationEndpointURL

type AddNotificationEndpointURL struct {
	// contains filtered or unexported fields
}

AddNotificationEndpointURL generates an URL for the add notification endpoint operation

func (*AddNotificationEndpointURL) Build

func (o *AddNotificationEndpointURL) Build() (*url.URL, error)

Build a url path and query string

func (*AddNotificationEndpointURL) BuildFull

func (o *AddNotificationEndpointURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*AddNotificationEndpointURL) Must

func (o *AddNotificationEndpointURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*AddNotificationEndpointURL) SetBasePath

func (o *AddNotificationEndpointURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*AddNotificationEndpointURL) String

func (o *AddNotificationEndpointURL) String() string

String returns the string representation of the path with query string

func (*AddNotificationEndpointURL) StringFull

func (o *AddNotificationEndpointURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*AddNotificationEndpointURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ConfigInfo

type ConfigInfo struct {
	Context *middleware.Context
	Handler ConfigInfoHandler
}
ConfigInfo swagger:route GET /configs/{name} Configuration configInfo

Configuration info

func NewConfigInfo

func NewConfigInfo(ctx *middleware.Context, handler ConfigInfoHandler) *ConfigInfo

NewConfigInfo creates a new http.Handler for the config info operation

func (*ConfigInfo) ServeHTTP

func (o *ConfigInfo) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ConfigInfoDefault

type ConfigInfoDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ConfigInfoDefault Generic error response.

swagger:response configInfoDefault

func NewConfigInfoDefault

func NewConfigInfoDefault(code int) *ConfigInfoDefault

NewConfigInfoDefault creates ConfigInfoDefault with default headers values

func (*ConfigInfoDefault) SetPayload

func (o *ConfigInfoDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the config info default response

func (*ConfigInfoDefault) SetStatusCode

func (o *ConfigInfoDefault) SetStatusCode(code int)

SetStatusCode sets the status to the config info default response

func (*ConfigInfoDefault) WithPayload

func (o *ConfigInfoDefault) WithPayload(payload *models.Error) *ConfigInfoDefault

WithPayload adds the payload to the config info default response

func (*ConfigInfoDefault) WithStatusCode

func (o *ConfigInfoDefault) WithStatusCode(code int) *ConfigInfoDefault

WithStatusCode adds the status to the config info default response

func (*ConfigInfoDefault) WriteResponse

func (o *ConfigInfoDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ConfigInfoHandler

type ConfigInfoHandler interface {
	Handle(ConfigInfoParams, *models.Principal) middleware.Responder
}

ConfigInfoHandler interface for that can handle valid config info params

type ConfigInfoHandlerFunc

type ConfigInfoHandlerFunc func(ConfigInfoParams, *models.Principal) middleware.Responder

ConfigInfoHandlerFunc turns a function with the right signature into a config info handler

func (ConfigInfoHandlerFunc) Handle

Handle executing the request and returning a response

type ConfigInfoOK

type ConfigInfoOK struct {

	/*
	  In: Body
	*/
	Payload []*models.Configuration `json:"body,omitempty"`
}

ConfigInfoOK A successful response.

swagger:response configInfoOK

func NewConfigInfoOK

func NewConfigInfoOK() *ConfigInfoOK

NewConfigInfoOK creates ConfigInfoOK with default headers values

func (*ConfigInfoOK) SetPayload

func (o *ConfigInfoOK) SetPayload(payload []*models.Configuration)

SetPayload sets the payload to the config info o k response

func (*ConfigInfoOK) WithPayload

func (o *ConfigInfoOK) WithPayload(payload []*models.Configuration) *ConfigInfoOK

WithPayload adds the payload to the config info o k response

func (*ConfigInfoOK) WriteResponse

func (o *ConfigInfoOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ConfigInfoParams

type ConfigInfoParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

ConfigInfoParams contains all the bound params for the config info operation typically these are obtained from a http.Request

swagger:parameters ConfigInfo

func NewConfigInfoParams

func NewConfigInfoParams() ConfigInfoParams

NewConfigInfoParams creates a new ConfigInfoParams object

There are no default values defined in the spec.

func (*ConfigInfoParams) BindRequest

func (o *ConfigInfoParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewConfigInfoParams() beforehand.

type ConfigInfoURL

type ConfigInfoURL struct {
	Name string
	// contains filtered or unexported fields
}

ConfigInfoURL generates an URL for the config info operation

func (*ConfigInfoURL) Build

func (o *ConfigInfoURL) Build() (*url.URL, error)

Build a url path and query string

func (*ConfigInfoURL) BuildFull

func (o *ConfigInfoURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ConfigInfoURL) Must

func (o *ConfigInfoURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ConfigInfoURL) SetBasePath

func (o *ConfigInfoURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ConfigInfoURL) String

func (o *ConfigInfoURL) String() string

String returns the string representation of the path with query string

func (*ConfigInfoURL) StringFull

func (o *ConfigInfoURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ConfigInfoURL) WithBasePath

func (o *ConfigInfoURL) WithBasePath(bp string) *ConfigInfoURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ExportConfig added in v0.24.0

type ExportConfig struct {
	Context *middleware.Context
	Handler ExportConfigHandler
}
ExportConfig swagger:route GET /configs/export Configuration exportConfig

Export the current config from MinIO server

func NewExportConfig added in v0.24.0

func NewExportConfig(ctx *middleware.Context, handler ExportConfigHandler) *ExportConfig

NewExportConfig creates a new http.Handler for the export config operation

func (*ExportConfig) ServeHTTP added in v0.24.0

func (o *ExportConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ExportConfigDefault added in v0.24.0

type ExportConfigDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ExportConfigDefault Generic error response.

swagger:response exportConfigDefault

func NewExportConfigDefault added in v0.24.0

func NewExportConfigDefault(code int) *ExportConfigDefault

NewExportConfigDefault creates ExportConfigDefault with default headers values

func (*ExportConfigDefault) SetPayload added in v0.24.0

func (o *ExportConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the export config default response

func (*ExportConfigDefault) SetStatusCode added in v0.24.0

func (o *ExportConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the export config default response

func (*ExportConfigDefault) WithPayload added in v0.24.0

func (o *ExportConfigDefault) WithPayload(payload *models.Error) *ExportConfigDefault

WithPayload adds the payload to the export config default response

func (*ExportConfigDefault) WithStatusCode added in v0.24.0

func (o *ExportConfigDefault) WithStatusCode(code int) *ExportConfigDefault

WithStatusCode adds the status to the export config default response

func (*ExportConfigDefault) WriteResponse added in v0.24.0

func (o *ExportConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExportConfigHandler added in v0.24.0

type ExportConfigHandler interface {
	Handle(ExportConfigParams, *models.Principal) middleware.Responder
}

ExportConfigHandler interface for that can handle valid export config params

type ExportConfigHandlerFunc added in v0.24.0

type ExportConfigHandlerFunc func(ExportConfigParams, *models.Principal) middleware.Responder

ExportConfigHandlerFunc turns a function with the right signature into a export config handler

func (ExportConfigHandlerFunc) Handle added in v0.24.0

Handle executing the request and returning a response

type ExportConfigOK added in v0.24.0

type ExportConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.ConfigExportResponse `json:"body,omitempty"`
}

ExportConfigOK A successful response.

swagger:response exportConfigOK

func NewExportConfigOK added in v0.24.0

func NewExportConfigOK() *ExportConfigOK

NewExportConfigOK creates ExportConfigOK with default headers values

func (*ExportConfigOK) SetPayload added in v0.24.0

func (o *ExportConfigOK) SetPayload(payload *models.ConfigExportResponse)

SetPayload sets the payload to the export config o k response

func (*ExportConfigOK) WithPayload added in v0.24.0

func (o *ExportConfigOK) WithPayload(payload *models.ConfigExportResponse) *ExportConfigOK

WithPayload adds the payload to the export config o k response

func (*ExportConfigOK) WriteResponse added in v0.24.0

func (o *ExportConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ExportConfigParams added in v0.24.0

type ExportConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

ExportConfigParams contains all the bound params for the export config operation typically these are obtained from a http.Request

swagger:parameters ExportConfig

func NewExportConfigParams added in v0.24.0

func NewExportConfigParams() ExportConfigParams

NewExportConfigParams creates a new ExportConfigParams object

There are no default values defined in the spec.

func (*ExportConfigParams) BindRequest added in v0.24.0

func (o *ExportConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewExportConfigParams() beforehand.

type ExportConfigURL added in v0.24.0

type ExportConfigURL struct {
	// contains filtered or unexported fields
}

ExportConfigURL generates an URL for the export config operation

func (*ExportConfigURL) Build added in v0.24.0

func (o *ExportConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*ExportConfigURL) BuildFull added in v0.24.0

func (o *ExportConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ExportConfigURL) Must added in v0.24.0

func (o *ExportConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ExportConfigURL) SetBasePath added in v0.24.0

func (o *ExportConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ExportConfigURL) String added in v0.24.0

func (o *ExportConfigURL) String() string

String returns the string representation of the path with query string

func (*ExportConfigURL) StringFull added in v0.24.0

func (o *ExportConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ExportConfigURL) WithBasePath added in v0.24.0

func (o *ExportConfigURL) WithBasePath(bp string) *ExportConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ListConfig

type ListConfig struct {
	Context *middleware.Context
	Handler ListConfigHandler
}
ListConfig swagger:route GET /configs Configuration listConfig

List Configurations

func NewListConfig

func NewListConfig(ctx *middleware.Context, handler ListConfigHandler) *ListConfig

NewListConfig creates a new http.Handler for the list config operation

func (*ListConfig) ServeHTTP

func (o *ListConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ListConfigDefault

type ListConfigDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ListConfigDefault Generic error response.

swagger:response listConfigDefault

func NewListConfigDefault

func NewListConfigDefault(code int) *ListConfigDefault

NewListConfigDefault creates ListConfigDefault with default headers values

func (*ListConfigDefault) SetPayload

func (o *ListConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the list config default response

func (*ListConfigDefault) SetStatusCode

func (o *ListConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the list config default response

func (*ListConfigDefault) WithPayload

func (o *ListConfigDefault) WithPayload(payload *models.Error) *ListConfigDefault

WithPayload adds the payload to the list config default response

func (*ListConfigDefault) WithStatusCode

func (o *ListConfigDefault) WithStatusCode(code int) *ListConfigDefault

WithStatusCode adds the status to the list config default response

func (*ListConfigDefault) WriteResponse

func (o *ListConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListConfigHandler

type ListConfigHandler interface {
	Handle(ListConfigParams, *models.Principal) middleware.Responder
}

ListConfigHandler interface for that can handle valid list config params

type ListConfigHandlerFunc

type ListConfigHandlerFunc func(ListConfigParams, *models.Principal) middleware.Responder

ListConfigHandlerFunc turns a function with the right signature into a list config handler

func (ListConfigHandlerFunc) Handle

Handle executing the request and returning a response

type ListConfigOK

type ListConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.ListConfigResponse `json:"body,omitempty"`
}

ListConfigOK A successful response.

swagger:response listConfigOK

func NewListConfigOK

func NewListConfigOK() *ListConfigOK

NewListConfigOK creates ListConfigOK with default headers values

func (*ListConfigOK) SetPayload

func (o *ListConfigOK) SetPayload(payload *models.ListConfigResponse)

SetPayload sets the payload to the list config o k response

func (*ListConfigOK) WithPayload

func (o *ListConfigOK) WithPayload(payload *models.ListConfigResponse) *ListConfigOK

WithPayload adds the payload to the list config o k response

func (*ListConfigOK) WriteResponse

func (o *ListConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ListConfigParams

type ListConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  In: query
	*/
	Limit *int32
	/*
	  In: query
	*/
	Offset *int32
}

ListConfigParams contains all the bound params for the list config operation typically these are obtained from a http.Request

swagger:parameters ListConfig

func NewListConfigParams

func NewListConfigParams() ListConfigParams

NewListConfigParams creates a new ListConfigParams object

There are no default values defined in the spec.

func (*ListConfigParams) BindRequest

func (o *ListConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewListConfigParams() beforehand.

type ListConfigURL

type ListConfigURL struct {
	Limit  *int32
	Offset *int32
	// contains filtered or unexported fields
}

ListConfigURL generates an URL for the list config operation

func (*ListConfigURL) Build

func (o *ListConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*ListConfigURL) BuildFull

func (o *ListConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ListConfigURL) Must

func (o *ListConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ListConfigURL) SetBasePath

func (o *ListConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ListConfigURL) String

func (o *ListConfigURL) String() string

String returns the string representation of the path with query string

func (*ListConfigURL) StringFull

func (o *ListConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ListConfigURL) WithBasePath

func (o *ListConfigURL) WithBasePath(bp string) *ListConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type NotificationEndpointList

type NotificationEndpointList struct {
	Context *middleware.Context
	Handler NotificationEndpointListHandler
}
NotificationEndpointList swagger:route GET /admin/notification_endpoints Configuration notificationEndpointList

Returns a list of active notification endpoints

func NewNotificationEndpointList

func NewNotificationEndpointList(ctx *middleware.Context, handler NotificationEndpointListHandler) *NotificationEndpointList

NewNotificationEndpointList creates a new http.Handler for the notification endpoint list operation

func (*NotificationEndpointList) ServeHTTP

type NotificationEndpointListDefault

type NotificationEndpointListDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

NotificationEndpointListDefault Generic error response.

swagger:response notificationEndpointListDefault

func NewNotificationEndpointListDefault

func NewNotificationEndpointListDefault(code int) *NotificationEndpointListDefault

NewNotificationEndpointListDefault creates NotificationEndpointListDefault with default headers values

func (*NotificationEndpointListDefault) SetPayload

func (o *NotificationEndpointListDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) SetStatusCode

func (o *NotificationEndpointListDefault) SetStatusCode(code int)

SetStatusCode sets the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithPayload

WithPayload adds the payload to the notification endpoint list default response

func (*NotificationEndpointListDefault) WithStatusCode

WithStatusCode adds the status to the notification endpoint list default response

func (*NotificationEndpointListDefault) WriteResponse

func (o *NotificationEndpointListDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type NotificationEndpointListHandler

type NotificationEndpointListHandler interface {
	Handle(NotificationEndpointListParams, *models.Principal) middleware.Responder
}

NotificationEndpointListHandler interface for that can handle valid notification endpoint list params

type NotificationEndpointListHandlerFunc

type NotificationEndpointListHandlerFunc func(NotificationEndpointListParams, *models.Principal) middleware.Responder

NotificationEndpointListHandlerFunc turns a function with the right signature into a notification endpoint list handler

func (NotificationEndpointListHandlerFunc) Handle

Handle executing the request and returning a response

type NotificationEndpointListOK

type NotificationEndpointListOK struct {

	/*
	  In: Body
	*/
	Payload *models.NotifEndpointResponse `json:"body,omitempty"`
}

NotificationEndpointListOK A successful response.

swagger:response notificationEndpointListOK

func NewNotificationEndpointListOK

func NewNotificationEndpointListOK() *NotificationEndpointListOK

NewNotificationEndpointListOK creates NotificationEndpointListOK with default headers values

func (*NotificationEndpointListOK) SetPayload

SetPayload sets the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WithPayload

WithPayload adds the payload to the notification endpoint list o k response

func (*NotificationEndpointListOK) WriteResponse

func (o *NotificationEndpointListOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type NotificationEndpointListParams

type NotificationEndpointListParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`
}

NotificationEndpointListParams contains all the bound params for the notification endpoint list operation typically these are obtained from a http.Request

swagger:parameters NotificationEndpointList

func NewNotificationEndpointListParams

func NewNotificationEndpointListParams() NotificationEndpointListParams

NewNotificationEndpointListParams creates a new NotificationEndpointListParams object

There are no default values defined in the spec.

func (*NotificationEndpointListParams) BindRequest

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewNotificationEndpointListParams() beforehand.

type NotificationEndpointListURL

type NotificationEndpointListURL struct {
	// contains filtered or unexported fields
}

NotificationEndpointListURL generates an URL for the notification endpoint list operation

func (*NotificationEndpointListURL) Build

func (o *NotificationEndpointListURL) Build() (*url.URL, error)

Build a url path and query string

func (*NotificationEndpointListURL) BuildFull

func (o *NotificationEndpointListURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*NotificationEndpointListURL) Must

func (o *NotificationEndpointListURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*NotificationEndpointListURL) SetBasePath

func (o *NotificationEndpointListURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*NotificationEndpointListURL) String

func (o *NotificationEndpointListURL) String() string

String returns the string representation of the path with query string

func (*NotificationEndpointListURL) StringFull

func (o *NotificationEndpointListURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*NotificationEndpointListURL) WithBasePath

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type PostConfigsImport added in v0.24.0

type PostConfigsImport struct {
	Context *middleware.Context
	Handler PostConfigsImportHandler
}
PostConfigsImport swagger:route POST /configs/import Configuration postConfigsImport

Uploads a file to import MinIO server config.

func NewPostConfigsImport added in v0.24.0

func NewPostConfigsImport(ctx *middleware.Context, handler PostConfigsImportHandler) *PostConfigsImport

NewPostConfigsImport creates a new http.Handler for the post configs import operation

func (*PostConfigsImport) ServeHTTP added in v0.24.0

func (o *PostConfigsImport) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostConfigsImportDefault added in v0.24.0

type PostConfigsImportDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostConfigsImportDefault Generic error response.

swagger:response postConfigsImportDefault

func NewPostConfigsImportDefault added in v0.24.0

func NewPostConfigsImportDefault(code int) *PostConfigsImportDefault

NewPostConfigsImportDefault creates PostConfigsImportDefault with default headers values

func (*PostConfigsImportDefault) SetPayload added in v0.24.0

func (o *PostConfigsImportDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post configs import default response

func (*PostConfigsImportDefault) SetStatusCode added in v0.24.0

func (o *PostConfigsImportDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post configs import default response

func (*PostConfigsImportDefault) WithPayload added in v0.24.0

WithPayload adds the payload to the post configs import default response

func (*PostConfigsImportDefault) WithStatusCode added in v0.24.0

func (o *PostConfigsImportDefault) WithStatusCode(code int) *PostConfigsImportDefault

WithStatusCode adds the status to the post configs import default response

func (*PostConfigsImportDefault) WriteResponse added in v0.24.0

func (o *PostConfigsImportDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostConfigsImportHandler added in v0.24.0

type PostConfigsImportHandler interface {
	Handle(PostConfigsImportParams, *models.Principal) middleware.Responder
}

PostConfigsImportHandler interface for that can handle valid post configs import params

type PostConfigsImportHandlerFunc added in v0.24.0

type PostConfigsImportHandlerFunc func(PostConfigsImportParams, *models.Principal) middleware.Responder

PostConfigsImportHandlerFunc turns a function with the right signature into a post configs import handler

func (PostConfigsImportHandlerFunc) Handle added in v0.24.0

Handle executing the request and returning a response

type PostConfigsImportOK added in v0.24.0

type PostConfigsImportOK struct {
}

PostConfigsImportOK A successful response.

swagger:response postConfigsImportOK

func NewPostConfigsImportOK added in v0.24.0

func NewPostConfigsImportOK() *PostConfigsImportOK

NewPostConfigsImportOK creates PostConfigsImportOK with default headers values

func (*PostConfigsImportOK) WriteResponse added in v0.24.0

func (o *PostConfigsImportOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostConfigsImportParams added in v0.24.0

type PostConfigsImportParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: formData
	*/
	File io.ReadCloser
}

PostConfigsImportParams contains all the bound params for the post configs import operation typically these are obtained from a http.Request

swagger:parameters PostConfigsImport

func NewPostConfigsImportParams added in v0.24.0

func NewPostConfigsImportParams() PostConfigsImportParams

NewPostConfigsImportParams creates a new PostConfigsImportParams object

There are no default values defined in the spec.

func (*PostConfigsImportParams) BindRequest added in v0.24.0

func (o *PostConfigsImportParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewPostConfigsImportParams() beforehand.

type PostConfigsImportURL added in v0.24.0

type PostConfigsImportURL struct {
	// contains filtered or unexported fields
}

PostConfigsImportURL generates an URL for the post configs import operation

func (*PostConfigsImportURL) Build added in v0.24.0

func (o *PostConfigsImportURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostConfigsImportURL) BuildFull added in v0.24.0

func (o *PostConfigsImportURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostConfigsImportURL) Must added in v0.24.0

func (o *PostConfigsImportURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostConfigsImportURL) SetBasePath added in v0.24.0

func (o *PostConfigsImportURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*PostConfigsImportURL) String added in v0.24.0

func (o *PostConfigsImportURL) String() string

String returns the string representation of the path with query string

func (*PostConfigsImportURL) StringFull added in v0.24.0

func (o *PostConfigsImportURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostConfigsImportURL) WithBasePath added in v0.24.0

func (o *PostConfigsImportURL) WithBasePath(bp string) *PostConfigsImportURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type ResetConfig

type ResetConfig struct {
	Context *middleware.Context
	Handler ResetConfigHandler
}
ResetConfig swagger:route POST /configs/{name}/reset Configuration resetConfig

Configuration reset

func NewResetConfig

func NewResetConfig(ctx *middleware.Context, handler ResetConfigHandler) *ResetConfig

NewResetConfig creates a new http.Handler for the reset config operation

func (*ResetConfig) ServeHTTP

func (o *ResetConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type ResetConfigDefault

type ResetConfigDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

ResetConfigDefault Generic error response.

swagger:response resetConfigDefault

func NewResetConfigDefault

func NewResetConfigDefault(code int) *ResetConfigDefault

NewResetConfigDefault creates ResetConfigDefault with default headers values

func (*ResetConfigDefault) SetPayload

func (o *ResetConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the reset config default response

func (*ResetConfigDefault) SetStatusCode

func (o *ResetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the reset config default response

func (*ResetConfigDefault) WithPayload

func (o *ResetConfigDefault) WithPayload(payload *models.Error) *ResetConfigDefault

WithPayload adds the payload to the reset config default response

func (*ResetConfigDefault) WithStatusCode

func (o *ResetConfigDefault) WithStatusCode(code int) *ResetConfigDefault

WithStatusCode adds the status to the reset config default response

func (*ResetConfigDefault) WriteResponse

func (o *ResetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetConfigHandler

type ResetConfigHandler interface {
	Handle(ResetConfigParams, *models.Principal) middleware.Responder
}

ResetConfigHandler interface for that can handle valid reset config params

type ResetConfigHandlerFunc

type ResetConfigHandlerFunc func(ResetConfigParams, *models.Principal) middleware.Responder

ResetConfigHandlerFunc turns a function with the right signature into a reset config handler

func (ResetConfigHandlerFunc) Handle

Handle executing the request and returning a response

type ResetConfigOK

type ResetConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.SetConfigResponse `json:"body,omitempty"`
}

ResetConfigOK A successful response.

swagger:response resetConfigOK

func NewResetConfigOK

func NewResetConfigOK() *ResetConfigOK

NewResetConfigOK creates ResetConfigOK with default headers values

func (*ResetConfigOK) SetPayload

func (o *ResetConfigOK) SetPayload(payload *models.SetConfigResponse)

SetPayload sets the payload to the reset config o k response

func (*ResetConfigOK) WithPayload

func (o *ResetConfigOK) WithPayload(payload *models.SetConfigResponse) *ResetConfigOK

WithPayload adds the payload to the reset config o k response

func (*ResetConfigOK) WriteResponse

func (o *ResetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type ResetConfigParams

type ResetConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: path
	*/
	Name string
}

ResetConfigParams contains all the bound params for the reset config operation typically these are obtained from a http.Request

swagger:parameters ResetConfig

func NewResetConfigParams

func NewResetConfigParams() ResetConfigParams

NewResetConfigParams creates a new ResetConfigParams object

There are no default values defined in the spec.

func (*ResetConfigParams) BindRequest

func (o *ResetConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewResetConfigParams() beforehand.

type ResetConfigURL

type ResetConfigURL struct {
	Name string
	// contains filtered or unexported fields
}

ResetConfigURL generates an URL for the reset config operation

func (*ResetConfigURL) Build

func (o *ResetConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*ResetConfigURL) BuildFull

func (o *ResetConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*ResetConfigURL) Must

func (o *ResetConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*ResetConfigURL) SetBasePath

func (o *ResetConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*ResetConfigURL) String

func (o *ResetConfigURL) String() string

String returns the string representation of the path with query string

func (*ResetConfigURL) StringFull

func (o *ResetConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*ResetConfigURL) WithBasePath

func (o *ResetConfigURL) WithBasePath(bp string) *ResetConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

type SetConfig

type SetConfig struct {
	Context *middleware.Context
	Handler SetConfigHandler
}
SetConfig swagger:route PUT /configs/{name} Configuration setConfig

Set Configuration

func NewSetConfig

func NewSetConfig(ctx *middleware.Context, handler SetConfigHandler) *SetConfig

NewSetConfig creates a new http.Handler for the set config operation

func (*SetConfig) ServeHTTP

func (o *SetConfig) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type SetConfigDefault

type SetConfigDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

SetConfigDefault Generic error response.

swagger:response setConfigDefault

func NewSetConfigDefault

func NewSetConfigDefault(code int) *SetConfigDefault

NewSetConfigDefault creates SetConfigDefault with default headers values

func (*SetConfigDefault) SetPayload

func (o *SetConfigDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the set config default response

func (*SetConfigDefault) SetStatusCode

func (o *SetConfigDefault) SetStatusCode(code int)

SetStatusCode sets the status to the set config default response

func (*SetConfigDefault) WithPayload

func (o *SetConfigDefault) WithPayload(payload *models.Error) *SetConfigDefault

WithPayload adds the payload to the set config default response

func (*SetConfigDefault) WithStatusCode

func (o *SetConfigDefault) WithStatusCode(code int) *SetConfigDefault

WithStatusCode adds the status to the set config default response

func (*SetConfigDefault) WriteResponse

func (o *SetConfigDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetConfigHandler

type SetConfigHandler interface {
	Handle(SetConfigParams, *models.Principal) middleware.Responder
}

SetConfigHandler interface for that can handle valid set config params

type SetConfigHandlerFunc

type SetConfigHandlerFunc func(SetConfigParams, *models.Principal) middleware.Responder

SetConfigHandlerFunc turns a function with the right signature into a set config handler

func (SetConfigHandlerFunc) Handle

Handle executing the request and returning a response

type SetConfigOK

type SetConfigOK struct {

	/*
	  In: Body
	*/
	Payload *models.SetConfigResponse `json:"body,omitempty"`
}

SetConfigOK A successful response.

swagger:response setConfigOK

func NewSetConfigOK

func NewSetConfigOK() *SetConfigOK

NewSetConfigOK creates SetConfigOK with default headers values

func (*SetConfigOK) SetPayload

func (o *SetConfigOK) SetPayload(payload *models.SetConfigResponse)

SetPayload sets the payload to the set config o k response

func (*SetConfigOK) WithPayload

func (o *SetConfigOK) WithPayload(payload *models.SetConfigResponse) *SetConfigOK

WithPayload adds the payload to the set config o k response

func (*SetConfigOK) WriteResponse

func (o *SetConfigOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type SetConfigParams

type SetConfigParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Body *models.SetConfigRequest
	/*
	  Required: true
	  In: path
	*/
	Name string
}

SetConfigParams contains all the bound params for the set config operation typically these are obtained from a http.Request

swagger:parameters SetConfig

func NewSetConfigParams

func NewSetConfigParams() SetConfigParams

NewSetConfigParams creates a new SetConfigParams object

There are no default values defined in the spec.

func (*SetConfigParams) BindRequest

func (o *SetConfigParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error

BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.

To ensure default values, the struct must have been initialized with NewSetConfigParams() beforehand.

type SetConfigURL

type SetConfigURL struct {
	Name string
	// contains filtered or unexported fields
}

SetConfigURL generates an URL for the set config operation

func (*SetConfigURL) Build

func (o *SetConfigURL) Build() (*url.URL, error)

Build a url path and query string

func (*SetConfigURL) BuildFull

func (o *SetConfigURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*SetConfigURL) Must

func (o *SetConfigURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*SetConfigURL) SetBasePath

func (o *SetConfigURL) SetBasePath(bp string)

SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

func (*SetConfigURL) String

func (o *SetConfigURL) String() string

String returns the string representation of the path with query string

func (*SetConfigURL) StringFull

func (o *SetConfigURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*SetConfigURL) WithBasePath

func (o *SetConfigURL) WithBasePath(bp string) *SetConfigURL

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL