service

package
v0.0.0-...-89d5bac Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: AGPL-3.0, AGPL-3.0-or-later Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRIService

type CRIService interface {
	runtime.RuntimeServiceServer
	runtime.ImageServiceServer
	Register(*grpc.Server, *grpc.Server)
	Controller(string) (controller.Controller, error)
}

func NewCRIService

func NewCRIService(client *containerd.Client) (CRIService, error)

func NewFakeCRIService

func NewFakeCRIService(containerdCRI ContainerdCRIService, controllers ControllerService) CRIService

type ContainerInfo

type ContainerInfo struct {
	Pid int `json:"pid"`
}

type ContainerdCRIService

type ContainerdCRIService interface {
	containerdCRIserver.CRIService
}

type ControllerService

type ControllerService interface {
	Controller(string) (controller.Controller, bool)
	CreateController(string)
	refunction.RefunctionServiceServer
}

func NewControllerService

func NewControllerService() ControllerService

func NewFakeControllerService

func NewFakeControllerService(creator func() controller.Controller) ControllerService

Directories

Path Synopsis
api
refunction/v1alpha
Package refunctionv1alpha is a generated protocol buffer package.
Package refunctionv1alpha is a generated protocol buffer package.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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