Documentation ¶
Index ¶
Constants ¶
View Source
const ( SecretKey = "ucp_secret" RadiusNamespace = "radius-system" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
K8sClient controller_runtime.Client
}
Client implements secret storage for k8s.
func (*Client) Delete ¶
Delete validates the name argument and deletes the secret object from the Kubernetes cluster, returning an error if the secret object is not found or if any other error occurs.
func (*Client) Get ¶
Get checks if the provided name is valid and if it exists in the RadiusNamespace, and returns the data associated with the secret if found, otherwise it returns an error.
Click to show internal directories.
Click to hide internal directories.