# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package watch includes a RestartableManager for dynamically watching resources.
# Functions
AutopilotResourceMutation extracts the input and output resource requirements for all containers.
BackoffWithDurationAndStepLimit returns backoff with a duration limit.
EnvBool retrieves the boolean value of the environment variable named by the key.
EnvFloat retrieves the float value of the environment variable named by the key.
EnvInt retrieves the int value of the environment variable named by the key.
EnvList retrieves the comma delimited list value of the environment variable named by the key.
EnvString retrieves the string value of the environment variable named by the key.
FakeAutopilotWebhookObject returns a fake empty MutatingWebhookConfiguration that satisfies IsGKEAutopilotCluster, for testing.
IsAutopilotManagedNamespace returns if the input object is a namespace managed by the Autopilot cluster.
IsErrorRetriable returns if the error is retriable.
IsGKEAutopilotCluster returns if the cluster is an autopilot cluster.
IsRequestTooLargeError determines whether `err` was caused by a large request.
NewRetriableError returns a RetriableError.
RetryWithBackoff retries the function with the default backoff with a given retry limit.
UpdateSymlink updates the symbolic link to the package directory.
WaitTime returns the wait time between syncs in time.Duration type.
# Variables
AutopilotManagedKinds tracks the GVKs that are managed by GKE autopilot.
AutopilotManagedNamespaces tracks the namespaces that are managed by GKE autopilot.
HydratedRetryBackoff sets retry timeout for `readHydratedDirWithRetry`.
MinimumSyncContainerBackoffCap is the minimum backoff cap for oci-sync/helm-sync.
SourceRetryBackoff sets retry timeout for `SourceCommitAndDirWithRetry`.
# Structs
ContainerResources describes the container's resource requirements.
PodResources describes the resources of all containers in a Pod.
ResourceMutation describes the mutation made by Autopilot.
RetriableError represents a transient error that is retriable.