Help us shape the future of Go! Take the 2026 Go Developer Survey

heimdall

package
v1.4.18 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCommandClusterPairNotFound = fmt.Errorf(`command-cluster pair is not found`)
	ErrJobCancelFailed            = fmt.Errorf(`async job unrecognized or already in final state`)
	ErrCallerNotAllowed           = fmt.Errorf(`caller is not allowed to run this command`)
)
View Source
var (
	ErrNoCaller = fmt.Errorf(`cannot identify caller -- access denied`)
)
View Source
var (
	ErrUnknownClusterID = fmt.Errorf(`unknown cluster_id`)
)
View Source
var (
	ErrUnknownCommandID = fmt.Errorf(`unknown command_id`)
)
View Source
var (
	ErrUnknownJobID = fmt.Errorf(`unknown job_id`)
)

Functions

This section is empty.

Types

type Heimdall

type Heimdall struct {
	Server           *server.Server       `yaml:"server,omitempty" json:"server,omitempty"`
	Commands         command.Commands     `yaml:"commands,omitempty" json:"commands,omitempty"`
	Clusters         cluster.Clusters     `yaml:"clusters,omitempty" json:"clusters,omitempty"`
	RBACs            rbac.RBACs           `yaml:"rbacs,omitempty" json:"rbacs,omitempty"`
	JobsDirectory    string               `yaml:"jobs_directory,omitempty" json:"jobs_directory,omitempty"`
	ArchiveDirectory string               `yaml:"archive_directory,omitempty" json:"archive_directory,omitempty"`
	ResultDirectory  string               `yaml:"result_directory,omitempty" json:"result_directory,omitempty"`
	PluginsDirectory string               `yaml:"plugin_directory,omitempty" json:"plugin_directory,omitempty"`
	Database         *database.Database   `yaml:"database,omitempty" json:"database,omitempty"`
	Pool             *pool.Pool[*job.Job] `yaml:"pool,omitempty" json:"pool,omitempty"`
	Auth             *auth.Auth           `yaml:"auth,omitempty" json:"auth,omitempty"`
	Janitor          *janitor.Janitor     `yaml:"janitor,omitempty" json:"janitor,omitempty"`
	Version          string               `yaml:"-" json:"-"`
	// contains filtered or unexported fields
}

func (*Heimdall) Init

func (h *Heimdall) Init() error

func (*Heimdall) Start

func (h *Heimdall) Start() error

Jump to

Keyboard shortcuts

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