eks

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupportedPhase = errors.New("unsupported phase")
	ErrInfraNotPresent  = errors.New("the configuration file does not contain an infrastructure section")
	ErrTimeout          = errors.New("timeout reached")
)
View Source
var (
	ErrOpenVPNNotInstalled       = errors.New("openvpn is not installed")
	ErrAWSS3BucketNotFound       = errors.New("AWS S3 Bucket not found, please create it before running furyctl")
	ErrAWSS3BucketRegionMismatch = errors.New("AWS S3 Bucket region mismatch")
)
View Source
var (
	ErrAutoConnectWithoutVpn = errors.New("autoconnect is not supported without a VPN configuration")
	ErrReadStdin             = errors.New("error reading from stdin")
)
View Source
var ErrInvalidNodePoolSize = fmt.Errorf("invalid node pool size")

Functions

This section is empty.

Types

type ClusterCreator

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

func (*ClusterCreator) Create

func (v *ClusterCreator) Create(skipPhase string, timeout int) error

func (*ClusterCreator) SetProperties

func (v *ClusterCreator) SetProperties(props []cluster.CreatorProperty)

func (*ClusterCreator) SetProperty

func (v *ClusterCreator) SetProperty(name string, value any)

type ClusterDeleter

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

func (*ClusterDeleter) Delete

func (d *ClusterDeleter) Delete() error

func (*ClusterDeleter) SetProperties

func (d *ClusterDeleter) SetProperties(props []cluster.DeleterProperty)

func (*ClusterDeleter) SetProperty

func (d *ClusterDeleter) SetProperty(name string, value any)

type ExtraSchemaValidator

type ExtraSchemaValidator struct{}

func (*ExtraSchemaValidator) Validate

func (*ExtraSchemaValidator) Validate(confPath string) error

type ExtraToolsValidator

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

func NewExtraToolsValidator

func NewExtraToolsValidator(executor execx.Executor, autoConnect bool) *ExtraToolsValidator

func (*ExtraToolsValidator) Validate

func (x *ExtraToolsValidator) Validate(confPath string) ([]string, []error)

type VpnConnector

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

func NewVpnConnector

func NewVpnConnector(
	clusterName,
	certDir,
	binPath,
	faVersion string,
	autoconnect,
	skip bool,
	config *private.SpecInfrastructureVpn,
) (*VpnConnector, error)

func (*VpnConnector) ClientName

func (v *VpnConnector) ClientName() (string, error)

func (*VpnConnector) Connect

func (v *VpnConnector) Connect() error

func (*VpnConnector) GenerateCertificates

func (v *VpnConnector) GenerateCertificates() error

func (*VpnConnector) GetKillMessage

func (v *VpnConnector) GetKillMessage() (string, error)

func (*VpnConnector) IsConfigured

func (v *VpnConnector) IsConfigured() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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