INNER CODE UNIT · Go

TestParse

openkruise/kruise-game · cloudprovider/config_test.go:12

func TestParse(t *testing.T) {
	tests := []struct {
		fileString   string
		kubernetes   options.KubernetesOptions
		alibabacloud options.AlibabaCloudOptions
	}{
		{
			fileString: `
[kubernetes]
enable = true

	[kubernetes.hostPort]
	max_port = 9000
	min_port = 8000

[alibabacloud]
enable = true
`,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…