rktlet

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2017 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Overview

Package rktlet provides high-level functions to instantiate and use the rktlet CRI runtime.

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = &Config{
	RktDatadir:          "/var/lib/rktlet/data",
	StreamServerAddress: "0.0.0.0:10241",
}

Functions

This section is empty.

Types

type Config

type Config struct {
	RktDatadir    string
	RktPath       string
	RktStage1Name string

	// StreamServerAddress is the address the rktlet stream server should listen on.
	// This address must be accessible by the api-server. However, it also allows
	// arbitrary code execution within pods and must be secured.
	StreamServerAddress string

	NetworkPluginName string
}

type ContainerAndImageService

type ContainerAndImageService interface {
	runtimeapi.RuntimeServiceServer
	runtimeapi.ImageServiceServer
}

func New

func New(config *Config) (ContainerAndImageService, error)

Directories

Path Synopsis
cli
mocks
Code generated by Mockery for CLI.
Code generated by Mockery for CLI.
Package image is the package that contains a CRI implementation of image management using rkt as the container runtime
Package image is the package that contains a CRI implementation of image management using rkt as the container runtime
Package runtime implements a "CRI" runtime.
Package runtime implements a "CRI" runtime.

Jump to

Keyboard shortcuts

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