refresh

package
v0.0.0-...-ed46072 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFlags

func BindFlags(flagSet *pflag.FlagSet)

func Command

func Command() *cobra.Command

Types

type CommandContext

type CommandContext struct {
	repo.CommandContext
	Flags Flags

	RepoContent map[string]exports.Content
	// contains filtered or unexported fields
}

func (*CommandContext) Refresh

func (c *CommandContext) Refresh(refreshConfig *config.RefreshInfo) (*plumbing.Reference, error)

type Flags

type Flags struct {
	common.GlobalFlags
	SkipProfile bool
	All         bool
}

func ParseFlags

func ParseFlags(flagSet *pflag.FlagSet) Flags

type GenerateResult

type GenerateResult struct {
	Readme     string
	Tag        string
	CommitHash string
	Package    autorest.ChangelogResult
}

type GenerationInfo

type GenerationInfo struct {
	PackageFullPath string
	autorest.GenerationMetadata
}

func (GenerationInfo) String

func (g GenerationInfo) String() string

type GenerationMap

type GenerationMap map[string][]GenerationInfo

func (GenerationMap) Add

func (m GenerationMap) Add(info GenerationInfo)

func (GenerationMap) Count

func (m GenerationMap) Count() int

func (GenerationMap) Sort

func (m GenerationMap) Sort()

func (GenerationMap) String

func (m GenerationMap) String() string

Jump to

Keyboard shortcuts

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