Documentation ¶
Index ¶
- func Decode(enc string) (bi binfotypes.BuildInfo, _ error)
- func Encode(ctx context.Context, metadata map[string][]byte, key string, ...) ([]byte, error)
- func Format(dt []byte, opts FormatOpts) (_ []byte, err error)
- func GetMetadata(metadata map[string][]byte, key string, reqFrontend string, ...) ([]byte, error)
- type FormatOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
func Decode(enc string) (bi binfotypes.BuildInfo, _ error)
Decode decodes a base64 encoded build info.
func Encode ¶
func Encode(ctx context.Context, metadata map[string][]byte, key string, llbSources map[string]string) ([]byte, error)
Encode encodes build info.
Types ¶
type FormatOpts ¶
type FormatOpts struct {
RemoveAttrs bool
}
FormatOpts holds build info format options.
Click to show internal directories.
Click to hide internal directories.