package
0.0.0-20200430212113-5d42de7a9204
Repository: https://github.com/blackducksoftware/synopsys-operator.git
Documentation: pkg.go.dev

# Functions

DetermineClusterClients returns bool values for which client to use.
Execute adds all child commands to the root command and sets flags appropriately.
KubectlApplyRuntimeObjects creates runtime objects by converting them to bytes and passing them through the kubectl command.
KubectlDeleteRuntimeObjects deletes runtime objects by converting them to bytes and passing them through the kubectl command.
PrintComponent will print the interface in either json or yaml format.
PrintComponentListKube does.
PrintComponents outputs components for a CRD in the correct format for 'kubectl create -f <file>'.
PrintResource prints a Resource as yaml or json.
RunKubeCmd is a simple wrapper to oc/kubectl exec that captures output.
RunKubeCmdWithStdin is a simple wrapper to kubectl exec command with standard input.
RunKubeEditorCmd is a wrapper for oc/kubectl but redirects input/output to the user - ex: let user control text editor.

# Constants

DefaultMetricsImage is the Metrics image deployed with Synopsys Operator by default.
DefaultOperatorNamespace is the default namespace of Synopsys Operator.
Constants for the PrintFormats.
Constants for the PrintFormats.

# Interfaces

CRSpecBuilderFromCobraFlagsInterface requires Cobra commands, Cobra flags and other values to create a Spec for a Custom Resource.

# Type aliases

PrintFormat represents the format to print the struct.