gql

package
v1.5.26 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type GQLInfo added in v1.5.21

type GQLInfo struct {
	Org             string
	AuthorID        string
	AuthorName      string
	AuthorEmail     string
	Team            string
	License         string
	Homepage        string
	Sourcecode      string
	Summary         string
	Description     string
	CI              string
	Homebrew        string
	Bundle          string
	SigningIdentity string
	NotarizeEmail   string
	DatabaseEngine  string
	Slack           string
	Channels        []string
	JavaPackage     string
	GoVersion       string
	GoBinary        string
	ConfigVars      []string
	ExtraFiles      []string
	IgnoredFiles    []string
	Deployments     []string
	EnvVars         []string
	Docs            project.Docs
	Acronyms        []string
	ModuleDefs      project.ModuleDefs
}

func FromInfo

func FromInfo(i *project.Info, logger util.Logger) *GQLInfo

type GQLProject added in v1.5.21

type GQLProject struct {
	Key     string
	Name    string
	Icon    string
	Exec    string
	Version string
	Package string
	Args    string
	Port    int32
	Modules []string
	Ignore  []string
	Tags    []string

	Info  *GQLInfo
	Theme *theme.Theme
	Build *project.Build
	Files []string

	ExportArgs *model.Args
	Config     util.ValueMap
	Path       string
	Parent     string
	Error      string
}

func FromProject

func FromProject(p *project.Project, logger util.Logger) *GQLProject

type Module

type Module struct {
	Key         string `json:"key"`
	Name        string
	Icon        string
	Description string
	Hidden      bool
	AuthorName  string
	AuthorEmail string
	License     string
	Sourcecode  string
	ConfigVars  []string
	PortOffsets []string
	Dangerous   bool
	Requires    []string
	Priority    int32
	Technology  []string
	Files       []string
	URL         string
	UsageMD     []string
}

func FromModule

func FromModule(m *module.Module, logger util.Logger) *Module

type Schema

type Schema struct {
	// contains filtered or unexported fields
}

func NewSchema

func NewSchema(st *app.State, logger util.Logger) (*Schema, error)

func (*Schema) Hello

func (s *Schema) Hello(ctx context.Context) (string, error)

func (*Schema) Modules

func (s *Schema) Modules(ctx context.Context) ([]*Module, error)

func (*Schema) Poke

func (s *Schema) Poke(ctx context.Context) (string, error)

func (*Schema) Projects

func (s *Schema) Projects(ctx context.Context) ([]*GQLProject, error)

Jump to

Keyboard shortcuts

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