Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func NewCmdCreate added in v0.2.0

func NewCmdCreate() *cobra.Command

func NewCmdDelete added in v0.2.0

func NewCmdDelete() *cobra.Command

func NewCmdList added in v0.2.0

func NewCmdList() *cobra.Command

Types

type Event

type Event struct {
	Name string `json:"name"`
}

type Hook

type Hook struct {
	Id     int        `json:"id,omitempty"`
	Name   string     `json:"name,omitempty"`
	Active bool       `json:"active,omitempty"`
	Events []string   `json:"events,omitempty"`
	Config HookConfig `json:"config,omitempty"`
}

type HookConfig

type HookConfig struct {
	Url         string `json:"url,omitempty"`
	ContentType string `json:"content_type,omitempty"`
	InsecureSSL string `json:"insecure_ssl,omitempty"`
	Secret      string `json:"secret,omitempty"`
}

Jump to

Keyboard shortcuts

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