commands

package
v0.0.0-...-6b4397c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiscordNotificationResource

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

DiscordNotificationResource struct which has the Check, In, and Out methods on it which comprise the three scripts needed to implement a Concourse Resource Type

func NewDiscordNotificationResource

func NewDiscordNotificationResource(
	stdin io.Reader,
	stderr io.Writer,
	stdout io.Writer,
	args []string,
) *DiscordNotificationResource

NewDiscordNotificationResource creates a new DiscordNotificationResource struct

func (*DiscordNotificationResource) Out

Out runs the in script which checks stdin for a JSON object of the form of an OutRequest, sends a new message and then, if wait was set to true, fetches and writes it as well as Metadata about it to stdout

Jump to

Keyboard shortcuts

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