eks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LaunchTemplateNameFormat = "rancher-managed-lt-%s"
)

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(opts CreateClusterOptions) error

func CreateLaunchTemplate

func CreateLaunchTemplate(opts CreateLaunchTemplateOptions) error

func CreateNewLaunchTemplateVersion

func CreateNewLaunchTemplateVersion(ec2Service services.EC2ServiceInterface, launchTemplateID string, group eksv1.NodeGroup) (*eksv1.LaunchTemplate, error)

func CreateNodeGroup

func CreateNodeGroup(opts CreateNodeGroupOptions) (string, string, error)

func DeleteLaunchTemplateVersions

func DeleteLaunchTemplateVersions(ec2Service services.EC2ServiceInterface, templateID string, templateVersions []*string)

Types

type CreateClusterOptions

type CreateClusterOptions struct {
	EKSService services.EKSServiceInterface
	Config     *eksv1.EKSClusterConfig
	RoleARN    string
}

type CreateLaunchTemplateOptions

type CreateLaunchTemplateOptions struct {
	EC2Service services.EC2ServiceInterface
	Config     *eksv1.EKSClusterConfig
}

type CreateNodeGroupOptions

type CreateNodeGroupOptions struct {
	EC2Service            services.EC2ServiceInterface
	CloudFormationService services.CloudFormationServiceInterface
	EKSService            services.EKSServiceInterface

	Config    *eksv1.EKSClusterConfig
	NodeGroup eksv1.NodeGroup
}

type CreateStackOptions

type CreateStackOptions struct {
	CloudFormationService services.CloudFormationServiceInterface
	StackName             string
	DisplayName           string
	TemplateBody          string
	Capabilities          []string
	Parameters            []*cloudformation.Parameter
}

Directories

Path Synopsis
mock_services
Package mock_services is a generated GoMock package.
Package mock_services is a generated GoMock package.

Jump to

Keyboard shortcuts

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