Documentation
¶
Index ¶
- func EnsureEnvoyVersion(ctx context.Context, o *globals.GlobalOpts) error
- func EnsurePatchVersion(ctx context.Context, o *globals.GlobalOpts, v version.Version) (version.PatchVersion, error)
- func InitializeGlobalOpts(o *globals.GlobalOpts, envoyVersionsURL, homeDir, platform string) error
- func Run(ctx context.Context, o *globals.GlobalOpts, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureEnvoyVersion ¶
func EnsureEnvoyVersion(ctx context.Context, o *globals.GlobalOpts) error
EnsureEnvoyVersion makes sure the Envoy version is set
func EnsurePatchVersion ¶
func EnsurePatchVersion(ctx context.Context, o *globals.GlobalOpts, v version.Version) (version.PatchVersion, error)
EnsurePatchVersion ensures we either have a valid version.PatchVersion or an error If remote lookup of the latest patch fails, this logs and falls back to the last installed one NOTE: Warnings and errors include the platform because a release isn't available at the same time for all platforms.
func InitializeGlobalOpts ¶
func InitializeGlobalOpts(o *globals.GlobalOpts, envoyVersionsURL, homeDir, platform string) error
InitializeGlobalOpts ensures the global options are initialized.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.