serviceMap

package
v1.1.58-test Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
	Kata              bool                   `json:"kata,omitempty"`
	ScaleToZero       bool                   `json:"scaleToZero,omitempty"`
	Routing           ServiceWorkloadRouting `json:"routing,omitempty"`
}

type ServiceWorkloadRouting added in v1.1.25

type ServiceWorkloadRouting string
const (
	ServiceWorkloadRoutingGvcEndpoint ServiceWorkloadRouting = "gvcEndpoint"
)

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