package rkt

import "github.com/coreos/rkt/lib"

Package rkt is expected to be used by other projects who want to integrate with rkt. See https://peter.bourgon.org/go-best-practices-2016/#repository-structure for the rationale of calling this package "rkt" located in the "lib" subdirectory.

Index

Functions

func AppsForPod

func AppsForPod(uuid, dataDir string, appName string) ([]*v1.App, error)

AppsForPod returns the apps of the pod with the given uuid in the given data directory. If appName is non-empty, then only the app with the given name will be returned.

func NewPodFromInternalPod

func NewPodFromInternalPod(p *pkgPod.Pod) (*v1.Pod, error)

NewPodFromInternalPod converts *pkgPod.Pod to *Pod

Source Files

app.go doc.go pod.go

Version
v1.30.0 (latest)
Published
Apr 13, 2018
Platform
linux/amd64
Imports
8 packages
Last checked
3 days ago

Tools for package owners.