Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AutocompleteClusterNamesMetricsTypeTask = coretask.NewTask(googlecloudclustergke_contract.AutocompleteClusterNamesMetricsTypeTaskIDForGKE, []taskid.UntypedTaskReference{}, func(ctx context.Context) (string, error) { return "kubernetes.io/container/uptime", nil }, coretask.WithSelectionPriority(1000), inspectioncore_contract.InspectionTypeLabel(googlecloudinspectiontypegroup_contract.GKEBasedClusterInspectionTypes...))
AutocompleteClusterNamesMetricsTypeTask returns the metrics type used for autocomplete cluster names in GKE. The metrics type "kubernetes.io/container/uptime" is used for GKE instead of the default "kubernetes.io/anthos/container/uptime".
View Source
var GKEClusterNamePrefixTask = coretask.NewTask(googlecloudclustergke_contract.ClusterNamePrefixTaskIDForGKE, []taskid.UntypedTaskReference{}, func(ctx context.Context) (string, error) { return "", nil }, inspectioncore_contract.InspectionTypeLabel(googlecloudclustergke_contract.InspectionTypeId))
GKEClusterNamePrefixTask is a task that returns an empty string as the cluster name prefix for GKE. This task is necessary to satisfy the dependency of the log source profile, but GKE does not require a prefix.
Functions ¶
func Register ¶
func Register(registry coreinspection.InspectionTaskRegistry) error
Register registers all googlecloudclustergke inspection tasks to the registry.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.