Documentation
¶
Index ¶
- Constants
- type ServiceIdentity
- func (si ServiceIdentity) Equals(other ServiceIdentity) bool
- func (si ServiceIdentity) GetFormattedOtterizeIdentityWithKind() string
- func (si ServiceIdentity) GetFormattedOtterizeIdentityWithoutKind() string
- func (si ServiceIdentity) GetName() string
- func (si ServiceIdentity) GetNameAsServer() string
- func (si ServiceIdentity) GetNameWithKind() string
- func (si ServiceIdentity) GetRFC1123NameWithKind() string
- func (si ServiceIdentity) String() string
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
Click to show internal directories.
Click to hide internal directories.