infraflow

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// NameFloatingNetwork is the key for the floating network name
	NameFloatingNetwork = "FloatingNetworkName"
	// IdentifierFloatingNetwork is the key for the floating network id
	IdentifierFloatingNetwork = "FloatingNetwork"
	// IdentifierNetwork is the key for the network id
	IdentifierNetwork = "Network"
	// NameNetwork is the name of the network
	NameNetwork = "NetworkName"
	// IdentifierSecGroup is the key for the security group id
	IdentifierSecGroup = "SecurityGroup"
	// ObjectSecGroup is the key for the cached security group
	ObjectSecGroup = "SecurityGroup"
	// NameSecGroup is the name of the security group
	NameSecGroup = "SecurityGroupName"
	// IdentifierSubnet is the key for the subnet id
	IdentifierSubnet = "Subnet"
	// IdentifierEgressCIDRs is the key for the slice containing egress CIDRs strings.
	IdentifierEgressCIDRs = "EgressCIDRs"
	// NameKeyPair is the key for the name of the EC2 key pair resource
	NameKeyPair = "KeyPair"
)

Variables

View Source
var ErrorMultipleMatches = fmt.Errorf("error multiple matches")

ErrorMultipleMatches is returned when the findExisting finds multiple resources matching a name.

Functions

This section is empty.

Types

type FlowContext

type FlowContext struct {
	*shared.BasicFlowContext
	// contains filtered or unexported fields
}

func NewFlowContext

func NewFlowContext(ctx context.Context, opts Opts) (*FlowContext, error)

NewFlowContext creates a new FlowContext object

func (*FlowContext) Delete

func (fctx *FlowContext) Delete(ctx context.Context) error

func (*FlowContext) Reconcile

func (fctx *FlowContext) Reconcile(ctx context.Context) error

type Opts

type Opts struct {
	Log                logr.Logger
	Infrastructure     *extensionsv1alpha1.Infrastructure
	Cluster            *extensionscontroller.Cluster
	ClientFactory      osclient.Factory
	State              *stackitv1alpha1.InfrastructureState
	Client             client.Client
	StackitLB          stackitclient.LoadBalancingClient
	IaaSClient         stackitclient.IaaSClient
	UseOpenStackClient bool
	CustomLabelDomain  string
}

Opts contain options to initiliaze a FlowContext

Jump to

Keyboard shortcuts

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