internal

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIgnoreDir

func IsIgnoreDir(path string) error

func RunDrone

func RunDrone()

func RunLocal

func RunLocal()

Types

type Author

type Author struct {
	Name   string
	Email  string
	Avatar string
}

Author 提交人信息

type Build

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

Build 编译信息

type Commit

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

Commit 提交信息

type Config

type Config struct {
	// plugin-specific parameters and secrets
	Base    string
	Install string
	Build   string
	Sync    string
}

Config 插件配置

type Plugin

type Plugin struct {
	Repo   Repo
	Build  Build
	Commit Commit
	Config Config
}

Plugin 插件

type Repo

type Repo struct {
	Owner   string
	Name    string
	Link    string
	Avatar  string
	Branch  string
	Private bool
	Trusted bool
}

Repo 代码库信息

Jump to

Keyboard shortcuts

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