serviceMap

package
v1.1.19 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Workload ServiceWorkload `json:"workload"`
	Gvc      ServiceGvc      `json:"gvc"`
}

type ServiceGvc

type ServiceGvc struct {
	Name  string `json:"name"`
	Alias string `json:"alias"`
}

type ServiceMap

type ServiceMap struct {
	Outbound      []Service `json:"outbound"`
	LastUpdate    string    `json:"lastUpdate"`
	OrgGvcAliases []string  `json:"orgGvcAliases,omitempty"`
}

type ServicePortMap

type ServicePortMap struct {
	ServicePort   float32 `json:"servicePort"`
	ContainerPort float32 `json:"containerPort"`
	Protocol      string  `json:"protocol,omitempty"`
}

type ServiceReplica

type ServiceReplica struct {
	Location string  `json:"location"`
	Replicas float32 `json:"replicas"`
}

type ServiceWorkload

type ServiceWorkload struct {
	Name              string              `json:"name"`
	CanonicalEndpoint string              `json:"canonicalEndpoint"`
	PortMap           []ServicePortMap    `json:"portMap"`
	Type              ServiceWorkloadType `json:"type,omitempty"`
	Replicas          []ServiceReplica    `json:"replicas,omitempty"`
	AgentAccessible   bool                `json:"agentAccessible,omitempty"`
}

type ServiceWorkloadType

type ServiceWorkloadType string
const (
	ServiceWorkloadTypeServerless ServiceWorkloadType = "serverless"
	ServiceWorkloadTypeStandard   ServiceWorkloadType = "standard"
	ServiceWorkloadTypeCron       ServiceWorkloadType = "cron"
	ServiceWorkloadTypeStateful   ServiceWorkloadType = "stateful"
	ServiceWorkloadTypeVm         ServiceWorkloadType = "vm"
)

Jump to

Keyboard shortcuts

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