Documentation ¶
Overview ¶
Package version contains common functions to get versions
Package version contains version cmd
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchCrossplaneVersion ¶
FetchCrossplaneVersion initializes a Kubernetes client and fetches and returns the version of the Crossplane deployment. If the version does not have a leading 'v', it prepends it.
Types ¶
type Cmd ¶
type Cmd struct {
Client bool `env:"" help:"If true, shows client version only (no server required)." json:"client,omitempty"`
}
func (*Cmd) BeforeApply ¶
BeforeApply sets default values and parses flags
Click to show internal directories.
Click to hide internal directories.