Documentation ¶
Index ¶
- func AddTypeMeta(ctx context.Context, schema types.KformBlockSchema, d any) (any, error)
- func NewInputFn(cfg *Config) fn.BlockInstanceRunner
- func NewLocalOrOutputFn(cfg *Config) fn.BlockInstanceRunner
- func NewModuleFn(cfg *Config) fn.BlockInstanceRunner
- func NewProviderFn(cfg *Config) fn.BlockInstanceRunner
- func NewResourceFn(cfg *Config) fn.BlockInstanceRunner
- func NewRootFn(cfg *Config) fn.BlockInstanceRunner
- type Config
- type ExecHandler
- type Initializer
- type Map
- type Renderer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTypeMeta ¶
func NewInputFn ¶
func NewInputFn(cfg *Config) fn.BlockInstanceRunner
provide and input runner, which runs per input instance
func NewLocalOrOutputFn ¶
func NewLocalOrOutputFn(cfg *Config) fn.BlockInstanceRunner
func NewModuleFn ¶
func NewModuleFn(cfg *Config) fn.BlockInstanceRunner
func NewProviderFn ¶
func NewProviderFn(cfg *Config) fn.BlockInstanceRunner
func NewResourceFn ¶
func NewResourceFn(cfg *Config) fn.BlockInstanceRunner
func NewRootFn ¶
func NewRootFn(cfg *Config) fn.BlockInstanceRunner
Types ¶
type Config ¶
type Config struct { Provider bool ModuleName string BlockName string RootModuleName string Vars cache.Cache[vars.Variable] Recorder recorder.Recorder[record.Record] // used for the provider DAG run + resources run to find the provider client ProviderInstances cache.Cache[plugin.Provider] // used for the provider DAG run only ProviderInventory cache.Cache[types.Provider] }
type ExecHandler ¶
type ExecHandler struct { RootModuleName string ModuleName string BlockName string Vars cache.Cache[vars.Variable] Recorder recorder.Recorder[record.Record] // contains filtered or unexported fields }
func NewExecHandler ¶
func NewExecHandler(ctx context.Context, cfg *Config) *ExecHandler
func (*ExecHandler) BlockRun ¶
func (r *ExecHandler) BlockRun(ctx context.Context, vertexName string, vCtx *types.VertexContext) bool
type Initializer ¶
type Initializer func(*Config) fn.BlockInstanceRunner
type Map ¶
type Map interface { fn.BlockInstanceRunner }
type Renderer ¶
func (*Renderer) RenderConfigOrValue ¶
Click to show internal directories.
Click to hide internal directories.