utils

package
v0.0.0-...-492097b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(list []string, s string) bool

func CustomizeEnvSSO

func CustomizeEnvSSO(pts *corev1.PodTemplateSpec, instance *webspheretraditionalv1alpha1.WebsphereTraditionalApplication, client client.Client, isOpenShift bool) error

CustomizeEnvSSO Process the configuration for SSO login providers

func CustomizeWebsphereTraditionalEnv

func CustomizeWebsphereTraditionalEnv(pts *corev1.PodTemplateSpec, wt *webspheretraditionalv1alpha1.WebsphereTraditionalApplication, client client.Client) error

CustomizeLibertyEnv adds configured env variables appending configured liberty settings

func ExecuteCommandInContainer

func ExecuteCommandInContainer(config *rest.Config, podName, podNamespace, containerName string, command []string) (string, error)

ExecuteCommandInContainer Execute command inside a container in a pod through API

func Remove

func Remove(list []string, s string) []string

func Validate

Validate if the WebsphereTraditionalApplication is valid

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL