Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDomain ¶
func DefaultDomain() string
func DefaultEnterprise ¶
func DefaultEnterprise() string
Types ¶
type EtcdConfig ¶
type MasterConfig ¶
type MasterConfig struct {
NetworkConfig networkConfig `yaml:"networkConfig"`
}
Fields we care about in the openshift master-config.yaml
func (*MasterConfig) Parse ¶
func (conf *MasterConfig) Parse(data []byte) error
type NamespaceMap ¶
type NamespaceUpdateEvent ¶
type NamespaceUpdateEvent int
const ( AddSubnet NamespaceUpdateEvent = iota DeleteSubnet )
type NamespaceUpdateRequest ¶
type NamespaceUpdateRequest struct { NamespaceID string //Name of the namespace in the NamespaceData map Event NamespaceUpdateEvent }
type NuageKubeMonConfig ¶
type NuageKubeMonConfig struct { KubeConfigFile string `yaml:"kubeConfig"` MasterConfigFile string `yaml:"masterConfig"` NuageVsdApiUrl string `yaml:"vsdApiUrl"` NuageVspVersion string `yaml:"vspVersion"` LicenseFile string `yaml:"licenseFile"` EnterpriseName string `yaml:"enterpriseName"` DomainName string `yaml:"domainName"` StatsLogging string `yaml:"statsLogging"` RestServer RestServerConfig `yaml:"nuageMonServer"` UserCertificateFile string `yaml:"userCertificateFile"` UserKeyFile string `yaml:"userKeyFile"` PrivilegedProject []string `yaml:"privilegedProject"` PrivilegedNamespace []string `yaml:"privilegedNamespace"` ConfigFile string `yaml:"-"` // yaml tag `-` denotes that this cannot be supplied in yaml. MasterConfig MasterConfig `yaml:"-"` EtcdClientConfig EtcdConfig `yaml:"etcdClientConfig"` AutoScaleSubnets string `yaml:"autoScaleSubnets"` UnderlaySupport string `yaml:"underlaySupport"` EncryptionEnabled string `yaml:"encryptionEnabled"` }
func (*NuageKubeMonConfig) Parse ¶
func (conf *NuageKubeMonConfig) Parse(data []byte) error
type RestServerConfig ¶
type RestServerConfig struct { Url string `yaml:"URL"` ClientCA string `yaml:"clientCA"` ServerCertificate string `yaml:"serverCertificate"` ServerKey string `yaml:"serverKey"` ClientCAData string `yaml:"clientCAData"` ServerCertificateData string `yaml:"serverCertificateData"` ServerKeyData string `yaml:"serverKeyData"` }
Click to show internal directories.
Click to hide internal directories.