Documentation ¶
Index ¶
- Constants
- func GetPod(ctx context.Context, client *kubernetes.Clientset, namespace, name string, ...) (*corev1.Pod, error)
- func LoadAuthInfo(c *cli.Context, ctx context.Context) (*redis.AuthInfo, error)
- func LoadMonitorAuthInfo(c *cli.Context, ctx context.Context, client *kubernetes.Clientset) (*redis.AuthInfo, error)
- func LoadTLSCofig(tlsKeyFile, tlsCertFile string) (*tls.Config, error)
- func NewOwnerReference(ctx context.Context, client *kubernetes.Clientset, namespace, podName string) ([]metav1.OwnerReference, error)
- func RetryGet(f func() error, steps ...int) error
- func RetryGetService(ctx context.Context, clientset *kubernetes.Clientset, ...) (*corev1.Service, error)
Constants ¶
View Source
const ( DefaultSecretMountPath = "/account/password" // #nosec G101 InjectedPasswordPath = "/tmp/newpass" // #nosec G101 )
Variables ¶
This section is empty.
Functions ¶
func LoadMonitorAuthInfo ¶
func NewOwnerReference ¶
func NewOwnerReference(ctx context.Context, client *kubernetes.Clientset, namespace, podName string) ([]metav1.OwnerReference, error)
NewOwnerReference
func RetryGetService ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.