Documentation ¶
Index ¶
- type AssociationStateCode
- type Client
- type CreateRouteTableInput
- type CreateRouteTableOutput
- type DeleteRouteTableInput
- type DeleteRouteTablesInput
- type GetRouteTableInput
- type ListRouteTablesInput
- type ListRouteTablesOutput
- type Reconciler
- type RouteTableAssociation
- type RouteTableOutput
- type Spec
- type Status
- type Subnet
- type UpdateRouteTableInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssociationStateCode ¶
type AssociationStateCode string
const ( AssociationStateCodeAssociating AssociationStateCode = "associating" AssociationStateCodeAssociated AssociationStateCode = "associated" AssociationStateCodeDisassociating AssociationStateCode = "disassociating" AssociationStateCodeDisassociated AssociationStateCode = "disassociated" AssociationStateCodeFailed AssociationStateCode = "failed" AssociationStateCodeUnknown AssociationStateCode = "unknown" )
Enum values for RouteTableAssociationStateCode
type Client ¶
type Client interface { Create(ctx context.Context, input CreateRouteTableInput) (CreateRouteTableOutput, error) Update(ctx context.Context, input UpdateRouteTableInput) error Get(ctx context.Context, input GetRouteTableInput) (RouteTableOutput, error) List(ctx context.Context, input ListRouteTablesInput) (ListRouteTablesOutput, error) Delete(ctx context.Context, input DeleteRouteTableInput) error DeleteAll(ctx context.Context, input DeleteRouteTablesInput) error }
type CreateRouteTableInput ¶
type CreateRouteTableOutput ¶
type CreateRouteTableOutput struct { RouteTableId string AssociationStateCode AssociationStateCode }
type DeleteRouteTableInput ¶
type DeleteRouteTablesInput ¶
type GetRouteTableInput ¶
type ListRouteTablesInput ¶
type ListRouteTablesOutput ¶
type ListRouteTablesOutput []RouteTableOutput
type Reconciler ¶
type Reconciler interface { Reconcile(ctx context.Context, request aws.ReconcileRequest[Spec]) (aws.ReconcileResult[[]Status], error) ReconcileDelete(ctx context.Context, request aws.ReconcileRequest[aws.DeletedCloudResourceSpec]) error }
func NewReconciler ¶
func NewReconciler(client Client) (Reconciler, error)
type RouteTableAssociation ¶
type RouteTableAssociation struct { AssociationId string SubnetId string AssociationStateCode AssociationStateCode Main bool }
type RouteTableOutput ¶
type RouteTableOutput struct { RouteTableId string // AssociationsToSubnets contains all subnets to which the route table is associated to. AssociationsToSubnets []RouteTableAssociation // OtherAssociations contains IDs of all route table associations to // resources other than subnets. // // These are separated from AssociationsToSubnets because in most cases we care // about subnet associations only. Other associations are used less often, // during route table deletion for example. OtherAssociations []RouteTableAssociation // Tags that are currently set on the AWS route table resource. Tags map[string]string }
func (RouteTableOutput) GetAllAssociations ¶ added in v0.1.1
func (rto RouteTableOutput) GetAllAssociations() []RouteTableAssociation
GetAllAssociations returns all route table associations (to subnets and other resources).
type Status ¶
type Status struct { RouteTableId string RouteTableAssociation []RouteTableAssociation }
Click to show internal directories.
Click to hide internal directories.