Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthClient ¶
type AuthClient struct {
V1 AuthClientV1
}
AuthClient represents the concrete clientset implementation
func NewForConfig ¶
func NewForConfig(c *AuthClientConfig) (*AuthClient, error)
NewForConfig returns a new clientset for a given configuration
func (*AuthClient) ClientV1 ¶
func (cs *AuthClient) ClientV1() AuthClientV1
ClientV1 returns the Clientsets V1 client
type AuthClientConfig ¶
AuthClientConfig represents the clientset configuration
type AuthClientV1 ¶
type AuthClientV1 interface {
Login(username, password string) (string, error)
Authenticate(bearerToken string) (bool, error)
}
AuthClientV1 represents a v1 authproxy client
type ClientSet ¶
type ClientSet interface {
ClientV1() AuthClientV1
}
ClientSet represents a new clientset for authproxy
Click to show internal directories.
Click to hide internal directories.