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 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 (a *HealthCheckActivity) Execute(ctx context.Context, input HealthCheckActivityInput) (*HealthCheckActivityOutput, error)
func (*HealthCheckActivity) Register ¶
func (a *HealthCheckActivity) Register(worker worker.Registry)
Register registers the activity in the worker.
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 (w UpdateNodePoolWorkflow) Execute(ctx workflow.Context, input UpdateNodePoolWorkflowInput) (string, error)
func (UpdateNodePoolWorkflow) Register ¶
func (w UpdateNodePoolWorkflow) Register(worker worker.Registry)
Click to show internal directories.
Click to hide internal directories.