Documentation
¶
Index ¶
- func FindKotsadm(namespace string) (string, error)
- func GetCurrentRules(deployOptions kotsadmtypes.DeployOptions, clientset *kubernetes.Clientset) ([]rbacv1.PolicyRule, error)
- func IsPortAvailable(port int) bool
- func PortForward(kubeContext string, localPort int, remotePort int, namespace string, ...) (int, <-chan error, error)
- func ReadKustomizationFromFile(file string) (*kustomizetypes.Kustomization, error)
- func ServiceForward(kubeContext string, localPort int, remotePort int, namespace string, ...) (chan struct{}, error)
- func UpdateRole(existingRole, desiredRole *v1.Role)
- func WaitForKotsadm(namespace string, timeoutWaitingForWeb time.Duration) (string, error)
- func WriteKustomizationToFile(kustomization *kustomizetypes.Kustomization, file string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindKotsadm ¶
func GetCurrentRules ¶
func GetCurrentRules(deployOptions kotsadmtypes.DeployOptions, clientset *kubernetes.Clientset) ([]rbacv1.PolicyRule, error)
func IsPortAvailable ¶
func PortForward ¶
func ReadKustomizationFromFile ¶
func ReadKustomizationFromFile(file string) (*kustomizetypes.Kustomization, error)
func ServiceForward ¶
func UpdateRole ¶ added in v1.12.0
func WaitForKotsadm ¶
func WriteKustomizationToFile ¶
func WriteKustomizationToFile(kustomization *kustomizetypes.Kustomization, file string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.