Documentation
¶
Index ¶
- func NewBundleSource(path string) system.Source
- type BundleSource
- func (b *BundleSource) Authentication(ident, namespace string, version int64) (*tenant.Authentication, error)
- func (b *BundleSource) Capabilities(ident, namespace string, version int64) (*capabilities.CapabilityConfig, error)
- func (b *BundleSource) Connections(ident, namespace string, version int64) ([]tenant.Connection, error)
- func (b *BundleSource) GetModule(FQMN string) (*tenant.Module, error)
- func (b *BundleSource) Overview() (*system.Overview, error)
- func (b *BundleSource) Queries(ident, namespace string, version int64) ([]tenant.DBQuery, error)
- func (b *BundleSource) Start(opts system.Options) error
- func (b *BundleSource) State() (*system.State, error)
- func (b *BundleSource) StaticFile(ident string, tenantVersion int64, filename string) ([]byte, error)
- func (b *BundleSource) TenantOverview(ident string) (*system.TenantOverview, error)
- func (b *BundleSource) Workflows(ident, namespace string, version int64) ([]tenant.Workflow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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) 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.
Click to show internal directories.
Click to hide internal directories.