// ConfigToExecCluster creates a clientauthenticationapi.Cluster with the corresponding fields from // the provided Config. func ConfigToExecCluster(config *Config) (*clientauthenticationapi.Cluster, error) { … } // ExecClusterToConfig creates a Config with the corresponding fields from the provided // clientauthenticationapi.Cluster. The returned Config will be anonymous (i.e., it will not have // any authentication-related fields set). func ExecClusterToConfig(cluster *clientauthenticationapi.Cluster) (*Config, error) { … }