domain

package
v0.105.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CREConfig added in v0.88.0

type CREConfig struct {
	Enabled           bool                       `mapstructure:"enabled" yaml:"enabled"`
	DefaultRegistries []cre.ContextRegistryEntry `mapstructure:"default_registries" yaml:"default_registries,omitempty"`
}

CREConfig represents the CRE (Chainlink Runtime Environment) configuration for a domain.

type DatastoreType added in v0.60.0

type DatastoreType string

DatastoreType represents the type of datastore to use for persisting deployment data.

const (
	// DatastoreTypeFile indicates data should be persisted to local JSON files (default behavior).
	DatastoreTypeFile DatastoreType = "file"
	// DatastoreTypeCatalog indicates data should be persisted to the remote catalog service.
	DatastoreTypeCatalog DatastoreType = "catalog"
	// DatastoreTypeAll indicates data should be persisted to both local JSON files and the remote catalog service.
	// This is useful to keep backward compatibility during the transition period from file-based to remote catalog.
	DatastoreTypeAll DatastoreType = "all"
)

func (DatastoreType) IsValid added in v0.60.0

func (d DatastoreType) IsValid() bool

IsValid checks if the DatastoreType is a valid value.

func (DatastoreType) String added in v0.60.0

func (d DatastoreType) String() string

String returns the string representation of the DatastoreType.

type DomainConfig

type DomainConfig struct {
	Environments map[string]Environment `mapstructure:"environments" yaml:"environments"`
	Jira         *jira.Config           `mapstructure:"jira" yaml:"jira"`
}

DomainConfig represents the parsed and validated domain configuration.

func Load

func Load(filePath string) (*DomainConfig, error)

Load loads domain configuration from a YAML file.

type Environment

type Environment struct {
	NetworkTypes []string      `mapstructure:"network_types" yaml:"network_types"`
	Datastore    DatastoreType `mapstructure:"datastore" yaml:"datastore"`
	CRE          *CREConfig    `mapstructure:"cre" yaml:"cre,omitempty"`
}

Environment represents a single environment configuration.

Jump to

Keyboard shortcuts

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