role

package
v0.0.0-...-151872f Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 0 Imported by: 4

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role struct {

	// should we use scaling groups or individual ordered instances
	Stateful bool

	AWS *RoleAWS
	// contains filtered or unexported fields
}

func (*Role) DNSName

func (r *Role) DNSName() string

func (*Role) ELBAPIName

func (r *Role) ELBAPIName() string

func (*Role) ELBIngressExternalName

func (r *Role) ELBIngressExternalName() string

func (*Role) HasELB

func (r *Role) HasELB() bool

func (*Role) HasEtcd

func (r *Role) HasEtcd() bool

func (*Role) HasMaster

func (r *Role) HasMaster() bool

func (*Role) HasPrefix

func (r *Role) HasPrefix() bool

func (*Role) HasWorker

func (r *Role) HasWorker() bool

func (*Role) Name

func (r *Role) Name() string

func (*Role) Prefix

func (r *Role) Prefix(delimiter string) string

func (*Role) TFName

func (r *Role) TFName() string

func (*Role) WithName

func (r *Role) WithName(name string) *Role

func (*Role) WithPrefix

func (r *Role) WithPrefix(prefix string) *Role

type RoleAWS

type RoleAWS struct {
	ELBIngress   bool // enable ELB API internal
	ELBAPI       bool // enable ELB ingress external
	ELBAPIPublic bool // ELB public or internal

	EnableInternalELBAccessLogs bool
	EnablePublicELBAccessLogs   bool

	// IAM Permissions
	IAMELBController               bool // Controller access to ELB loadbalancers
	IAMEC2Controller               bool // Controller access to all EC2 resources
	IAMClusterAutoscaler           bool // IAM for cluster autoscaler
	IAMEC2Read                     bool // Read access to all EC2 resources
	IAMEC2ModifyInstanceAttributes bool // Allow Instance to modify all instances parameters, TODO: This should only be allowed on the masters
}

Jump to

Keyboard shortcuts

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