Documentation
¶
Index ¶
- Constants
- type Environment
- func (e *Environment) DefaultPublicKeyPath() string
- func (e *Environment) InternalDockerhubMirror() string
- func (e *Environment) InternalRegistry() string
- func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)
- func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)
- func (e *Environment) OpenShiftPullSecretPath() string
Constants ¶
View Source
const ( // local Infra (local) DDInfraDefaultPublicKeyPath = "local/defaultPublicKeyPath" DDInfraOpenShiftPullSecretPath = "local/openshift/pullSecretPath" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
*config.CommonEnvironment
Namer namer.Namer
}
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context) (Environment, error)
func (*Environment) DefaultPublicKeyPath ¶
func (e *Environment) DefaultPublicKeyPath() string
Common
func (*Environment) InternalDockerhubMirror ¶
func (e *Environment) InternalDockerhubMirror() string
InternalDockerhubMirror returns the internal Dockerhub mirror.
func (*Environment) InternalRegistry ¶
func (e *Environment) InternalRegistry() string
InternalRegistry returns the internal registry.
func (*Environment) InternalRegistryFullImagePathExists ¶
func (e *Environment) InternalRegistryFullImagePathExists(_ string) (bool, error)
InternalRegistryFullImagePathExists returns true if the image and tag exists in the internal registry.
func (*Environment) InternalRegistryImageTagExists ¶
func (e *Environment) InternalRegistryImageTagExists(_, _ string) (bool, error)
InternalRegistryImageTagExists returns true if the image tag exists in the internal registry.
func (*Environment) OpenShiftPullSecretPath ¶
func (e *Environment) OpenShiftPullSecretPath() string
OpenShiftPullSecretPath returns the path to the OpenShift pull secret file
Click to show internal directories.
Click to hide internal directories.