install

package
v0.0.0-...-b4fcc37 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0, MIT Imports: 10 Imported by: 1

Documentation

Overview

Package install provides a function to install gVisor in a k8s cluster.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, c *cluster.Cluster, image string, options spec.InstallOptions) error

Install installs runsc from the given image in the given cluster.

Types

type Command

type Command struct {
	Image               string
	Cluster             clusterflag.Flag
	DaemonSetName       string
	DaemonSetNamespace  string
	PauseContainerImage string
}

Command implements subcommands.Command.

func (*Command) Execute

func (c *Command) Execute(ctx context.Context, f *flag.FlagSet, _ ...any) subcommands.ExitStatus

Execute implements subcommands.Command.Execute. It installs gVisor in a Kubernetes cluster.

func (*Command) Name

func (*Command) Name() string

Name implements subcommands.Command.Name.

func (*Command) SetFlags

func (c *Command) SetFlags(f *flag.FlagSet)

SetFlags implements subcommands.Command.SetFlags.

func (*Command) Synopsis

func (*Command) Synopsis() string

Synopsis implements subcommands.Command.Synopsis.

func (*Command) Usage

func (*Command) Usage() string

Usage implements subcommands.Command.Usage.

Jump to

Keyboard shortcuts

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