capability

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDNSEntryPoint added in v1.0.0

func BuildDNSEntryPoint(dk dynakube.DynaKube, capability Capability) string

func BuildDNSEntryPointWithoutEnvVars added in v1.0.0

func BuildDNSEntryPointWithoutEnvVars(dynakubeName, dynakubeNamespace string, capability Capability) string

func BuildServiceName

func BuildServiceName(dynakubeName string, module string) string

func CalculateStatefulSetName

func CalculateStatefulSetName(capability Capability, dynakubeName string) string

Types

type Capability

type Capability interface {
	Enabled() bool
	ShortName() string
	ArgName() string
	DisplayName() string
	Properties() *activegate.CapabilityProperties
}

func GenerateActiveGateCapabilities

func GenerateActiveGateCapabilities(dk *dynakube.DynaKube) []Capability

func NewMultiCapability

func NewMultiCapability(dk *dynakube.DynaKube) Capability

type MultiCapability

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

func (*MultiCapability) ArgName

func (capability *MultiCapability) ArgName() string

func (*MultiCapability) DisplayName added in v1.1.0

func (capability *MultiCapability) DisplayName() string

func (*MultiCapability) Enabled

func (capability *MultiCapability) Enabled() bool

func (*MultiCapability) Properties

func (capability *MultiCapability) Properties() *activegate.CapabilityProperties

func (*MultiCapability) ShortName

func (capability *MultiCapability) ShortName() string

Jump to

Keyboard shortcuts

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