Documentation ¶
Index ¶
- Variables
- func CheckNodeExist(ctx context.Context, nodeID string) error
- func CompleteAgentUpgrade(ctx context.Context, version string, nodeID string, nodeType string) error
- func DisableCloudNodeComplianceControls(ctx context.Context, nodeID string, controlIDs []string) error
- func EnableCloudNodeComplianceControls(ctx context.Context, nodeID string, controlIds []string) error
- func ExtractAgentDiagnosticLogRequests(ctx context.Context, nodeID string, nodeType controls.ScanResource, ...) ([]controls.Action, error)
- func ExtractPendingAgentThreatIntelTask(ctx context.Context, nodeID string, agentType string, consoleURL string, ...) ([]controls.Action, error)
- func ExtractPendingAgentUpgrade(ctx context.Context, nodeID string, maxWork int, consoleURL string, ...) ([]controls.Action, error)
- func ExtractPendingKubernetesClusterUpgrade(ctx context.Context, nodeID string, maxWork int) ([]controls.Action, error)
- func ExtractRefreshResourceAction(ctx context.Context, nodeID string, maxWork int) ([]controls.Action, error)
- func ExtractStartingAgentScans(ctx context.Context, nodeID string, agentType string, maxWork int) ([]controls.Action, error)
- func ExtractStartingKubernetesClusterScans(ctx context.Context, nodeID string, maxWork int) ([]controls.Action, error)
- func ExtractStoppingAgentScans(ctx context.Context, nodeID string, maxWrok int) ([]controls.Action, error)
- func GetAgentActions(ctx context.Context, agentID model.AgentID, consoleURL string, ...) ([]controls.Action, []error)
- func GetAgentPluginVersionTarball(ctx context.Context, version, pluginName string) (string, error)
- func GetAgentVersionTarball(ctx context.Context, version string) (string, error)
- func GetCloudNodeComplianceControls(ctx context.Context, nodeID string, cloudProvider string, ...) ([]model.CloudNodeComplianceControl, error)
- func GetKubernetesClusterActions(ctx context.Context, nodeID string, workNumToExtract int, consoleURL string) ([]controls.Action, []error)
- func GetPendingAgentScans(ctx context.Context, nodeID string, availableWorkload int, ...) ([]controls.Action, error)
- func PrepareAgentUpgradeAction(ctx context.Context, version string) (controls.Action, error)
- func ScheduleAgentPluginDisable(ctx context.Context, pluginName string, nodeIDs []string, ...) error
- func ScheduleAgentPluginEnable(ctx context.Context, version, pluginName string, nodeIDs []string, ...) error
- func ScheduleAgentUpgrade(ctx context.Context, version string, nodeIDs []string, action controls.Action) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingNodeID = errors.New("missing node_id")
)
Functions ¶
func CompleteAgentUpgrade ¶
func GetAgentActions ¶
func GetAgentVersionTarball ¶
func GetPendingAgentScans ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.