types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.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 Empty

type Empty struct {
}

type FRPSConfig

type FRPSConfig struct {
	Domain   string `json:"domain"`
	Port     uint32 `json:"port"`
	Protocol string `json:"protocol"`

} // @name FRPSConfig

type GitProvider

type GitProvider struct {
	Id         string `json:"id"`
	Username   string `json:"username"`
	Token      string `json:"token"`
	BaseApiUrl string `json:"baseApiUrl"`

} // @name GitProvider

type GitUserData

type GitUserData struct {
	Name  string
	Email string

} // @name GitUserData

type NetworkKey

type NetworkKey struct {
	Key string `json:"key"`

} // @name NetworkKey

type Project

type Project struct {
	Name        string      `json:"name"`
	Repository  *Repository `json:"repository"`
	WorkspaceId string      `json:"workspaceId"`
	ApiKey      string      `json:"-"`
	Target      string      `json:"target"`

} // @name Project

type ProjectInfo

type ProjectInfo struct {
	Name             string `json:"name"`
	Created          string `json:"created"`
	Started          string `json:"started"`
	Finished         string `json:"finished"`
	IsRunning        bool   `json:"isRunning"`
	ProviderMetadata string `json:"providerMetadata,omitempty"`
	WorkspaceId      string `json:"workspaceId"`

} // @name ProjectInfo

type Repository

type Repository struct {
	Id          string       `json:"id,omitempty"`
	Url         string       `json:"url"`
	Name        string       `json:"name"`
	Branch      string       `json:"branch,omitempty"`
	Sha         string       `json:"sha"`
	Owner       string       `json:"owner"`
	PrNumber    uint32       `json:"prNumber,omitempty"`
	Source      string       `json:"source"`
	Path        string       `json:"path,omitempty"`
	GitUserData *GitUserData `json:"-"`

} // @name Repository

type ServerConfig

type ServerConfig struct {
	ProvidersDir      string        `json:"providersDir"`
	RegistryUrl       string        `json:"registryUrl"`
	GitProviders      []GitProvider `json:"gitProviders"`
	Id                string        `json:"id"`
	ServerDownloadUrl string        `json:"serverDownloadUrl"`
	Frps              *FRPSConfig   `json:"frps,omitempty"`
	ApiPort           uint32        `json:"apiPort"`
	HeadscalePort     uint32        `json:"headscalePort"`
	TargetsFilePath   string        `json:"targetsFilePath"`

} // @name ServerConfig

type Workspace

type Workspace struct {
	Id       string     `json:"id"`
	Name     string     `json:"name"`
	Projects []*Project `json:"projects"`
	Target   string     `json:"target"`

} // @name Workspace

type WorkspaceInfo

type WorkspaceInfo struct {
	Name             string         `json:"name"`
	Projects         []*ProjectInfo `json:"projects"`
	ProviderMetadata string         `json:"providerMetadata,omitempty"`

} // @name WorkspaceInfo

Jump to

Keyboard shortcuts

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