Versions in this module Expand all Collapse all v0 v0.4.22 Jul 28, 2026 Changes in this version + const Access_tokenScopes + func NewInstallableModuleListRequest(server string) (*http.Request, error) + func NewModuleInstallAsyncRequest(server string, body ModuleInstallAsyncJSONRequestBody) (*http.Request, error) + func NewModuleInstallAsyncRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewModuleInstallRequest(server string, body ModuleInstallJSONRequestBody) (*http.Request, error) + func NewModuleInstallRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewModuleListRequest(server string) (*http.Request, error) + func NewModuleStartStopRequest(server string, name Name, body ModuleStartStopJSONRequestBody) (*http.Request, error) + func NewModuleStartStopRequestWithBody(server string, name Name, contentType string, body io.Reader) (*http.Request, error) + func NewModuleStatusRequest(server string, name Name) (*http.Request, error) + func NewModuleUninstallRequest(server string, body ModuleUninstallJSONRequestBody) (*http.Request, error) + func NewModuleUninstallRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewRefreshModuleRequest(server string) (*http.Request, error) + type BaseResponse struct + Message *string + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) InstallableModuleList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ModuleInstall(ctx context.Context, body ModuleInstallJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ModuleInstallAsync(ctx context.Context, body ModuleInstallAsyncJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ModuleInstallAsyncWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ModuleInstallWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ModuleList(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ModuleStartStop(ctx context.Context, name Name, body ModuleStartStopJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ModuleStartStopWithBody(ctx context.Context, name Name, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) ModuleStatus(ctx context.Context, name Name, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ModuleUninstall(ctx context.Context, body ModuleUninstallJSONRequestBody, ...) (*http.Response, error) + func (c *Client) ModuleUninstallWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) RefreshModule(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + InstallableModuleList func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ModuleInstall func(ctx context.Context, body ModuleInstallJSONRequestBody, ...) (*http.Response, error) + ModuleInstallAsync func(ctx context.Context, body ModuleInstallAsyncJSONRequestBody, ...) (*http.Response, error) + ModuleInstallAsyncWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ModuleInstallWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + ModuleList func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ModuleStartStop func(ctx context.Context, name Name, body ModuleStartStopJSONRequestBody, ...) (*http.Response, error) + ModuleStartStopWithBody func(ctx context.Context, name Name, contentType string, body io.Reader, ...) (*http.Response, error) + ModuleStatus func(ctx context.Context, name Name, reqEditors ...RequestEditorFn) (*http.Response, error) + ModuleUninstall func(ctx context.Context, body ModuleUninstallJSONRequestBody, ...) (*http.Response, error) + ModuleUninstallWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + RefreshModule func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) InstallableModuleListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*InstallableModuleListResponse, error) + func (c *ClientWithResponses) ModuleInstallAsyncWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleInstallAsyncResponse, error) + func (c *ClientWithResponses) ModuleInstallAsyncWithResponse(ctx context.Context, body ModuleInstallAsyncJSONRequestBody, ...) (*ModuleInstallAsyncResponse, error) + func (c *ClientWithResponses) ModuleInstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleInstallResponse, error) + func (c *ClientWithResponses) ModuleInstallWithResponse(ctx context.Context, body ModuleInstallJSONRequestBody, ...) (*ModuleInstallResponse, error) + func (c *ClientWithResponses) ModuleListWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ModuleListResponse, error) + func (c *ClientWithResponses) ModuleStartStopWithBodyWithResponse(ctx context.Context, name Name, contentType string, body io.Reader, ...) (*ModuleStartStopResponse, error) + func (c *ClientWithResponses) ModuleStartStopWithResponse(ctx context.Context, name Name, body ModuleStartStopJSONRequestBody, ...) (*ModuleStartStopResponse, error) + func (c *ClientWithResponses) ModuleStatusWithResponse(ctx context.Context, name Name, reqEditors ...RequestEditorFn) (*ModuleStatusResponse, error) + func (c *ClientWithResponses) ModuleUninstallWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleUninstallResponse, error) + func (c *ClientWithResponses) ModuleUninstallWithResponse(ctx context.Context, body ModuleUninstallJSONRequestBody, ...) (*ModuleUninstallResponse, error) + func (c *ClientWithResponses) RefreshModuleWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshModuleResponse, error) + type ClientWithResponsesInterface interface + InstallableModuleListWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*InstallableModuleListResponse, error) + ModuleInstallAsyncWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleInstallAsyncResponse, error) + ModuleInstallAsyncWithResponse func(ctx context.Context, body ModuleInstallAsyncJSONRequestBody, ...) (*ModuleInstallAsyncResponse, error) + ModuleInstallWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleInstallResponse, error) + ModuleInstallWithResponse func(ctx context.Context, body ModuleInstallJSONRequestBody, ...) (*ModuleInstallResponse, error) + ModuleListWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ModuleListResponse, error) + ModuleStartStopWithBodyWithResponse func(ctx context.Context, name Name, contentType string, body io.Reader, ...) (*ModuleStartStopResponse, error) + ModuleStartStopWithResponse func(ctx context.Context, name Name, body ModuleStartStopJSONRequestBody, ...) (*ModuleStartStopResponse, error) + ModuleStatusWithResponse func(ctx context.Context, name Name, reqEditors ...RequestEditorFn) (*ModuleStatusResponse, error) + ModuleUninstallWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*ModuleUninstallResponse, error) + ModuleUninstallWithResponse func(ctx context.Context, body ModuleUninstallJSONRequestBody, ...) (*ModuleUninstallResponse, error) + RefreshModuleWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshModuleResponse, error) + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type InstallableModuleListOK struct + Data *[]RemoteModule + Message *string + type InstallableModuleListResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *InstallableModuleListOK + JSON500 *ResponseInternalServerError + func ParseInstallableModuleListResponse(rsp *http.Response) (*InstallableModuleListResponse, error) + func (r InstallableModuleListResponse) Status() string + func (r InstallableModuleListResponse) StatusCode() int + type Module struct + Name *string + Services *[]ModuleService + UI *ModuleUI + type ModuleId struct + Name string + type ModuleInstallAsyncJSONRequestBody = ModuleId + type ModuleInstallAsyncResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleInstallOk + JSON500 *ResponseInternalServerError + func ParseModuleInstallAsyncResponse(rsp *http.Response) (*ModuleInstallAsyncResponse, error) + func (r ModuleInstallAsyncResponse) Status() string + func (r ModuleInstallAsyncResponse) StatusCode() int + type ModuleInstallJSONRequestBody = ModuleId + type ModuleInstallOk = BaseResponse + type ModuleInstallResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleInstallOk + JSON500 *ResponseInternalServerError + func ParseModuleInstallResponse(rsp *http.Response) (*ModuleInstallResponse, error) + func (r ModuleInstallResponse) Status() string + func (r ModuleInstallResponse) StatusCode() int + type ModuleListOK struct + Data *[]Module + Message *string + type ModuleListResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleListOK + JSON500 *ResponseInternalServerError + func ParseModuleListResponse(rsp *http.Response) (*ModuleListResponse, error) + func (r ModuleListResponse) Status() string + func (r ModuleListResponse) StatusCode() int + type ModuleService struct + Name *string + type ModuleStartStopJSONBody struct + Action ModuleStartStopJSONBodyAction + type ModuleStartStopJSONBodyAction string + const Start + const Stop + type ModuleStartStopJSONRequestBody ModuleStartStopJSONBody + type ModuleStartStopOk = BaseResponse + type ModuleStartStopResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleStartStopOk + JSON400 *ResponseBadRequest + JSON500 *ResponseInternalServerError + func ParseModuleStartStopResponse(rsp *http.Response) (*ModuleStartStopResponse, error) + func (r ModuleStartStopResponse) Status() string + func (r ModuleStartStopResponse) StatusCode() int + type ModuleStatus string + const Running + const Stopped + type ModuleStatusOk struct + Data ... + Message *string + type ModuleStatusResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleStatusOk + func ParseModuleStatusResponse(rsp *http.Response) (*ModuleStatusResponse, error) + func (r ModuleStatusResponse) Status() string + func (r ModuleStatusResponse) StatusCode() int + type ModuleUI struct + Description *string + Entry *string + Formality *ModuleUIFormality + Icon *string + Prefetch *bool + Show *bool + Title *map[string]string + type ModuleUIFormality struct + Props *ModuleUIFormalityProperties + Type *ModuleUiFormalityType + type ModuleUIFormalityProperties struct + Animation *string + HasModalCard *bool + Height *string + Width *string + type ModuleUiFormalityType string + const ModuleFormalityModal + const ModuleFormalityNewTab + type ModuleUninstallJSONRequestBody = ModuleId + type ModuleUninstallOk = BaseResponse + type ModuleUninstallResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ModuleUninstallOk + JSON500 *ResponseInternalServerError + func ParseModuleUninstallResponse(rsp *http.Response) (*ModuleUninstallResponse, error) + func (r ModuleUninstallResponse) Status() string + func (r ModuleUninstallResponse) StatusCode() int + type Name = string + type RefreshModuleResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *ResponseOK + JSON500 *ResponseInternalServerError + func ParseRefreshModuleResponse(rsp *http.Response) (*RefreshModuleResponse, error) + func (r RefreshModuleResponse) Status() string + func (r RefreshModuleResponse) StatusCode() int + type RemoteModule struct + Name string + Repo *string + Title string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type RequestModuleInstall = ModuleId + type RequestModuleUninstall = ModuleId + type ResponseBadRequest = BaseResponse + type ResponseInternalServerError = BaseResponse + type ResponseOK = BaseResponse