Documentation
¶
Index ¶
- type Option
- func WithAssets(flag bool) Option
- func WithAssetsManager(assets *graph.AssetManager) Option
- func WithBaseURL(baseURL string) Option
- func WithDependencies(flag bool) Option
- func WithEmbedFS(embedFS *embed.FS) Option
- func WithInstance(instance *graph.Instance) Option
- func WithIsRoot(flag bool) Option
- func WithParentWorkflowID(parentWorkflowID string) Option
- func WithProjectID(projectID string) Option
- func WithTemplate(template string) Option
- func WithURI(uri string) Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(o *Options)
func WithAssets ¶
func WithAssetsManager ¶
func WithAssetsManager(assets *graph.AssetManager) Option
func WithBaseURL ¶
func WithDependencies ¶
func WithEmbedFS ¶
func WithInstance ¶
func WithIsRoot ¶
func WithParentWorkflowID ¶
func WithProjectID ¶
func WithTemplate ¶
type Options ¶
type Options struct {
WithDependencies bool
WithAssets bool
EmbedFS *embed.FS
ProjectID string
URI string
Template string
BaseURL string
ParentWorkflowID string
Instance *graph.Instance
Assets *graph.AssetManager
Root *bool
// contains filtered or unexported fields
}
func NewOptions ¶
Click to show internal directories.
Click to hide internal directories.