gcsremovebucket

package module
v0.0.0-...-6d938a6 Latest Latest
Warning

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

Go to latest
Published: May 30, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(w http.ResponseWriter, r *http.Request)

Types

type Payload

type Payload struct {
	Name      string `json:"name"`
	ProjectId string `json:"projectId"`
}

type RequestBody

type RequestBody struct {
	Name         string            `json:"name"`
	ProjectId    string            `json:"projectId"`
	Labels       map[string]string `json:"labels,omitempty"`
	JsonKeyPath  string            `json:"jsonKeyPath,omitempty"`
	SlackToken   string            `json:"slackToken,omitempty"`
	SlackChannel string            `json:"slackChannel,omitempty"`
	SlackEmoji   string            `json:"slackEmoji,omitempty"`
}

type Response

type Response struct {
	Payload Payload             `json:"payload"`
	Headers map[string][]string `json:"headers"`
}

Jump to

Keyboard shortcuts

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