Documentation ¶
Index ¶
- func AuthMiddleware(parent context.Context) echo.MiddlewareFunc
- func GetClusterIPs() clusterip.L
- func GetLogger(c echo.Context) *plog.Logger
- func JSONForbiddenMissingGrant(ctx echo.Context, missing ...rbac.Grant) error
- func JSONForbiddenMissingRole(ctx echo.Context, missing ...rbac.Role) error
- func JSONForbiddenStrategy(ctx echo.Context, strategy string, expected ...string) error
- func JSONFromSetInstanceMonitorError(eCtx echo.Context, value *instance.MonitorUpdate, err error) error
- func JSONFromSetNodeMonitorError(eCtx echo.Context, value *node.MonitorUpdate, err error) error
- func JSONProblem(ctx echo.Context, code int, title, detail string) error
- func JSONProblemf(ctx echo.Context, code int, title, detail string, argv ...any) error
- func LogHandler(c echo.Context, name string) *plog.Logger
- func LogMiddleware(parent context.Context) echo.MiddlewareFunc
- func LogRequestMiddleWare(parent context.Context) echo.MiddlewareFunc
- func LogUserMiddleware(parent context.Context) echo.MiddlewareFunc
- func SubQS(ctx context.Context) pubsub.QueueSizer
- func UIMiddleware(_ context.Context) echo.MiddlewareFunc
- func WithSubQS(parent context.Context, subQS pubsub.QueueSizer) context.Context
- type DaemonAPI
- func (a *DaemonAPI) DeleteObjectKVStoreEntry(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetAuthInfo(ctx echo.Context) error
- func (a *DaemonAPI) GetClusterConfigFile(ctx echo.Context) error
- func (a *DaemonAPI) GetDNSDump(ctx echo.Context) error
- func (a *DaemonAPI) GetDaemonEvents(ctx echo.Context, nodename string, params api.GetDaemonEventsParams) error
- func (a *DaemonAPI) GetDaemonStatus(ctx echo.Context, params api.GetDaemonStatusParams) error
- func (a *DaemonAPI) GetInstance(ctx echo.Context, nodename string, namespace string, kind naming.Kind, ...) error
- func (a *DaemonAPI) GetInstanceConfigFile(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetInstanceLogs(ctx echo.Context, nodename string, namespace string, kind naming.Kind, ...) error
- func (a *DaemonAPI) GetInstanceResourceInfo(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetInstanceSchedule(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetInstances(ctx echo.Context, params api.GetInstancesParams) error
- func (a *DaemonAPI) GetLocalNodeConfig(ctx echo.Context, nodename string, params api.GetNodeConfigParams) error
- func (a *DaemonAPI) GetNetworkIP(ctx echo.Context, params api.GetNetworkIPParams) error
- func (a *DaemonAPI) GetNetworks(ctx echo.Context, params api.GetNetworksParams) error
- func (a *DaemonAPI) GetNodeCapabilities(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetNodeConfig(ctx echo.Context, nodename string, params api.GetNodeConfigParams) error
- func (a *DaemonAPI) GetNodeConfigFile(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetNodeConfigGet(ctx echo.Context, nodename string, params api.GetNodeConfigGetParams) error
- func (a *DaemonAPI) GetNodeDRBDAllocation(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetNodeDRBDConfig(ctx echo.Context, nodename string, params api.GetNodeDRBDConfigParams) error
- func (a *DaemonAPI) GetNodeDriver(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeLogs(ctx echo.Context, nodename string, params api.GetNodeLogsParams) error
- func (a *DaemonAPI) GetNodePing(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSSHKey(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetNodeSchedule(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetNodeSystemDisk(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemGroup(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemHardware(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemIPAddress(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemPackage(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemPatch(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemProperty(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemSANInitiator(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemSANPath(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodeSystemUser(ctx echo.Context, nodename api.InPathNodeName) error
- func (a *DaemonAPI) GetNodes(ctx echo.Context, params api.GetNodesParams) error
- func (a *DaemonAPI) GetNodesInfo(ctx echo.Context) error
- func (a *DaemonAPI) GetObject(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetObjectConfig(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectConfigFile(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetObjectConfigGet(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectKVStore(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectKVStoreEntry(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectKVStoreKeys(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetObjectPaths(ctx echo.Context, params api.GetObjectPathsParams) error
- func (a *DaemonAPI) GetObjectResourceInfo(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetObjectSchedule(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) GetObjects(ctx echo.Context, params api.GetObjectsParams) error
- func (a *DaemonAPI) GetPoolVolumes(ctx echo.Context, params api.GetPoolVolumesParams) error
- func (a *DaemonAPI) GetPools(ctx echo.Context, params api.GetPoolsParams) error
- func (a *DaemonAPI) GetRelayMessage(ctx echo.Context, params api.GetRelayMessageParams) error
- func (a *DaemonAPI) GetRelayStatus(ctx echo.Context, params api.GetRelayStatusParams) error
- func (a *DaemonAPI) GetResources(ctx echo.Context, params api.GetResourcesParams) error
- func (a *DaemonAPI) GetSwagger(ctx echo.Context) error
- func (a *DaemonAPI) Getwhoami(ctx echo.Context) error
- func (a *DaemonAPI) PatchObjectKVStore(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostAuthToken(ctx echo.Context, params api.PostAuthTokenParams) error
- func (a *DaemonAPI) PostClusterAction(eCtx echo.Context, globalExpect node.MonitorGlobalExpect) error
- func (a *DaemonAPI) PostClusterActionAbort(ctx echo.Context) error
- func (a *DaemonAPI) PostClusterActionFreeze(ctx echo.Context) error
- func (a *DaemonAPI) PostClusterActionUnfreeze(ctx echo.Context) error
- func (a *DaemonAPI) PostDaemonJoin(ctx echo.Context, params api.PostDaemonJoinParams) error
- func (a *DaemonAPI) PostDaemonLeave(ctx echo.Context, params api.PostDaemonLeaveParams) error
- func (a *DaemonAPI) PostDaemonLogsControl(ctx echo.Context) error
- func (a *DaemonAPI) PostDaemonRestart(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PostDaemonShutdown(ctx echo.Context, nodename string, params api.PostDaemonShutdownParams) error
- func (a *DaemonAPI) PostDaemonStop(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PostDaemonSubAction(ctx echo.Context) error
- func (a *DaemonAPI) PostInstanceActionBoot(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionDelete(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionFreeze(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionPRStart(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionPRStop(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionProvision(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionPushResourceInfo(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionRestart(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionRun(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionShutdown(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionStart(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionStartStandby(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionStatus(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionStop(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionSyncIngest(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionUnfreeze(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceActionUnprovision(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostInstanceClear(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostInstanceProgress(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostInstanceStateFile(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostInstanceStatus(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostNodeActionPushAsset(ctx echo.Context, nodename string, params api.PostNodeActionPushAssetParams) error
- func (a *DaemonAPI) PostNodeActionPushDisk(ctx echo.Context, nodename string, params api.PostNodeActionPushDiskParams) error
- func (a *DaemonAPI) PostNodeActionPushPatch(ctx echo.Context, nodename string, params api.PostNodeActionPushPatchParams) error
- func (a *DaemonAPI) PostNodeActionPushPkg(ctx echo.Context, nodename string, params api.PostNodeActionPushPkgParams) error
- func (a *DaemonAPI) PostNodeActionScanCapabilities(ctx echo.Context, nodename string, ...) error
- func (a *DaemonAPI) PostNodeActionSysreport(ctx echo.Context, nodename string, params api.PostNodeActionSysreportParams) error
- func (a *DaemonAPI) PostNodeClear(ctx echo.Context) error
- func (a *DaemonAPI) PostNodeConfigUpdate(ctx echo.Context, nodename string, params api.PostNodeConfigUpdateParams) error
- func (a *DaemonAPI) PostNodeDRBDConfig(ctx echo.Context, nodename string, params api.PostNodeDRBDConfigParams) error
- func (a *DaemonAPI) PostObjectActionAbort(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionDelete(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionFreeze(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionGiveback(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionProvision(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionPurge(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionRestart(eCtx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionStart(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionStop(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionSwitch(eCtx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionUnfreeze(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectActionUnprovision(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectConfigFile(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostObjectConfigUpdate(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostObjectKVStoreEntry(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PostPeerActionAbort(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PostPeerActionDrain(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PostPeerActionFreeze(ctx echo.Context, nodename string, params api.PostPeerActionFreezeParams) error
- func (a *DaemonAPI) PostPeerActionUnfreeze(ctx echo.Context, nodename string, params api.PostPeerActionUnfreezeParams) error
- func (a *DaemonAPI) PostRelayMessage(ctx echo.Context) error
- func (a *DaemonAPI) PostSvcDisable(ctx echo.Context, namespace string, name string, ...) error
- func (a *DaemonAPI) PostSvcEnable(ctx echo.Context, namespace string, name string, ...) error
- func (a *DaemonAPI) PutClusterConfigFile(ctx echo.Context) error
- func (a *DaemonAPI) PutNodeConfigFile(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PutNodeSSHTrust(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) PutObjectConfigFile(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PutObjectKVStoreEntry(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- type Filter
- type JWTCreater
- type Meta
- type Strategier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthMiddleware ¶
func GetClusterIPs ¶
func JSONForbiddenStrategy ¶
func JSONFromSetInstanceMonitorError ¶
func JSONFromSetInstanceMonitorError(eCtx echo.Context, value *instance.MonitorUpdate, err error) error
JSONFromSetInstanceMonitorError sends a JSON response where status code depends on SetMonitorUpdate error value.
- StatusOK: expectation value accepted
- StatusRequestTimeout: request context DeadlineExceeded or timeout reached
- StatusConflict: expectation value refused
func JSONFromSetNodeMonitorError ¶
func JSONFromSetNodeMonitorError(eCtx echo.Context, value *node.MonitorUpdate, err error) error
JSONFromSetNodeMonitorError sends a JSON response where status code depends on SetNodeMonitor error value.
- StatusOK: expectation value accepted
- StatusRequestTimeout: request context DeadlineExceeded or timeout reached
- StatusConflict: expectation value refused
func JSONProblem ¶
func JSONProblemf ¶
func LogHandler ¶
func LogMiddleware ¶
func LogRequestMiddleWare ¶
func LogUserMiddleware ¶
func SubQS ¶
func SubQS(ctx context.Context) pubsub.QueueSizer
SubQS function returns api pubsub.QueueSizer from context
func UIMiddleware ¶
Types ¶
type DaemonAPI ¶
type DaemonAPI struct { Daemondata *daemondata.T EventBus *pubsub.Bus JWTcreator JWTCreater LabelNode pubsub.Label SubQS pubsub.QueueSizer // contains filtered or unexported fields }
func (*DaemonAPI) DeleteObjectKVStoreEntry ¶
func (*DaemonAPI) GetAuthInfo ¶
func (*DaemonAPI) GetClusterConfigFile ¶
func (*DaemonAPI) GetDNSDump ¶
GetDNSDump returns the DNS zone content.
func (*DaemonAPI) GetDaemonEvents ¶
func (a *DaemonAPI) GetDaemonEvents(ctx echo.Context, nodename string, params api.GetDaemonEventsParams) error
GetDaemonEvents feeds node daemon event publications in rss format.
func (*DaemonAPI) GetDaemonStatus ¶
func (a *DaemonAPI) GetDaemonStatus(ctx echo.Context, params api.GetDaemonStatusParams) error
GetDaemonStatus returns daemon data status
Serve 2s cached data.
func (*DaemonAPI) GetInstance ¶
func (*DaemonAPI) GetInstanceConfigFile ¶
func (*DaemonAPI) GetInstanceLogs ¶
func (*DaemonAPI) GetInstanceResourceInfo ¶
func (*DaemonAPI) GetInstanceSchedule ¶
func (*DaemonAPI) GetInstances ¶
func (a *DaemonAPI) GetInstances(ctx echo.Context, params api.GetInstancesParams) error
func (*DaemonAPI) GetLocalNodeConfig ¶
func (a *DaemonAPI) GetLocalNodeConfig(ctx echo.Context, nodename string, params api.GetNodeConfigParams) error
func (*DaemonAPI) GetNetworkIP ¶
func (a *DaemonAPI) GetNetworkIP(ctx echo.Context, params api.GetNetworkIPParams) error
GetNetworkIP returns network status list.
func (*DaemonAPI) GetNetworks ¶
func (a *DaemonAPI) GetNetworks(ctx echo.Context, params api.GetNetworksParams) error
GetNetworks returns network status list.
func (*DaemonAPI) GetNodeCapabilities ¶
func (*DaemonAPI) GetNodeConfig ¶
func (a *DaemonAPI) GetNodeConfig(ctx echo.Context, nodename string, params api.GetNodeConfigParams) error
func (*DaemonAPI) GetNodeConfigFile ¶
func (*DaemonAPI) GetNodeConfigGet ¶
func (a *DaemonAPI) GetNodeConfigGet(ctx echo.Context, nodename string, params api.GetNodeConfigGetParams) error
func (*DaemonAPI) GetNodeDRBDAllocation ¶
func (*DaemonAPI) GetNodeDRBDConfig ¶
func (a *DaemonAPI) GetNodeDRBDConfig(ctx echo.Context, nodename string, params api.GetNodeDRBDConfigParams) error
func (*DaemonAPI) GetNodeDriver ¶
func (a *DaemonAPI) GetNodeDriver(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeLogs ¶
func (a *DaemonAPI) GetNodeLogs(ctx echo.Context, nodename string, params api.GetNodeLogsParams) error
GetNodeLogs feeds publications in rss format.
func (*DaemonAPI) GetNodePing ¶
func (a *DaemonAPI) GetNodePing(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSSHKey ¶
func (*DaemonAPI) GetNodeSchedule ¶
func (*DaemonAPI) GetNodeSystemDisk ¶
func (a *DaemonAPI) GetNodeSystemDisk(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemGroup ¶
func (a *DaemonAPI) GetNodeSystemGroup(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemHardware ¶
func (a *DaemonAPI) GetNodeSystemHardware(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemIPAddress ¶
func (a *DaemonAPI) GetNodeSystemIPAddress(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemPackage ¶
func (a *DaemonAPI) GetNodeSystemPackage(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemPatch ¶
func (a *DaemonAPI) GetNodeSystemPatch(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemProperty ¶
func (a *DaemonAPI) GetNodeSystemProperty(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemSANInitiator ¶
func (a *DaemonAPI) GetNodeSystemSANInitiator(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemSANPath ¶
func (a *DaemonAPI) GetNodeSystemSANPath(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodeSystemUser ¶
func (a *DaemonAPI) GetNodeSystemUser(ctx echo.Context, nodename api.InPathNodeName) error
func (*DaemonAPI) GetNodes ¶
func (a *DaemonAPI) GetNodes(ctx echo.Context, params api.GetNodesParams) error
func (*DaemonAPI) GetNodesInfo ¶
func (*DaemonAPI) GetObjectConfig ¶
func (*DaemonAPI) GetObjectConfigFile ¶
func (*DaemonAPI) GetObjectConfigGet ¶
func (*DaemonAPI) GetObjectKVStore ¶
func (*DaemonAPI) GetObjectKVStoreEntry ¶
func (*DaemonAPI) GetObjectKVStoreKeys ¶
func (*DaemonAPI) GetObjectPaths ¶
func (a *DaemonAPI) GetObjectPaths(ctx echo.Context, params api.GetObjectPathsParams) error
func (*DaemonAPI) GetObjectResourceInfo ¶
func (*DaemonAPI) GetObjectSchedule ¶
func (*DaemonAPI) GetObjects ¶
func (a *DaemonAPI) GetObjects(ctx echo.Context, params api.GetObjectsParams) error
func (*DaemonAPI) GetPoolVolumes ¶
func (a *DaemonAPI) GetPoolVolumes(ctx echo.Context, params api.GetPoolVolumesParams) error
func (*DaemonAPI) GetPools ¶
func (a *DaemonAPI) GetPools(ctx echo.Context, params api.GetPoolsParams) error
func (*DaemonAPI) GetRelayMessage ¶
func (a *DaemonAPI) GetRelayMessage(ctx echo.Context, params api.GetRelayMessageParams) error
func (*DaemonAPI) GetRelayStatus ¶
func (a *DaemonAPI) GetRelayStatus(ctx echo.Context, params api.GetRelayStatusParams) error
func (*DaemonAPI) GetResources ¶
func (a *DaemonAPI) GetResources(ctx echo.Context, params api.GetResourcesParams) error
func (*DaemonAPI) GetSwagger ¶
func (*DaemonAPI) PatchObjectKVStore ¶
func (*DaemonAPI) PostAuthToken ¶
func (a *DaemonAPI) PostAuthToken(ctx echo.Context, params api.PostAuthTokenParams) error
PostAuthToken create a new token for a user
When role parameter exists a new user is created with grants from role and extra claims may be added to token
func (*DaemonAPI) PostClusterAction ¶
func (a *DaemonAPI) PostClusterAction(eCtx echo.Context, globalExpect node.MonitorGlobalExpect) error
func (*DaemonAPI) PostClusterActionAbort ¶
func (*DaemonAPI) PostClusterActionFreeze ¶
func (*DaemonAPI) PostClusterActionUnfreeze ¶
func (*DaemonAPI) PostDaemonJoin ¶
func (a *DaemonAPI) PostDaemonJoin(ctx echo.Context, params api.PostDaemonJoinParams) error
PostDaemonJoin publishes msgbus.JoinRequest{Node: node} with label node=<apinode>. It requires non empty params.Node
func (*DaemonAPI) PostDaemonLeave ¶
func (a *DaemonAPI) PostDaemonLeave(ctx echo.Context, params api.PostDaemonLeaveParams) error
PostDaemonLeave publishes msgbus.LeaveRequest{Node: node} with label node=<apinode>. It requires non empty params.Node
func (*DaemonAPI) PostDaemonLogsControl ¶
func (*DaemonAPI) PostDaemonRestart ¶
func (*DaemonAPI) PostDaemonShutdown ¶
func (a *DaemonAPI) PostDaemonShutdown(ctx echo.Context, nodename string, params api.PostDaemonShutdownParams) error
func (*DaemonAPI) PostDaemonStop ¶
func (*DaemonAPI) PostDaemonSubAction ¶
func (*DaemonAPI) PostInstanceActionBoot ¶
func (*DaemonAPI) PostInstanceActionDelete ¶
func (*DaemonAPI) PostInstanceActionFreeze ¶
func (*DaemonAPI) PostInstanceActionPRStart ¶
func (*DaemonAPI) PostInstanceActionPRStop ¶
func (*DaemonAPI) PostInstanceActionProvision ¶
func (*DaemonAPI) PostInstanceActionPushResourceInfo ¶
func (*DaemonAPI) PostInstanceActionRestart ¶
func (*DaemonAPI) PostInstanceActionRun ¶
func (*DaemonAPI) PostInstanceActionShutdown ¶
func (*DaemonAPI) PostInstanceActionStart ¶
func (*DaemonAPI) PostInstanceActionStartStandby ¶
func (*DaemonAPI) PostInstanceActionStatus ¶
func (*DaemonAPI) PostInstanceActionStop ¶
func (*DaemonAPI) PostInstanceActionSyncIngest ¶
func (*DaemonAPI) PostInstanceActionUnfreeze ¶
func (*DaemonAPI) PostInstanceActionUnprovision ¶
func (*DaemonAPI) PostInstanceClear ¶
func (*DaemonAPI) PostInstanceProgress ¶
func (*DaemonAPI) PostInstanceStateFile ¶
func (*DaemonAPI) PostInstanceStatus ¶
func (*DaemonAPI) PostNodeActionPushAsset ¶
func (a *DaemonAPI) PostNodeActionPushAsset(ctx echo.Context, nodename string, params api.PostNodeActionPushAssetParams) error
func (*DaemonAPI) PostNodeActionPushDisk ¶
func (a *DaemonAPI) PostNodeActionPushDisk(ctx echo.Context, nodename string, params api.PostNodeActionPushDiskParams) error
func (*DaemonAPI) PostNodeActionPushPatch ¶
func (a *DaemonAPI) PostNodeActionPushPatch(ctx echo.Context, nodename string, params api.PostNodeActionPushPatchParams) error
func (*DaemonAPI) PostNodeActionPushPkg ¶
func (a *DaemonAPI) PostNodeActionPushPkg(ctx echo.Context, nodename string, params api.PostNodeActionPushPkgParams) error
func (*DaemonAPI) PostNodeActionScanCapabilities ¶
func (a *DaemonAPI) PostNodeActionScanCapabilities(ctx echo.Context, nodename string, params api.PostNodeActionScanCapabilitiesParams) error
func (*DaemonAPI) PostNodeActionSysreport ¶
func (a *DaemonAPI) PostNodeActionSysreport(ctx echo.Context, nodename string, params api.PostNodeActionSysreportParams) error
func (*DaemonAPI) PostNodeClear ¶
func (*DaemonAPI) PostNodeConfigUpdate ¶
func (a *DaemonAPI) PostNodeConfigUpdate(ctx echo.Context, nodename string, params api.PostNodeConfigUpdateParams) error
func (*DaemonAPI) PostNodeDRBDConfig ¶
func (a *DaemonAPI) PostNodeDRBDConfig(ctx echo.Context, nodename string, params api.PostNodeDRBDConfigParams) error
func (*DaemonAPI) PostObjectActionAbort ¶
func (*DaemonAPI) PostObjectActionDelete ¶
func (*DaemonAPI) PostObjectActionFreeze ¶
func (*DaemonAPI) PostObjectActionGiveback ¶
func (*DaemonAPI) PostObjectActionProvision ¶
func (*DaemonAPI) PostObjectActionPurge ¶
func (*DaemonAPI) PostObjectActionRestart ¶
func (*DaemonAPI) PostObjectActionStart ¶
func (*DaemonAPI) PostObjectActionStop ¶
func (*DaemonAPI) PostObjectActionSwitch ¶
func (*DaemonAPI) PostObjectActionUnfreeze ¶
func (*DaemonAPI) PostObjectActionUnprovision ¶
func (*DaemonAPI) PostObjectConfigFile ¶
func (*DaemonAPI) PostObjectConfigUpdate ¶
func (*DaemonAPI) PostObjectKVStoreEntry ¶
func (*DaemonAPI) PostPeerActionAbort ¶
func (*DaemonAPI) PostPeerActionDrain ¶
func (*DaemonAPI) PostPeerActionFreeze ¶
func (a *DaemonAPI) PostPeerActionFreeze(ctx echo.Context, nodename string, params api.PostPeerActionFreezeParams) error
func (*DaemonAPI) PostPeerActionUnfreeze ¶
func (a *DaemonAPI) PostPeerActionUnfreeze(ctx echo.Context, nodename string, params api.PostPeerActionUnfreezeParams) error
func (*DaemonAPI) PostRelayMessage ¶
func (*DaemonAPI) PostSvcDisable ¶
func (*DaemonAPI) PostSvcEnable ¶
func (*DaemonAPI) PutClusterConfigFile ¶
func (*DaemonAPI) PutNodeConfigFile ¶
func (*DaemonAPI) PutNodeSSHTrust ¶
func (*DaemonAPI) PutObjectConfigFile ¶
func (*DaemonAPI) PutObjectKVStoreEntry ¶
type JWTCreater ¶
Source Files ¶
- delete_object_kvstore_entry.go
- get_auth_info.go
- get_cluster_config_file.go
- get_daemon_events.go
- get_daemon_status.go
- get_dns_dump.go
- get_instance.go
- get_instance_config_file.go
- get_instance_resource_info.go
- get_instance_schedule.go
- get_instances_logs.go
- get_network.go
- get_network_ip.go
- get_node.go
- get_node_capabilities.go
- get_node_config.go
- get_node_config_file.go
- get_node_config_get.go
- get_node_drbd_allocation.go
- get_node_drbd_config.go
- get_node_drivers.go
- get_node_logs.go
- get_node_ping.go
- get_node_schedule.go
- get_node_ssh_key.go
- get_node_system_disk.go
- get_node_system_group.go
- get_node_system_hardware.go
- get_node_system_ipaddress.go
- get_node_system_package.go
- get_node_system_patch.go
- get_node_system_property.go
- get_node_system_san_initiator.go
- get_node_system_san_path.go
- get_node_system_user.go
- get_nodes_info.go
- get_object.go
- get_object_config.go
- get_object_config_file.go
- get_object_config_get.go
- get_object_kvstore.go
- get_object_kvstore_entry.go
- get_object_kvstore_keys.go
- get_object_resource_info.go
- get_object_schedule.go
- get_object_selector.go
- get_openapi.go
- get_pool.go
- get_pool_volume.go
- get_relay_message.go
- get_relay_status.go
- get_resource.go
- get_who_am_i.go
- lib_client.go
- lib_handlers.go
- lib_instance_action.go
- lib_meta.go
- lib_middleware.go
- lib_node_action.go
- lib_object_action.go
- lib_object_config_file.go
- lib_pubsub.go
- lib_rbac.go
- patch_object_kvstore.go
- post_auth_token.go
- post_cluster_action.go
- post_daemon_join.go
- post_daemon_leave.go
- post_daemon_logs_control.go
- post_daemon_restart.go
- post_daemon_shutdown.go
- post_daemon_stop.go
- post_daemon_sub_action.go
- post_instance_action_boot.go
- post_instance_action_delete.go
- post_instance_action_freeze.go
- post_instance_action_provision.go
- post_instance_action_prstart.go
- post_instance_action_prstop.go
- post_instance_action_push_resinfo.go
- post_instance_action_restart.go
- post_instance_action_run.go
- post_instance_action_shutdown.go
- post_instance_action_start.go
- post_instance_action_startstandby.go
- post_instance_action_status.go
- post_instance_action_stop.go
- post_instance_action_sync_ingest.go
- post_instance_action_unfreeze.go
- post_instance_action_unprovision.go
- post_instance_clear.go
- post_instance_progress.go
- post_instance_state_file.go
- post_instance_status.go
- post_node_action_abort.go
- post_node_action_drain.go
- post_node_action_freeze.go
- post_node_action_push_asset.go
- post_node_action_push_disk.go
- post_node_action_push_patch.go
- post_node_action_push_pkg.go
- post_node_action_scan_capabilities.go
- post_node_action_sysreport.go
- post_node_action_unfreeze.go
- post_node_clear.go
- post_node_config_update.go
- post_node_drbd_config.go
- post_object_action_abort.go
- post_object_action_delete.go
- post_object_action_freeze.go
- post_object_action_giveback.go
- post_object_action_provision.go
- post_object_action_purge.go
- post_object_action_restart.go
- post_object_action_start.go
- post_object_action_stop.go
- post_object_action_switch.go
- post_object_action_unfreeze.go
- post_object_action_unprovision.go
- post_object_config_file.go
- post_object_config_update.go
- post_object_kvstore_entry.go
- post_relay_message.go
- post_svc_disable.go
- post_svc_enable.go
- put_cluster_config_file.go
- put_node_config_file.go
- put_node_ssh_trust.go
- put_object_config_file.go
- put_object_kvstore_entry.go