mirror of https://github.com/tailscale/tailscale/
kube,cmd/{k8s-operator,containerboot},envknob,ipn/store/kubestore,*/depaware.txt: rename packages (#13418)
Rename kube/{types,client,api} -> kube/{kubetypes,kubeclient,kubeapi} so that we don't need to rename the package on each import to convey that it's kubernetes specific. Updates#cleanup Signed-off-by: Irbe Krumina <irbe@tailscale.com>pull/13419/head
parent
d6dfb7f242
commit
209567e7a0
@ -1,11 +1,11 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
// Package api contains Kubernetes API types for internal consumption.
|
||||
// Package kubeapi contains Kubernetes API types for internal consumption.
|
||||
// These types are split into a separate package for consumption of
|
||||
// non-Kubernetes shared libraries and binaries. Be mindful of not increasing
|
||||
// dependency size for those consumers when adding anything new here.
|
||||
package api
|
||||
package kubeapi
|
||||
|
||||
import "time"
|
||||
|
@ -1,13 +1,13 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
package client
|
||||
package kubeclient
|
||||
|
||||
import (
|
||||
"context"
|
||||
"net"
|
||||
|
||||
kubeapi "tailscale.com/kube/api"
|
||||
"tailscale.com/kube/kubeapi"
|
||||
)
|
||||
|
||||
var _ Client = &FakeClient{}
|
@ -1,12 +1,12 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
// Package types contains types and constants related to the Tailscale
|
||||
// Package kubetypes contains types and constants related to the Tailscale
|
||||
// Kubernetes Operator.
|
||||
// These are split into a separate package for consumption of
|
||||
// non-Kubernetes shared libraries and binaries. Be mindful of not increasing
|
||||
// dependency size for those consumers when adding anything new here.
|
||||
package types
|
||||
package kubetypes
|
||||
|
||||
import "net/netip"
|
||||
|
@ -1,7 +1,7 @@
|
||||
// Copyright (c) Tailscale Inc & AUTHORS
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
package types
|
||||
package kubetypes
|
||||
|
||||
const (
|
||||
// Hostinfo App values for the Tailscale Kubernetes Operator components.
|
Loading…
Reference in New Issue