v1

package
v0.0.0-...-1046db7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FQDNSuffix = ".svc.cluster.local"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Invocation

type Invocation struct {
	// contains filtered or unexported fields
}

func NewInvocation

func NewInvocation(opts *options.Options) Invocation

func (Invocation) ParseHost

func (i Invocation) ParseHost(srcNamespace, destination string) (string, error)

func (Invocation) ParseWorkloadLabels

func (i Invocation) ParseWorkloadLabels(sourceMetadata string) (map[string]string, string, error)

func (Invocation) Report

func (i Invocation) Report(c *gin.Context)

type InvocationHeader

type InvocationHeader struct {
	Source      string `header:"src"`
	Destination string `header:"des"`
}

type NodeInfo

type NodeInfo struct {
	Name             string `json:"name"`
	Namespace        string `json:"namespace"`
	Owner            string `json:"owner"`
	WorkloadName     string `json:"workload_name"`
	IstioVersion     string `json:"istio_version"`
	MeshId           string `json:"mesh_id"`
	ClusterId        string `json:"cluster_idd"`
	Labels           string `json:"labels"`
	PlatformMetadata string `json:"platform_metadata"`
	AppContainers    string `json:"app_containers"`
	InstanceIps      string `json:"instance_ips"`
}

Directories

Path Synopsis
io.yucloudnative

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL