Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponseInfo ¶
type ComponseInfo struct { Name string `json:"name"` Version string `json:"version"` Status string `json:"status"` HealthCount int `json:"healthCount"` TotalCount int `json:"totalCount"` Message string `json:"message"` }
ComponseInfo componse info
type Database ¶
type Database struct { Default bool `json:"default" validate:"default|required"` Host string `json:"host"` Port int `json:"port"` Username string `json:"username"` Password string `json:"password"` }
Database defines the connection information of database.
type EtcdCertInfo ¶
type EtcdCertInfo struct { CaFile string `json:"caFile"` CertFile string `json:"certFile"` KeyFile string `json:"keyFile"` }
EtcdCertInfo etcd cert info
type EtcdConfig ¶
type EtcdConfig struct { Default bool `json:"default" validate:"default|required"` // Endpoints is a list of URLs. Endpoints []string `json:"endpoints"` // Whether to use tls to connect to etcd UseTLS bool `json:"useTLS"` // Secret to mount to read certificate files for tls. CertInfo EtcdCertInfo `json:"certInfo"` }
EtcdConfig defines the configuration of etcd client.
type GatewayNode ¶
type GatewayNode struct { NodeName string `json:"nodeName"` NodeIP string `json:"nodeIP"` Ports []int `json:"ports"` Selected bool `json:"selected"` }
GatewayNode gateway
type GlobalConfigs ¶
type GlobalConfigs struct { ImageHub ImageHub `json:"imageHub"` RegionDatabase Database `json:"regionDatabase"` UIDatabase Database `json:"uiDatabase"` EtcdConfig EtcdConfig `json:"etcdConfig"` GatewayNodes []GatewayNode `json:"gatewayNodes"` HTTPDomain HTTPDomain `json:"HTTPDomain"` GatewayIngressIPs []string `json:"gatewayIngressIPs"` Storage Storage `json:"storage"` }
GlobalConfigs check result
type HTTPDomain ¶
HTTPDomain http domain
type ImageHub ¶
type ImageHub struct { Default bool `json:"default" validate:"default|required"` Domain string `json:"domain"` Namespace string `json:"namespace"` Username string `json:"username"` Password string `json:"password"` }
ImageHub image hub
type InstallStatus ¶
type InstallStatus struct { StepName string `json:"stepName"` Status string `json:"status"` Progress int `json:"progress"` Message string `json:"message"` Reason string `json:"reason"` }
InstallStatus install status
type NodeAvailPorts ¶
type NodeAvailPorts struct { Ports []int `json:"port"` NodeIP string `json:"nodeIP"` NodeName string `json:"nodeName"` }
NodeAvailPorts aval port
type StatusRes ¶
type StatusRes struct { FinalStatus string `json:"finalStatus"` StatusList []InstallStatus `json:"statusList"` }
StatusRes StatusRes
type Storage ¶
type Storage struct { Default bool `json:"default"` StorageClassName string `json:"storageClassName"` Opts []StorageOpts `json:"opts"` }
Storage storage
type StorageOpts ¶
StorageOpts storage opts
Click to show internal directories.
Click to hide internal directories.