deno

package
v0.0.110 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Copyright 2022 Namespace Labs Inc; All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Index

Constants

This section is empty.

Variables

View Source
var IncludedImports = []string{
	"https://deno.land/std@0.147.0/encoding/base64.ts",
}
View Source
var Pins = map[string]artifacts.Reference{
	"linux/amd64": {
		URL: fmt.Sprintf("https://github.com/denoland/deno/releases/download/v%s/deno-x86_64-unknown-linux-gnu.zip", version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "ee29ceabab5141ce56ffbb4cbb74a9662de325e5b336933d19058764ea13633d",
		},
	},

	"darwin/arm64": {
		URL: fmt.Sprintf("https://github.com/denoland/deno/releases/download/v%s/deno-aarch64-apple-darwin.zip", version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "c29526fd6835e65505efc07d7d372943f418bc7d97d172ef86e4d86e1e42ca69",
		},
	},
	"darwin/amd64": {
		URL: fmt.Sprintf("https://github.com/denoland/deno/releases/download/v%s/deno-x86_64-apple-darwin.zip", version),
		Digest: schema.Digest{
			Algorithm: "sha256",
			Hex:       "2dd4700707baaf29548ab72d3fddd994d50f65f8c46c7044fdd4c0e6b4a94f78",
		},
	},
}

Functions

Types

type Deno

type Deno string

func EnsureSDK

func EnsureSDK(ctx context.Context, p specs.Platform) (Deno, error)

func (Deno) CacheImports

func (deno Deno) CacheImports(ctx context.Context, dir string) error

func (Deno) Run

func (deno Deno) Run(ctx context.Context, dir string, rio rtypes.IO, args ...string) error

Jump to

Keyboard shortcuts

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