domain

package
v0.88.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: MIT Imports: 4 Imported by: 0

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"`
}

CREConfig represents the CRE (Chainlink Runtime Environment) configuration.

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