type fakeVersionGetter …
var _ …
func (f *fakeVersionGetter) ClusterVersion() (string, *versionutil.Version, error) { … }
func (f *fakeVersionGetter) KubeadmVersion() (string, *versionutil.Version, error) { … }
func (f *fakeVersionGetter) VersionFromCILabel(ciVersionLabel, _ string) (string, *versionutil.Version, error) { … }
func (f *fakeVersionGetter) KubeletVersions() (map[string][]string, error) { … }
func (f *fakeVersionGetter) ComponentVersions(name string) (map[string][]string, error) { … }
const fakeCurrentEtcdVersion …
func getEtcdVersion(v *versionutil.Version) string { … }
const fakeCurrentCoreDNSVersion …
func TestGetAvailableUpgrades(t *testing.T) { … }
func TestKubeletUpgrade(t *testing.T) { … }
func TestGetBranchFromVersion(t *testing.T) { … }
func TestGetSuggestedEtcdVersion(t *testing.T) { … }
func newMockClientForTest(t *testing.T, dnsName string, dnsVersion string, multiDNS bool) *clientsetfake.Clientset { … }