Documentation ¶
Index ¶
- type AvalancheGoContainerConfigFactory
- type NodeAPIService
- func (service *NodeAPIService) GetHTTPPort() int
- func (service *NodeAPIService) GetIPAddress() string
- func (service *NodeAPIService) GetNodeClient() *avalanchegoclient.Client
- func (service *NodeAPIService) GetServiceID() services.ServiceID
- func (service *NodeAPIService) GetStakingPort() int
- func (service *NodeAPIService) IsAvailable() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvalancheGoContainerConfigFactory ¶
type AvalancheGoContainerConfigFactory struct {
// contains filtered or unexported fields
}
func NewAvalancheGoContainerConfigFactory ¶
func NewAvalancheGoContainerConfigFactory(definedNetwork *networkbuilder.Network, nodeConfig *networkbuilder.Node, nodes map[services.ServiceID]*NodeAPIService) *AvalancheGoContainerConfigFactory
func (AvalancheGoContainerConfigFactory) GetCreationConfig ¶
func (factory AvalancheGoContainerConfigFactory) GetCreationConfig(containerIpAddr string) (*services.ContainerCreationConfig, error)
func (AvalancheGoContainerConfigFactory) GetRunConfig ¶
func (factory AvalancheGoContainerConfigFactory) GetRunConfig(containerIpAddr string, generatedFileFilepaths map[string]string) (*services.ContainerRunConfig, error)
type NodeAPIService ¶
type NodeAPIService struct {
// contains filtered or unexported fields
}
func NewNodeAPIService ¶
func NewNodeAPIService(serviceCtx *services.ServiceContext, httpPort int, stakePort int) *NodeAPIService
func (*NodeAPIService) GetHTTPPort ¶
func (service *NodeAPIService) GetHTTPPort() int
func (*NodeAPIService) GetIPAddress ¶
func (service *NodeAPIService) GetIPAddress() string
func (*NodeAPIService) GetNodeClient ¶
func (service *NodeAPIService) GetNodeClient() *avalanchegoclient.Client
func (*NodeAPIService) GetServiceID ¶
func (service *NodeAPIService) GetServiceID() services.ServiceID
===========================================================================================
Service interface methods
===========================================================================================
func (*NodeAPIService) GetStakingPort ¶
func (service *NodeAPIService) GetStakingPort() int
func (*NodeAPIService) IsAvailable ¶
func (service *NodeAPIService) IsAvailable() bool
Click to show internal directories.
Click to hide internal directories.