bundle

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Dir string
	// contains filtered or unexported fields
}

func NewBundle

func NewBundle(
	dir string,
) (*Bundle, error)

func (*Bundle) DoSpec

func (b *Bundle) DoSpec(f func(s *specs.Spec) error) error

func (*Bundle) GetContainerInfo

func (b *Bundle) GetContainerInfo(
	logger zerolog.Logger,
	cfg *config.Config,
) (*ContainerInfo, error)

func (*Bundle) SaveSpec

func (b *Bundle) SaveSpec() error

type ContainerInfo

type ContainerInfo struct {
	PodNamespace  string
	PodName       string
	ContainerType string
	ContainerName string
}

Jump to

Keyboard shortcuts

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