utils

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: EPL-1.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureServiceability

func ConfigureServiceability(pts *corev1.PodTemplateSpec, la *openlibertyv1beta1.OpenLibertyApplication)

ConfigureServiceability setups the shared-storage for serviceability

func CreateServiceabilityPVC

func CreateServiceabilityPVC(instance *openlibertyv1beta1.OpenLibertyApplication) *corev1.PersistentVolumeClaim

CreateServiceabilityPVC creates PersistentVolumeClaim for Serviceability

func CustomizeEnvSSO

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

CustomizeEnvSSO Process the configuration for SSO login providers

func CustomizeLibertyEnv

func CustomizeLibertyEnv(pts *corev1.PodTemplateSpec, la *openlibertyv1beta1.OpenLibertyApplication)

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 RegisterWithOidcProvider

func RegisterWithOidcProvider(regData RegisterData) (string, string, error)

func Validate

Validate if the OpenLibertyApplication is valid

Types

type RegisterData

type RegisterData struct {
	DiscoveryURL            string
	RouteURL                string
	RedirectToRPHostAndPort string
	ProviderId              string
	Scopes                  string
	GrantTypes              string
	InitialAccessToken      string
	InitialClientId         string
	InitialClientSecret     string
	RegistrationURL         string
	InsecureTLS             bool
}

Jump to

Keyboard shortcuts

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