type Info … // LoadFromFile parses an Info object from a file path. // If the file does not exist, then os.IsNotExist(err) == true func LoadFromFile(path string) (*Info, error) { … } // MergeWithConfig returns a copy of a client.Config with values from the Info. // The fields of client.Config with a corresponding field in the Info are set // with the value from the Info. func (info Info) MergeWithConfig(c restclient.Config) (restclient.Config, error) { … } // Complete returns true if the Kubernetes API authorization info is complete. func (info Info) Complete() bool { … }