# Functions
Get is a helper function to make a GET request to the specified URL and return the response body as a string.
IsHTTPUrl returns true if the given string is an HTTP(S) URL.
MarshalGob encodes an interface into a byte array.
Mod is a normal modulo operation which does not produce negative values.
NewGoLeakDetector creates a new GoLeakDetector with goleakOptions.
RemoveFromSlice removes x from a and returns the new slice.
Shutdown invokes fx.Shutdowner and logs error if any.
SliceContains tells whether a contains x.
SliceFind returns the smallest index i at which x == a[i], or len(a) if there is no such index.
SliceToSet converts a slice of strings to a set.
ToMapStruct encodes any json-serializable struct as Object
json.Unmarshal(obj) and json.Unmarshal(returnedObject) should be equivalent.
UnmarshalGob decodes a byte array into an interface.
# Constants
ApertureAgent is the service name for Agent.
ApertureCloudAgentGroup agent group name for Cloud Agents.
ApertureController is the service name for Controller.
InstallationModeCloudAgent for Cloud Agents.
InstallationModeKubernetesDaemonSet for Kubernetes DaemonSet installation mode.
InstallationModeKubernetesSidecar for sidecar installation mode.
InstallationModeLinuxBareMetal for bare metal installation mode.
# Structs
GoLeakDetector holds options for the goleak detector.