utils

package
v1.0.3-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackendLabel added in v0.0.40

func GetBackendLabel(provider string) string

GetBackendLabel renders label key for provider.

func MapConditionToHealthStatus added in v0.0.27

func MapConditionToHealthStatus(condition commonv1.Condition) apisv1alpha1.HealthStatus

MapConditionToHealthStatus takes a crossplane condition and returns the corresponding health status, returning Unknown if the condition does not map to any health status.

func MissingStrings added in v0.0.17

func MissingStrings(sliceA, sliceB []string) []string

MissingStrings returns a slice of all strings that exist in sliceA, but not in sliceB.

func ResolveHostBase added in v0.0.42

func ResolveHostBase(hostBase string, useHTTPS bool) string

ResolveHostBase returns the hostbase address with the appropriate http(s) prefix.

Types

This section is empty.

Directories

Path Synopsis
Package randomstring provides utilities for generating random strings.
Package randomstring provides utilities for generating random strings.
randomstringfakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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