models

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronPayload

type CronPayload struct {
	Schedule         string `json:"schedule"`
	Name             string `json:"name,omitempty"`
	EncryptedPayload string `json:"encrypted_payload"`
	Type             string `json:"type,omitempty"`
	Timeout          int    `json:"timeout,omitempty"`
}

CronPayload describes cron payload stored on in Iron schedule payload field

type Payload

type Payload struct {
	Version  string            `json:"version"`
	Name     string            `json:"name,omitempty"`
	Env      map[string]string `json:"env,omitempty"`
	Cmd      []string          `json:"cmd,omitempty"`
	Type     string            `json:"type"`
	Token    string            `json:"token,omitempty"`
	Auth     string            `json:"auth,omitempty"`
	Upstream string            `json:"upstream,omitempty"`
	Mode     string            `json:"mode,omitempty"`
}

Payload describes the siderite payload format

Jump to

Keyboard shortcuts

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