gerrit

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFileLocation added in v0.20.0

func ConfigFileLocation() string

func NewGerritAPICmd

func NewGerritAPICmd() *cobra.Command

func NewGerritAuthCmd added in v0.20.0

func NewGerritAuthCmd() *cobra.Command

func NewGerritAuthLoginCmd added in v0.20.0

func NewGerritAuthLoginCmd() *cobra.Command

func NewGerritAuthLogoutCmd added in v0.20.0

func NewGerritAuthLogoutCmd() *cobra.Command

func NewGerritAuthStatusCmd added in v0.20.0

func NewGerritAuthStatusCmd() *cobra.Command

func NewGerritChangesCmd

func NewGerritChangesCmd() *cobra.Command

func NewGerritChangesListCmd

func NewGerritChangesListCmd() *cobra.Command

func NewGerritCmd

func NewGerritCmd() *cobra.Command

func NewGerritGroupCmd

func NewGerritGroupCmd() *cobra.Command

func NewGerritGroupListCmd

func NewGerritGroupListCmd() *cobra.Command

func NewGerritGroupMembersCmd

func NewGerritGroupMembersCmd() *cobra.Command

func NewGerritGroupSearchCmd

func NewGerritGroupSearchCmd() *cobra.Command

func NewGerritProjectCmd

func NewGerritProjectCmd() *cobra.Command

func NewGerritProjectCurrentCmd

func NewGerritProjectCurrentCmd() *cobra.Command

func NewGerritProjectListCmd

func NewGerritProjectListCmd() *cobra.Command

func NewGerritProjectSearchCmd

func NewGerritProjectSearchCmd() *cobra.Command

func NewGerritSSHCmd

func NewGerritSSHCmd() *cobra.Command

Types

type Change

type Change struct {
	Project string
	Branch  string
	Topic   string
	ID      string
	Number  int
	Subject string
	Owner   struct {
		Name     string
		Email    string
		Username string
	}
	URL           string
	CommitMessage string
	CreatedOn     int64
	LastUpdated   int64
	Open          bool
	Status        string
	WIP           bool
}

type Config added in v0.20.0

type Config struct {
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

func LoadConfig added in v0.20.0

func LoadConfig() Config

LoadFromDisk loads the config.json from disk.

func (*Config) Write added in v0.20.0

func (c *Config) Write()

Store config.

Jump to

Keyboard shortcuts

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