saptune

package
v0.0.0-...-a443d5c Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinimalSaptuneVersion = "v3.1.0"
)

Variables

View Source
var (
	ErrSaptuneVersionUnknown = errors.New("could not determine saptune version")
	ErrUnsupportedSaptuneVer = errors.New("saptune version is not supported")
)

Functions

This section is empty.

Types

type Saptune

type Saptune struct {
	Version         string
	IsJSONSupported bool
	// contains filtered or unexported fields
}

func NewSaptune

func NewSaptune(commandExecutor utils.CommandExecutor) (Saptune, error)

func (*Saptune) RunCommand

func (s *Saptune) RunCommand(args ...string) ([]byte, error)

func (*Saptune) RunCommandJSON

func (s *Saptune) RunCommandJSON(args ...string) ([]byte, error)

Jump to

Keyboard shortcuts

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