# Functions
ConfigIsPresent checks to see if any configuration is actually present in the given configdir.
ForceEndpoints reflects AMBASSADOR_FORCE_ENDPOINTS, to determine whether we're forcing endpoint watching or (the default) not.
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
No description provided by the author
GetAmbID extracts the AmbassadorID from the kubernetes resource.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetConfigDir returns the path to the directory we should check for filesystem config.
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
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
No description provided by the author
GetInterestingTypes takes a list of available server types, and returns the types we think are interesting to watch.
No description provided by the author
No description provided by the author
GetQueries takes a set of interesting types, and returns a set of kates.Query to watch for them.
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
No description provided by the author
No description provided by the author
Checks if the provided string is a loopback IP address with port 8500.
No description provided by the author
NewFSWatcher instantiates an FSWatcher.
NewIstioCert instantiates an IstioCert to manage a certificate that Istio will write into directory "dir", should have the given "name" and appear to live in K8s namespace "namespace", and will have updates posted to "updateChannel" whenever the cert changes.
NewKubernetesSnapshot creates a new, empty set of Ambassador inputs.
No description provided by the author
This is a gross hack to remove all AuthServices using protocol_version: v2 only when running Edge-Stack and then inject an AuthService with protocol_version: v3 if needed.
No description provided by the author
ReconcileSecrets figures out which secrets we're actually using, since we don't want to send secrets to Ambassador unless we're using them, since any secret we send will be saved to disk.
No description provided by the author
# Constants
No description provided by the author
take the next port in the range of ambassador ports.
FSWDelete is a delete operation.
FSWUpdate is an update operation.
No description provided by the author
No description provided by the author
Indicates that the watcher is deferring processing of the snapshot because it is considered to be a product of churn.
Indicates that the watcher is dropping the snapshot because it has determined that it is logically a noop.
Indicates the watcher is still in the booting process and the snapshot has dangling pointers.
Indicates that the snapshot is ready to be processed.
# Structs
FSWatcher is a thing that can watch the filesystem for us, and call handler functions when things change.
FSWEvent represents a single interesting event.
IstioCert holds all the state we need to manage an Istio certificate.
IstioCertUpdate gets sent over the IstioCert's Updates channel whenever the cert changes
XXX This will morph into a more general "internally-generated resource" thing later.
ModuleSecrets is..
SnapshotHolder is responsible for holding.
# Interfaces
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
# Type aliases
No description provided by the author
FSWErrorHandler is a handler function for an error.
FSWEventHandler is a handler function for an interesting event.
FSWOp specifies the operation for an event.
No description provided by the author
No description provided by the author
No description provided by the author