Documentation ¶
Index ¶
- Constants
- func All(ctx ClientLookup, name string, typeNames ...string) ([]types.Resource, error)
- func Lookup(ctx ClientLookup, name string, typeNames ...string) (types.Resource, error)
- func RegisterType(typeName string, supportedNameTypes ...NameType)
- type ClientLookup
- type NameType
- type ParsedContainer
- type StackScoped
Constants ¶
View Source
const ( FourPartsNameType = NameType("fourParts") FullDomainNameTypeNameType = NameType("domainName") SingleNameNameType = NameType("singleName") StackScopedNameType = NameType("stackScoped") ThreePartsNameType = NameType("threeParts") VersionedSingleNameNameType = NameType("versionedSingleName") VersionedStackScopedNameType = NameType("versionedStackScoped") )
Variables ¶
This section is empty.
Functions ¶
func RegisterType ¶ added in v0.1.0
Types ¶
type ClientLookup ¶ added in v0.0.3
type ParsedContainer ¶
type ParsedContainer struct { PodName string ContainerName string Service StackScoped }
func ParseContainer ¶ added in v0.1.0
func ParseContainer(defaultStackName string, name string) (ParsedContainer, bool)
func (ParsedContainer) String ¶
func (p ParsedContainer) String() string
type StackScoped ¶ added in v0.1.0
type StackScoped struct { DefaultStackName string StackName string ResourceName string Version string ServiceName string Other string }
func ParseStackScoped ¶ added in v0.1.0
func ParseStackScoped(defaultStackName string, serviceName string) StackScoped
func StackScopedFromLabels ¶ added in v0.1.0
func StackScopedFromLabels(defaultStackName string, pod *corev1.Pod) StackScoped
func (StackScoped) String ¶ added in v0.1.0
func (p StackScoped) String() string
Click to show internal directories.
Click to hide internal directories.