resources

package
Version: v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authentication

type Authentication struct {
	Mechanism string `json:"mechanism"`
	Username  string `json:"username"`
	Password  string `json:"password"`
	Token     string `json:"token"`
}

type Config

type Config struct {
	Versino   string     `json:"version,omitempty"`
	Mode      string     `json:"mode,omitempty"`
	Variables []Variable `json:"variables"`
}

type ConnectionRequest

type ConnectionRequest struct {
	URL        string          `json:"url"`
	ConfigPath string          `json:"configPath"`
	Protocol   string          `json:"protocol"`
	Branch     string          `json:"branch"`
	Auth       *Authentication `json:"auth,omitempty"`
}

type ProcessTemplateRequest

type ProcessTemplateRequest struct {
	ConnectionRequest
	Mode   string                 `json:"mode"`
	Params map[string]interface{} `json:"params"`
}

type Variable

type Variable struct {
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	Type        string `json:"type,omitempty"`
	Default     string `json:"default,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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