Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pscheidl/rust-kubernetes-operator-example
/ functions
Functions
9 in github.com/Pscheidl/rust-kubernetes-operator-example
⨍
Functions
9
◇
Types & classes
4
↓ 2 callers
Function
delete
Deletes an existing deployment. # Arguments: - `client` - A Kubernetes client to delete the Deployment with - `name` - Name of the deployment to dele
src/echo.rs:77
↓ 1 callers
Function
add
Adds a finalizer record into an `Echo` kind of resource. If the finalizer already exists, this action has no effect. # Arguments: - `client` - Kubern
src/finalizer.rs:15
↓ 1 callers
Function
deploy
Creates a new deployment of `n` pods with the `inanimate/echo-server:latest` docker image inside, where `n` is the number of `replicas` given. Note: I
src/echo.rs:16
↓ 1 callers
Function
determine_action
Resources arrives into reconciliation queue in a certain state. This function looks at the state of given `Echo` resource and decides which actions ne
src/main.rs:137
Function
delete
Removes all finalizers from an `Echo` resource. If there are no finalizers already, this action has no effect. # Arguments: - `client` - Kubernetes c
src/finalizer.rs:36
Function
main
()
src/main.rs:17
Method
new
Constructs a new instance of ContextData. # Arguments: - `client`: A Kubernetes client to make Kubernetes REST API requests with. Resources will be c
src/main.rs:61
Function
on_error
Actions to be taken when a reconciliation fails - for whatever reason. Prints out the error to `stderr` and requeues the resource for another reconcil
src/main.rs:160
Function
reconcile
(echo: Arc<Echo>, context: Arc<ContextData>)
src/main.rs:76