registrar

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PREFIX_LIST_MAX_ENTRIES is the maximum number of entries a created prefix list can have.
	// This number counts against a resources quota (regardless of how many actual entries exist)
	// when it is referenced. We're setting the max here to 45 for now so we stay below the
	// default "Routes per route table" quota of 50.
	PREFIX_LIST_MAX_ENTRIES = 45

	SubnetTGWAttachementsLabel = "subnet.giantswarm.io/tgw"
	SubnetRoleLabel            = "github.com/giantswarm/aws-vpc-operator/role"

	ErrRouteNotFound = "InvalidRoute.NotFound"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterClient

type ClusterClient interface {
	Patch(ctx context.Context, cluster *capi.Cluster, patch client.Patch) (*capi.Cluster, error)
	GetManagementCluster(ctx context.Context) (*capi.Cluster, error)
	GetManagementClusterNamespacedName() k8stypes.NamespacedName
	GetAWSCluster(ctx context.Context, namespacedName k8stypes.NamespacedName) (*capa.AWSCluster, error)
	IsManagementCluster(ctx context.Context, cluster *capi.Cluster) bool
}

type IDNotProvidedError added in v1.2.0

type IDNotProvidedError struct {
	ID string
	// contains filtered or unexported fields
}

func (*IDNotProvidedError) Error added in v1.2.0

func (e *IDNotProvidedError) Error() string

func (*IDNotProvidedError) Is added in v1.2.0

func (e *IDNotProvidedError) Is(target error) bool

type ModeNotSupportedError

type ModeNotSupportedError struct {
	Mode string
	// contains filtered or unexported fields
}

func (*ModeNotSupportedError) Error

func (e *ModeNotSupportedError) Error() string

func (*ModeNotSupportedError) Is

func (e *ModeNotSupportedError) Is(target error) bool

type TransitGateway

type TransitGateway struct {
	// contains filtered or unexported fields
}

func NewTransitGateway

func NewTransitGateway(transitGatewayClient awsclient.TransitGatewayClient, clusterClient ClusterClient, getTransitGatewayClientForWorkloadCluster func(workloadCluster k8stypes.NamespacedName) awsclient.TransitGatewayClient) *TransitGateway

func (*TransitGateway) Register

func (r *TransitGateway) Register(ctx context.Context, cluster *capi.Cluster) error

func (*TransitGateway) Unregister

func (r *TransitGateway) Unregister(ctx context.Context, cluster *capi.Cluster) error

type TransitGatewayNotAvailableError added in v0.1.6

type TransitGatewayNotAvailableError struct {
	// contains filtered or unexported fields
}

func (*TransitGatewayNotAvailableError) Error added in v0.1.6

func (*TransitGatewayNotAvailableError) Is added in v0.1.6

type VPCNotReadyError added in v1.0.2

type VPCNotReadyError struct {
	// contains filtered or unexported fields
}

func (*VPCNotReadyError) Error added in v1.0.2

func (e *VPCNotReadyError) Error() string

func (*VPCNotReadyError) Is added in v1.0.2

func (e *VPCNotReadyError) Is(target error) bool

Jump to

Keyboard shortcuts

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