Documentation ¶
Overview ¶
Package version provides the version command, which prints the BindPlane version.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder interface { // Build returns a new Versioner. BuildVersioner(ctx context.Context) (Versioner, error) }
Builder is an interface for building a Versioner.
type Versioner ¶
type Versioner interface { // GetServerVersion returns the server version. GetServerVersion(ctx context.Context) (version.Version, error) // GetClientVersion returns the client version. GetClientVersion(ctx context.Context) (version.Version, error) }
Versioner is an interface for retrieving BindPlane versions.
func NewVersioner ¶
NewVersioner returns a new Versioner.
Click to show internal directories.
Click to hide internal directories.