Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authorizer ¶
type Authorizer interface { GetKubeConfig(*clusterv1alpha1.EKS) ([]byte, error) GetClient(*clusterv1alpha1.EKS) (client.Client, error) }
type EKSAuthorizer ¶
type EKSAuthorizer struct {
// contains filtered or unexported fields
}
func (*EKSAuthorizer) GetClient ¶
func (e *EKSAuthorizer) GetClient(eksCluster *clusterv1alpha1.EKS) (client.Client, error)
func (*EKSAuthorizer) GetKubeConfig ¶
func (e *EKSAuthorizer) GetKubeConfig(eksCluster *clusterv1alpha1.EKS) ([]byte, error)
type FakeAuthorizer ¶
type FakeAuthorizer struct {
// contains filtered or unexported fields
}
func NewFake ¶
func NewFake(c client.Client) *FakeAuthorizer
func (*FakeAuthorizer) GetClient ¶
func (f *FakeAuthorizer) GetClient(e *clusterv1alpha1.EKS) (client.Client, error)
func (*FakeAuthorizer) GetKubeConfig ¶
func (f *FakeAuthorizer) GetKubeConfig(e *clusterv1alpha1.EKS) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.