waterfall

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildDetails

type BuildDetails struct {
	ProjectID   string    `json:"project_id"`
	ProjectName string    `json:"project_name"`
	Version     string    `json:"version"`
	Build       int       `json:"build"`
	Time        time.Time `json:"time"`
	Changes     []struct {
		Commit  string `json:"commit"`
		Summary string `json:"summary"`
		Message string `json:"message"`
	} `json:"changes"`
	Downloads struct {
		Application struct {
			Name   string `json:"name"`
			Sha256 string `json:"sha256"`
		} `json:"application"`
	} `json:"downloads"`
}

BuildDetails represents the build details of the waterfall api

type Server

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

Server is the struct for waterfall servers.

func NewWaterfallServer

func NewWaterfallServer() *Server

NewWaterfallServer creates a new waterfall server.

func (*Server) Configure

func (s *Server) Configure() error

Configure configures the server.

func (*Server) StartupCommand

func (s *Server) StartupCommand() (string, []string)

StartupCommand returns the command and arguments used to startup the server.

func (*Server) Update

func (s *Server) Update() error

Update updates the resource, if supported uses cache.

func (*Server) UpdatePlugins

func (s *Server) UpdatePlugins() error

UpdatePlugins updates the plugins, if supported.

type VersionDetails

type VersionDetails struct {
	ProjectID   string `json:"project_id"`
	ProjectName string `json:"project_name"`
	Version     string `json:"version"`
	Builds      []int  `json:"builds"`
}

VersionDetails represents the version details of the waterfall api

type VersionGroupDetails

type VersionGroupDetails struct {
	ProjectID    string   `json:"project_id"`
	ProjectName  string   `json:"project_name"`
	VersionGroup string   `json:"version_group"`
	Versions     []string `json:"versions"`
	Builds       []struct {
		Build   int       `json:"build"`
		Time    time.Time `json:"time"`
		Changes []struct {
			Commit  string `json:"commit"`
			Summary string `json:"summary"`
			Message string `json:"message"`
		} `json:"changes"`
		Downloads struct {
			Application struct {
				Name   string `json:"name"`
				Sha256 string `json:"sha256"`
			} `json:"application"`
		} `json:"downloads"`
	} `json:"builds"`
}

VersionGroupDetails represents the versiongroup details of the waterfall api

type VersionManifest

type VersionManifest struct {
	ProjectID     string   `json:"project_id"`
	ProjectName   string   `json:"project_name"`
	VersionGroups []string `json:"version_groups"`
	Versions      []string `json:"versions"`
}

VersionManifest represents the version manifest of the waterfall api

Jump to

Keyboard shortcuts

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