vpcendpoint

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateAvailable = string(ec2Types.StateAvailable)
	StateDeleting  = string(ec2Types.StateDeleting)
	StateDeleted   = string(ec2Types.StateDeleted)
)
View Source
const (
	S3         = "s3"
	SecretData = "secretdata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

func NewClient

func NewClient(ec2Client *ec2.Client, assumeRoleClient assumerole.Client) (Client, error)

type CreateVpcEndpointInput

type CreateVpcEndpointInput struct {
	RoleARN     string
	Region      string
	ServiceName string
	Tags        map[string]string
	Type        ec2Types.VpcEndpointType
	VpcId       string

	VPCEndpointGatewayConfig *VPCEndpointGatewayConfig
}

type CreateVpcEndpointOutput

type CreateVpcEndpointOutput struct {
	VpcEndpointId    string
	VpcEndpointState string
}

type DeleteVpcEndpointInput

type DeleteVpcEndpointInput struct {
	RoleARN     string
	Region      string
	ServiceName string
	Type        ec2Types.VpcEndpointType
	VpcId       string
}

type GetVpcEndpointInput

type GetVpcEndpointInput struct {
	RoleARN     string
	Region      string
	ServiceName string
	Type        ec2Types.VpcEndpointType
	VpcId       string
}

type GetVpcEndpointOutput

type GetVpcEndpointOutput struct {
	VpcEndpointId            string
	VpcEndpointState         string
	Type                     ec2Types.VpcEndpointType
	VPCEndpointGatewayConfig *VPCEndpointGatewayConfig
}

type Reconciler

type Reconciler interface {
	Reconcile(ctx context.Context, request aws.ReconcileRequest[Spec]) (aws.ReconcileResult[Status], error)
	ReconcileDelete(ctx context.Context, request aws.ReconcileRequest[aws.DeletedCloudResourceSpec]) error
}

func NewReconciler

func NewReconciler(client Client) (Reconciler, error)

type Spec

type Spec struct {
	VpcId            string
	SubnetIds        []string
	SecurityGroupIds []string
	AdditionalTags   map[string]string
	RouteTableIds    []string
}

type Status

type Status struct {
	VpcEndpointId    string
	VpcEndpointState string
}

type UpdateVpcEndpointInput

type UpdateVpcEndpointInput struct {
	RoleARN                  string
	Region                   string
	Type                     ec2Types.VpcEndpointType
	ServiceName              string
	VpcEndpointId            string
	VPCEndpointGatewayConfig *VPCEndpointGatewayUpdateConfig
	Tags                     map[string]string
}

type VPCEndpointGatewayConfig added in v0.5.0

type VPCEndpointGatewayConfig struct {
	RouteTableIDs []string
}

type VPCEndpointGatewayUpdateConfig added in v0.5.0

type VPCEndpointGatewayUpdateConfig struct {
	AddRouteTableIDs    []string
	RemoveRouteTableIDs []string
}

Jump to

Keyboard shortcuts

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