mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-02 16:29:21 +00:00
Remove pkg/api dependency from pkg/client/clientcmd/api
This commit is contained in:
parent
9b1fb6dca1
commit
4ef79733b6
@ -17,7 +17,6 @@ limitations under the License.
|
|||||||
package v1
|
package v1
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/api/v1beta3"
|
|
||||||
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -26,7 +25,11 @@ import (
|
|||||||
|
|
||||||
// Config holds the information needed to build connect to remote kubernetes clusters as a given user
|
// Config holds the information needed to build connect to remote kubernetes clusters as a given user
|
||||||
type Config struct {
|
type Config struct {
|
||||||
v1beta3.TypeMeta `json:",inline"`
|
// Legacy field from pkg/api/types.go TypeMeta.
|
||||||
|
// TODO(jlowdermilk): remove this after eliminating downstream dependencies.
|
||||||
|
Kind string `json:"kind,omitempty"`
|
||||||
|
// Version of the schema for this config object.
|
||||||
|
APIVersion string `json:"apiVersion,omitempty"`
|
||||||
// Preferences holds general information to be use for cli interactions
|
// Preferences holds general information to be use for cli interactions
|
||||||
Preferences Preferences `json:"preferences"`
|
Preferences Preferences `json:"preferences"`
|
||||||
// Clusters is a map of referencable names to cluster configs
|
// Clusters is a map of referencable names to cluster configs
|
||||||
|
Loading…
Reference in New Issue
Block a user