version

package
v0.0.0-...-294dc8c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VersionHelp contains the short help text for the command.
	VersionHelp = "Retrieves OpenSlides client version tag"

	// VersionHelpExtra contains the long help text for the command without
	// the headline.
	VersionHelpExtra = `The version tag is created during client image build.`
)

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the subcommand.

func Run

func Run(ctx context.Context, gc gRPCClient) error

Run calls respective procedure via given gRPC client.

func Version

func Version(ctx context.Context, in *proto.VersionRequest, clientVersionURL *url.URL) (*proto.VersionResponse, error)

Version retrieves the version tag from the client container. This function is the server side entrypoint for this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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