mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
18 lines
298 B
Go
18 lines
298 B
Go
package kubernetes
|
|
|
|
import (
|
|
"sigs.k8s.io/controller-runtime/pkg/client"
|
|
)
|
|
|
|
type KubernetesClient struct {
|
|
client client.Client
|
|
owner Owner
|
|
}
|
|
|
|
func NewKubernetesClient(c client.Client, owner Owner) (*KubernetesClient, error) {
|
|
return &KubernetesClient{
|
|
client: c,
|
|
owner: owner,
|
|
}, nil
|
|
}
|