Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lookup ¶
func Lookup(c ClientLookup, name string, typeNames ...string) (*types.NamedResource, error)
Types ¶
type ClientLookup ¶ added in v0.0.3
type ClientLookup interface { ClientLookup(typeName string) (clientbase.APIBaseClientInterface, error) LookupFilters(name, typeName string) (map[string]interface{}, bool, error) ByID(id, typeName string) (*types.NamedResource, error) }
type ParsedContainer ¶
type ParsedContainer struct { PodName string ContainerName string Service StackScoped }
func ParseContainer ¶ added in v0.1.0
func ParseContainer(workspace *clientcfg.Workspace, name string) (ParsedContainer, bool)
func (ParsedContainer) K8sPodName ¶
func (p ParsedContainer) K8sPodName() string
func (ParsedContainer) String ¶
func (p ParsedContainer) String() string
type StackScoped ¶ added in v0.1.0
type StackScoped struct { Workspace *clientcfg.Workspace StackName string ResourceName string ResourceID string Version string Other string }
func ParseStackScoped ¶ added in v0.1.0
func ParseStackScoped(workspace *clientcfg.Workspace, serviceName string) StackScoped
func StackScopedFromLabels ¶ added in v0.1.0
func StackScopedFromLabels(workspace *clientcfg.Workspace, labels map[string]string) StackScoped
func (StackScoped) LookupName ¶
func (p StackScoped) LookupName() string
func (StackScoped) String ¶ added in v0.1.0
func (p StackScoped) String() string
Click to show internal directories.
Click to hide internal directories.