Function kimager::watch[][src]

pub async fn watch(client: Client) -> Result<()>

This function is the primary, backend driver for kimager. When executed, it watches pods at a cluster-scope and logs the existence of container images on a Kubernetes cluster via the log crate. Set the RUST_LOG environment variable to change the logging level.