Documentation ¶
Index ¶
- func CloneJob(clientset *kubernetes.Clientset, fromNamespace string, from string, ...) error
- func GetHubDBPassword(kubeClient *kubernetes.Clientset, namespace string, name string) (string, string, error)
- func GetHubVersion(environs []string) string
- func GetLoadBalancerIPAddress(kubeClient *kubernetes.Clientset, namespace string, serviceName string) (string, error)
- func GetNodePortIPAddress(kubeClient *kubernetes.Clientset, namespace string, serviceName string) (string, error)
- func UpdateState(h *blackduckclient.Clientset, name string, namespace string, ...) (*blackduckv1.Blackduck, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneJob ¶
func CloneJob(clientset *kubernetes.Clientset, fromNamespace string, from string, toNamespace string, to string, password string) error
CloneJob create a Kube job to clone a postgres instance
func GetHubDBPassword ¶
func GetHubDBPassword(kubeClient *kubernetes.Clientset, namespace string, name string) (string, string, error)
GetHubDBPassword will retrieve the blackduck and blackduck_user db password
func GetHubVersion ¶
GetHubVersion will return the Blackduck version from the list of Blackduck environment variables
func GetLoadBalancerIPAddress ¶
func GetLoadBalancerIPAddress(kubeClient *kubernetes.Clientset, namespace string, serviceName string) (string, error)
GetLoadBalancerIPAddress will return the load balance service ip address
func GetNodePortIPAddress ¶
func GetNodePortIPAddress(kubeClient *kubernetes.Clientset, namespace string, serviceName string) (string, error)
GetNodePortIPAddress will return the node port service ip address
func UpdateState ¶
func UpdateState(h *blackduckclient.Clientset, name string, namespace string, statusState string, error error) (*blackduckv1.Blackduck, error)
UpdateState will be used to update the hub object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.