Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerFn ¶
type ContainerFn struct {
Ctx context.Context
Path types.UniquePath
// Image is the container image to run
Image string
// Container function will be killed after this timeour.
// The default value is 5 minutes.
Timeout time.Duration
Perm ContainerFnPermission
}
ContainerFn implements a KRMFn which run a containerized KRM function
type ContainerFnPermission ¶
type ContainerFnPermission struct {
AllowNetwork bool
}
ContainerFnPermission contains the permission of container function such as network access.
type ContainerFnWrapper ¶
type ContainerFnWrapper struct {
Fn *ContainerFn
}
ContainerFnWrapper wraps the real function filter, prints the function running progress and failures.
Click to show internal directories.
Click to hide internal directories.