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 { CertsSearcher certs.Interface K8sClient kubernetes.Interface Logger micrologger.Logger }
Config represents the configuration used to create a new kubeconfig resource.
type Resource ¶ added in v0.23.7
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://godoc.org/github.com/giantswarm/operatorkit/resource/k8s/secretresource#StateGetter
func (*Resource) GetCurrentState ¶ added in v0.23.7
Click to show internal directories.
Click to hide internal directories.