pkeawsworkflow

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HealthCheckActivityName = "nlb-health-check"
)
View Source
const UpdateNodePoolWorkflowName = "pke-aws-update-node-pool"

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSSessionFactory

type AWSSessionFactory interface {
	New(organizationID uint, secretID string, region string) (*session.Session, error)
}

type ELBV2APIFactory

type ELBV2APIFactory interface {
	// New instantiates an AWS ELBV2 API object based on the specified
	// configurations.
	New(configProvider client.ConfigProvider, configs ...*aws.Config) (elbv2API elbv2iface.ELBV2API)
}

ELBV2APIFactory provides an interface for instantiating AWS ELBV2 API objects.

type ELBV2Factory

type ELBV2Factory struct{}

ELBV2Factory can instantiate am elbv2.ELBV2 object.

Implements the ELBV2APIFactory interface.

func NewELBV2Factory

func NewELBV2Factory() (factory *ELBV2Factory)

NewELBV2Factory instantiates an pkeawsworkflow.ELBV2Factory object.

func (*ELBV2Factory) New

func (factory *ELBV2Factory) New(
	configProvider client.ConfigProvider,
	configs ...*aws.Config,
) (elbv2API elbv2iface.ELBV2API)

New instantiates an AWS ELBV2 API object based on the specified configurations.

Implements the pkeawsworkflow.ELBV2Factory interface.

type HealthCheckActivity

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

func NewHealthCheckActivity

func NewHealthCheckActivity(
	awsSessionFactory AWSSessionFactory,
	elbv2Factory ELBV2APIFactory,
) *HealthCheckActivity

NewHealthCheckActivity returns a new HealthCheckActivity.

func (*HealthCheckActivity) Execute

func (*HealthCheckActivity) Register

func (a *HealthCheckActivity) Register(worker worker.Registry)

Register registers the activity in the worker.

type HealthCheckActivityInput

type HealthCheckActivityInput struct {
	OrganizationID uint
	SecretID       string
	Region         string
	ClusterID      uint
	ClusterName    string
}

type HealthCheckActivityOutput

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

HealthCheckActivityOutput holds the output data

type UpdateNodePoolWorkflow

type UpdateNodePoolWorkflow struct{}

func NewUpdateNodePoolWorkflow

func NewUpdateNodePoolWorkflow() UpdateNodePoolWorkflow

NewUpdateNodePoolWorkflow returns a new UpdateNodePoolWorkflow.

func (UpdateNodePoolWorkflow) Execute

func (UpdateNodePoolWorkflow) Register

func (w UpdateNodePoolWorkflow) Register(worker worker.Registry)

type UpdateNodePoolWorkflowInput

type UpdateNodePoolWorkflowInput struct {
	ProviderSecretID string
	Region           string

	StackName string

	OrganizationID  uint
	ClusterID       uint
	ClusterSecretID string
	ClusterName     string
	NodePoolName    string

	NodeImage string

	Version string

	Options pke.NodePoolUpdateOptions

	ClusterTags map[string]string
}

Jump to

Keyboard shortcuts

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