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 ¶
func (r *DiscordNotificationResource) Out() error
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
Click to show internal directories.
Click to hide internal directories.