Documentation ¶
Index ¶
- Constants
- Variables
- func WithCommonEnvironment(e *config.CommonEnvironment) func(*Environment)
- type DDInfraEKSPodSubnets
- type Environment
- func (e *Environment) DefaultARMInstanceType() string
- func (e *Environment) DefaultFakeintakeECSArns() []string
- func (e *Environment) DefaultFakeintakeLBs() []FakeintakeLBConfig
- func (e *Environment) DefaultInstanceProfileName() string
- func (e *Environment) DefaultInstanceStorageSize() int
- func (e *Environment) DefaultInstanceType() string
- func (e *Environment) DefaultKeyPairName() string
- func (e *Environment) DefaultPrivateKeyPassword() string
- func (e *Environment) DefaultPrivateKeyPath() string
- func (e *Environment) DefaultPublicKeyPath() string
- func (e *Environment) DefaultSecurityGroups() []string
- func (e *Environment) DefaultShutdownBehavior() string
- func (e *Environment) DefaultSubnets() []string
- func (e *Environment) DefaultVPCID() string
- func (e *Environment) ECSExecKMSKeyID() string
- func (e *Environment) ECSFakeintakeLBBaseHost() pulumi.StringOutput
- func (e *Environment) ECSFakeintakeLBListenerArn() pulumi.StringOutput
- func (e *Environment) ECSFargateCapacityProvider() bool
- func (e *Environment) ECSFargateFakeintakeClusterArn() pulumi.StringOutput
- func (e *Environment) ECSInstanceProfile() string
- func (e *Environment) ECSLinuxBottlerocketNodeGroup() bool
- func (e *Environment) ECSLinuxECSOptimizedARMNodeGroup() bool
- func (e *Environment) ECSLinuxECSOptimizedNodeGroup() bool
- func (e *Environment) ECSServicePublicIP() bool
- func (e *Environment) ECSTaskExecutionRole() string
- func (e *Environment) ECSTaskRole() string
- func (e *Environment) ECSWindowsNodeGroup() bool
- func (e *Environment) EKSAccountAdminSSORole() string
- func (e *Environment) EKSAllowedInboundPrefixLists() []string
- func (e *Environment) EKSAllowedInboundSecurityGroups() []string
- func (e *Environment) EKSBottlerocketNodeGroup() bool
- func (e *Environment) EKSFargateNamespace() string
- func (e *Environment) EKSLinuxARMNodeGroup() bool
- func (e *Environment) EKSLinuxNodeGroup() bool
- func (e *Environment) EKSPODSubnets() []DDInfraEKSPodSubnets
- func (e *Environment) EKSReadOnlySSORole() string
- func (e *Environment) EKSWindowsNodeGroup() bool
- func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment
- func (e *Environment) InternalDockerhubMirror() string
- func (e *Environment) InternalRegistry() string
- func (e *Environment) InternalRegistryFullImagePathExists(fullImagePath string) (bool, error)
- func (e *Environment) InternalRegistryImageTagExists(image, tag string) (bool, error)
- func (e *Environment) Profile() string
- func (e *Environment) RandomSubnets() pulumi.StringArrayOutput
- func (e *Environment) Region() string
- type FakeintakeLBConfig
Constants ¶
View Source
const ( // AWS Infra DDInfraDefaultVPCIDParamName = "aws/defaultVPCID" DDInfraDefaultSubnetsParamName = "aws/defaultSubnets" DDInfraDefaultSecurityGroupsParamName = "aws/defaultSecurityGroups" DDInfraDefaultInstanceTypeParamName = "aws/defaultInstanceType" DDInfraDefaultInstanceProfileParamName = "aws/defaultInstanceProfile" DDInfraDefaultARMInstanceTypeParamName = "aws/defaultARMInstanceType" DDInfraDefaultKeyPairParamName = "aws/defaultKeyPairName" DDinfraDefaultPublicKeyPath = "aws/defaultPublicKeyPath" DDInfraDefaultPrivateKeyPath = "aws/defaultPrivateKeyPath" DDInfraDefaultPrivateKeyPassword = "aws/defaultPrivateKeyPassword" DDInfraDefaultInstanceStorageSize = "aws/defaultInstanceStorageSize" DDInfraDefaultShutdownBehavior = "aws/defaultShutdownBehavior" DDInfraDefaultInternalRegistry = "aws/defaultInternalRegistry" DDInfraDefaultInternalDockerhubMirror = "aws/defaultInternalDockerhubMirror" // AWS ECS DDInfraEcsExecKMSKeyID = "aws/ecs/execKMSKeyID" DDInfraEcsFargateFakeintakeClusterArns = "aws/ecs/fargateFakeintakeClusterArns" DDInfraEcsFakeintakeLBs = "aws/ecs/defaultfakeintakeLBs" DDInfraEcsTaskExecutionRole = "aws/ecs/taskExecutionRole" DDInfraEcsTaskRole = "aws/ecs/taskRole" DDInfraEcsInstanceProfile = "aws/ecs/instanceProfile" DDInfraEcsServiceAllocatePublicIP = "aws/ecs/serviceAllocatePublicIP" DDInfraEcsFargateCapacityProvider = "aws/ecs/fargateCapacityProvider" DDInfraEcsLinuxECSOptimizedNodeGroup = "aws/ecs/linuxECSOptimizedNodeGroup" DDInfraEcsLinuxECSOptimizedARMNodeGroup = "aws/ecs/linuxECSOptimizedARMNodeGroup" DDInfraEcsLinuxBottlerocketNodeGroup = "aws/ecs/linuxBottlerocketNodeGroup" DDInfraEcsWindowsLTSCNodeGroup = "aws/ecs/windowsLTSCNodeGroup" // AWS EKS DDInfraEKSPODSubnets = "aws/eks/podSubnets" DDInfraEksAllowedInboundSecurityGroups = "aws/eks/inboundSecurityGroups" DDInfraEksAllowedInboundPrefixList = "aws/eks/inboundPrefixLists" DDInfraEksFargateNamespace = "aws/eks/fargateNamespace" DDInfraEksLinuxNodeGroup = "aws/eks/linuxNodeGroup" DDInfraEksLinuxARMNodeGroup = "aws/eks/linuxARMNodeGroup" DDInfraEksLinuxBottlerocketNodeGroup = "aws/eks/linuxBottlerocketNodeGroup" DDInfraEksWindowsNodeGroup = "aws/eks/windowsNodeGroup" DDInfraEksAccountAdminSSORole = "aws/eks/accountAdminSSORole" DDInfraEksReadOnlySSORole = "aws/eks/readOnlySSORole" )
Variables ¶
View Source
var ( EnabledString = pulumi.String("ENABLED") DisabledString = pulumi.String("DISABLED") )
Functions ¶
func WithCommonEnvironment ¶
func WithCommonEnvironment(e *config.CommonEnvironment) func(*Environment)
Types ¶
type DDInfraEKSPodSubnets ¶
type Environment ¶
type Environment struct { *config.CommonEnvironment Namer namer.Namer // contains filtered or unexported fields }
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, options ...func(*Environment)) (Environment, error)
func (*Environment) DefaultARMInstanceType ¶
func (e *Environment) DefaultARMInstanceType() string
func (*Environment) DefaultFakeintakeECSArns ¶
func (e *Environment) DefaultFakeintakeECSArns() []string
func (*Environment) DefaultFakeintakeLBs ¶
func (e *Environment) DefaultFakeintakeLBs() []FakeintakeLBConfig
func (*Environment) DefaultInstanceProfileName ¶
func (e *Environment) DefaultInstanceProfileName() string
func (*Environment) DefaultInstanceStorageSize ¶
func (e *Environment) DefaultInstanceStorageSize() int
func (*Environment) DefaultInstanceType ¶
func (e *Environment) DefaultInstanceType() string
func (*Environment) DefaultKeyPairName ¶
func (e *Environment) DefaultKeyPairName() string
func (*Environment) DefaultPrivateKeyPassword ¶
func (e *Environment) DefaultPrivateKeyPassword() string
func (*Environment) DefaultPrivateKeyPath ¶
func (e *Environment) DefaultPrivateKeyPath() string
func (*Environment) DefaultPublicKeyPath ¶
func (e *Environment) DefaultPublicKeyPath() string
func (*Environment) DefaultSecurityGroups ¶
func (e *Environment) DefaultSecurityGroups() []string
func (*Environment) DefaultShutdownBehavior ¶
func (e *Environment) DefaultShutdownBehavior() string
shutdown behavior can be 'terminate' or 'stop'
func (*Environment) DefaultSubnets ¶
func (e *Environment) DefaultSubnets() []string
func (*Environment) DefaultVPCID ¶
func (e *Environment) DefaultVPCID() string
func (*Environment) ECSFakeintakeLBBaseHost ¶
func (e *Environment) ECSFakeintakeLBBaseHost() pulumi.StringOutput
func (*Environment) ECSFakeintakeLBListenerArn ¶
func (e *Environment) ECSFakeintakeLBListenerArn() pulumi.StringOutput
func (*Environment) ECSFargateCapacityProvider ¶
func (e *Environment) ECSFargateCapacityProvider() bool
func (*Environment) ECSFargateFakeintakeClusterArn ¶
func (e *Environment) ECSFargateFakeintakeClusterArn() pulumi.StringOutput
func (*Environment) ECSInstanceProfile ¶
func (e *Environment) ECSInstanceProfile() string
func (*Environment) ECSLinuxBottlerocketNodeGroup ¶
func (e *Environment) ECSLinuxBottlerocketNodeGroup() bool
func (*Environment) ECSLinuxECSOptimizedARMNodeGroup ¶
func (e *Environment) ECSLinuxECSOptimizedARMNodeGroup() bool
func (*Environment) ECSLinuxECSOptimizedNodeGroup ¶
func (e *Environment) ECSLinuxECSOptimizedNodeGroup() bool
func (*Environment) ECSServicePublicIP ¶
func (e *Environment) ECSServicePublicIP() bool
func (*Environment) ECSTaskExecutionRole ¶
func (e *Environment) ECSTaskExecutionRole() string
func (*Environment) ECSTaskRole ¶
func (e *Environment) ECSTaskRole() string
func (*Environment) ECSWindowsNodeGroup ¶
func (e *Environment) ECSWindowsNodeGroup() bool
func (*Environment) EKSAccountAdminSSORole ¶
func (e *Environment) EKSAccountAdminSSORole() string
func (*Environment) EKSAllowedInboundPrefixLists ¶
func (e *Environment) EKSAllowedInboundPrefixLists() []string
func (*Environment) EKSAllowedInboundSecurityGroups ¶
func (e *Environment) EKSAllowedInboundSecurityGroups() []string
func (*Environment) EKSBottlerocketNodeGroup ¶
func (e *Environment) EKSBottlerocketNodeGroup() bool
func (*Environment) EKSFargateNamespace ¶
func (e *Environment) EKSFargateNamespace() string
func (*Environment) EKSLinuxARMNodeGroup ¶
func (e *Environment) EKSLinuxARMNodeGroup() bool
func (*Environment) EKSLinuxNodeGroup ¶
func (e *Environment) EKSLinuxNodeGroup() bool
func (*Environment) EKSPODSubnets ¶
func (e *Environment) EKSPODSubnets() []DDInfraEKSPodSubnets
func (*Environment) EKSReadOnlySSORole ¶
func (e *Environment) EKSReadOnlySSORole() string
func (*Environment) EKSWindowsNodeGroup ¶
func (e *Environment) EKSWindowsNodeGroup() bool
func (*Environment) GetCommonEnvironment ¶
func (e *Environment) GetCommonEnvironment() *config.CommonEnvironment
func (*Environment) InternalDockerhubMirror ¶
func (e *Environment) InternalDockerhubMirror() string
func (*Environment) InternalRegistry ¶
func (e *Environment) InternalRegistry() string
Cross Cloud Provider config
func (*Environment) InternalRegistryFullImagePathExists ¶
func (e *Environment) InternalRegistryFullImagePathExists(fullImagePath string) (bool, error)
func (*Environment) InternalRegistryImageTagExists ¶
func (e *Environment) InternalRegistryImageTagExists(image, tag string) (bool, error)
Check if the image exists in the internal registry
func (*Environment) Profile ¶
func (e *Environment) Profile() string
func (*Environment) RandomSubnets ¶
func (e *Environment) RandomSubnets() pulumi.StringArrayOutput
type FakeintakeLBConfig ¶
type FakeintakeLBConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.