version

package
v0.0.0-...-7a6b44b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DaprGitHubOrg is the org name of dapr on GitHub.
	DaprGitHubOrg = "dapr"
	// DaprGitHubRepo is the repo name of dapr runtime on GitHub.
	DaprGitHubRepo = "dapr"
	// DashboardGitHubRepo is the repo name of dapr dashboard on GitHub.
	DashboardGitHubRepo = "dashboard"
)

Variables

This section is empty.

Functions

func GetDaprVersion

func GetDaprVersion() (string, error)

func GetDashboardVersion

func GetDashboardVersion() (string, error)

func GetLatestReleaseGithub

func GetLatestReleaseGithub(githubURL string) (string, error)

GetLatestReleaseGithub return the latest release version of dapr from GitHub API.

func GetLatestReleaseHelmChart

func GetLatestReleaseHelmChart(helmChartURL string) (string, error)

GetLatestReleaseHelmChart return the latest release version of dapr from helm chart static index.yaml.

func GetVersionFromURL

func GetVersionFromURL(releaseURL string, parseVersion func(body []byte) (string, error)) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL