place

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Git

type Git struct {
	// contains filtered or unexported fields
}

func (*Git) Flags

func (g *Git) Flags() []cli.Flag

func (*Git) Metadata

func (g *Git) Metadata() (Metadata, error)

func (*Git) Name

func (g *Git) Name() string

func (*Git) Usage

func (g *Git) Usage() string

type Gitlab

type Gitlab struct {
	// contains filtered or unexported fields
}

func (*Gitlab) Flags

func (g *Gitlab) Flags() []cli.Flag

func (*Gitlab) Metadata

func (g *Gitlab) Metadata() (Metadata, error)

func (*Gitlab) Name

func (g *Gitlab) Name() string

func (*Gitlab) Usage

func (g *Gitlab) Usage() string

type Metadata

type Metadata struct {
	Project string
	URL     string
	Branch  string
	SHA     string
	Author  string
}

type Nowhere

type Nowhere struct {
	// contains filtered or unexported fields
}

func (*Nowhere) Flags

func (t *Nowhere) Flags() []cli.Flag

func (*Nowhere) Metadata

func (t *Nowhere) Metadata() (Metadata, error)

func (*Nowhere) Name

func (t *Nowhere) Name() string

func (*Nowhere) Usage

func (t *Nowhere) Usage() string

type Place

type Place interface {
	Name() string
	Usage() string
	Metadata() (Metadata, error)
	Flags() []cli.Flag
}

Jump to

Keyboard shortcuts

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