Documentation ¶
Overview ¶
Package cacc provides a Starlark module for Charm Accounts.
Index ¶
Constants ¶
View Source
const ModuleName = "cacc"
ModuleName defines the expected name for this module when used in Starlark's load() function, e.g., load('cacc', 'get_bio')
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
type Module struct {
*core.CommonModule
}
Module wraps the ConfigurableModule with specific functionality for Charm Accounts.
func NewModule ¶
func NewModule() *Module
NewModule creates a new instance of Module. It doesn't set any configuration values, nor provide any setters.
func NewModuleWithConfig ¶
NewModuleWithConfig creates a new instance of Module with the given configuration values.
func NewModuleWithGetter ¶
func NewModuleWithGetter(host, dataDirPath, keyFilePath, sshPort, httpPort base.ConfigGetter[string]) *Module
NewModuleWithGetter creates a new instance of Module with the given configuration getters.
func (*Module) LoadModule ¶
func (m *Module) LoadModule() starlet.ModuleLoader
LoadModule returns the Starlark module loader with the email-specific functions.
Click to show internal directories.
Click to hide internal directories.