Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcProxyAgentOptions ¶
type GrpcProxyAgentOptions struct { // Configuration for authenticating with the proxy-server AgentCert string AgentKey string CaCert string // Configuration for connecting to the proxy-server ProxyServerHost string ProxyServerPort int AlpnProtos []string // Ports for the health and admin server HealthServerPort int AdminServerPort int // Enables pprof at host:adminPort/debug/pprof. EnableProfiling bool // If EnableProfiling is true, this enables the lock contention // profiling at host:adminPort/debug/pprof/block. EnableContentionProfiling bool AgentID string AgentIdentifiers string SyncInterval time.Duration ProbeInterval time.Duration SyncIntervalCap time.Duration // file contains service account authorization token for enabling proxy-server token based authorization ServiceAccountTokenPath string }
func NewGrpcProxyAgentOptions ¶
func NewGrpcProxyAgentOptions() *GrpcProxyAgentOptions
func (*GrpcProxyAgentOptions) ClientSetConfig ¶
func (o *GrpcProxyAgentOptions) ClientSetConfig(dialOptions ...grpc.DialOption) *agent.ClientSetConfig
func (*GrpcProxyAgentOptions) Flags ¶
func (o *GrpcProxyAgentOptions) Flags() *pflag.FlagSet
func (*GrpcProxyAgentOptions) Print ¶
func (o *GrpcProxyAgentOptions) Print()
func (*GrpcProxyAgentOptions) Validate ¶
func (o *GrpcProxyAgentOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.