Documentation ¶
Index ¶
- func GenerateACL(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (ret []string, err error)
- func GetConfigmap(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (*corev1.ConfigMap, error)
- func GetSecret(ctx context.Context, client *kubernetes.Clientset, namespace, name string) (*corev1.Secret, error)
- func GetUserPassword(ctx context.Context, client *kubernetes.Clientset, ...) (string, error)
- func LoadACLUsersFromConfigmap(ctx context.Context, clientset *kubernetes.Clientset, cm *v1.ConfigMap) ([]*user.User, error)
- func NewCommand(ctx context.Context) *cli.Command
- func Ping(ctx context.Context, addr string, authInfo redis.AuthInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateACL ¶
func GetConfigmap ¶
func GetUserPassword ¶
func GetUserPassword(ctx context.Context, client *kubernetes.Clientset, namespace, name, username, secretName string) (string, error)
GetUserPassword
func LoadACLUsersFromConfigmap ¶
func LoadACLUsersFromConfigmap(ctx context.Context, clientset *kubernetes.Clientset, cm *v1.ConfigMap) ([]*user.User, error)
LoadACLUsersFromConfigmap load acls from configmap
func NewCommand ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.