Documentation ¶
Index ¶
- Constants
- func CreateLavaVisorCreateServiceCobraCommand() *cobra.Command
- func CreateLavaVisorInitCobraCommand() *cobra.Command
- func CreateLavaVisorPodCobraCommand() *cobra.Command
- func CreateLavaVisorStartCobraCommand() *cobra.Command
- func CreateLavaVisorWrapCobraCommand() *cobra.Command
- func CreateServiceFile(serviceParams *ServiceParams, createLink bool) (string, error)
- func LavavisorInit(cmd *cobra.Command) error
- func LavavisorPod(cmd *cobra.Command) error
- func LavavisorStart(cmd *cobra.Command) error
- func LavavisorWrap(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
- func (lv *LavaVisor) PodStart(ctx context.Context, txFactory tx.Factory, clientCtx client.Context, ...) (err error)
- func (lv *LavaVisor) Start(ctx context.Context, txFactory tx.Factory, clientCtx client.Context, ...) (err error)
- func (lv *LavaVisor) Wrap(ctx context.Context, txFactory tx.Factory, clientCtx client.Context, ...) (err error)
- type LavavisorStateTrackerInf
- type ServiceParams
Constants ¶
View Source
const ( ServiceTypeProvider = "provider" ServiceTypeConsumer = "consumer" )
View Source
const KeyRingPasswordFlag = "enter-keyring-password"
Variables ¶
This section is empty.
Functions ¶
func CreateServiceFile ¶
func CreateServiceFile(serviceParams *ServiceParams, createLink bool) (string, error)
func LavavisorInit ¶
func LavavisorPod ¶
func LavavisorStart ¶
func LavavisorWrap ¶
func SelectMostRecentVersionFromDir ¶
func SelectMostRecentVersionFromDir(lavavisorPath string, version *protocoltypes.Version) (selectedVersion string, err error)
func WriteToConfigFile ¶
Types ¶
type LavaVisor ¶
type LavaVisor struct {
// contains filtered or unexported fields
}
type LavavisorStateTrackerInf ¶
type LavavisorStateTrackerInf interface { RegisterForVersionUpdates(ctx context.Context, version *protocoltypes.Version, versionValidator updaters.VersionValidationInf) GetProtocolVersion(ctx context.Context) (*updaters.ProtocolVersionResponse, error) }
type ServiceParams ¶
Click to show internal directories.
Click to hide internal directories.