Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Taubyte Organization Name on DockerHub TaubyteOrganization = "taubyte" // Default Image Name Format ImageNameFormat = "%s/%s:%s" )
View Source
const ( RustRepository = "rust-wasi" GoRepository = "go-wasi" AssemblyScriptRepository = "assembly-script-wasi" TestExampleVersion = "test-examples" )
Repository Names For Taubyte Organization
View Source
const ( RustTarBallFile = "rs.tar" GoTarBallFile = "go.tar" AssemblyScriptTarBallFile = "as.tar" )
Container Image Tarballs
View Source
const ( TarBallBuildDir = "_builds" ProductionDir = "production" TestExamplesDir = "test_examples" )
View Source
const ( UserEnvVar envVar = "TAUBYTE_DOCKER_USER" TokenEnvVar envVar = "TAUBYTE_DOCKER_TOKEN" )
Docker Credential Variables
Variables ¶
View Source
var ( RustImageEnvVar = imageEnvVar{(envVar("TAUBYTE_RUST_IMAGE"))} GoImageEnvVar imageEnvVar = imageEnvVar{(envVar("TAUBYTE_GO_IMAGE"))} AssemblyScriptEnvVar imageEnvVar = imageEnvVar{(envVar("TAUBYTE_AS_IMAGE"))} )
Image Environment Variables
Functions ¶
func AssemblyScriptImage ¶
Types ¶
type LanguageConfig ¶
type LanguageConfig struct {
// contains filtered or unexported fields
}
func Config ¶
func Config(language wasm.SupportedLanguage) (lang LanguageConfig, err error)
func (LanguageConfig) Image ¶
func (l LanguageConfig) Image(version string) string
func (LanguageConfig) Language ¶
func (l LanguageConfig) Language() wasm.SupportedLanguage
func (LanguageConfig) TarBallPath ¶
func (l LanguageConfig) TarBallPath(wd string) string
func (LanguageConfig) TestExamples ¶
func (l LanguageConfig) TestExamples() TestExampleLanguageConfig
type TestExampleLanguageConfig ¶
type TestExampleLanguageConfig LanguageConfig
func (TestExampleLanguageConfig) Image ¶
func (t TestExampleLanguageConfig) Image() string
func (TestExampleLanguageConfig) Language ¶
func (t TestExampleLanguageConfig) Language() wasm.SupportedLanguage
func (TestExampleLanguageConfig) TarBallPath ¶
func (t TestExampleLanguageConfig) TarBallPath(wd string) string
type VersionedLang ¶
type VersionedLang struct { Language LanguageConfig Version string }
Click to show internal directories.
Click to hide internal directories.