resolver

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LocalFilesystemResourceType = "localFilesystemResource"

Variables

This section is empty.

Functions

func AddLocalResourcesForRender

func AddLocalResourcesForRender(cd *cdv2.ComponentDescriptor, resources []cdresources.ResourceOptions) (*cdv2.ComponentDescriptor, error)

AddLocalResourcesForRender adds the resources from the resources yaml file to the component descriptor.

func NewRenderBlobResolver

func NewRenderBlobResolver(
	innerBlobResolver ctf.BlobResolver,
	resourcesPath string,
	fs vfs.FileSystem,
) *renderBlobResolver

func NewRenderComponentResolver

func NewRenderComponentResolver(
	innerResolver ctf.ComponentResolver,
	cd *cdv2.ComponentDescriptor,
	resources []cdresources.ResourceOptions,
	resourcesPath string,
	fs vfs.FileSystem,
) *renderComponentResolver

Types

This section is empty.

Jump to

Keyboard shortcuts

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