factory

package
v0.5.12 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package factory constructs AWS-backed services used by CLI command packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterService

func NewClusterService(awsCfg aws.Config, withHealth bool, logger *slog.Logger) *cluster.ServiceImpl

NewClusterService initializes a cluster service with optional health checking.

func NewDefaultLogger

func NewDefaultLogger(logger *slog.Logger) *slog.Logger

NewDefaultLogger returns logger unchanged if non-nil; otherwise returns a stderr warn-level text logger.

func NewNodegroupService

func NewNodegroupService(awsCfg aws.Config, withHealth bool, logger *slog.Logger) *nodegroup.ServiceImpl

NewNodegroupService initializes a nodegroup service with optional health checking.

Types

This section is empty.

Jump to

Keyboard shortcuts

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