common

package
v0.0.0-...-e94a144 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultOptionPath the default path of the option file
	DefaultOptionPath = "eng/generate_options.json"

	Services          = "services"
	ChangelogFilename = "CHANGELOG.md"
	MetadataFilename  = "_meta.json"
	RelativeVersionGo = "version/version.go"

	Root = "github.com/Azure/azure-sdk-for-go"
)

Variables

This section is empty.

Functions

func BindGlobalFlags

func BindGlobalFlags(flags *pflag.FlagSet)

func ChangelogPath

func ChangelogPath(pkg string) string

func MetadataPath

func MetadataPath(pkg string) string

func ServicesPath

func ServicesPath(root string) string

func VersionGoPath

func VersionGoPath(root string) string

Types

type GlobalFlags

type GlobalFlags struct {
	OptionsPath string
}

func ParseGlobalFlags

func ParseGlobalFlags(flagSet *pflag.FlagSet) GlobalFlags

type VersionInfo

type VersionInfo struct {
	LatestVersion string
	NewVersion    string
}

func (VersionInfo) String

func (i VersionInfo) String() string

Jump to

Keyboard shortcuts

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