Documentation
¶
Index ¶
- type IstioEnvironment
- func (e *IstioEnvironment) GetClusterName() string
- func (e *IstioEnvironment) GetDNSDomain() string
- func (e *IstioEnvironment) GetDNSServiceDomain() string
- func (e *IstioEnvironment) GetNodeID() string
- func (e *IstioEnvironment) GetNodePropertiesFromEnvironment() map[string]interface{}
- func (e *IstioEnvironment) GetSpiffeID() string
- func (e *IstioEnvironment) Override(otherEnv IstioEnvironment)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IstioEnvironment ¶
type IstioEnvironment struct {
Type string `env:"TYPE"`
PodName string `env:"POD_NAME"`
PodNamespace string `env:"POD_NAMESPACE"`
PodOwner string `env:"POD_OWNER"`
PodServiceAccount string `env:"POD_SERVICE_ACCOUNT"`
WorkloadName string `env:"WORKLOAD_NAME"`
AppContainers []string `env:"APP_CONTAINERS"`
InstanceIPs []string `env:"INSTANCE_IP"`
Labels map[string]string `env:"LABELS"`
PlatformMetadata map[string]string `env:"PLATFORM_METADATA"`
Network string `env:"NETWORK"`
SearchDomains []string `env:"SEARCH_DOMAINS"`
ClusterID string `env:"CLUSTER_ID"`
DNSDomain string `env:"DNS_DOMAIN"`
MeshID string `env:"MESH_ID"`
IstioCAAddress string `env:"ISTIO_CA_ADDR"`
IstioVersion string `env:"ISTIO_VERSION"`
IstioRevision string `env:"ISTIO_REVISION"`
}
func GetIstioEnvironment ¶
func GetIstioEnvironment(prefix string) (*IstioEnvironment, error)
func (*IstioEnvironment) GetClusterName ¶
func (e *IstioEnvironment) GetClusterName() string
func (*IstioEnvironment) GetDNSDomain ¶
func (e *IstioEnvironment) GetDNSDomain() string
func (*IstioEnvironment) GetDNSServiceDomain ¶
func (e *IstioEnvironment) GetDNSServiceDomain() string
func (*IstioEnvironment) GetNodeID ¶
func (e *IstioEnvironment) GetNodeID() string
func (*IstioEnvironment) GetNodePropertiesFromEnvironment ¶
func (e *IstioEnvironment) GetNodePropertiesFromEnvironment() map[string]interface{}
func (*IstioEnvironment) GetSpiffeID ¶
func (e *IstioEnvironment) GetSpiffeID() string
func (*IstioEnvironment) Override ¶
func (e *IstioEnvironment) Override(otherEnv IstioEnvironment)
Click to show internal directories.
Click to hide internal directories.