Versions in this module Expand all Collapse all v0 v0.19.1 Mar 14, 2023 Changes in this version + func ParseBoolValue(val string, fallback bool) bool + func ParseIntOrDurationValue(val string, fallback time.Duration) time.Duration + func ParseIntValue(val string, fallback int) int + func ParseString(val string, fallback string) string + type DeleteFunctionRequest struct + FunctionName string + type FaaSConfig struct + EnableBasicAuth bool + EnableHealth bool + MaxIdleConns int + MaxIdleConnsPerHost int + ReadTimeout time.Duration + SecretMountPath string + TCPPort *int + WriteTimeout time.Duration + func (c *FaaSConfig) GetMaxIdleConns() int + func (c *FaaSConfig) GetMaxIdleConnsPerHost() int + func (c *FaaSConfig) GetReadTimeout() time.Duration + type FaaSHandlers struct + DeleteHandler http.HandlerFunc + DeployHandler http.HandlerFunc + FunctionProxy http.HandlerFunc + FunctionReader http.HandlerFunc + HealthHandler http.HandlerFunc + InfoHandler http.HandlerFunc + ListNamespaceHandler http.HandlerFunc + LogHandler http.HandlerFunc + ReplicaReader http.HandlerFunc + ReplicaUpdater http.HandlerFunc + SecretHandler http.HandlerFunc + UpdateHandler http.HandlerFunc + type FunctionDeployment struct + Annotations *map[string]string + Constraints []string + EnvProcess string + EnvVars map[string]string + Image string + Labels *map[string]string + Limits *FunctionResources + Namespace string + ReadOnlyRootFilesystem bool + Requests *FunctionResources + Secrets []string + Service string + VolumeDevices []string + Volumes []string + type FunctionResources struct + CPU string + Memory string + type FunctionStatus struct + Annotations *map[string]string + AvailableReplicas uint64 + Constraints []string + CreatedAt time.Time + EnvProcess string + EnvVars map[string]string + Image string + InvocationCount float64 + Labels *map[string]string + Limits *FunctionResources + Name string + Namespace string + ReadOnlyRootFilesystem bool + Replicas uint64 + Requests *FunctionResources + Secrets []string + Usage *FunctionUsage + type FunctionUsage struct + CPU float64 + TotalMemoryBytes float64 + type HasEnv interface + Getenv func(key string) string + type OsEnv struct + func (OsEnv) Getenv(key string) string + type ProviderInfo struct + Name string + Orchestration string + Version *VersionInfo + type QueueRequest struct + Body []byte + CallbackURL *url.URL + Function string + Header http.Header + Host string + Method string + Path string + QueryString string + QueueName string + type ReadConfig struct + func (ReadConfig) Read(hasEnv HasEnv) (*FaaSConfig, error) + type RequestQueuer interface + Queue func(req *QueueRequest) error + type ScaleServiceRequest struct + Replicas uint64 + ServiceName string + type Secret struct + Name string + Namespace string + RawValue []byte + Value string + type VersionInfo struct + CommitMessage string + Release string + SHA string