Documentation
¶
Index ¶
- Constants
- Variables
- func AddRouterImageOverrideToEnv(env []corev1.EnvVar) []corev1.EnvVar
- func GetCliImageName() string
- func GetControllerImageName() string
- func GetImageRegistry() string
- func GetImageVersion(component string) string
- func GetKubeAdaptorImageDetails() types.ImageDetails
- func GetKubeAdaptorImageName() string
- func GetKubeAdaptorImagePullPolicy() string
- func GetNetworkObserverImageName() string
- func GetOauthProxyImageDetails() types.ImageDetails
- func GetOauthProxyImageName() string
- func GetOauthProxyImagePullPolicy() string
- func GetOauthProxyImageRegistry() string
- func GetPrometheusImageRegistry() string
- func GetPrometheusServerImageName() string
- func GetRouterImageDetails() types.ImageDetails
- func GetRouterImageName() string
- func GetRouterImagePullPolicy() string
- func GetSha(imageName string) string
- func GetVersionFromTag(image string) string
- type SkupperImage
Constants ¶
View Source
const ( RouterImageEnvKey string = "SKUPPER_ROUTER_IMAGE" ControllerImageEnvKey string = "SKUPPER_CONTROLLER_IMAGE" KubeAdaptorImageEnvKey string = "SKUPPER_KUBE_ADAPTOR_IMAGE" NetworkObserverImageEnvKey string = "SKUPPER_NETWORK_OBSERVER_IMAGE" CliImageEnvKey string = "SKUPPER_CLI_IMAGE" PrometheusServerImageEnvKey string = "PROMETHEUS_SERVER_IMAGE" OauthProxyImageEnvKey string = "OAUTH_PROXY_IMAGE" RouterPullPolicyEnvKey string = "SKUPPER_ROUTER_IMAGE_PULL_POLICY" KubeAdaptorPullPolicyEnvKey string = "SKUPPER_KUBE_ADAPTOR_IMAGE_PULL_POLICY" OauthProxyPullPolicyEnvKey string = "OAUTH_PROXY_IMAGE_PULL_POLICY" SkupperImageRegistryEnvKey string = "SKUPPER_IMAGE_REGISTRY" PrometheusImageRegistryEnvKey string = "PROMETHEUS_IMAGE_REGISTRY" OauthProxyRegistryEnvKey string = "OAUTH_PROXY_IMAGE_REGISTRY" )
View Source
const ( DefaultImageRegistry string = "quay.io/skupper" RouterImageName string = "skupper-router:main" ControllerImageName string = "controller:v2-dev" KubeAdaptorImageName string = "kube-adaptor:v2-dev" NetworkObserverImageName string = "network-observer:v2-dev" CliImageName string = "cli:v2-dev" PrometheusImageRegistry string = "quay.io/prometheus" PrometheusServerImageName string = "prometheus:v2.42.0" OauthProxyImageRegistry string = "quay.io/openshift" OauthProxyImageName string = "origin-oauth-proxy:4.14.0" )
Variables ¶
View Source
var ( KubeComponents = []string{"router", "controller", "network-observer", "cli", "prometheus", "origin-oauth-proxy"} NonKubeComponents = []string{"router", "network-observer", "cli", "prometheus", "origin-oauth-proxy"} DefaultComponents = []string{"router", "prometheus", "origin-oauth-proxy"} )
Functions ¶
func GetCliImageName ¶
func GetCliImageName() string
func GetControllerImageName ¶
func GetControllerImageName() string
func GetImageRegistry ¶
func GetImageRegistry() string
func GetImageVersion ¶
func GetKubeAdaptorImageDetails ¶
func GetKubeAdaptorImageDetails() types.ImageDetails
func GetKubeAdaptorImageName ¶
func GetKubeAdaptorImageName() string
func GetKubeAdaptorImagePullPolicy ¶
func GetKubeAdaptorImagePullPolicy() string
func GetNetworkObserverImageName ¶
func GetNetworkObserverImageName() string
func GetOauthProxyImageDetails ¶
func GetOauthProxyImageDetails() types.ImageDetails
func GetOauthProxyImageName ¶
func GetOauthProxyImageName() string
func GetOauthProxyImagePullPolicy ¶
func GetOauthProxyImagePullPolicy() string
func GetOauthProxyImageRegistry ¶
func GetOauthProxyImageRegistry() string
func GetPrometheusImageRegistry ¶
func GetPrometheusImageRegistry() string
func GetPrometheusServerImageName ¶
func GetPrometheusServerImageName() string
func GetRouterImageDetails ¶
func GetRouterImageDetails() types.ImageDetails
func GetRouterImageName ¶
func GetRouterImageName() string
func GetRouterImagePullPolicy ¶
func GetRouterImagePullPolicy() string
func GetVersionFromTag ¶
Types ¶
type SkupperImage ¶
type SkupperImage struct { Name string `json:"name,omitempty"` Digest string `json:"digest,omitempty"` }
func GetImage ¶
func GetImage(imageNames map[string]string, imageRegistry string, enableSHA bool) []SkupperImage
func GetImages ¶
func GetImages(component string, enableSHA bool) []SkupperImage
Click to show internal directories.
Click to hide internal directories.