edgeimage

package
v0.0.0-...-fecfccd Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultBaseImage = defaults.Image

DefaultBaseImage is the default base image used we will add KubeEdge components based on this image Just keep the same with kind default node image

View Source
const DefaultImage = "kubeedge/node:latest"

DefaultImage is the default name:tag for the built image

Variables

This section is empty.

Functions

func Build

func Build(options ...Option) error

Build builds a node image using the supplied options

Types

type Option

type Option interface {
	// contains filtered or unexported methods
}

Option is a configuration option supplied to Build

func WithArch

func WithArch(arch string) Option

WithArch sets the architecture to build for

func WithBaseImage

func WithBaseImage(image string) Option

WithBaseImage configures a build to use `image` as the base image

func WithImage

func WithImage(image string) Option

WithImage configures a build to tag the built image with `image`

func WithKubeEdgeRoot

func WithKubeEdgeRoot(root string) Option

WithKubeEdgeRoot sets the path to the KubeEdge source directory (if empty, the path will be autodetected)

func WithLogger

func WithLogger(logger log.Logger) Option

WithLogger sets the logger

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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