crossplane

package
v0.8.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCrossplaneRoute

func CreateCrossplaneRoute(ctx context.Context, kubeClient client.Client, region string, destinationCIDRBlock, providerConfigName string, routeTable string, vpcPeeringConnection crossec2v1alphav1.VPCPeeringConnection) error

func CreateCrossplaneVPCPeeringConnection

func CreateCrossplaneVPCPeeringConnection(ctx context.Context, kubeClient client.Client, clustermesh *clustermeshv1alpha1.ClusterMesh, peeringRequester, peeringAccepter *clustermeshv1alpha1.ClusterSpec, providerConfigName string) error

func CreateOrUpdateCrossplaneSecurityGroup

func CreateOrUpdateCrossplaneSecurityGroup(ctx context.Context, kubeClient client.Client, vpcId, region *string, providerConfigName string, sg *securitygroupv1alpha2.SecurityGroup) (*crossec2v1beta1.SecurityGroup, error)

func DeleteCrossplaneVPCPeeringConnection

func DeleteCrossplaneVPCPeeringConnection(ctx context.Context, kubeClient client.Client, clustermesh *clustermeshv1alpha1.ClusterMesh, vpcPeeringConnectionRef *corev1.ObjectReference) error

func GetOwnedRoutes

func GetOwnedRoutes(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1alphav1.RouteList, error)

func GetOwnedRoutesRef

func GetOwnedRoutesRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)

func GetOwnedSecurityGroups

func GetOwnedSecurityGroups(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1beta1.SecurityGroupList, error)

func GetOwnedSecurityGroupsRef

func GetOwnedSecurityGroupsRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)

func GetOwnedVPCPeeringConnections

func GetOwnedVPCPeeringConnections(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1alphav1.VPCPeeringConnectionList, error)

func GetOwnedVPCPeeringConnectionsRef

func GetOwnedVPCPeeringConnectionsRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)

func GetSecurityGroupReadyCondition

func GetSecurityGroupReadyCondition(csg *crossec2v1beta1.SecurityGroup) *crossplanev1.Condition

func IsRouteToVpcPeeringAlreadyCreated

func IsRouteToVpcPeeringAlreadyCreated(ctx context.Context, clusterCIDR, vpcPeeringConnectionID string, routeTableIDs []string, kubeclient client.Client) (bool, error)

func IsVPCPeeringAlreadyCreated

func IsVPCPeeringAlreadyCreated(clustermesh *clustermeshv1alpha1.ClusterMesh, peeringRequester, peeringAccepter *clustermeshv1alpha1.ClusterSpec) bool

func NewCrossPlaneVPCPeeringConnection

func NewCrossPlaneVPCPeeringConnection(clustermesh *clustermeshv1alpha1.ClusterMesh, peeringRequester, peeringAccepter *clustermeshv1alpha1.ClusterSpec, providerConfigName string) *crossec2v1alphav1.VPCPeeringConnection

func NewCrossplaneRoute

func NewCrossplaneRoute(region, destinationCIDRBlock, routeTable string, providerConfigName string, vpcPeeringConnection crossec2v1alphav1.VPCPeeringConnection) *crossec2v1alphav1.Route

func NewCrossplaneSecurityGroup

func NewCrossplaneSecurityGroup(sg *securitygroupv1alpha2.SecurityGroup, vpcId, region *string, providerConfigName string) *crossec2v1beta1.SecurityGroup

Types

This section is empty.

Jump to

Keyboard shortcuts

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