Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inventory ¶
type Inventory struct { GeneratorDeploymentType string `yaml:"deployment_type"` GeneratorSshUser string `yaml:"ssh_user"` GeneratorNfsEnabled bool `yaml:"nfs_enabled"` GeneratorRegistryNativeNfs bool `yaml:"registry_native_nfs"` GeneratorHaproxyEnabled bool `yaml:"haproxy_enabled"` GeneratorInstallVersion string `yaml:"install_version"` GeneratorSkipChecks bool `yaml:"skip_checks"` GeneratorMultiMaster bool `yaml:"multi_master"` GeneratorClusterMethod string `yaml:"cluster_method"` GeneratorClusterHostname string `yaml:"cluster_hostname"` GeneratorClusterPublicHostname string `yaml:"cluster_public_hostname"` GeneratorContainerizedDeploy bool `yaml:"containerized_deploy"` GeneratorContainerizedOvs bool `yaml:"containerized_ovs"` GeneratorContainerizedNode bool `yaml:"containerized_node"` GeneratorContainerizedMaster bool `yaml:"containerized_master"` GeneratorContainerizedEtcd bool `yaml:"containerized_etcd"` GeneratorSystemImagesRegistry string `yaml:"system_images_registry"` GeneratorOpenshiftUseCrio bool `yaml:"openshift_use_crio"` GeneratorOpenshiftCrioUseRpm bool `yaml:"openshift_crio_use_rpm"` GeneratorMultiInfra bool `yaml:"multi_infra"` GeneratorUseXip bool `yaml:"use_xip"` GeneratorInfraIpv4 string `yaml:"infra_ipv4"` GeneratorExtDnsWildcard string `yaml:"ext_dns_wildcard"` GeneratorSdnPlugin string `yaml:"sdn_plugin"` GeneratorDisableServiceCatalog bool `yaml:"disable_servicecatalog"` GeneratorInfraReplicas int `yaml:"infra_replicas"` GeneratorMetricsEnabled bool `yaml:"metrics_enabled"` GeneratorDeployHosa bool `yaml:"deploy_hosa"` GeneratorMetricsNativeNfs bool `yaml:"metrics_native_nfs"` GeneratorPrometheusEnabled bool `yaml:"prometheus_enabled"` GeneratorPrometheusNativeNfs bool `yaml:"prometheus_native_nfs"` GeneratorLoggingEnabled bool `yaml:"logging_enabled"` GeneratorLoggingNativeNfs bool `yaml:"logging_native_nfs"` GeneratorMastersList []string `yaml:"masters_list"` GeneratorEtcdList []string `yaml:"etcd_list"` GeneratorLbList []string `yaml:"lb_list"` GeneratorNodesMap map[string]string `yaml:"nodes_map"` }
Inventory is the basic definition of all parameters
func (*Inventory) CheckClusterMethod ¶
Check if cluster method is native
func (*Inventory) CheckDeploymentType ¶
Check if deployment type is enterprise or origin
func (*Inventory) CheckInfraIpv4 ¶
Check if string is a valid IPv4 address
func (*Inventory) CheckInstallVersion ¶
Check if installation version is valid
func (*Inventory) CheckSdnPlugin ¶
Check if SND plugin is among the supported ones
Click to show internal directories.
Click to hide internal directories.