package secretsprovider

import "github.com/moby/buildkit/session/secrets/secretsprovider"

Index

Constants

const MaxSecretSize = 500 * 1024 // 500KB

MaxSecretSize is the maximum byte length allowed for a secret

Functions

func FromMap

func FromMap(m map[string][]byte) session.Attachable

func NewFileStore

func NewFileStore(files []FileSource) (secrets.SecretStore, error)

func NewSecretProvider

func NewSecretProvider(store secrets.SecretStore) session.Attachable

Types

type FileSource

type FileSource struct {
	ID       string
	FilePath string
}

Source Files

file.go secretsprovider.go

Version
v0.6.1
Published
Aug 15, 2019
Platform
js/wasm
Imports
9 packages
Last checked
8 hours ago

Tools for package owners.