Versions in this module Expand all Collapse all v1 v1.11.0 Dec 24, 2018 Changes in this version + func JoinSuffixes(src SecurityGroupInfo, dest SecurityGroupInfo) string type KopsModelContext + func (b *KopsModelContext) GetSecurityGroups(role kops.InstanceGroupRole) ([]SecurityGroupInfo, error) + type SecurityGroupInfo struct + Name string + Suffix string + Task *awstasks.SecurityGroup v1.10.0 Aug 16, 2018 Changes in this version + const BastionELBDefaultIdleTimeout + const BastionELBSecurityGroupPrefix + const DefaultALIEtcdVolumeType + const DefaultAWSEtcdVolumeIops + const DefaultAWSEtcdVolumeType + const DefaultEtcdVolumeSize + const DefaultGCEEtcdVolumeType + const RolePolicyTemplate + var UseLegacyELBName = featureflag.New("UseLegacyELBName", featureflag.Bool(false)) + func NewTemplateResource(key string, definition string, functions template.FuncMap, context interface{}) (*templateResource, error) + type BastionModelBuilder struct + Lifecycle *fi.Lifecycle + SecurityLifecycle *fi.Lifecycle + func (b *BastionModelBuilder) Build(c *fi.ModelBuilderContext) error + type BootstrapScript struct + NodeUpConfigBuilder func(ig *kops.InstanceGroup) (*nodeup.Config, error) + NodeUpSource string + NodeUpSourceHash string + func (b *BootstrapScript) KubeEnv(ig *kops.InstanceGroup) (string, error) + func (b *BootstrapScript) ResourceNodeUp(ig *kops.InstanceGroup, cluster *kops.Cluster) (*fi.ResourceHolder, error) + type DNSModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *DNSModelBuilder) Build(c *fi.ModelBuilderContext) error + type ExternalAccessModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *ExternalAccessModelBuilder) Build(c *fi.ModelBuilderContext) error + type FirewallModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *FirewallModelBuilder) Build(c *fi.ModelBuilderContext) error + type IAMModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *IAMModelBuilder) Build(c *fi.ModelBuilderContext) error + type KopsModelContext struct + Cluster *kops.Cluster + InstanceGroups []*kops.InstanceGroup + Region string + SSHPublicKeys [][]byte + func (b *KopsModelContext) AutoscalingGroupName(ig *kops.InstanceGroup) string + func (b *KopsModelContext) ELBName(prefix string) string + func (b *KopsModelContext) ELBSecurityGroupName(prefix string) string + func (b *KopsModelContext) IAMName(role kops.InstanceGroupRole) string + func (b *KopsModelContext) InstanceName(ig *kops.InstanceGroup, suffix string) string + func (b *KopsModelContext) LinkToAutoscalingGroup(ig *kops.InstanceGroup) *awstasks.AutoscalingGroup + func (b *KopsModelContext) LinkToDNSZone() *awstasks.DNSZone + func (b *KopsModelContext) LinkToELB(prefix string) *awstasks.LoadBalancer + func (b *KopsModelContext) LinkToELBSecurityGroup(prefix string) *awstasks.SecurityGroup + func (b *KopsModelContext) LinkToIAMInstanceProfile(ig *kops.InstanceGroup) (*awstasks.IAMInstanceProfile, error) + func (b *KopsModelContext) LinkToPrivateRouteTableInZone(zoneName string) *awstasks.RouteTable + func (b *KopsModelContext) LinkToPublicSubnetInZone(zoneName string) (*awstasks.Subnet, error) + func (b *KopsModelContext) LinkToSSHKey() (*awstasks.SSHKey, error) + func (b *KopsModelContext) LinkToSecurityGroup(role kops.InstanceGroupRole) *awstasks.SecurityGroup + func (b *KopsModelContext) LinkToSubnet(z *kops.ClusterSubnetSpec) *awstasks.Subnet + func (b *KopsModelContext) LinkToUtilitySubnetInZone(zoneName string) (*awstasks.Subnet, error) + func (b *KopsModelContext) LinkToVPC() *awstasks.VPC + func (b *KopsModelContext) NameForDNSZone() string + func (b *KopsModelContext) NamePrivateRouteTableInZone(zoneName string) string + func (b *KopsModelContext) SecurityGroupName(role kops.InstanceGroupRole) string + func (c *KopsModelContext) IsKubernetesGTE(version string) bool + func (c *KopsModelContext) KubernetesVersion() semver.Version + func (c *KopsModelContext) NodePortRange() (utilnet.PortRange, error) + func (c *KopsModelContext) SSHKeyName() (string, error) + func (c *KopsModelContext) UseEtcdTLS() bool + func (c *KopsModelContext) WellKnownServiceIP(id int) (net.IP, error) + func (m *KopsModelContext) CloudTags(name string, shared bool) map[string]string + func (m *KopsModelContext) CloudTagsForInstanceGroup(ig *kops.InstanceGroup) (map[string]string, error) + func (m *KopsModelContext) ClusterName() string + func (m *KopsModelContext) FindInstanceGroup(name string) *kops.InstanceGroup + func (m *KopsModelContext) FindSubnet(name string) *kops.ClusterSubnetSpec + func (m *KopsModelContext) FindZonesForInstanceGroup(ig *kops.InstanceGroup) ([]string, error) + func (m *KopsModelContext) GatherSubnets(ig *kops.InstanceGroup) ([]*kops.ClusterSubnetSpec, error) + func (m *KopsModelContext) GetELBName32(prefix string) string + func (m *KopsModelContext) MasterInstanceGroups() []*kops.InstanceGroup + func (m *KopsModelContext) NodeInstanceGroups() []*kops.InstanceGroup + func (m *KopsModelContext) UseBootstrapTokens() bool + func (m *KopsModelContext) UseLoadBalancerForAPI() bool + func (m *KopsModelContext) UseLoadBalancerForInternalAPI() bool + func (m *KopsModelContext) UsePrivateDNS() bool + func (m *KopsModelContext) UsesBastionDns() bool + func (m *KopsModelContext) UsesSSHBastion() bool + type MasterVolumeBuilder struct + Lifecycle *fi.Lifecycle + func (b *MasterVolumeBuilder) Build(c *fi.ModelBuilderContext) error + type NetworkModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *NetworkModelBuilder) Build(c *fi.ModelBuilderContext) error + type PKIModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *PKIModelBuilder) Build(c *fi.ModelBuilderContext) error + type Protocol int + const ProtocolIPIP + type SSHKeyModelBuilder struct + Lifecycle *fi.Lifecycle + func (b *SSHKeyModelBuilder) Build(c *fi.ModelBuilderContext) error