Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
- type DNSConfig
- func (*DNSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DNSConfig) GetError() string
- func (x *DNSConfig) GetExcludeSuffixes() []string
- func (x *DNSConfig) GetExcludes() []string
- func (x *DNSConfig) GetIncludeSuffixes() []string
- func (x *DNSConfig) GetLocalIp() []byte
- func (x *DNSConfig) GetLookupTimeout() *durationpb.Duration
- func (x *DNSConfig) GetMappings() []*DNSMapping
- func (x *DNSConfig) GetRemoteIp() []byte
- func (*DNSConfig) ProtoMessage()
- func (x *DNSConfig) ProtoReflect() protoreflect.Message
- func (x *DNSConfig) Reset()
- func (x *DNSConfig) String() string
- type DNSMapping
- type DaemonClient
- type DaemonServer
- type DaemonStatus
- func (*DaemonStatus) Descriptor() ([]byte, []int)deprecated
- func (x *DaemonStatus) GetOutboundConfig() *NetworkConfig
- func (x *DaemonStatus) GetVersion() *common.VersionInfo
- func (*DaemonStatus) ProtoMessage()
- func (x *DaemonStatus) ProtoReflect() protoreflect.Message
- func (x *DaemonStatus) Reset()
- func (x *DaemonStatus) String() string
- type Domains
- type Environment
- type NetworkConfig
- func (*NetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConfig) GetClientConfig() []byte
- func (x *NetworkConfig) GetHomeDir() string
- func (x *NetworkConfig) GetKubeFlags() map[string]string
- func (x *NetworkConfig) GetKubeconfigData() []byte
- func (x *NetworkConfig) GetNamespace() string
- func (x *NetworkConfig) GetSession() *manager.SessionInfo
- func (x *NetworkConfig) GetSubnetViaWorkloads() []*SubnetViaWorkload
- func (*NetworkConfig) ProtoMessage()
- func (x *NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkConfig) Reset()
- func (x *NetworkConfig) String() string
- type SetDNSExcludesRequest
- func (*SetDNSExcludesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSExcludesRequest) GetExcludes() []string
- func (*SetDNSExcludesRequest) ProtoMessage()
- func (x *SetDNSExcludesRequest) ProtoReflect() protoreflect.Message
- func (x *SetDNSExcludesRequest) Reset()
- func (x *SetDNSExcludesRequest) String() string
- type SetDNSMappingsRequest
- func (*SetDNSMappingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDNSMappingsRequest) GetMappings() []*DNSMapping
- func (*SetDNSMappingsRequest) ProtoMessage()
- func (x *SetDNSMappingsRequest) ProtoReflect() protoreflect.Message
- func (x *SetDNSMappingsRequest) Reset()
- func (x *SetDNSMappingsRequest) String() string
- type SubnetViaWorkload
- func (*SubnetViaWorkload) Descriptor() ([]byte, []int)deprecated
- func (x *SubnetViaWorkload) GetSubnet() string
- func (x *SubnetViaWorkload) GetWorkload() string
- func (*SubnetViaWorkload) ProtoMessage()
- func (x *SubnetViaWorkload) ProtoReflect() protoreflect.Message
- func (x *SubnetViaWorkload) Reset()
- func (x *SubnetViaWorkload) String() string
- type UnimplementedDaemonServer
- func (UnimplementedDaemonServer) Connect(context.Context, *NetworkConfig) (*DaemonStatus, error)
- func (UnimplementedDaemonServer) Disconnect(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) GetNetworkConfig(context.Context, *emptypb.Empty) (*NetworkConfig, error)
- func (UnimplementedDaemonServer) Quit(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) SetDNSExcludes(context.Context, *SetDNSExcludesRequest) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) SetDNSMappings(context.Context, *SetDNSMappingsRequest) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) SetDNSTopLevelDomains(context.Context, *Domains) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) SetLogLevel(context.Context, *manager.LogLevelRequest) (*emptypb.Empty, error)
- func (UnimplementedDaemonServer) Status(context.Context, *emptypb.Empty) (*DaemonStatus, error)
- func (UnimplementedDaemonServer) TranslateEnvIPs(context.Context, *Environment) (*Environment, error)
- func (UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*common.VersionInfo, error)
- func (UnimplementedDaemonServer) WaitForAgentIP(context.Context, *WaitForAgentIPRequest) (*WaitForAgentIPResponse, error)
- func (UnimplementedDaemonServer) WaitForNetwork(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- type UnsafeDaemonServer
- type WaitForAgentIPRequest
- func (*WaitForAgentIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAgentIPRequest) GetIp() []byte
- func (x *WaitForAgentIPRequest) GetTimeout() *durationpb.Duration
- func (*WaitForAgentIPRequest) ProtoMessage()
- func (x *WaitForAgentIPRequest) ProtoReflect() protoreflect.Message
- func (x *WaitForAgentIPRequest) Reset()
- func (x *WaitForAgentIPRequest) String() string
- type WaitForAgentIPResponse
- func (*WaitForAgentIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitForAgentIPResponse) GetLocalIp() []byte
- func (*WaitForAgentIPResponse) ProtoMessage()
- func (x *WaitForAgentIPResponse) ProtoReflect() protoreflect.Message
- func (x *WaitForAgentIPResponse) Reset()
- func (x *WaitForAgentIPResponse) String() string
Constants ¶
const ( Daemon_Version_FullMethodName = "/telepresence.daemon.Daemon/Version" Daemon_Status_FullMethodName = "/telepresence.daemon.Daemon/Status" Daemon_Quit_FullMethodName = "/telepresence.daemon.Daemon/Quit" Daemon_Connect_FullMethodName = "/telepresence.daemon.Daemon/Connect" Daemon_Disconnect_FullMethodName = "/telepresence.daemon.Daemon/Disconnect" Daemon_GetNetworkConfig_FullMethodName = "/telepresence.daemon.Daemon/GetNetworkConfig" Daemon_SetDNSTopLevelDomains_FullMethodName = "/telepresence.daemon.Daemon/SetDNSTopLevelDomains" Daemon_SetDNSExcludes_FullMethodName = "/telepresence.daemon.Daemon/SetDNSExcludes" Daemon_SetDNSMappings_FullMethodName = "/telepresence.daemon.Daemon/SetDNSMappings" Daemon_SetLogLevel_FullMethodName = "/telepresence.daemon.Daemon/SetLogLevel" Daemon_TranslateEnvIPs_FullMethodName = "/telepresence.daemon.Daemon/TranslateEnvIPs" Daemon_WaitForNetwork_FullMethodName = "/telepresence.daemon.Daemon/WaitForNetwork" Daemon_WaitForAgentIP_FullMethodName = "/telepresence.daemon.Daemon/WaitForAgentIP" )
Variables ¶
var Daemon_ServiceDesc = grpc.ServiceDesc{ ServiceName: "telepresence.daemon.Daemon", HandlerType: (*DaemonServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Version", Handler: _Daemon_Version_Handler, }, { MethodName: "Status", Handler: _Daemon_Status_Handler, }, { MethodName: "Quit", Handler: _Daemon_Quit_Handler, }, { MethodName: "Connect", Handler: _Daemon_Connect_Handler, }, { MethodName: "Disconnect", Handler: _Daemon_Disconnect_Handler, }, { MethodName: "GetNetworkConfig", Handler: _Daemon_GetNetworkConfig_Handler, }, { MethodName: "SetDNSTopLevelDomains", Handler: _Daemon_SetDNSTopLevelDomains_Handler, }, { MethodName: "SetDNSExcludes", Handler: _Daemon_SetDNSExcludes_Handler, }, { MethodName: "SetDNSMappings", Handler: _Daemon_SetDNSMappings_Handler, }, { MethodName: "SetLogLevel", Handler: _Daemon_SetLogLevel_Handler, }, { MethodName: "TranslateEnvIPs", Handler: _Daemon_TranslateEnvIPs_Handler, }, { MethodName: "WaitForNetwork", Handler: _Daemon_WaitForNetwork_Handler, }, { MethodName: "WaitForAgentIP", Handler: _Daemon_WaitForAgentIP_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "daemon/daemon.proto", }
Daemon_ServiceDesc is the grpc.ServiceDesc for Daemon service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_daemon_daemon_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServer ¶
func RegisterDaemonServer(s grpc.ServiceRegistrar, srv DaemonServer)
Types ¶
type DNSConfig ¶ added in v2.3.1
type DNSConfig struct { // local_ip is the address of the local DNS server. Only used by Linux systems that have no // systemd-resolved configured. Defaults to the first line of /etc/resolv.conf LocalIp []byte `protobuf:"bytes,1,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"` // remote_ip is the address of the kube-dns.kube-system, dns-default.openshift-dns, or similar service, RemoteIp []byte `protobuf:"bytes,2,opt,name=remote_ip,json=remoteIp,proto3" json:"remote_ip,omitempty"` // Suffixes to exclude ExcludeSuffixes []string `protobuf:"bytes,3,rep,name=exclude_suffixes,json=excludeSuffixes,proto3" json:"exclude_suffixes,omitempty"` // Suffixes to include. Has higher prio than the excludes IncludeSuffixes []string `protobuf:"bytes,4,rep,name=include_suffixes,json=includeSuffixes,proto3" json:"include_suffixes,omitempty"` // Exclude are a list of hostname that the DNS resolver will not resolve even if they exist. Excludes []string `protobuf:"bytes,8,rep,name=excludes,proto3" json:"excludes,omitempty"` // DNSMapping contains a hostname and its associated alias. When requesting the name, the intended behavior is // to resolve the alias instead. Mappings []*DNSMapping `protobuf:"bytes,9,rep,name=mappings,proto3" json:"mappings,omitempty"` // The maximum time wait for a cluster side host lookup. LookupTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=lookup_timeout,json=lookupTimeout,proto3" json:"lookup_timeout,omitempty"` // If set, this error indicates why DNS is not working. Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
DNS configuration for the local DNS resolver
func (*DNSConfig) Descriptor
deprecated
added in
v2.3.1
func (*DNSConfig) GetExcludeSuffixes ¶ added in v2.3.1
func (*DNSConfig) GetExcludes ¶ added in v2.14.0
func (*DNSConfig) GetIncludeSuffixes ¶ added in v2.3.1
func (*DNSConfig) GetLocalIp ¶ added in v2.3.1
func (*DNSConfig) GetLookupTimeout ¶ added in v2.3.1
func (x *DNSConfig) GetLookupTimeout() *durationpb.Duration
func (*DNSConfig) GetMappings ¶ added in v2.14.0
func (x *DNSConfig) GetMappings() []*DNSMapping
func (*DNSConfig) GetRemoteIp ¶ added in v2.3.1
func (*DNSConfig) ProtoMessage ¶ added in v2.3.1
func (*DNSConfig) ProtoMessage()
func (*DNSConfig) ProtoReflect ¶ added in v2.3.1
func (x *DNSConfig) ProtoReflect() protoreflect.Message
type DNSMapping ¶ added in v2.14.0
type DNSMapping struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` AliasFor string `protobuf:"bytes,2,opt,name=alias_for,json=aliasFor,proto3" json:"alias_for,omitempty"` // contains filtered or unexported fields }
func (*DNSMapping) Descriptor
deprecated
added in
v2.14.0
func (*DNSMapping) Descriptor() ([]byte, []int)
Deprecated: Use DNSMapping.ProtoReflect.Descriptor instead.
func (*DNSMapping) GetAliasFor ¶ added in v2.14.0
func (x *DNSMapping) GetAliasFor() string
func (*DNSMapping) GetName ¶ added in v2.14.0
func (x *DNSMapping) GetName() string
func (*DNSMapping) ProtoMessage ¶ added in v2.14.0
func (*DNSMapping) ProtoMessage()
func (*DNSMapping) ProtoReflect ¶ added in v2.14.0
func (x *DNSMapping) ProtoReflect() protoreflect.Message
func (*DNSMapping) Reset ¶ added in v2.14.0
func (x *DNSMapping) Reset()
func (*DNSMapping) String ¶ added in v2.14.0
func (x *DNSMapping) String() string
type DaemonClient ¶
type DaemonClient interface { // Version returns version information from the Daemon Version(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.VersionInfo, error) // Status returns the current connectivity status Status(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*DaemonStatus, error) // Quit quits (terminates) the service. Quit(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // Connect creates a new session that provides outbound connectivity to the cluster Connect(ctx context.Context, in *NetworkConfig, opts ...grpc.CallOption) (*DaemonStatus, error) // Disconnect disconnects the current session. Disconnect(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // GetNetworkConfig returns the current network configuration GetNetworkConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*NetworkConfig, error) // SetDNSTopLevelDomains sets a new search path. SetDNSTopLevelDomains(ctx context.Context, in *Domains, opts ...grpc.CallOption) (*emptypb.Empty, error) // SetDNSExcludes sets the excludes field of DNSConfig. SetDNSExcludes(ctx context.Context, in *SetDNSExcludesRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // SetDNSMappings sets the Mappings field of DNSConfig. SetDNSMappings(ctx context.Context, in *SetDNSMappingsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // SetLogLevel will temporarily set the log-level for the daemon for a duration that is determined b the request. SetLogLevel(ctx context.Context, in *manager.LogLevelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // TranslateEnvIPs translates remote IPs found in the environment to local IPs TranslateEnvIPs(ctx context.Context, in *Environment, opts ...grpc.CallOption) (*Environment, error) // WaitForNetwork waits for the network of the currently connected session to become ready. WaitForNetwork(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) // WaitForAgentIP waits for the network of an intercepted agent to become ready. WaitForAgentIP(ctx context.Context, in *WaitForAgentIPRequest, opts ...grpc.CallOption) (*WaitForAgentIPResponse, error) }
DaemonClient is the client API for Daemon service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The Daemon service is responsible for managing network overrides and also acts as the central point for logging.
func NewDaemonClient ¶
func NewDaemonClient(cc grpc.ClientConnInterface) DaemonClient
type DaemonServer ¶
type DaemonServer interface { // Version returns version information from the Daemon Version(context.Context, *emptypb.Empty) (*common.VersionInfo, error) // Status returns the current connectivity status Status(context.Context, *emptypb.Empty) (*DaemonStatus, error) // Quit quits (terminates) the service. Quit(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // Connect creates a new session that provides outbound connectivity to the cluster Connect(context.Context, *NetworkConfig) (*DaemonStatus, error) // Disconnect disconnects the current session. Disconnect(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // GetNetworkConfig returns the current network configuration GetNetworkConfig(context.Context, *emptypb.Empty) (*NetworkConfig, error) // SetDNSTopLevelDomains sets a new search path. SetDNSTopLevelDomains(context.Context, *Domains) (*emptypb.Empty, error) // SetDNSExcludes sets the excludes field of DNSConfig. SetDNSExcludes(context.Context, *SetDNSExcludesRequest) (*emptypb.Empty, error) // SetDNSMappings sets the Mappings field of DNSConfig. SetDNSMappings(context.Context, *SetDNSMappingsRequest) (*emptypb.Empty, error) // SetLogLevel will temporarily set the log-level for the daemon for a duration that is determined b the request. SetLogLevel(context.Context, *manager.LogLevelRequest) (*emptypb.Empty, error) // TranslateEnvIPs translates remote IPs found in the environment to local IPs TranslateEnvIPs(context.Context, *Environment) (*Environment, error) // WaitForNetwork waits for the network of the currently connected session to become ready. WaitForNetwork(context.Context, *emptypb.Empty) (*emptypb.Empty, error) // WaitForAgentIP waits for the network of an intercepted agent to become ready. WaitForAgentIP(context.Context, *WaitForAgentIPRequest) (*WaitForAgentIPResponse, error) // contains filtered or unexported methods }
DaemonServer is the server API for Daemon service. All implementations must embed UnimplementedDaemonServer for forward compatibility.
The Daemon service is responsible for managing network overrides and also acts as the central point for logging.
type DaemonStatus ¶
type DaemonStatus struct { OutboundConfig *NetworkConfig `protobuf:"bytes,4,opt,name=outbound_config,json=outboundConfig,proto3" json:"outbound_config,omitempty"` Version *common.VersionInfo `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*DaemonStatus) Descriptor
deprecated
func (*DaemonStatus) Descriptor() ([]byte, []int)
Deprecated: Use DaemonStatus.ProtoReflect.Descriptor instead.
func (*DaemonStatus) GetOutboundConfig ¶ added in v2.3.3
func (x *DaemonStatus) GetOutboundConfig() *NetworkConfig
func (*DaemonStatus) GetVersion ¶ added in v2.8.0
func (x *DaemonStatus) GetVersion() *common.VersionInfo
func (*DaemonStatus) ProtoMessage ¶
func (*DaemonStatus) ProtoMessage()
func (*DaemonStatus) ProtoReflect ¶
func (x *DaemonStatus) ProtoReflect() protoreflect.Message
func (*DaemonStatus) Reset ¶
func (x *DaemonStatus) Reset()
func (*DaemonStatus) String ¶
func (x *DaemonStatus) String() string
type Domains ¶ added in v2.19.0
type Domains struct { Domains []string `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` // contains filtered or unexported fields }
func (*Domains) Descriptor
deprecated
added in
v2.19.0
func (*Domains) GetDomains ¶ added in v2.19.0
func (*Domains) ProtoMessage ¶ added in v2.19.0
func (*Domains) ProtoMessage()
func (*Domains) ProtoReflect ¶ added in v2.19.0
func (x *Domains) ProtoReflect() protoreflect.Message
type Environment ¶ added in v2.21.0
type Environment struct { Env map[string]string `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Environment) Descriptor
deprecated
added in
v2.21.0
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetEnv ¶ added in v2.21.0
func (x *Environment) GetEnv() map[string]string
func (*Environment) ProtoMessage ¶ added in v2.21.0
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶ added in v2.21.0
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶ added in v2.21.0
func (x *Environment) Reset()
func (*Environment) String ¶ added in v2.21.0
func (x *Environment) String() string
type NetworkConfig ¶ added in v2.9.0
type NetworkConfig struct { // session makes it possible for the root daemon to identify itself as the // same client as the user daemon. Session *manager.SessionInfo `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"` // Route subnets via given workload using virtual IPs SubnetViaWorkloads []*SubnetViaWorkload `protobuf:"bytes,2,rep,name=subnet_via_workloads,json=subnetViaWorkloads,proto3" json:"subnet_via_workloads,omitempty"` // Users home directory HomeDir string `protobuf:"bytes,3,opt,name=home_dir,json=homeDir,proto3" json:"home_dir,omitempty"` // Connection namespace Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // Kubernetes flags KubeFlags map[string]string `` /* 176-byte string literal not displayed */ // Kubeconfig YAML, if not to be loaded from file. KubeconfigData []byte `protobuf:"bytes,6,opt,name=kubeconfig_data,json=kubeconfigData,proto3,oneof" json:"kubeconfig_data,omitempty"` // The completely merged client Config, unless daemon runs embedded ClientConfig []byte `protobuf:"bytes,7,opt,name=client_config,json=clientConfig,proto3,oneof" json:"client_config,omitempty"` // contains filtered or unexported fields }
NetworkConfig contains all information that the root daemon needs in order to establish outbound traffic to the cluster.
func (*NetworkConfig) Descriptor
deprecated
added in
v2.9.0
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetClientConfig ¶ added in v2.21.0
func (x *NetworkConfig) GetClientConfig() []byte
func (*NetworkConfig) GetHomeDir ¶ added in v2.21.0
func (x *NetworkConfig) GetHomeDir() string
func (*NetworkConfig) GetKubeFlags ¶ added in v2.21.0
func (x *NetworkConfig) GetKubeFlags() map[string]string
func (*NetworkConfig) GetKubeconfigData ¶ added in v2.21.0
func (x *NetworkConfig) GetKubeconfigData() []byte
func (*NetworkConfig) GetNamespace ¶ added in v2.21.0
func (x *NetworkConfig) GetNamespace() string
func (*NetworkConfig) GetSession ¶ added in v2.21.0
func (x *NetworkConfig) GetSession() *manager.SessionInfo
func (*NetworkConfig) GetSubnetViaWorkloads ¶ added in v2.21.0
func (x *NetworkConfig) GetSubnetViaWorkloads() []*SubnetViaWorkload
func (*NetworkConfig) ProtoMessage ¶ added in v2.9.0
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶ added in v2.9.0
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶ added in v2.9.0
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶ added in v2.9.0
func (x *NetworkConfig) String() string
type SetDNSExcludesRequest ¶ added in v2.14.0
type SetDNSExcludesRequest struct { Excludes []string `protobuf:"bytes,1,rep,name=excludes,proto3" json:"excludes,omitempty"` // contains filtered or unexported fields }
func (*SetDNSExcludesRequest) Descriptor
deprecated
added in
v2.14.0
func (*SetDNSExcludesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSExcludesRequest.ProtoReflect.Descriptor instead.
func (*SetDNSExcludesRequest) GetExcludes ¶ added in v2.14.0
func (x *SetDNSExcludesRequest) GetExcludes() []string
func (*SetDNSExcludesRequest) ProtoMessage ¶ added in v2.14.0
func (*SetDNSExcludesRequest) ProtoMessage()
func (*SetDNSExcludesRequest) ProtoReflect ¶ added in v2.14.0
func (x *SetDNSExcludesRequest) ProtoReflect() protoreflect.Message
func (*SetDNSExcludesRequest) Reset ¶ added in v2.14.0
func (x *SetDNSExcludesRequest) Reset()
func (*SetDNSExcludesRequest) String ¶ added in v2.14.0
func (x *SetDNSExcludesRequest) String() string
type SetDNSMappingsRequest ¶ added in v2.14.0
type SetDNSMappingsRequest struct { Mappings []*DNSMapping `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"` // contains filtered or unexported fields }
func (*SetDNSMappingsRequest) Descriptor
deprecated
added in
v2.14.0
func (*SetDNSMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDNSMappingsRequest.ProtoReflect.Descriptor instead.
func (*SetDNSMappingsRequest) GetMappings ¶ added in v2.14.0
func (x *SetDNSMappingsRequest) GetMappings() []*DNSMapping
func (*SetDNSMappingsRequest) ProtoMessage ¶ added in v2.14.0
func (*SetDNSMappingsRequest) ProtoMessage()
func (*SetDNSMappingsRequest) ProtoReflect ¶ added in v2.14.0
func (x *SetDNSMappingsRequest) ProtoReflect() protoreflect.Message
func (*SetDNSMappingsRequest) Reset ¶ added in v2.14.0
func (x *SetDNSMappingsRequest) Reset()
func (*SetDNSMappingsRequest) String ¶ added in v2.14.0
func (x *SetDNSMappingsRequest) String() string
type SubnetViaWorkload ¶ added in v2.18.0
type SubnetViaWorkload struct { // The remote IP that the DNS resolver translates into a Virtual IP to use locally. Subnet string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"` // The workload that the virtual IP will be routed to. Workload string `protobuf:"bytes,2,opt,name=workload,proto3" json:"workload,omitempty"` // contains filtered or unexported fields }
func (*SubnetViaWorkload) Descriptor
deprecated
added in
v2.18.0
func (*SubnetViaWorkload) Descriptor() ([]byte, []int)
Deprecated: Use SubnetViaWorkload.ProtoReflect.Descriptor instead.
func (*SubnetViaWorkload) GetSubnet ¶ added in v2.18.0
func (x *SubnetViaWorkload) GetSubnet() string
func (*SubnetViaWorkload) GetWorkload ¶ added in v2.18.0
func (x *SubnetViaWorkload) GetWorkload() string
func (*SubnetViaWorkload) ProtoMessage ¶ added in v2.18.0
func (*SubnetViaWorkload) ProtoMessage()
func (*SubnetViaWorkload) ProtoReflect ¶ added in v2.18.0
func (x *SubnetViaWorkload) ProtoReflect() protoreflect.Message
func (*SubnetViaWorkload) Reset ¶ added in v2.18.0
func (x *SubnetViaWorkload) Reset()
func (*SubnetViaWorkload) String ¶ added in v2.18.0
func (x *SubnetViaWorkload) String() string
type UnimplementedDaemonServer ¶
type UnimplementedDaemonServer struct{}
UnimplementedDaemonServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDaemonServer) Connect ¶ added in v2.5.0
func (UnimplementedDaemonServer) Connect(context.Context, *NetworkConfig) (*DaemonStatus, error)
func (UnimplementedDaemonServer) Disconnect ¶ added in v2.5.0
func (UnimplementedDaemonServer) GetNetworkConfig ¶ added in v2.9.0
func (UnimplementedDaemonServer) GetNetworkConfig(context.Context, *emptypb.Empty) (*NetworkConfig, error)
func (UnimplementedDaemonServer) SetDNSExcludes ¶ added in v2.14.0
func (UnimplementedDaemonServer) SetDNSExcludes(context.Context, *SetDNSExcludesRequest) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) SetDNSMappings ¶ added in v2.14.0
func (UnimplementedDaemonServer) SetDNSMappings(context.Context, *SetDNSMappingsRequest) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) SetDNSTopLevelDomains ¶ added in v2.19.0
func (UnimplementedDaemonServer) SetLogLevel ¶ added in v2.4.2
func (UnimplementedDaemonServer) SetLogLevel(context.Context, *manager.LogLevelRequest) (*emptypb.Empty, error)
func (UnimplementedDaemonServer) Status ¶
func (UnimplementedDaemonServer) Status(context.Context, *emptypb.Empty) (*DaemonStatus, error)
func (UnimplementedDaemonServer) TranslateEnvIPs ¶ added in v2.21.0
func (UnimplementedDaemonServer) TranslateEnvIPs(context.Context, *Environment) (*Environment, error)
func (UnimplementedDaemonServer) Version ¶
func (UnimplementedDaemonServer) Version(context.Context, *emptypb.Empty) (*common.VersionInfo, error)
func (UnimplementedDaemonServer) WaitForAgentIP ¶ added in v2.17.0
func (UnimplementedDaemonServer) WaitForAgentIP(context.Context, *WaitForAgentIPRequest) (*WaitForAgentIPResponse, error)
func (UnimplementedDaemonServer) WaitForNetwork ¶ added in v2.8.0
type UnsafeDaemonServer ¶
type UnsafeDaemonServer interface {
// contains filtered or unexported methods
}
UnsafeDaemonServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DaemonServer will result in compilation errors.
type WaitForAgentIPRequest ¶ added in v2.17.0
type WaitForAgentIPRequest struct { Ip []byte `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*WaitForAgentIPRequest) Descriptor
deprecated
added in
v2.17.0
func (*WaitForAgentIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAgentIPRequest.ProtoReflect.Descriptor instead.
func (*WaitForAgentIPRequest) GetIp ¶ added in v2.17.0
func (x *WaitForAgentIPRequest) GetIp() []byte
func (*WaitForAgentIPRequest) GetTimeout ¶ added in v2.17.0
func (x *WaitForAgentIPRequest) GetTimeout() *durationpb.Duration
func (*WaitForAgentIPRequest) ProtoMessage ¶ added in v2.17.0
func (*WaitForAgentIPRequest) ProtoMessage()
func (*WaitForAgentIPRequest) ProtoReflect ¶ added in v2.17.0
func (x *WaitForAgentIPRequest) ProtoReflect() protoreflect.Message
func (*WaitForAgentIPRequest) Reset ¶ added in v2.17.0
func (x *WaitForAgentIPRequest) Reset()
func (*WaitForAgentIPRequest) String ¶ added in v2.17.0
func (x *WaitForAgentIPRequest) String() string
type WaitForAgentIPResponse ¶ added in v2.20.3
type WaitForAgentIPResponse struct { // The local IP of the agent (might be virtual) LocalIp []byte `protobuf:"bytes,1,opt,name=local_ip,json=localIp,proto3" json:"local_ip,omitempty"` // contains filtered or unexported fields }
func (*WaitForAgentIPResponse) Descriptor
deprecated
added in
v2.20.3
func (*WaitForAgentIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitForAgentIPResponse.ProtoReflect.Descriptor instead.
func (*WaitForAgentIPResponse) GetLocalIp ¶ added in v2.20.3
func (x *WaitForAgentIPResponse) GetLocalIp() []byte
func (*WaitForAgentIPResponse) ProtoMessage ¶ added in v2.20.3
func (*WaitForAgentIPResponse) ProtoMessage()
func (*WaitForAgentIPResponse) ProtoReflect ¶ added in v2.20.3
func (x *WaitForAgentIPResponse) ProtoReflect() protoreflect.Message
func (*WaitForAgentIPResponse) Reset ¶ added in v2.20.3
func (x *WaitForAgentIPResponse) Reset()
func (*WaitForAgentIPResponse) String ¶ added in v2.20.3
func (x *WaitForAgentIPResponse) String() string