image

package
v0.0.0-...-137a528 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 15 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildWrappedImage

func BuildWrappedImage(args *BuildWrappedImageArgs) (string, error)

Build a wrapped image on the current machine inline

Types

type BuildWrappedImageArgs

type BuildWrappedImageArgs struct {
	ServiceName string
	SourceImage string
	TargetImage string
	Runtime     []byte
}

type Image

type Image struct {
	pulumi.ResourceState

	Name        string
	DockerImage *docker.RegistryImage
}

func NewImage

func NewImage(ctx *pulumi.Context, name string, args *ImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

func NewLocalImage

func NewLocalImage(ctx *pulumi.Context, name string, args *LocalImageArgs, opts ...pulumi.ResourceOption) (*Image, error)

func (*Image) URI

func (d *Image) URI() pulumi.StringOutput

type ImageArgs

type ImageArgs struct {
	SourceImage   string
	Runtime       []byte
	RepositoryUrl pulumi.StringInput
}

type ImageInspect

type ImageInspect struct {
	ID      string
	Cmd     string
	WorkDir string
}

func CommandFromImageInspect

func CommandFromImageInspect(sourceImage string, delimeter string) (*ImageInspect, error)

Gets the command from the source image and returns as a comma separated string

type LocalImageArgs

type LocalImageArgs struct {
	SourceImage   string
	SourceImageID string
	RepositoryUrl pulumi.StringInput
}

type WrappedBuildInput

type WrappedBuildInput struct {
	Args       map[string]string
	Dockerfile string
}

Jump to

Keyboard shortcuts

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