Documentation
¶
Index ¶
Constants ¶
View Source
const ( EnvURLVar = "DEVNET_ENV_URL" ChainNameVar = "DEVNET_CHAIN_NAME" NodeIndexVar = "DEVNET_NODE_INDEX" ExpectPreconditionsMet = "DEVNET_EXPECT_PRECONDITIONS_MET" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainConfig ¶
type ChainConfig struct {
// contains filtered or unexported fields
}
func (*ChainConfig) GetEnv ¶
func (c *ChainConfig) GetEnv(opts ...ChainConfigOption) (*ChainEnv, error)
type ChainConfigOption ¶ added in v1.11.1
type ChainConfigOption func(*ChainConfig, *chainConfigOpts) error
func WithCastIntegration ¶ added in v1.11.1
func WithCastIntegration(cast bool, nodeIndex int) ChainConfigOption
func WithExpectedPreconditions ¶ added in v1.11.1
func WithExpectedPreconditions(pre bool) ChainConfigOption
type ChainEnv ¶
type ChainEnv struct {
// contains filtered or unexported fields
}
func (*ChainEnv) ApplyToEnv ¶ added in v1.11.1
type DataFetcher ¶ added in v1.11.1
type DataFetcher func(*url.URL) (*descriptors.DevnetEnvironment, error)
DataFetcher is a function type for fetching data from a URL
type DevnetEnv ¶
type DevnetEnv struct {
Env *descriptors.DevnetEnvironment
URL string
// contains filtered or unexported fields
}
func LoadDevnetFromURL ¶ added in v1.11.1
type DevnetFS ¶ added in v1.13.2
type DevnetFS interface {
GetDevnetDescriptor(ctx context.Context, opts ...ktfs.DevnetFSDescriptorOption) (*descriptors.DevnetEnvironment, error)
}
DevnetFS is an interface that both our mock and the real implementation satisfy
Click to show internal directories.
Click to hide internal directories.