metadata

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author struct {
	Avatar string
	Email  string
	Name   string
}

Author stores information about current commit's author.

type Build

type Build struct {
	Created  int64
	Deploy   string
	Event    string
	Finished int64
	Link     string
	Number   int
	Started  int64
	Status   string
}

Build stores information about current build.

type Commit

type Commit struct {
	Author  Author
	Branch  string
	Link    string
	Message string
	Ref     string
	Remote  string
	Sha     string
}

Commit stores information about current commit.

type Metadata

type Metadata struct {
	Build  Build
	Commit Commit
	Repo   Repo
}

Metadata stores information about current pipeline run.

type Repo

type Repo struct {
	Avatar    string
	Branch    string
	Link      string
	Name      string
	Namespace string // used by Drone versions >= 1.0
	Owner     string // used by Drone versions < 1.0
	Private   bool
	Trusted   bool
}

Repo stores information about repository that is built.

Jump to

Keyboard shortcuts

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