Documentation ¶
Index ¶
Constants ¶
View Source
const ( FunctionContainer = "function" FunctionPort = "function-port" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuilderRun ¶
type BuilderRun interface { // Start to build image. Start(builder *openfunction.Builder) error // Result get the build result. // "" means build has not been completed. // `Succeeded` means build completed. // Other means build failed. Result(builder *openfunction.Builder) (string, string, string, error) // Clean all resources which created by builder. Clean(builder *openfunction.Builder) error // Cancel the builder. Cancel(builder *openfunction.Builder) error }
type ServingRun ¶
type ServingRun interface { Run(s *openfunction.Serving, cm map[string]string) error // Result get the serving result. // ” means serving is starting. // `Running` means serving is running. // Other means serving failed. Result(s *openfunction.Serving) (string, string, string, error) // Clean all resources which created by serving. Clean(s *openfunction.Serving) error }
Click to show internal directories.
Click to hide internal directories.