gke

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Elastigroup

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

Provides a Spotinst elastigroup GKE resource.

func GetElastigroup

func GetElastigroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ElastigroupState, opts ...pulumi.ResourceOpt) (*Elastigroup, error)

GetElastigroup gets an existing Elastigroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewElastigroup

func NewElastigroup(ctx *pulumi.Context,
	name string, args *ElastigroupArgs, opts ...pulumi.ResourceOpt) (*Elastigroup, error)

NewElastigroup registers a new resource with the given unique name, arguments, and options.

func (*Elastigroup) ClusterId

func (r *Elastigroup) ClusterId() *pulumi.StringOutput

The name of the GKE cluster you wish to import.

func (*Elastigroup) ClusterZoneName

func (r *Elastigroup) ClusterZoneName() *pulumi.StringOutput

The zone where the cluster is hosted.

func (*Elastigroup) DesiredCapacity

func (r *Elastigroup) DesiredCapacity() *pulumi.IntOutput

The desired number of instances the group should have at any time.

func (*Elastigroup) ID

func (r *Elastigroup) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Elastigroup) InstanceTypesOndemand

func (r *Elastigroup) InstanceTypesOndemand() *pulumi.StringOutput

func (*Elastigroup) InstanceTypesPreemptibles

func (r *Elastigroup) InstanceTypesPreemptibles() *pulumi.ArrayOutput

The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set.

func (*Elastigroup) MaxSize

func (r *Elastigroup) MaxSize() *pulumi.IntOutput

The maximum number of instances the group should have at any time.

func (*Elastigroup) MinSize

func (r *Elastigroup) MinSize() *pulumi.IntOutput

The minimum number of instances the group should have at any time.

func (*Elastigroup) Name

func (r *Elastigroup) Name() *pulumi.StringOutput

The group name.

func (*Elastigroup) NodeImage

func (r *Elastigroup) NodeImage() *pulumi.StringOutput

The image that will be used for the node VMs. Possible values: COS, UBUNTU.

func (*Elastigroup) PreemptiblePercentage

func (r *Elastigroup) PreemptiblePercentage() *pulumi.IntOutput

The percentage of preemptible VMs that would spin up from the desired capacity (range: 0-100).

func (*Elastigroup) URN

func (r *Elastigroup) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ElastigroupArgs

type ElastigroupArgs struct {
	// The name of the GKE cluster you wish to import.
	ClusterId interface{}
	// The zone where the cluster is hosted.
	ClusterZoneName interface{}
	// The desired number of instances the group should have at any time.
	DesiredCapacity       interface{}
	InstanceTypesOndemand interface{}
	// The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set.
	InstanceTypesPreemptibles interface{}
	// The maximum number of instances the group should have at any time.
	MaxSize interface{}
	// The minimum number of instances the group should have at any time.
	MinSize interface{}
	// The group name.
	Name interface{}
	// The image that will be used for the node VMs. Possible values: COS, UBUNTU.
	NodeImage interface{}
	// The percentage of preemptible VMs that would spin up from the desired capacity (range: 0-100).
	PreemptiblePercentage interface{}
}

The set of arguments for constructing a Elastigroup resource.

type ElastigroupState

type ElastigroupState struct {
	// The name of the GKE cluster you wish to import.
	ClusterId interface{}
	// The zone where the cluster is hosted.
	ClusterZoneName interface{}
	// The desired number of instances the group should have at any time.
	DesiredCapacity       interface{}
	InstanceTypesOndemand interface{}
	// The preemptible VMs instance type. To maximize cost savings and market availability, select as many types as possible. Required if instance_types_on_demand is not set.
	InstanceTypesPreemptibles interface{}
	// The maximum number of instances the group should have at any time.
	MaxSize interface{}
	// The minimum number of instances the group should have at any time.
	MinSize interface{}
	// The group name.
	Name interface{}
	// The image that will be used for the node VMs. Possible values: COS, UBUNTU.
	NodeImage interface{}
	// The percentage of preemptible VMs that would spin up from the desired capacity (range: 0-100).
	PreemptiblePercentage interface{}
}

Input properties used for looking up and filtering Elastigroup resources.

Jump to

Keyboard shortcuts

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