snapshots

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Project

func Project(client keystone.HTTPClient, api *keystone.Keystone, selected config.Config, headers http.Header, project fiware.Project, assets []string, maximum int) (fiware.Manifest, error)

Snap takes an snapshot of all assets in project

func ProjectList

func ProjectList(projects []fiware.Project) []string

func Serve

func Serve(client keystone.HTTPClient, store *config.Store) http.Handler

func Urbo

func Urbo(client keystone.HTTPClient, api *urbo.Urbo, selected config.Config, headers http.Header, v fiware.Vertical) (fiware.Manifest, map[string]json.RawMessage, error)

Dowload all panels in vertical, return vertical manifest and panels indexed by slug

func VerticalList

func VerticalList(verticals map[string]fiware.Vertical) []string

List all available verticals as strings "name (slug)"

func WriteManifest

func WriteManifest(manifest fiware.Manifest, panels map[string]json.RawMessage, writer config.Writer) (fiware.ManifestSource, error)

Write all assets in manifest using deployer format. panels might containe payload for any panel in manifest.Verticals. panels outside manifest.Verticals are not stored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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