Documentation
¶
Index ¶
- Constants
- func ParseSchedulerConfig(c *cli.Context) (scheduler.Policy, error)
- func Run(ctx context.Context, opts *Options) error
- func SetupScheduler(policy scheduler.Policy) *scheduler.InvocationScheduler
- type App
- type DataflowApiExtensions
- type FissionOptions
- type FissionProxyConfig
- type Options
- type Process
- type Processes
- type SchedulerPolicy
Constants ¶
View Source
const ( WorkflowsCacheSize = 10000 InvocationsCacheSize = 100000 )
View Source
const ( FlagSchedulerPolicy = "scheduler.policy" FlagSchedulerColdStartDuration = "scheduler.coldstart" )
Variables ¶
This section is empty.
Functions ¶
func SetupScheduler ¶
func SetupScheduler(policy scheduler.Policy) *scheduler.InvocationScheduler
Types ¶
type DataflowApiExtensions ¶
type DataflowApiExtensions struct {
// contains filtered or unexported fields
}
type FissionOptions ¶
type FissionProxyConfig ¶
type FissionProxyConfig struct {
DefaultTimeout time.Duration
ProxyAddr string
WorkflowsAddr string
ExposeMetrics bool
// contains filtered or unexported fields
}
func ParseFissionProxyConfig ¶
func ParseFissionProxyConfig(ctx *cli.Context) (*FissionProxyConfig, error)
func (*FissionProxyConfig) Close ¶
func (c *FissionProxyConfig) Close() error
func (*FissionProxyConfig) Run ¶
func (c *FissionProxyConfig) Run() error
type Options ¶
type Options struct {
NATS *nats.Config
Scheduler scheduler.Policy
Fission *FissionOptions
FissionProxy *FissionProxyConfig
InternalRuntime bool
InvocationController bool
WorkflowController bool
Consent bool
Provenance bool
AdminAPI bool
ConsentAPI bool
WorkflowAPI bool
HTTPGateway bool
InvocationAPI bool
Metrics bool
Debug bool
UseNats bool
ProvNats bool
ConsentNats bool
MaxParallel int
}
type SchedulerPolicy ¶
type SchedulerPolicy string
Click to show internal directories.
Click to hide internal directories.