bundle

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBundleSource

func NewBundleSource(path string) system.Source

NewBundleSource creates a new BundleSource that looks for a bundle at path.

Types

type BundleSource

type BundleSource struct {
	// contains filtered or unexported fields
}

BundleSource is a Source backed by a bundle file.

func (*BundleSource) Authentication

func (b *BundleSource) Authentication(ident, namespace string, version int64) (*tenant.Authentication, error)

Authentication returns the Authentication for the system.

func (*BundleSource) Capabilities

func (b *BundleSource) Capabilities(ident, namespace string, version int64) (*capabilities.CapabilityConfig, error)

func (*BundleSource) Connections

func (b *BundleSource) Connections(ident, namespace string, version int64) ([]tenant.Connection, error)

Connections returns the Connections for the system.

func (*BundleSource) GetModule

func (b *BundleSource) GetModule(FQMN string) (*tenant.Module, error)

GetModule searches for and returns the requested module otherwise system.ErrModuleNotFound.

func (*BundleSource) Overview

func (b *BundleSource) Overview() (*system.Overview, error)

Overview gets the overview for the entire system.

func (*BundleSource) Queries

func (b *BundleSource) Queries(ident, namespace string, version int64) ([]tenant.DBQuery, error)

Queries returns the Queries available to the system.

func (*BundleSource) Start

func (b *BundleSource) Start(opts system.Options) error

Start initializes the system source.

func (*BundleSource) State

func (b *BundleSource) State() (*system.State, error)

State returns the state of the entire system

func (*BundleSource) StaticFile

func (b *BundleSource) StaticFile(ident string, tenantVersion int64, filename string) ([]byte, error)

File returns a requested file.

func (*BundleSource) TenantOverview

func (b *BundleSource) TenantOverview(ident string) (*system.TenantOverview, error)

Modules returns the Modules for the system.

func (*BundleSource) Workflows

func (b *BundleSource) Workflows(ident, namespace string, version int64) ([]tenant.Workflow, error)

Schedules returns the schedules for the system.

Jump to

Keyboard shortcuts

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