Documentation ¶
Index ¶
- Variables
- func Setup(mgr ctrl.Manager, o controller.Options) error
- type KubeConfigClientMock
- func (k *KubeConfigClientMock) Generate(kubeConfig []byte, token []byte, config *oidc.GenerateConfig) (oidc.GenerateResult, error)
- func (k *KubeConfigClientMock) IsUpToDate(kubeConfig []byte, token []byte) bool
- func (k *KubeConfigClientMock) WithHashes(kubeConfigHash []byte, tokenHash []byte) oidc.KubeConfigClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MockedKubeConfigHash = []byte("KUBECONFIGHASH") MockedTokenHash = []byte("TOKENHASH") )
Functions ¶
Types ¶
type KubeConfigClientMock ¶
func (*KubeConfigClientMock) Generate ¶
func (k *KubeConfigClientMock) Generate(kubeConfig []byte, token []byte, config *oidc.GenerateConfig) (oidc.GenerateResult, error)
func (*KubeConfigClientMock) IsUpToDate ¶
func (k *KubeConfigClientMock) IsUpToDate(kubeConfig []byte, token []byte) bool
func (*KubeConfigClientMock) WithHashes ¶
func (k *KubeConfigClientMock) WithHashes(kubeConfigHash []byte, tokenHash []byte) oidc.KubeConfigClient
Click to show internal directories.
Click to hide internal directories.