cmd

package
v0.0.0-...-17ed7cf Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Types

type LocalToken

type LocalToken struct {
	Token string `json:"token"`
	Path  string `json:"path"`
}

type PublishRequestBody

type PublishRequestBody struct {
	Url    string           `json:"url"`
	Branch string           `json:"branch"`
	Rules  []RuleForRequest `json:"rules"`
}

type RuleForRequest

type RuleForRequest struct {
	Name        string `json:"name"`
	Description string `json:"description"`
	Path        string `json:"path"`
	Unsafe      bool   `json:"unsafe"`
}

type TokenStorageLayout

type TokenStorageLayout struct {
	GlobalToken string       `json:"globalToken"`
	LocalKeys   []LocalToken `json:"localKeys"`
}

type TokenValidationResponse

type TokenValidationResponse struct {
	Valid     bool    `json:"valid"`
	Message   string  `json:"message"`
	ExpiresAt *string `json:"expiresAt"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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