version

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package version contains CLI version constant and utilities.

Package version contains version constants and utilities.

Index

Constants

View Source
const Version = "1.2.0.0"

Version is the version of the CLI

Variables

This section is empty.

Functions

func DoesAgentSupportDisableSmuxKeepAlive

func DoesAgentSupportDisableSmuxKeepAlive(log log.T, agentVersion string) (supported bool)

DoesAgentSupportDisableSmuxKeepAlive returns true if given agentVersion disables smux KeepAlive in TCP multiplexing in port plugin, false otherwise

func DoesAgentSupportTCPMultiplexing

func DoesAgentSupportTCPMultiplexing(log log.T, agentVersion string) (supported bool)

DoesAgentSupportTCPMultiplexing returns true if given agentVersion supports TCP multiplexing in port plugin, false otherwise

func DoesAgentSupportTerminateSessionFlag

func DoesAgentSupportTerminateSessionFlag(log log.T, agentVersion string) (supported bool)

DoesAgentSupportTerminateSessionFlag returns true if given agentVersion supports TerminateSession flag, false otherwise

func NewVersion

func NewVersion(versionString string) (version, error)

NewVersion initializes version struct by splitting given version string into string list using separator "."

Types

This section is empty.

Directories

Path Synopsis
Package main represents the entry point to generate version.
Package main represents the entry point to generate version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL