payload

package
v0.0.0-...-1d05166 Latest Latest
Warning

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

Go to latest
Published: May 2, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Push

type Push struct {
	Actor      User       `json:"actor,omitempty"`
	Repository Repository `json:"repository,omitempty"`
	Push       PushDetail `json:"push,omitempty"`
}

type PushChange

type PushChange struct {
	New     PushChangeState `json:"new,omitempty"`
	Old     PushChangeState `json:"old,omitempty"`
	Created bool            `json:"created,omitempty"`
	Forced  bool            `json:"forced,omitempty"`
	Closed  bool            `json:"closed,omitempty"`
}

type PushChangeState

type PushChangeState struct {
	Type   string                `json:"type,omitempty"`
	Name   string                `json:"name,omitempty"`
	Target PushChangeStateTarget `json:"target,omitempty"`
}

type PushChangeStateTarget

type PushChangeStateTarget struct {
	Type string `json:"type,omitempty"`
	Hash string `json:"hash,omitempty"`
}

type PushDetail

type PushDetail struct {
	Changes []PushChange `json:"changes,omitempty"`
}

type Repository

type Repository struct {
	Name     string `json:"name,omitempty"`
	FullName string `json:"full_name,omitempty"`
	UUID     string `json:"uuid,omitempty"`
}

type User

type User struct {
	Username    string `json:"username,omitempty"`
	DisplayName string `json:"display_name,omitempty"`
	UUID        string `json:"uuid,omitempty"`
}

Jump to

Keyboard shortcuts

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