activities

package
v0.0.0-...-96e1588 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VPCDestroyActivity

func VPCDestroyActivity(ctx context.Context, prov string, name string, vpc string) (string, error)

Types

type AWSImpl

type AWSImpl struct {
}

func (*AWSImpl) EC2ApplyActivity

func (a *AWSImpl) EC2ApplyActivity(ctx context.Context, prov, subnetId, sgId, instanceName string) (string, error)

func (*AWSImpl) EC2InitActivity

func (a *AWSImpl) EC2InitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) EC2OutputActivity

func (a *AWSImpl) EC2OutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) IGWApplyActivity

func (a *AWSImpl) IGWApplyActivity(ctx context.Context, prov, vpcid, name string) (string, error)

func (*AWSImpl) IGWInitActivity

func (a *AWSImpl) IGWInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) IGWOutputActivity

func (a *AWSImpl) IGWOutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) NATApplyActivity

func (a *AWSImpl) NATApplyActivity(ctx context.Context, prov, subnetId, name string) (string, error)

func (*AWSImpl) NATInitActivity

func (a *AWSImpl) NATInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) NATOutputActivity

func (a *AWSImpl) NATOutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) RTApplyActivity

func (a *AWSImpl) RTApplyActivity(ctx context.Context, prov string, vpcid, subnetID, igwID, natID string) (string, error)

func (*AWSImpl) RTInitActivity

func (a *AWSImpl) RTInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) RTOutputActivity

func (a *AWSImpl) RTOutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) SGApplyActivity

func (a *AWSImpl) SGApplyActivity(ctx context.Context, prov string, vpcid string) (string, error)

func (*AWSImpl) SGInitActivity

func (a *AWSImpl) SGInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) SGOutputActivity

func (a *AWSImpl) SGOutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) SubnetApplyActivity

func (a *AWSImpl) SubnetApplyActivity(ctx context.Context, prov, vpcid, subnetname, subnetsize string) (string, error)

func (*AWSImpl) SubnetInitActivity

func (a *AWSImpl) SubnetInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) SubnetOutputActivity

func (a *AWSImpl) SubnetOutputActivity(ctx context.Context, prov string) (map[string]string, error)

func (*AWSImpl) VPCApplyActivity

func (a *AWSImpl) VPCApplyActivity(ctx context.Context, prov string, name string, vpc string) (string, error)

func (*AWSImpl) VPCInitActivity

func (a *AWSImpl) VPCInitActivity(ctx context.Context, prov string) (string, error)

func (*AWSImpl) VPCOutputActivity

func (a *AWSImpl) VPCOutputActivity(ctx context.Context, prov string) (map[string]string, error)

type AWSImplActivities

type AWSImplActivities interface {
	VPCInitActivity(ctx context.Context, prov string) (string, error)
	VPCApplyActivity(ctx context.Context, prov string, name string, vpc string) (string, error)
	VPCOutputActivity(ctx context.Context, prov string) (map[string]string, error)
	// Subnet
	SubnetInitActivity(ctx context.Context, prov string) (string, error)
	SubnetApplyActivity(ctx context.Context, prov, vpcid, subnetname, subnetsize string) (string, error)
	SubnetOutputActivity(ctx context.Context, prov string) (map[string]string, error)
	// NAT
	NATInitActivity(ctx context.Context, prov string) (string, error)
	NATApplyActivity(ctx context.Context, prov, subnetId, igwName string) (string, error)
	NATOutputActivity(ctx context.Context, prov string) (map[string]string, error)
	// IGW
	IGWInitActivity(ctx context.Context, prov string) (string, error)
	IGWApplyActivity(ctx context.Context, prov, vpcid, name string) (string, error)
	IGWOutputActivity(ctx context.Context, prov string) (map[string]string, error)
	// RT
	RTInitActivity(ctx context.Context, prov string) (string, error)
	RTApplyActivity(ctx context.Context, prov string, vpcid string) (string, error)
	RTOutputActivity(ctx context.Context, prov string) (map[string]string, error)
	//SG
	SGInitActivity(ctx context.Context, prov string) (string, error)
	SGApplyActivity(ctx context.Context, prov string, vpcid string) (string, error)
	SGOutputActivity(ctx context.Context, prov string) (map[string]string, error)

	// EC2
	EC2InitActivity(ctx context.Context, prov string) (string, error)
	EC2ApplyActivity(ctx context.Context, prov, subnetId, sgId, instanceName string) (string, error)
	EC2OutputActivity(ctx context.Context, prov string) (map[string]string, error)
}

Jump to

Keyboard shortcuts

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