kubernetes/cmd/kubeadm/app/componentconfigs/fakeconfig_test.go

var clusterConfigHandler

func clusterConfigFromCluster(h *handler, clientset clientset.Interface, _ *kubeadmapi.ClusterConfiguration) (kubeadmapi.ComponentConfig, error) {}

type clusterConfig

func (cc *clusterConfig) DeepCopy() kubeadmapi.ComponentConfig {}

func (cc *clusterConfig) Marshal() ([]byte, error) {}

func (cc *clusterConfig) Unmarshal(docmap kubeadmapi.DocumentMap) error {}

func (cc *clusterConfig) Get() interface{}

func (cc *clusterConfig) Set(cfg interface{}

func (cc *clusterConfig) Default(_ *kubeadmapi.ClusterConfiguration, _ *kubeadmapi.APIEndpoint, _ *kubeadmapi.NodeRegistrationOptions) {}

func (cc *clusterConfig) Mutate() error {}

var fakeKnown

// fakeKnownContext is the func that houses the fake component config context.
// NOTE: It does not support concurrent test execution!
func fakeKnownContext(f func()) {}

// testClusterConfigMap is a short hand for creating and possibly signing a test config map.
// This produces config maps that can be loaded by clusterConfigFromCluster
func testClusterConfigMap(yaml string, signIt bool) *v1.ConfigMap {}

const oldClusterConfigVersion

var currentClusterConfigVersion

var currentFooClusterConfig

var oldFooClusterConfig

var validUnmarshallableClusterConfig

func TestConfigBaseMarshal(t *testing.T) {}

func TestConfigBaseUnmarshal(t *testing.T) {}

func TestGeneratedConfigFromCluster(t *testing.T) {}

// runClusterConfigFromTest holds common test case data and evaluation code for handler.From* functions
func runClusterConfigFromTest(t *testing.T, perform func(t *testing.T, in string) (kubeadmapi.ComponentConfig, error)) {}

func TestLoadingFromDocumentMap(t *testing.T) {}

func TestLoadingFromCluster(t *testing.T) {}

func TestGetVersionStates(t *testing.T) {}