Documentation ¶ Index ¶ func GetId(path string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetId ¶ func GetId(path string) (string, error) GetId extracts the id from the given state directory. The id is either the id, if that file exists within the directory, or the apiserver url from the kubeconfig. Missing files do not cause an error. If neither file exists, it returns '<unknown>'. Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.