gcemodel

package
v0.0.0-...-7a4df5e Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVolumeType = "pd-standard"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APILoadBalancerBuilder

type APILoadBalancerBuilder struct {
	*GCEModelContext
	Lifecycle *fi.Lifecycle
}

APILoadBalancerBuilder builds a LoadBalancer for accessing the API

func (*APILoadBalancerBuilder) Build

type AutoscalingGroupModelBuilder

type AutoscalingGroupModelBuilder struct {
	*GCEModelContext

	BootstrapScript *model.BootstrapScript
	Lifecycle       *fi.Lifecycle
}

AutoscalingGroupModelBuilder configures AutoscalingGroup objects

func (*AutoscalingGroupModelBuilder) Build

type ExternalAccessModelBuilder

type ExternalAccessModelBuilder struct {
	*GCEModelContext
	Lifecycle *fi.Lifecycle
}

ExternalAccessModelBuilder configures security group rules for external access (SSHAccess, KubernetesAPIAccess)

func (*ExternalAccessModelBuilder) Build

type FirewallModelBuilder

type FirewallModelBuilder struct {
	*GCEModelContext
	Lifecycle *fi.Lifecycle
}

FirewallModelBuilder configures firewall network objects

func (*FirewallModelBuilder) Build

type GCEModelContext

type GCEModelContext struct {
	*model.KopsModelContext
}

func (*GCEModelContext) GCETagForRole

func (c *GCEModelContext) GCETagForRole(role kops.InstanceGroupRole) string

func (*GCEModelContext) LinkToNetwork

func (b *GCEModelContext) LinkToNetwork() *gcetasks.Network

func (*GCEModelContext) LinkToTargetPool

func (c *GCEModelContext) LinkToTargetPool(id string) *gcetasks.TargetPool

func (*GCEModelContext) NameForFirewallRule

func (c *GCEModelContext) NameForFirewallRule(id string) string

func (*GCEModelContext) NameForForwardingRule

func (c *GCEModelContext) NameForForwardingRule(id string) string

func (*GCEModelContext) NameForIPAddress

func (c *GCEModelContext) NameForIPAddress(id string) string

func (*GCEModelContext) NameForTargetPool

func (c *GCEModelContext) NameForTargetPool(id string) string

func (*GCEModelContext) SafeObjectName

func (c *GCEModelContext) SafeObjectName(name string) string

SafeObjectName returns the object name and cluster name escaped for GCE

type NetworkModelBuilder

type NetworkModelBuilder struct {
	*GCEModelContext
	Lifecycle *fi.Lifecycle
}

NetworkModelBuilder configures network objects

func (*NetworkModelBuilder) Build

type StorageAclBuilder

type StorageAclBuilder struct {
	*GCEModelContext
	Cloud     gce.GCECloud
	Lifecycle *fi.Lifecycle
}

StorageAclBuilder configures storage acls

func (*StorageAclBuilder) Build

Build creates the tasks that set up storage acls

Jump to

Keyboard shortcuts

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