Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDestination ¶ added in v1.9.0
FormatDestination returns the namespace/name format for the destination. This is different from (*api.Intention).DestinationString in that the default namespace is not omitted.
func FormatSource ¶ added in v1.9.0
FormatSource returns the namespace/name format for the source. This is different from (*api.Intention).SourceString in that the default namespace is not omitted.
func GetFromArgs ¶ added in v1.9.0
func ParseIntentionTarget ¶ added in v1.9.0
ParseIntentionTarget parses a target of the form <namespace>/<name> and returns the two distinct parts. In some cases the namespace may be elided and this function will return the empty string for the namespace then.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.