github.com/jlmeeker/kismatic@v1.10.1-0.20180612190640-57f9005a1f1a/integration-tests/planfile.go (about)

     1  package integration_tests
     2  
     3  type ClusterPlan struct {
     4  	Cluster struct {
     5  		Name                       string
     6  		DisablePackageInstallation string `yaml:"disable_package_installation"`
     7  		Networking                 struct {
     8  			Type             string
     9  			PodCIDRBlock     string `yaml:"pod_cidr_block"`
    10  			ServiceCIDRBlock string `yaml:"service_cidr_block"`
    11  		}
    12  		Certificates struct {
    13  			Expiry          string
    14  			LocationCity    string `yaml:"location_city"`
    15  			LocationState   string `yaml:"location_state"`
    16  			LocationCountry string `yaml:"location_country"`
    17  		}
    18  		SSH struct {
    19  			User string
    20  			Key  string `yaml:"ssh_key"`
    21  			Port int    `yaml:"ssh_port"`
    22  		}
    23  	}
    24  	Etcd struct {
    25  		ExpectedCount int `yaml:"expected_count"`
    26  		Nodes         []NodePlan
    27  	}
    28  	Master struct {
    29  		ExpectedCount         int `yaml:"expected_count"`
    30  		Nodes                 []NodePlan
    31  		LoadBalancedFQDN      string `yaml:"load_balanced_fqdn"`
    32  		LoadBalancedShortName string `yaml:"load_balanced_short_name"`
    33  	}
    34  	Worker struct {
    35  		ExpectedCount int `yaml:"expected_count"`
    36  		Nodes         []NodePlan
    37  	}
    38  	Ingress struct {
    39  		ExpectedCount int `yaml:"expected_count"`
    40  		Nodes         []NodePlan
    41  	}
    42  	Storage struct {
    43  		ExpectedCount int `yaml:"expected_count"`
    44  		Nodes         []NodePlan
    45  	}
    46  	NFS struct {
    47  		Volumes []NFSVolume `yaml:"nfs_volume"`
    48  	}
    49  }
    50  
    51  type NodePlan struct {
    52  	host       string
    53  	ip         string
    54  	internalip string
    55  }