Function buildkite_jobify::k8s::config::incluster_config[][src]

pub fn incluster_config() -> Result<Configuration, Error>

Returns a config which is used by clients within pods on kubernetes. It will return an error if called from out of kubernetes cluster.