inspect

package
v0.9.1-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageInspect

func ImageInspect(out io.Writer, app *types.App, argParameters map[string]string, imageMap map[string]bundle.Image) error

func ImageInspectCNAB

func ImageInspectCNAB(out io.Writer, bndl *bundle.Bundle, outputFormat string) error

func Inspect

func Inspect(out io.Writer, installation *store.Installation, outputFormat string) error

Types

type AppInfo

type AppInfo struct {
	Installation Installation           `yaml:"Running App,omitempty" json:"RunningApp,omitempty"`
	Application  Application            `yaml:"App,omitempty" json:"App,omitempty"`
	Parameters   map[string]interface{} `yaml:"Parameters,omitempty" json:"Parameters,omitempty"`
}

func GetAppInfo

func GetAppInfo(installation *store.Installation) AppInfo

type Application

type Application struct {
	Name           string `yaml:"Name,omitempty" json:",omitempty"`
	Version        string `yaml:"Version,omitempty" json:",omitempty"`
	ImageReference string `yaml:"Image Reference,omitempty" json:"ImageReference,omitempty"`
}

type Attachment

type Attachment struct {
	Path string `json:",omitempty"`
	Size int64  `json:",omitempty"`
}

type ImageAppInfo

type ImageAppInfo struct {
	Metadata metadata.AppMetadata `json:",omitempty"`
	Services []Service            `json:",omitempty"`
	Networks []string             `json:",omitempty"`
	Volumes  []string             `json:",omitempty"`
	Secrets  []string             `json:",omitempty"`

	Parameters  map[string]string `json:",omitempty"`
	Attachments []Attachment      `json:",omitempty"`
	// contains filtered or unexported fields
}

type Installation

type Installation struct {
	Name         string `yaml:"Name,omitempty" json:",omitempty"`
	Created      string `yaml:"Created,omitempty" json:",omitempty"`
	Modified     string `yaml:"Modified,omitempty" json:",omitempty"`
	Revision     string `yaml:"Revision,omitempty" json:",omitempty"`
	LastAction   string `yaml:"Last Action,omitempty" json:"Last Action,omitempty"`
	Result       string `yaml:"Result,omitempty" json:",omitempty"`
	Orchestrator string `yaml:"Ochestrator,omitempty" json:",omitempty"`
}

type Service

type Service struct {
	Name     string `json:",omitempty"`
	Image    string `json:",omitempty"`
	Replicas int    `json:",omitempty"`
	Mode     string `json:",omitempty"`
	Ports    string `json:",omitempty"`
}

Jump to

Keyboard shortcuts

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