Documentation ¶
Index ¶
- func CreateLavaVisorCreateServiceCobraCommand() *cobra.Command
- func CreateLavaVisorInitCobraCommand() *cobra.Command
- func CreateLavaVisorStartCobraCommand() *cobra.Command
- func CreateServiceFile(serviceParams *ServiceParams, createLink bool) (string, error)
- func LavavisorInit(cmd *cobra.Command) error
- func LavavisorStart(cmd *cobra.Command) error
- func SelectMostRecentVersionFromDir(lavavisorPath string, version *protocoltypes.Version) (selectedVersion string, err error)
- func WriteToConfigFile(lavavisorPath string, serviceFileName string) error
- type Config
- type LavaVisor
- type LavavisorStateTrackerInf
- type ServiceParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServiceFile ¶
func CreateServiceFile(serviceParams *ServiceParams, createLink bool) (string, error)
func LavavisorInit ¶
func LavavisorStart ¶
func SelectMostRecentVersionFromDir ¶
func SelectMostRecentVersionFromDir(lavavisorPath string, version *protocoltypes.Version) (selectedVersion string, err error)
func WriteToConfigFile ¶
Types ¶
type LavavisorStateTrackerInf ¶
type LavavisorStateTrackerInf interface { RegisterForVersionUpdates(ctx context.Context, version *protocoltypes.Version, versionValidator statetracker.VersionValidationInf) GetProtocolVersion(ctx context.Context) (*protocoltypes.Version, error) }
type ServiceParams ¶
Click to show internal directories.
Click to hide internal directories.