Documentation
¶
Index ¶
- func FetchPreflightNetwork(ctx context.Context, request PreflightRequest) (protocol.Network, error)
- func Preflight(ctx context.Context, config bridgeconfig.Config) error
- func ValidateNetworkCompatibility(config bridgeconfig.Config, network protocol.Network) error
- type CompatibilityError
- type PreflightCacheKey
- type PreflightFunc
- type PreflightRequest
- type Runner
- type RuntimeAdapter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchPreflightNetwork ¶ added in v0.1.3
func Preflight ¶ added in v0.1.3
func Preflight(ctx context.Context, config bridgeconfig.Config) error
func ValidateNetworkCompatibility ¶ added in v0.1.3
func ValidateNetworkCompatibility(config bridgeconfig.Config, network protocol.Network) error
Types ¶
type CompatibilityError ¶ added in v0.1.3
type CompatibilityError struct {
BaseURL string
Network protocol.Network
Expected string
Issues []string
}
func (*CompatibilityError) Error ¶ added in v0.1.3
func (e *CompatibilityError) Error() string
type PreflightCacheKey ¶ added in v0.1.3
type PreflightFunc ¶ added in v0.1.3
type PreflightFunc func(ctx context.Context, config bridgeconfig.Config) error
type PreflightRequest ¶ added in v0.1.3
type PreflightRequest struct {
// contains filtered or unexported fields
}
func NewPreflightRequest ¶ added in v0.1.3
func NewPreflightRequest(config bridgeconfig.Config) (PreflightRequest, error)
func (PreflightRequest) CacheKey ¶ added in v0.1.3
func (r PreflightRequest) CacheKey() PreflightCacheKey
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func NewWithPreflight ¶ added in v0.1.3
func NewWithPreflight(config bridgeconfig.Config, preflight PreflightFunc) (*Runner, error)
type RuntimeAdapter ¶
Click to show internal directories.
Click to hide internal directories.