Documentation
¶
Index ¶
- Variables
- type HostsStatus
- func (*HostsStatus) Descriptor() ([]byte, []int)deprecated
- func (x *HostsStatus) GetHealth() *ServiceHealth
- func (x *HostsStatus) GetLastUpdateTime() *timestamp.Timestamp
- func (x *HostsStatus) GetNumHosts() uint32
- func (x *HostsStatus) GetNumUpdates() uint32
- func (*HostsStatus) ProtoMessage()
- func (x *HostsStatus) ProtoReflect() protoreflect.Message
- func (x *HostsStatus) Reset()
- func (x *HostsStatus) String() string
- type LocalNetStatus
- func (*LocalNetStatus) Descriptor() ([]byte, []int)deprecated
- func (x *LocalNetStatus) GetCidrs() []string
- func (x *LocalNetStatus) GetExcludedCidrs() []string
- func (x *LocalNetStatus) GetHealth() *ServiceHealth
- func (*LocalNetStatus) ProtoMessage()
- func (x *LocalNetStatus) ProtoReflect() protoreflect.Message
- func (x *LocalNetStatus) Reset()
- func (x *LocalNetStatus) String() string
- type PortForwardStatus
- func (*PortForwardStatus) Descriptor() ([]byte, []int)deprecated
- func (x *PortForwardStatus) GetHealth() *ServiceHealth
- func (x *PortForwardStatus) GetLocalAddress() string
- func (*PortForwardStatus) ProtoMessage()
- func (x *PortForwardStatus) ProtoReflect() protoreflect.Message
- func (x *PortForwardStatus) Reset()
- func (x *PortForwardStatus) String() string
- type SandboxStatus
- func (*SandboxStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStatus) GetLocalWorkloads() []*SandboxStatus_LocalWorkload
- func (x *SandboxStatus) GetName() string
- func (x *SandboxStatus) GetRoutingKey() string
- func (*SandboxStatus) ProtoMessage()
- func (x *SandboxStatus) ProtoReflect() protoreflect.Message
- func (x *SandboxStatus) Reset()
- func (x *SandboxStatus) String() string
- type SandboxStatus_Baseline
- func (*SandboxStatus_Baseline) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStatus_Baseline) GetApiVersion() string
- func (x *SandboxStatus_Baseline) GetKind() string
- func (x *SandboxStatus_Baseline) GetName() string
- func (x *SandboxStatus_Baseline) GetNamespace() string
- func (*SandboxStatus_Baseline) ProtoMessage()
- func (x *SandboxStatus_Baseline) ProtoReflect() protoreflect.Message
- func (x *SandboxStatus_Baseline) Reset()
- func (x *SandboxStatus_Baseline) String() string
- type SandboxStatus_BaselineToLocal
- func (*SandboxStatus_BaselineToLocal) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStatus_BaselineToLocal) GetBaselinePort() int32
- func (x *SandboxStatus_BaselineToLocal) GetLocalAddress() string
- func (*SandboxStatus_BaselineToLocal) ProtoMessage()
- func (x *SandboxStatus_BaselineToLocal) ProtoReflect() protoreflect.Message
- func (x *SandboxStatus_BaselineToLocal) Reset()
- func (x *SandboxStatus_BaselineToLocal) String() string
- type SandboxStatus_LocalWorkload
- func (*SandboxStatus_LocalWorkload) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxStatus_LocalWorkload) GetBaseline() *SandboxStatus_Baseline
- func (x *SandboxStatus_LocalWorkload) GetName() string
- func (x *SandboxStatus_LocalWorkload) GetTunnelHealth() *ServiceHealth
- func (x *SandboxStatus_LocalWorkload) GetWorkloadPortMapping() []*SandboxStatus_BaselineToLocal
- func (*SandboxStatus_LocalWorkload) ProtoMessage()
- func (x *SandboxStatus_LocalWorkload) ProtoReflect() protoreflect.Message
- func (x *SandboxStatus_LocalWorkload) Reset()
- func (x *SandboxStatus_LocalWorkload) String() string
- type ServiceHealth
- func (*ServiceHealth) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceHealth) GetErrorCount() uint32
- func (x *ServiceHealth) GetHealthy() bool
- func (x *ServiceHealth) GetLastErrorReason() string
- func (x *ServiceHealth) GetLastErrorTime() *timestamp.Timestamp
- func (*ServiceHealth) ProtoMessage()
- func (x *ServiceHealth) ProtoReflect() protoreflect.Message
- func (x *ServiceHealth) Reset()
- func (x *ServiceHealth) String() string
Constants ¶
This section is empty.
Variables ¶
var File_internal_locald_api_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HostsStatus ¶
type HostsStatus struct {
Health *ServiceHealth `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
NumHosts uint32 `protobuf:"varint,2,opt,name=num_hosts,json=numHosts,proto3" json:"num_hosts,omitempty"`
NumUpdates uint32 `protobuf:"varint,3,opt,name=num_updates,json=numUpdates,proto3" json:"num_updates,omitempty"`
LastUpdateTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
// contains filtered or unexported fields
}
Hosts status (produced by root controller)
func (*HostsStatus) Descriptor
deprecated
func (*HostsStatus) Descriptor() ([]byte, []int)
Deprecated: Use HostsStatus.ProtoReflect.Descriptor instead.
func (*HostsStatus) GetLastUpdateTime ¶
func (x *HostsStatus) GetLastUpdateTime() *timestamp.Timestamp
func (*HostsStatus) GetNumHosts ¶
func (x *HostsStatus) GetNumHosts() uint32
func (*HostsStatus) GetNumUpdates ¶
func (x *HostsStatus) GetNumUpdates() uint32
func (*HostsStatus) ProtoMessage ¶
func (*HostsStatus) ProtoMessage()
func (*HostsStatus) ProtoReflect ¶
func (x *HostsStatus) ProtoReflect() protoreflect.Message
type LocalNetStatus ¶
type LocalNetStatus struct {
Health *ServiceHealth `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
Cidrs []string `protobuf:"bytes,2,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
ExcludedCidrs []string `protobuf:"bytes,3,rep,name=excluded_cidrs,json=excludedCidrs,proto3" json:"excluded_cidrs,omitempty"`
// contains filtered or unexported fields
}
LocalNet status (produced by root controller)
func (*LocalNetStatus) Descriptor
deprecated
func (*LocalNetStatus) Descriptor() ([]byte, []int)
Deprecated: Use LocalNetStatus.ProtoReflect.Descriptor instead.
func (*LocalNetStatus) GetExcludedCidrs ¶
func (x *LocalNetStatus) GetExcludedCidrs() []string
func (*LocalNetStatus) ProtoMessage ¶
func (*LocalNetStatus) ProtoMessage()
func (*LocalNetStatus) ProtoReflect ¶
func (x *LocalNetStatus) ProtoReflect() protoreflect.Message
type PortForwardStatus ¶
type PortForwardStatus struct {
Health *ServiceHealth `protobuf:"bytes,1,opt,name=health,proto3" json:"health,omitempty"`
LocalAddress string `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"`
// contains filtered or unexported fields
}
PortForward status (produced by local controller)
func (*PortForwardStatus) Descriptor
deprecated
func (*PortForwardStatus) Descriptor() ([]byte, []int)
Deprecated: Use PortForwardStatus.ProtoReflect.Descriptor instead.
func (*PortForwardStatus) GetLocalAddress ¶
func (x *PortForwardStatus) GetLocalAddress() string
func (*PortForwardStatus) ProtoMessage ¶
func (*PortForwardStatus) ProtoMessage()
func (*PortForwardStatus) ProtoReflect ¶
func (x *PortForwardStatus) ProtoReflect() protoreflect.Message
type SandboxStatus ¶
type SandboxStatus struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
RoutingKey string `protobuf:"bytes,2,opt,name=routing_key,json=routingKey,proto3" json:"routing_key,omitempty"`
LocalWorkloads []*SandboxStatus_LocalWorkload `protobuf:"bytes,3,rep,name=local_workloads,json=localWorkloads,proto3" json:"local_workloads,omitempty"`
// contains filtered or unexported fields
}
Sandbox status (produced by local controller)
func (*SandboxStatus) Descriptor
deprecated
func (*SandboxStatus) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStatus.ProtoReflect.Descriptor instead.
func (*SandboxStatus) GetLocalWorkloads ¶
func (x *SandboxStatus) GetLocalWorkloads() []*SandboxStatus_LocalWorkload
func (*SandboxStatus) GetRoutingKey ¶
func (x *SandboxStatus) GetRoutingKey() string
func (*SandboxStatus) ProtoMessage ¶
func (*SandboxStatus) ProtoMessage()
func (*SandboxStatus) ProtoReflect ¶
func (x *SandboxStatus) ProtoReflect() protoreflect.Message
type SandboxStatus_Baseline ¶
type SandboxStatus_Baseline struct {
ApiVersion string `protobuf:"bytes,1,opt,name=apiVersion,proto3" json:"apiVersion,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Namespace string `protobuf:"bytes,3,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxStatus_Baseline) Descriptor
deprecated
func (*SandboxStatus_Baseline) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStatus_Baseline.ProtoReflect.Descriptor instead.
func (*SandboxStatus_Baseline) GetApiVersion ¶
func (x *SandboxStatus_Baseline) GetApiVersion() string
func (*SandboxStatus_Baseline) GetNamespace ¶
func (x *SandboxStatus_Baseline) GetNamespace() string
func (*SandboxStatus_Baseline) ProtoMessage ¶
func (*SandboxStatus_Baseline) ProtoMessage()
func (*SandboxStatus_Baseline) ProtoReflect ¶
func (x *SandboxStatus_Baseline) ProtoReflect() protoreflect.Message
type SandboxStatus_BaselineToLocal ¶
type SandboxStatus_BaselineToLocal struct {
BaselinePort int32 `protobuf:"varint,1,opt,name=baseline_port,json=baselinePort,proto3" json:"baseline_port,omitempty"`
LocalAddress string `protobuf:"bytes,2,opt,name=local_address,json=localAddress,proto3" json:"local_address,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxStatus_BaselineToLocal) Descriptor
deprecated
func (*SandboxStatus_BaselineToLocal) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStatus_BaselineToLocal.ProtoReflect.Descriptor instead.
func (*SandboxStatus_BaselineToLocal) GetBaselinePort ¶
func (x *SandboxStatus_BaselineToLocal) GetBaselinePort() int32
func (*SandboxStatus_BaselineToLocal) GetLocalAddress ¶
func (x *SandboxStatus_BaselineToLocal) GetLocalAddress() string
func (*SandboxStatus_BaselineToLocal) ProtoMessage ¶
func (*SandboxStatus_BaselineToLocal) ProtoMessage()
func (*SandboxStatus_BaselineToLocal) ProtoReflect ¶
func (x *SandboxStatus_BaselineToLocal) ProtoReflect() protoreflect.Message
type SandboxStatus_LocalWorkload ¶
type SandboxStatus_LocalWorkload struct {
// The workload name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// "fork target"
Baseline *SandboxStatus_Baseline `protobuf:"bytes,2,opt,name=baseline,proto3" json:"baseline,omitempty"`
// associative map from baseline ports to local address
// destinations in the tunnel
WorkloadPortMapping []*SandboxStatus_BaselineToLocal `protobuf:"bytes,3,rep,name=workloadPortMapping,proto3" json:"workloadPortMapping,omitempty"`
// tunnel health
TunnelHealth *ServiceHealth `protobuf:"bytes,4,opt,name=tunnel_health,json=tunnelHealth,proto3" json:"tunnel_health,omitempty"`
// contains filtered or unexported fields
}
func (*SandboxStatus_LocalWorkload) Descriptor
deprecated
func (*SandboxStatus_LocalWorkload) Descriptor() ([]byte, []int)
Deprecated: Use SandboxStatus_LocalWorkload.ProtoReflect.Descriptor instead.
func (*SandboxStatus_LocalWorkload) GetBaseline ¶
func (x *SandboxStatus_LocalWorkload) GetBaseline() *SandboxStatus_Baseline
func (*SandboxStatus_LocalWorkload) GetName ¶
func (x *SandboxStatus_LocalWorkload) GetName() string
func (*SandboxStatus_LocalWorkload) GetTunnelHealth ¶
func (x *SandboxStatus_LocalWorkload) GetTunnelHealth() *ServiceHealth
func (*SandboxStatus_LocalWorkload) GetWorkloadPortMapping ¶
func (x *SandboxStatus_LocalWorkload) GetWorkloadPortMapping() []*SandboxStatus_BaselineToLocal
func (*SandboxStatus_LocalWorkload) ProtoMessage ¶
func (*SandboxStatus_LocalWorkload) ProtoMessage()
func (*SandboxStatus_LocalWorkload) ProtoReflect ¶
func (x *SandboxStatus_LocalWorkload) ProtoReflect() protoreflect.Message
type ServiceHealth ¶
type ServiceHealth struct {
Healthy bool `protobuf:"varint,1,opt,name=healthy,proto3" json:"healthy,omitempty"`
ErrorCount uint32 `protobuf:"varint,2,opt,name=error_count,json=errorCount,proto3" json:"error_count,omitempty"`
LastErrorReason string `protobuf:"bytes,3,opt,name=last_error_reason,json=lastErrorReason,proto3" json:"last_error_reason,omitempty"`
LastErrorTime *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_error_time,json=lastErrorTime,proto3" json:"last_error_time,omitempty"`
// contains filtered or unexported fields
}
Service health
func ToGRPCServiceHealth ¶
func ToGRPCServiceHealth(csh *svchealth.ServiceHealth) *ServiceHealth
func (*ServiceHealth) Descriptor
deprecated
func (*ServiceHealth) Descriptor() ([]byte, []int)
Deprecated: Use ServiceHealth.ProtoReflect.Descriptor instead.
func (*ServiceHealth) GetErrorCount ¶
func (x *ServiceHealth) GetErrorCount() uint32
func (*ServiceHealth) GetHealthy ¶
func (x *ServiceHealth) GetHealthy() bool
func (*ServiceHealth) GetLastErrorReason ¶
func (x *ServiceHealth) GetLastErrorReason() string
func (*ServiceHealth) GetLastErrorTime ¶
func (x *ServiceHealth) GetLastErrorTime() *timestamp.Timestamp
func (*ServiceHealth) ProtoMessage ¶
func (*ServiceHealth) ProtoMessage()
func (*ServiceHealth) ProtoReflect ¶
func (x *ServiceHealth) ProtoReflect() protoreflect.Message