core

package
v0.0.0-...-5f03148 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type CacheMountInput

type CacheMountInput struct {
	Name        string
	SharingMode string // TODO:(sipsma) switch to enum
	Path        string
}

type Exec

type Exec struct {
	FS       *filesystem.Filesystem
	Metadata *filesystem.Filesystem
	Mounts   map[string]*filesystem.Filesystem
}

type ExecEnvInput

type ExecEnvInput struct {
	Name  string
	Value string
}

type ExecInput

type ExecInput struct {
	Args        []string
	Mounts      []MountInput
	CacheMounts []CacheMountInput
	Workdir     string
	Env         []ExecEnvInput
	SecretEnv   []ExecSecretEnvInput
	SSHAuthSock string `json:"sshAuthSock,omitempty"`
}

type ExecSecretEnvInput

type ExecSecretEnvInput struct {
	Name string
	ID   string `json:"id"` // TODO:(sipsma) stronger type
}

type InitializeArgs

type InitializeArgs struct {
	Router        *router.Router
	SecretStore   *secret.Store
	SSHAuthSockID string
	WorkdirID     string
	Gateway       bkgw.Client
	BKClient      *bkclient.Client
	SolveOpts     bkclient.SolveOpt
	SolveCh       chan *bkclient.SolveStatus
	Platform      specs.Platform
}

type MountInput

type MountInput struct {
	Path string
	FS   filesystem.FSID
}

type Project

type Project struct {
	Name         string
	Schema       string
	Dependencies []*Project
	Scripts      []*project.Script
	Extensions   []*project.Extension
	// contains filtered or unexported fields
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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