aws

package
v0.0.0-...-c53da67 Latest Latest
Warning

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

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

Documentation

Overview

Package aws contains API Schema definitions for AWS clusters. +k8s:deepcopy-gen=package,register

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2RootVolume

type EC2RootVolume struct {
	// IOPS defines the iops for the storage.
	IOPS int `json:"iops"`
	// Size defines the size of the storage.
	Size int `json:"size"`
	// Type defines the type of the storage.
	Type string `json:"type"`
}

EC2RootVolume defines the storage for an ec2 instance.

func (*EC2RootVolume) DeepCopy

func (in *EC2RootVolume) DeepCopy() *EC2RootVolume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EC2RootVolume.

func (*EC2RootVolume) DeepCopyInto

func (in *EC2RootVolume) DeepCopyInto(out *EC2RootVolume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MachinePoolPlatform

type MachinePoolPlatform struct {
	// Zones is list of availability zones that can be used.
	Zones []string `json:"zones,omitempty"`

	// InstanceType defines the ec2 instance type.
	// eg. m4-large
	InstanceType string `json:"type"`

	// EC2RootVolume defines the storage for ec2 instance.
	EC2RootVolume `json:"rootVolume"`
}

MachinePoolPlatform stores the configuration for a machine pool installed on AWS.

func (*MachinePoolPlatform) DeepCopy

func (in *MachinePoolPlatform) DeepCopy() *MachinePoolPlatform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachinePoolPlatform.

func (*MachinePoolPlatform) DeepCopyInto

func (in *MachinePoolPlatform) DeepCopyInto(out *MachinePoolPlatform)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Platform

type Platform struct {
	// Region specifies the AWS region where the cluster will be created.
	Region string `json:"region"`

	// UserTags specifies additional tags for AWS resources created for the cluster.
	// +optional
	UserTags map[string]string `json:"userTags,omitempty"`

	// DefaultMachinePlatform is the default configuration used when
	// installing on AWS for machine pools which do not define their own
	// platform configuration.
	DefaultMachinePlatform *MachinePoolPlatform `json:"defaultMachinePlatform,omitempty"`
}

Platform stores all the global configuration that all machinesets use.

func (*Platform) DeepCopy

func (in *Platform) DeepCopy() *Platform

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Platform.

func (*Platform) DeepCopyInto

func (in *Platform) DeepCopyInto(out *Platform)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PlatformSecrets

type PlatformSecrets struct {

	// Credentials refers to a secret that contains the AWS account access
	// credentials.
	Credentials corev1.LocalObjectReference `json:"credentials"`
}

PlatformSecrets contains secrets for clusters on the AWS platform.

func (*PlatformSecrets) DeepCopy

func (in *PlatformSecrets) DeepCopy() *PlatformSecrets

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PlatformSecrets.

func (*PlatformSecrets) DeepCopyInto

func (in *PlatformSecrets) DeepCopyInto(out *PlatformSecrets)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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