Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigDumpAddr ¶
func GetLoggerURL ¶
func GetLoggerURL() string
Types ¶
type ApplicationTunnel ¶
type LoadBalancer ¶
type LoggerInfo ¶
type NetworkAddress ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(c *controller.XdsClient, configs *options.BootstrapConfigs, bpfLogLevel *ebpf.Map) *Server
func (*Server) StartServer ¶
func (s *Server) StartServer()
func (*Server) StopServer ¶
type Service ¶
type Service struct {
Name string `json:"name"`
Namespace string `json:"namespace"`
Hostname string `json:"hostname"`
Addresses []string `json:"vips"`
Ports []*workloadapi.Port `json:"ports"`
LoadBalancer *LoadBalancer `json:"loadBalancer"`
Waypoint *Waypoint `json:"waypoint"`
}
func ConvertService ¶
func ConvertService(s *workloadapi.Service) *Service
type Workload ¶
type Workload struct {
Uid string `json:"uid,omitempty"`
Addresses []string `json:"addresses"`
Waypoint string `json:"waypoint,omitempty"`
Protocol string `json:"protocol"`
Name string `json:"name"`
Namespace string `json:"namespace"`
ServiceAccount string `json:"serviceAccount"`
WorkloadName string `json:"workloadName"`
WorkloadType string `json:"workloadType"`
CanonicalName string `json:"canonicalName"`
CanonicalRevision string `json:"canonicalRevision"`
ClusterID string `json:"clusterId"`
TrustDomain string `json:"trustDomain,omitempty"`
Locality Locality `json:"locality,omitempty"`
Node string `json:"node"`
Network string `json:"network,omitempty"`
Status string `json:"status"`
ApplicationTunnel ApplicationTunnel `json:"applicationTunnel,omitempty"`
Services []string `json:"services,omitempty"`
AuthorizationPolicies []string `json:"authorizationPolicies,omitempty"`
}
func ConvertWorkload ¶
func ConvertWorkload(w *workloadapi.Workload) *Workload
type WorkloadBpfDump ¶
type WorkloadBpfDump struct {
WorkloadPolicies []bpfcache.WorkloadPolicyValue
Backends []bpfcache.BackendValue
Endpoints []bpfcache.EndpointValue
Frontends []bpfcache.FrontendValue
Services []bpfcache.ServiceValue
}
type WorkloadDump ¶
type WorkloadDump struct {
Workloads []*Workload
Services []*Service
// TODO: add authorization
Policies []*security.Authorization
}
Click to show internal directories.
Click to hide internal directories.