Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGitSuffixIfNecessary ¶
AddGitSuffixIfNecessary will append .git to URL if necessary
func GetFullName ¶
GetFullName generates a command's full name based on its parent's full name and its own name
func MaybeCompletePrefix ¶
MaybeCompletePrefix adds a hyphen on the end of the prefix if it doesn't have one to make prefix-generated names look a bit nicer.
func RemoveEmptyStrings ¶
RemoveEmptyStrings returns a slice with all the empty strings removed from the source slice.
Types ¶
type Client ¶
type Client struct { KubeClient kubernetes.Interface OperatorClient operatorsclientset.OperatorsV1alpha1Interface }
Client represents a client for K8s
func (*Client) CheckIfArgoCDExists ¶
CheckIfArgoCDExists checks if ArgoCD operator is installed
func (*Client) CheckIfPipelinesExists ¶
CheckIfPipelinesExists checks is OpenShift pipelines operator is installed
Click to show internal directories.
Click to hide internal directories.