Documentation
¶
Index ¶
- type App
- type Basic
- type Database
- func (d *Database) BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (d *Database) GetId() string
- func (d Database) GetName() string
- func (d *Database) IndexPath(project, app string) *common.TnsPath
- func (d *Database) IndexValue(branch, project, app string) (*common.TnsPath, error)
- func (d *Database) SetId(id string)
- type Domain
- type Function
- func (f *Function) BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (f *Function) GetId() string
- func (f Function) GetName() string
- func (f *Function) HttpPath(fqdn string) (*common.TnsPath, error)
- func (f *Function) IndexValue(branch, project, app string) (*common.TnsPath, error)
- func (f *Function) ModuleName() string
- func (f *Function) ServicesPath(project, app, serviceId string) (*common.TnsPath, error)
- func (f *Function) SetId(id string)
- func (f *Function) WasmModulePath(project, app string) (*common.TnsPath, error)
- type Indexer
- type Library
- func (l *Library) BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (l *Library) GetId() string
- func (l Library) GetName() string
- func (l *Library) IndexValue(branch, project, app string) (*common.TnsPath, error)
- func (l *Library) ModuleName() string
- func (l *Library) NameIndex() *common.TnsPath
- func (l *Library) SetId(id string)
- func (l *Library) WasmModulePath(project, app string) (*common.TnsPath, error)
- type Messaging
- func (m *Messaging) BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (m *Messaging) EmptyPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (m *Messaging) GetId() string
- func (m Messaging) GetName() string
- func (m *Messaging) IndexValue(branch, project, app string) (*common.TnsPath, error)
- func (m *Messaging) SetId(id string)
- func (m *Messaging) WebSocketHashPath(project, app string) (*common.TnsPath, error)
- func (m *Messaging) WebSocketPath(hash string) (*common.TnsPath, error)
- type Service
- type Simple
- type SimpleIface
- type SmartOp
- func (s *SmartOp) BasicPath(branch, commit, projectId, appId string) (*common.TnsPath, error)
- func (s *SmartOp) GetId() string
- func (s SmartOp) GetName() string
- func (s *SmartOp) IndexValue(branch, projectId, appId string) (*common.TnsPath, error)
- func (s *SmartOp) ModuleName() string
- func (s *SmartOp) SetId(id string)
- func (s *SmartOp) WasmModulePath(projectId, appId string) (*common.TnsPath, error)
- type Storage
- func (s *Storage) BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
- func (s *Storage) GetId() string
- func (s Storage) GetName() string
- func (s *Storage) IndexPath(project, app string) *common.TnsPath
- func (s *Storage) IndexValue(branch, project, app string) (*common.TnsPath, error)
- func (s *Storage) SetId(id string)
- type Structure
- type Wasm
- type Website
- func (w *Website) BasicPath(branch, commit, projectId, appId string) (*common.TnsPath, error)
- func (w *Website) GetId() string
- func (w Website) GetName() string
- func (w *Website) HttpPath(fqdn string) (*common.TnsPath, error)
- func (w *Website) IndexValue(branch, projectId, appId string) (*common.TnsPath, error)
- func (w *Website) SetId(id string)
- func (w *Website) WasmModulePath(projectId, appId string) (*common.TnsPath, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Basic ¶
type Basic interface {
SimpleIface
BasicPath(branch, commit, project, app string) (*common.TnsPath, error)
}
type Database ¶
type Database struct {
Id string
Name string
Description string
Tags []string
Match string
Regex bool `mapstructure:"useRegex"`
Local bool
Key string
Min int
Max int
Size uint64
// noset, this is parsed from the tags
SmartOps []string
Basic
Indexer
}
func (*Database) IndexValue ¶
type Domain ¶
type Domain struct {
Id string
Name string
Description string
Tags []string
Fqdn string
CertType string `mapstructure:"cert-type"`
CertFile string `mapstructure:"cert-file"`
KeyFile string `mapstructure:"key-file"`
// noset, this is parsed from the tags
SmartOps []string
Indexer
}
func (*Domain) IndexValue ¶
type Function ¶
type Function struct {
Id string
Name string
Description string
Tags []string
Type string
Timeout uint64
Memory uint64
Call string
Source string
Domains []string
Method string
Paths []string
Secure bool
Command string
Channel string
Local bool
Protocol string `mapstructure:"service"`
SmartOps []string
Wasm
}
func (*Function) IndexValue ¶
func (*Function) ModuleName ¶
func (*Function) ServicesPath ¶
type Indexer ¶
type Indexer interface {
SimpleIface
IndexValue(branch, project, app string) (*common.TnsPath, error)
}
type Library ¶
type Library struct {
Id string
Name string
Description string
Tags []string
Path string
Branch string
Provider string
RepoID string `mapstructure:"repository-id"`
RepoName string `mapstructure:"repository-name"`
// noset, this is parsed from the tags
SmartOps []string
Wasm
}
func (*Library) IndexValue ¶
func (*Library) ModuleName ¶
type Messaging ¶
type Messaging struct {
Id string
Name string
Description string
Tags []string
Local bool
Match string
Regex bool
MQTT bool
WebSocket bool
// noset, this is parsed from the tags
SmartOps []string
Basic
Wasm
}
func (*Messaging) IndexValue ¶
func (*Messaging) WebSocketHashPath ¶
type Service ¶
type Service struct {
Id string
Name string
Description string
Tags []string
Protocol string
// noset, this is parsed from the tags
SmartOps []string
Indexer
}
func (*Service) IndexValue ¶
type SimpleIface ¶
type SmartOp ¶
type SmartOp struct {
Id string
Name string
Description string
Tags []string
Timeout uint64
Memory uint64
Call string
Source string
// noset, this is parsed from the tags
SmartOps []string
Wasm
}
func (*SmartOp) IndexValue ¶
func (*SmartOp) ModuleName ¶
type Storage ¶
type Storage struct {
Id string
Name string
Description string
Tags []string
Match string
Regex bool `mapstructure:"useRegex"`
Type string
Public bool
Size uint64
Ttl uint64
Versioning bool
// noset, this is parsed from the tags
SmartOps []string
Basic
Indexer
}
func (*Storage) IndexValue ¶
type Website ¶
type Website struct {
Id string
Name string
Description string
Tags []string
Domains []string
Paths []string
Branch string
Provider string
RepoID string `mapstructure:"repository-id"`
RepoName string `mapstructure:"repository-name"`
// noset, this is parsed from the tags
SmartOps []string
Basic
Wasm
}
func (*Website) IndexValue ¶
Click to show internal directories.
Click to hide internal directories.