Documentation
¶
Index ¶
- func AddComponent[C Component](ctx *pulumi.Context, name string, component C) ([]pulumi.Resource, error)
- func Check(_ []pulumi.Resource, err error)
- type Capacitor
- type Cilium
- type Component
- type Flux
- type Gateway
- type InternalGateway
- type InternalGatewaysData
- type Loadbalancer
- type LocalPV
- type NativeLinkGateways
- type NativeLinkRoutes
- type Registry
- type RouteConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Gateway ¶
type Gateway struct { ExternalPort int InternalPort int Routes []RouteConfig }
type InternalGateway ¶
Gateway struct to hold name and IP.
type InternalGatewaysData ¶
type InternalGatewaysData struct { InternalGateways []InternalGateway Gateways []Gateway }
GatewaysData struct to hold multiple Gateways for templating.
type Loadbalancer ¶
A local loadbalancer.
type NativeLinkGateways ¶
func (*NativeLinkGateways) Install ¶
func (component *NativeLinkGateways) Install( ctx *pulumi.Context, name string, ) ([]pulumi.Resource, error)
Install sets up the Gateways for the NativeLink deployment.
Contrary to the rest of the NativeLink setup, these gateways aren't part of the regular deployment. Recreating the Gateways would change their local IPs which makes development less convenient. Instead, we create them once and take the IPs for granted to be fixed after initial creation.
It's unclear whether this indirection is the right approach and we might add them to the regular deployments when more infrastructure is in place to support changing Gateway IPs.
type NativeLinkRoutes ¶
func (*NativeLinkRoutes) Install ¶
func (component *NativeLinkRoutes) Install( ctx *pulumi.Context, name string, ) ([]pulumi.Resource, error)
Install sets up the Routes for the NativeLink deployment.
Contrary to the rest of the NativeLink setup, these gateways aren't part of the regular deployment. Recreating the Gateways would change their local IPs which makes development less convenient. Instead, we create them once and take the IPs for granted to be fixed after initial creation.
It's unclear whether this indirection is the right approach and we might add them to the regular deployments when more infrastructure is in place to support changing Gateway IPs.