cluster-api: sigs.k8s.io/cluster-api/cmd/version Index | Files

package version

import "sigs.k8s.io/cluster-api/cmd/version"

Index

Package Files

version.go

type Info Uses

type Info struct {
    Major        string `json:"major,omitempty"`
    Minor        string `json:"minor,omitempty"`
    GitVersion   string `json:"gitVersion,omitempty"`
    GitCommit    string `json:"gitCommit,omitempty"`
    GitTreeState string `json:"gitTreeState,omitempty"`
    BuildDate    string `json:"buildDate,omitempty"`
    GoVersion    string `json:"goVersion,omitempty"`
    Compiler     string `json:"compiler,omitempty"`
    Platform     string `json:"platform,omitempty"`
}

func Get Uses

func Get() Info

func (Info) String Uses

func (info Info) String() string

String returns info as a human-friendly version string.

Package version imports 2 packages (graph) and is imported by 9 packages. Updated 2020-01-25. Refresh now. Tools for package owners.