Documentation
¶
Index ¶
- Variables
- 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, format string, a ...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, prefix string, specURL string) echo.MiddlewareFunc
- func WithSubQS(parent context.Context, subQS pubsub.QueueSizer) context.Context
- type DaemonAPI
- func (a *DaemonAPI) CheckDataSize(ctx echo.Context) (bool, error)
- func (a *DaemonAPI) DeleteObjectDataKey(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetAuthInfo(ctx echo.Context) error
- func (a *DaemonAPI) GetAuthWhoAmI(ctx echo.Context) error
- func (a *DaemonAPI) GetClusterConfig(ctx echo.Context, params api.GetClusterConfigParams) error
- func (a *DaemonAPI) GetClusterConfigFile(ctx echo.Context) error
- func (a *DaemonAPI) GetClusterConfigKeywords(ctx echo.Context, params api.GetClusterConfigKeywordsParams) error
- func (a *DaemonAPI) GetClusterStatus(ctx echo.Context, params api.GetClusterStatusParams) error
- func (a *DaemonAPI) GetDaemonDNSDump(ctx echo.Context, nodename string) error
- func (a *DaemonAPI) GetDaemonEvents(ctx echo.Context, nodename string, params api.GetDaemonEventsParams) 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) GetInstanceResourceFile(ctx echo.Context, nodename, namespace string, kind naming.Kind, name string, ...) 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) 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) GetNodeConfigKeywords(ctx echo.Context, nodename string, params api.GetNodeConfigKeywordsParams) 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) GetNodeSSHHostkeys(ctx echo.Context, nodename string) 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) GetObjectConfigKeywords(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectData(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectDataKey(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) GetObjectDataKeys(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) PatchClusterConfig(ctx echo.Context, params api.PatchClusterConfigParams) error
- func (a *DaemonAPI) PatchNodeConfig(ctx echo.Context, nodename string, params api.PatchNodeConfigParams) error
- func (a *DaemonAPI) PatchObjectConfig(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- func (a *DaemonAPI) PatchObjectData(ctx echo.Context, namespace string, kind naming.Kind, name string) error
- func (a *DaemonAPI) PostAuthRefresh(ctx echo.Context, params api.PostAuthRefreshParams) 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) PostClusterHeartbeatRotate(ctx echo.Context) error
- func (a *DaemonAPI) PostClusterJoin(ctx echo.Context, params api.PostClusterJoinParams) error
- func (a *DaemonAPI) PostClusterLeave(ctx echo.Context, params api.PostClusterLeaveParams) error
- func (a *DaemonAPI) PostDaemonHeartbeatRestart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
- func (a *DaemonAPI) PostDaemonHeartbeatSign(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
- func (a *DaemonAPI) PostDaemonHeartbeatStart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
- func (a *DaemonAPI) PostDaemonHeartbeatStop(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
- func (a *DaemonAPI) PostDaemonHeartbeatWipe(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
- func (a *DaemonAPI) PostDaemonListenerLogControl(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
- func (a *DaemonAPI) PostDaemonListenerRestart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
- func (a *DaemonAPI) PostDaemonListenerStart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
- func (a *DaemonAPI) PostDaemonListenerStop(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
- func (a *DaemonAPI) PostDaemonLogControl(ctx echo.Context, nodename string) 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) 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) PostInstanceResourceConsole(ctx echo.Context, nodename, 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) PostNodeActionClear(ctx echo.Context, nodename 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) PostNodeDRBDConfig(ctx echo.Context, nodename string, params api.PostNodeDRBDConfigParams) error
- func (a *DaemonAPI) PostNodeDRBDConnect(ctx echo.Context, nodename api.InPathNodeName, ...) error
- func (a *DaemonAPI) PostNodeDRBDPrimary(ctx echo.Context, nodename api.InPathNodeName, ...) error
- func (a *DaemonAPI) PostNodeDRBDSecondary(ctx echo.Context, nodename api.InPathNodeName, ...) 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) PostObjectDataKey(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) PutObjectDataKey(ctx echo.Context, namespace string, kind naming.Kind, name string, ...) error
- type DataFilter
- type DataFilters
- type Filter
- type JWTCreater
- type Meta
- type Strategier
Constants ¶
This section is empty.
Variables ¶
var (
LogLevel = zerolog.InfoLevel
)
Functions ¶
func AuthMiddleware ¶
func AuthMiddleware(parent context.Context) echo.MiddlewareFunc
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 ¶
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 JSONProblemf ¶
func LogMiddleware ¶
func LogMiddleware(parent context.Context) echo.MiddlewareFunc
func LogRequestMiddleWare ¶
func LogRequestMiddleWare(parent context.Context) echo.MiddlewareFunc
func LogUserMiddleware ¶
func LogUserMiddleware(parent context.Context) echo.MiddlewareFunc
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
SubFactory pubsub.Subscriber
Publisher pubsub.Publisher
JWTcreator JWTCreater
LabelLocalhost pubsub.Label
SubQS pubsub.QueueSizer
// contains filtered or unexported fields
}
func (*DaemonAPI) DeleteObjectDataKey ¶
func (*DaemonAPI) GetClusterConfig ¶
func (*DaemonAPI) GetClusterConfigFile ¶
func (*DaemonAPI) GetClusterConfigKeywords ¶
func (*DaemonAPI) GetClusterStatus ¶
GetDaemonStatus returns daemon data status
Serve 2s cached data.
func (*DaemonAPI) GetDaemonDNSDump ¶
GetDaemonDNSDump 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) GetInstance ¶
func (*DaemonAPI) GetInstanceConfigFile ¶
func (*DaemonAPI) GetInstanceLogs ¶
func (*DaemonAPI) GetInstanceResourceFile ¶
func (*DaemonAPI) GetInstanceResourceInfo ¶
func (*DaemonAPI) GetInstanceSchedule ¶
func (*DaemonAPI) GetInstances ¶
func (*DaemonAPI) GetNetworkIP ¶
GetNetworkIP returns network status list.
func (*DaemonAPI) GetNetworks ¶
GetNetworks returns network status list.
func (*DaemonAPI) GetNodeCapabilities ¶
func (*DaemonAPI) GetNodeConfig ¶
func (*DaemonAPI) GetNodeConfigFile ¶
func (*DaemonAPI) GetNodeConfigKeywords ¶
func (*DaemonAPI) GetNodeDRBDAllocation ¶
func (*DaemonAPI) GetNodeDRBDConfig ¶
func (*DaemonAPI) GetNodeDriver ¶
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 (*DaemonAPI) GetNodeSSHHostkeys ¶
func (*DaemonAPI) GetNodeSSHKey ¶
func (*DaemonAPI) GetNodeSchedule ¶
func (*DaemonAPI) GetNodeSystemDisk ¶
func (*DaemonAPI) GetNodeSystemGroup ¶
func (*DaemonAPI) GetNodeSystemHardware ¶
func (*DaemonAPI) GetNodeSystemIPAddress ¶
func (*DaemonAPI) GetNodeSystemPackage ¶
func (*DaemonAPI) GetNodeSystemPatch ¶
func (*DaemonAPI) GetNodeSystemProperty ¶
func (*DaemonAPI) GetNodeSystemSANInitiator ¶
func (*DaemonAPI) GetNodeSystemSANPath ¶
func (*DaemonAPI) GetNodeSystemUser ¶
func (*DaemonAPI) GetObjectConfig ¶
func (*DaemonAPI) GetObjectConfigFile ¶
func (*DaemonAPI) GetObjectConfigKeywords ¶
func (*DaemonAPI) GetObjectData ¶
func (*DaemonAPI) GetObjectDataKey ¶
func (*DaemonAPI) GetObjectDataKeys ¶
func (*DaemonAPI) GetObjectPaths ¶
func (*DaemonAPI) GetObjectResourceInfo ¶
func (*DaemonAPI) GetObjectSchedule ¶
func (*DaemonAPI) GetObjects ¶
func (*DaemonAPI) GetPoolVolumes ¶
func (*DaemonAPI) GetRelayMessage ¶
func (*DaemonAPI) GetRelayStatus ¶
func (*DaemonAPI) GetResources ¶
func (*DaemonAPI) PatchClusterConfig ¶
func (*DaemonAPI) PatchNodeConfig ¶
func (*DaemonAPI) PatchObjectConfig ¶
func (*DaemonAPI) PatchObjectData ¶
func (*DaemonAPI) PostAuthRefresh ¶
PostAuthRefresh create a new token for the refresh token user
func (*DaemonAPI) PostAuthToken ¶
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 (*DaemonAPI) PostClusterActionAbort ¶
func (*DaemonAPI) PostClusterActionFreeze ¶
func (*DaemonAPI) PostClusterActionUnfreeze ¶
func (*DaemonAPI) PostClusterHeartbeatRotate ¶
func (*DaemonAPI) PostClusterJoin ¶
PostClusterJoin publishes msgbus.JoinRequest{Node: node} with label node=<apinode>. It requires non empty params.Node
func (*DaemonAPI) PostClusterLeave ¶
PostClusterLeave publishes msgbus.LeaveRequest{Node: node} with label node=<apinode>. It requires non empty params.Node
func (*DaemonAPI) PostDaemonHeartbeatRestart ¶
func (a *DaemonAPI) PostDaemonHeartbeatRestart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
func (*DaemonAPI) PostDaemonHeartbeatSign ¶
func (a *DaemonAPI) PostDaemonHeartbeatSign(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
func (*DaemonAPI) PostDaemonHeartbeatStart ¶
func (a *DaemonAPI) PostDaemonHeartbeatStart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
func (*DaemonAPI) PostDaemonHeartbeatStop ¶
func (a *DaemonAPI) PostDaemonHeartbeatStop(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
func (*DaemonAPI) PostDaemonHeartbeatWipe ¶
func (a *DaemonAPI) PostDaemonHeartbeatWipe(ctx echo.Context, nodename api.InPathNodeName, name api.InPathHeartbeatName) error
func (*DaemonAPI) PostDaemonListenerLogControl ¶
func (a *DaemonAPI) PostDaemonListenerLogControl(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
func (*DaemonAPI) PostDaemonListenerRestart ¶
func (a *DaemonAPI) PostDaemonListenerRestart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
func (*DaemonAPI) PostDaemonListenerStart ¶
func (a *DaemonAPI) PostDaemonListenerStart(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
func (*DaemonAPI) PostDaemonListenerStop ¶
func (a *DaemonAPI) PostDaemonListenerStop(ctx echo.Context, nodename api.InPathNodeName, name api.InPathListenerName) error
func (*DaemonAPI) PostDaemonLogControl ¶
func (*DaemonAPI) PostDaemonRestart ¶
func (*DaemonAPI) PostDaemonShutdown ¶
func (*DaemonAPI) PostDaemonStop ¶
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) PostInstanceResourceConsole ¶
func (*DaemonAPI) PostInstanceStateFile ¶
func (*DaemonAPI) PostInstanceStatus ¶
func (*DaemonAPI) PostNodeActionClear ¶
func (*DaemonAPI) PostNodeActionPushAsset ¶
func (*DaemonAPI) PostNodeActionPushDisk ¶
func (*DaemonAPI) PostNodeActionPushPatch ¶
func (*DaemonAPI) PostNodeActionPushPkg ¶
func (*DaemonAPI) PostNodeActionScanCapabilities ¶
func (*DaemonAPI) PostNodeActionSysreport ¶
func (*DaemonAPI) PostNodeDRBDConfig ¶
func (*DaemonAPI) PostNodeDRBDConnect ¶
func (a *DaemonAPI) PostNodeDRBDConnect(ctx echo.Context, nodename api.InPathNodeName, params api.PostNodeDRBDConnectParams) error
func (*DaemonAPI) PostNodeDRBDPrimary ¶
func (a *DaemonAPI) PostNodeDRBDPrimary(ctx echo.Context, nodename api.InPathNodeName, params api.PostNodeDRBDPrimaryParams) error
func (*DaemonAPI) PostNodeDRBDSecondary ¶
func (a *DaemonAPI) PostNodeDRBDSecondary(ctx echo.Context, nodename api.InPathNodeName, params api.PostNodeDRBDSecondaryParams) 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) PostObjectDataKey ¶
func (*DaemonAPI) PostPeerActionAbort ¶
func (*DaemonAPI) PostPeerActionDrain ¶
func (*DaemonAPI) PostPeerActionFreeze ¶
func (*DaemonAPI) PostPeerActionUnfreeze ¶
func (*DaemonAPI) PostSvcDisable ¶
func (*DaemonAPI) PostSvcEnable ¶
func (*DaemonAPI) PutClusterConfigFile ¶
func (*DaemonAPI) PutNodeConfigFile ¶
func (*DaemonAPI) PutNodeSSHTrust ¶
func (*DaemonAPI) PutObjectConfigFile ¶
type DataFilter ¶
DataFilter represents a filtering data condition based on a key, value, and an operator.
type DataFilters ¶
type DataFilters []DataFilter
DataFilters is a slice of DataFilter used to define a collection of filtering data conditions.
type Filter ¶
type Filter struct {
Kind any
Labels []pubsub.Label
// DataFilters is a slice of DataFilter used to define filtering data conditions
// based on key, value, and operator.
DataFilters DataFilters
}
type JWTCreater ¶
Source Files
¶
- delete_object_data_key.go
- get_auth_info.go
- get_cluster_config.go
- get_cluster_config_file.go
- get_cluster_config_keywords.go
- get_daemon_events.go
- get_daemon_status.go
- get_dns_dump.go
- get_instance.go
- get_instance_config_file.go
- get_instance_resource_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_keywords.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_hostkeys.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_keywords.go
- get_object_data.go
- get_object_data_key.go
- get_object_data_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_auth.go
- lib_client.go
- lib_config_keywords.go
- lib_handlers.go
- lib_instance_action.go
- lib_leader_node.go
- lib_meta.go
- lib_middleware.go
- lib_node_action.go
- lib_nodename.go
- lib_object_action.go
- lib_object_config_file.go
- lib_object_config_update.go
- lib_post_daemon_sub_action.go
- lib_pubsub.go
- lib_rbac.go
- patch_cluster_config.go
- patch_node_config.go
- patch_object_config.go
- patch_object_data.go
- post_auth_refresh.go
- post_auth_token.go
- post_cluster_action.go
- post_cluster_heartbeat_rotate.go
- post_cluster_join.go
- post_cluster_leave.go
- post_daemon_hb_restart.go
- post_daemon_hb_sign.go
- post_daemon_hb_start.go
- post_daemon_hb_stop.go
- post_daemon_hb_wipe.go
- post_daemon_listener_log_control.go
- post_daemon_listener_restart.go
- post_daemon_listener_start.go
- post_daemon_listener_stop.go
- post_daemon_log_control.go
- post_daemon_restart.go
- post_daemon_shutdown.go
- post_daemon_stop.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_resource_console.go
- post_instance_state_file.go
- post_instance_status.go
- post_node_action_abort.go
- post_node_action_clear.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_drbd_config.go
- post_node_drbd_connect.go
- post_node_drbd_primary.go
- post_node_drbd_secondary.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_data_key.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_data_key.go