mirror of https://github.com/k3s-io/k3s
e4b5181026
Automatic merge from submit-queue (batch tested with PRs 44364, 44361, 42498) Move v1 helpers The first 3 commits are other PRs. This PR move pkg/api/v1/helpers.go to a subpackage, which is almost symmetric to #44296, where pkg/api/helpers.go was moved. This PR is mostly mechanic, except that 1. moved the 3 methods of Taint and Toleration to pkg/api/methods.go 2. moved constants and types defined in v1/helpers.go to pkg/api/v1/annotataion_key_constants.go and nonstandard_types.go 3. updated staging/copy.sh to copy pkg/api/helpers to client-go, it's otherwise removed from client-go because no other code in client-go depends on the package. Some test code in pkg/controller imports client-go/pkg/api/helpers. After moving api types to its own repo, we can remove these copies of utility function from client-go and ask users to use the ones in the main repo. (This PR breaks a cyclic import problem i met when I tried to move global variables pkg/api/Scheme and Registry to a subpackage) |
||
---|---|---|
.. | ||
autoscaling | ||
chaosmonkey | ||
cluster-logging | ||
common | ||
framework | ||
generated | ||
perf | ||
perftype | ||
scheduling | ||
storage | ||
testing-manifests | ||
upgrades | ||
BUILD | ||
README.md | ||
addon_update.go | ||
apparmor.go | ||
cadvisor.go | ||
cluster_upgrade.go | ||
cronjob.go | ||
daemon_restart.go | ||
daemon_set.go | ||
dashboard.go | ||
deployment.go | ||
disruption.go | ||
dns.go | ||
dns_common.go | ||
dns_configmap.go | ||
e2e-example-config.json | ||
e2e.go | ||
e2e_test.go | ||
empty.go | ||
empty_dir_wrapper.go | ||
etcd_failure.go | ||
events.go | ||
example_cluster_dns.go | ||
examples.go | ||
firewall.go | ||
garbage_collector.go | ||
generated_clientset.go | ||
gke_local_ssd.go | ||
gke_node_pools.go | ||
ha_master.go | ||
ingress.go | ||
initial_resources.go | ||
job.go | ||
kibana_logging.go | ||
kube_proxy.go | ||
kubectl.go | ||
kubelet.go | ||
kubelet_perf.go | ||
limit_range.go | ||
logging_soak.go | ||
metrics_grabber_test.go | ||
monitoring.go | ||
namespace.go | ||
network_partition.go | ||
networking.go | ||
networking_perf.go | ||
nodeoutofdisk.go | ||
pod_gc.go | ||
podpreset.go | ||
pods.go | ||
portforward.go | ||
pre_stop.go | ||
proxy.go | ||
rc.go | ||
reboot.go | ||
replica_set.go | ||
resize_nodes.go | ||
resource_quota.go | ||
restart.go | ||
security_context.go | ||
service.go | ||
service_accounts.go | ||
service_latency.go | ||
serviceloadbalancers.go | ||
ssh.go | ||
statefulset.go | ||
taints_test.go | ||
third-party.go | ||
ubernetes_lite.go | ||
util_iperf.go |
README.md
See e2e-tests