embedded

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: EPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

Index

Constants

View Source
const (
	PROPERTY_NAME_GALASACTL_VERSION          = "galasactl.version"
	PROPERTY_NAME_GALASA_BOOT_JAR_VERSION    = "galasa.boot.jar.version"
	PROPERTY_NAME_GALASA_FRAMEWORK_VERSION   = "galasa.framework.version"
	PROPERTY_NAME_GALASACTL_REST_API_VERSION = "galasactl.rest.api.version"
)

Variables

View Source
var (
	PropsFileName = "templates/version/build.properties"
)

Functions

func GetBootJarVersion

func GetBootJarVersion() (string, error)

func GetGalasaCtlVersion

func GetGalasaCtlVersion() (string, error)

func GetGalasaVersion

func GetGalasaVersion() (string, error)

func GetGalasactlRestApiVersion

func GetGalasactlRestApiVersion() (string, error)

Types

type EmbeddedFileSystem

type EmbeddedFileSystem struct {
	// contains filtered or unexported fields
}

func (*EmbeddedFileSystem) ReadFile

func (fs *EmbeddedFileSystem) ReadFile(filePath string) ([]byte, error)

The only thing which this class actually supports.

type ReadOnlyFileSystem

type ReadOnlyFileSystem interface {
	ReadFile(filePath string) ([]byte, error)
}

func GetReadOnlyFileSystem

func GetReadOnlyFileSystem() ReadOnlyFileSystem

func NewReadOnlyFileSystem

func NewReadOnlyFileSystem() ReadOnlyFileSystem

Jump to

Keyboard shortcuts

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