serviceidentity

package
v0.0.0-...-27fdd79 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxOtterizeNameLength = 20
	MaxNamespaceLength    = 20
)
View Source
const KindOtterizeLegacy = "OttrLegacy"
View Source
const KindService = "Service"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceIdentity

type ServiceIdentity struct {
	Name                            string
	Namespace                       string
	Kind                            string
	ResolvedUsingOverrideAnnotation *bool
	// OwnerObject used to resolve the service name. May be nil if service name was resolved using annotation.
	OwnerObject client.Object
}

func (ServiceIdentity) Equals

func (si ServiceIdentity) Equals(other ServiceIdentity) bool

func (ServiceIdentity) GetFormattedOtterizeIdentityWithKind

func (si ServiceIdentity) GetFormattedOtterizeIdentityWithKind() string

func (ServiceIdentity) GetFormattedOtterizeIdentityWithoutKind

func (si ServiceIdentity) GetFormattedOtterizeIdentityWithoutKind() string

func (ServiceIdentity) GetName

func (si ServiceIdentity) GetName() string

func (ServiceIdentity) GetNameAsServer

func (si ServiceIdentity) GetNameAsServer() string

func (ServiceIdentity) GetNameWithKind

func (si ServiceIdentity) GetNameWithKind() string

func (ServiceIdentity) GetRFC1123NameWithKind

func (si ServiceIdentity) GetRFC1123NameWithKind() string

func (ServiceIdentity) String

func (si ServiceIdentity) String() string

Jump to

Keyboard shortcuts

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