util

package
v0.16.8-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllHostnamesOfManifestGroup added in v0.9.3

func AllHostnamesOfManifestGroup(mgroup manifest.Group) []string

func ApplyToContext added in v0.14.0

func ApplyToContext(ctx context.Context, config map[interface{}]interface{}) context.Context

func ComputeCommittedResources added in v0.9.3

func ComputeCommittedResources(factor float64, rv atypes.ResourceValue) atypes.ResourceValue

func ExposeExternalPort

func ExposeExternalPort(expose manifest.ServiceExpose) int32

func IngressHost added in v0.14.0

func IngressHost(lid mtypes.LeaseID, svcName string) string

func LeaseIDToNamespace added in v0.14.0

func LeaseIDToNamespace(lid mtypes.LeaseID) string

LeaseIDToNamespace generates a unique sha256 sum for identifying a provider's object name.

func ShouldBeIngress

func ShouldBeIngress(expose manifest.ServiceExpose) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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