instance_pool

package
v0.0.0-...-a80b3ab Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright Jetstack Ltd. See LICENSE for details.

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 InstancePool

type InstancePool struct {
	// contains filtered or unexported fields
}

func NewFromConfig

func NewFromConfig(cluster interfaces.Cluster, conf *clusterv1alpha1.InstancePool) (*InstancePool, error)

func (*InstancePool) AmazonAdditionalIAMPolicies

func (n *InstancePool) AmazonAdditionalIAMPolicies() []string

func (*InstancePool) AmazonAdditionalIAMPoliciesString

func (n *InstancePool) AmazonAdditionalIAMPoliciesString() string

func (*InstancePool) AmazonEBSEncrypted

func (n *InstancePool) AmazonEBSEncrypted() bool

func (*InstancePool) Config

func (*InstancePool) DNSName

func (n *InstancePool) DNSName() string

This returns a DNS compatible name

func (*InstancePool) Image

func (n *InstancePool) Image() string

func (*InstancePool) InstanceType

func (n *InstancePool) InstanceType() string

func (*InstancePool) Labels

func (n *InstancePool) Labels() (string, error)

func (*InstancePool) MaxCount

func (n *InstancePool) MaxCount() int

func (*InstancePool) MinCount

func (n *InstancePool) MinCount() int

func (*InstancePool) Name

func (n *InstancePool) Name() string

func (*InstancePool) Role

func (n *InstancePool) Role() *role.Role

func (*InstancePool) RootVolume

func (n *InstancePool) RootVolume() interfaces.Volume

func (*InstancePool) SpotPrice

func (n *InstancePool) SpotPrice() string

func (*InstancePool) TFName

func (n *InstancePool) TFName() string

This returns a TF compatible name

func (*InstancePool) Taints

func (n *InstancePool) Taints() (string, error)

func (*InstancePool) Validate

func (n *InstancePool) Validate() (result error)

func (*InstancePool) ValidateAllowCIDRs

func (n *InstancePool) ValidateAllowCIDRs() (result error)

func (*InstancePool) Volumes

func (n *InstancePool) Volumes() (volumes []interfaces.Volume)

func (*InstancePool) Zones

func (n *InstancePool) Zones() (zones []string)

Get unique list of zones of instance pool

func (*InstancePool) ZonesString

func (n *InstancePool) ZonesString() string

type Volume

type Volume struct {
	// contains filtered or unexported fields
}

func NewVolumeFromConfig

func NewVolumeFromConfig(pos int, provider interfaces.Provider, conf *clusterv1alpha1.Volume) (*Volume, error)

func (*Volume) Device

func (v *Volume) Device() string

func (*Volume) Encrypted

func (v *Volume) Encrypted() bool

func (*Volume) Name

func (v *Volume) Name() string

func (*Volume) Size

func (v *Volume) Size() int

func (*Volume) Type

func (v *Volume) Type() string

Jump to

Keyboard shortcuts

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