registrar

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

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)
	GetAWSCluster(ctx context.Context, namespacedName k8stypes.NamespacedName) (*capa.AWSCluster, error)
	IsManagementCluster(ctx context.Context, cluster *capi.Cluster) 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) *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

Jump to

Keyboard shortcuts

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