Versions in this module Expand all Collapse all v0 v0.0.9 Sep 23, 2022 Changes in this version + const WriteReadReadPerms + func GetEndpoints(clusterInfo *rpcpb.ClusterInfo) []string + func SetDefaultSnapshot(snapshotsDir string, force bool) error + type LocalDeployer struct + func NewLocalDeployer(app *application.Avalanche, avagoVersion string, vmBin string) *LocalDeployer + func (d *LocalDeployer) BackendStartedHere() bool + func (d *LocalDeployer) DeployToLocalNetwork(chain string, chainGenesis []byte, genesisPath string) (ids.ID, ids.ID, error) + func (d *LocalDeployer) SetupLocalEnv() (string, string, error) + func (d *LocalDeployer) StartServer() error + func (d *LocalDeployer) WaitForHealthy(ctx context.Context, cli client.Client, healthCheckInterval time.Duration) (*rpcpb.ClusterInfo, error) + type PublicDeployer struct + func NewPublicDeployer(app *application.Avalanche, privKeyPath string, network models.Network) *PublicDeployer + func (d *PublicDeployer) AddValidator(subnet ids.ID, nodeID ids.NodeID, weight uint64, startTime time.Time, ...) error + func (d *PublicDeployer) Deploy(controlKeys []string, threshold uint32, chain string, genesis []byte) (ids.ID, ids.ID, error) + type Publisher interface + GetRepo func() (*git.Repository, error) + Publish func(r *git.Repository, subnetName, vmName string, subnetYAML []byte, vmYAML []byte) error + func NewPublisher(repoDir, repoURL, alias string) Publisher