Documentation ¶
Index ¶
- func CreateCrossplaneRoute(ctx context.Context, kubeClient client.Client, region string, ...) error
- func CreateCrossplaneVPCPeeringConnection(ctx context.Context, kubeClient client.Client, ...) error
- func CreateOrUpdateCrossplaneSecurityGroup(ctx context.Context, kubeClient client.Client, vpcId, region *string, ...) (*crossec2v1beta1.SecurityGroup, error)
- func DeleteCrossplaneVPCPeeringConnection(ctx context.Context, kubeClient client.Client, ...) error
- func GetOwnedRoutes(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1alphav1.RouteList, error)
- func GetOwnedRoutesRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)
- func GetOwnedSecurityGroups(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1beta1.SecurityGroupList, error)
- func GetOwnedSecurityGroupsRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)
- func GetOwnedVPCPeeringConnections(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1alphav1.VPCPeeringConnectionList, error)
- func GetOwnedVPCPeeringConnectionsRef(ctx context.Context, owner client.Object, kubeclient client.Client) ([]*corev1.ObjectReference, error)
- func GetSecurityGroupReadyCondition(csg *crossec2v1beta1.SecurityGroup) *crossplanev1.Condition
- func IsRouteToVpcPeeringAlreadyCreated(ctx context.Context, clusterCIDR, vpcPeeringConnectionID string, ...) (bool, error)
- func IsVPCPeeringAlreadyCreated(clustermesh *clustermeshv1alpha1.ClusterMesh, ...) bool
- func NewCrossPlaneVPCPeeringConnection(clustermesh *clustermeshv1alpha1.ClusterMesh, ...) *crossec2v1alphav1.VPCPeeringConnection
- func NewCrossplaneRoute(region, destinationCIDRBlock, routeTable string, providerConfigName string, ...) *crossec2v1alphav1.Route
- func NewCrossplaneSecurityGroup(sg *securitygroupv1alpha2.SecurityGroup, vpcId, region *string, ...) *crossec2v1beta1.SecurityGroup
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 GetOwnedRoutesRef ¶
func GetOwnedSecurityGroups ¶
func GetOwnedSecurityGroups(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1beta1.SecurityGroupList, error)
func GetOwnedVPCPeeringConnections ¶
func GetOwnedVPCPeeringConnections(ctx context.Context, owner client.Object, kubeclient client.Client) (*crossec2v1alphav1.VPCPeeringConnectionList, error)
func GetSecurityGroupReadyCondition ¶
func GetSecurityGroupReadyCondition(csg *crossec2v1beta1.SecurityGroup) *crossplanev1.Condition
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.
Click to show internal directories.
Click to hide internal directories.