package
0.0.0-20250305161301-96fbd44bcd00
Repository: https://github.com/openfaas/faas-netes.git
Documentation: pkg.go.dev
# Functions
AsFunctionStatus reads a Deployment object into an OpenFaaS FunctionStatus, parsing the Deployment and Container spec into a simplified summary of the Function.
GetLogs returns a channel of logs for the given function.
isNotFound tests if the error is a kubernetes API error that indicates that the object was not found or does not exist.
No description provided by the author
No description provided by the author
No description provided by the author
NewLogRequestor returns a new logs.Requestor that uses kail to select and follow pod logs.
NewSecretsClient constructs a new SecretsClient using the provided Kubernetes client.
ReadFunctionSecretsSpec parses the name of the required function secrets.
# Constants
EnvProcessName is the name of the env variable containing the function process.
LogBufferSize number of log messages that may be buffered.
nonRootFunctionuserID is the user id that is set when DeployHandlerConfig.SetNonRootUser is true.
# Structs
DeploymentConfig holds the global deployment options.
FunctionFactory is handling Kubernetes operations to materialise functions into deployments and services.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log is the object which will be used together with the template to generate the output.
LogRequestor implements the Requestor interface for k8s.
No description provided by the author
ProbeConfig holds the deployment liveness and readiness options.
# Interfaces
SecretInterfacer exposes the SecretInterface getter for the k8s client.
SecretsClient exposes the standardized CRUD behaviors for Kubernetes secrets.