Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Name is the identifier of the resource.
Name = "kubeconfig"
)
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfigError ¶
IsInvalidConfigError asserts invalidConfigError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
Types ¶
type Config ¶
type Config struct { BaseDomain basedomain.Interface CertsSearcher certs.Interface K8sClient kubernetes.Interface Logger micrologger.Logger Tenant tenantcluster.Interface }
Config represents the configuration used to create a new kubeconfig resource.
type Resource ¶
type Resource struct {
// contains filtered or unexported fields
}
Resource implements the kubeconfig resource.
func New ¶
New creates a new configured secret state getter resource managing kube configs.
https://pkg.go.dev/github.com/giantswarm/operatorkit/v4/pkg/resource/k8s/secretresource#StateGetter
func (*Resource) GetCurrentState ¶
Click to show internal directories.
Click to hide internal directories.