Documentation ¶
Index ¶
Constants ¶
View Source
const TypeSatellite = "satellite"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Satellite ¶
type Satellite struct { Name string `mapstructure:"name"` Host string `mapstructure:"host"` Port int `mapstructure:"port"` TLS bool `mapstructure:"tls"` Insecure bool `mapstructure:"insecure"` Timeout time.Duration `mapstructure:"timeout" default:"30s"` }
func (*Satellite) GetHealth ¶
func (i *Satellite) GetHealth(ctx context.Context) *ph.HealthCheckResponse
func (*Satellite) SetDefaults ¶
func (i *Satellite) SetDefaults()
Click to show internal directories.
Click to hide internal directories.