Documentation
¶
Overview ¶
Package target classifies what the operator pointed Spackle at. The classification decides whether the authorized-scope gate applies: local source does not need it, a live URL always does.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target struct {
Kind Kind
// Raw is the argument as given.
Raw string
// Display is Raw with any embedded credentials removed. It is what goes
// into the ledger and reports.
Display string
// URL is set for KindURL and for KindGit when the remote is a URL.
URL *url.URL
}
Target is a classified target.