Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IdentifierRouter is the key for the router id IdentifierRouter = "Router" // IdentifierNetwork is the key for the network id IdentifierNetwork = "Network" // IdentifierSubnet is the key for the subnet id IdentifierSubnet = "Subnet" // IdentifierFloatingNetwork is the key for the floating network id IdentifierFloatingNetwork = "FloatingNetwork" // IdentifierSecGroup is the key for the security group id IdentifierSecGroup = "SecurityGroup" IdentifierShareNetwork = "ShareNetwork" // NameFloatingNetwork is the key for the floating network name NameFloatingNetwork = "FloatingNetworkName" // NameFloatingPoolSubnet is the name/regex for the floating pool subnets NameFloatingPoolSubnet = "FloatingPoolSubnetName" // NameNetwork is the name of the network NameNetwork = "NetworkName" // NameKeyPair is the key for the name of the EC2 key pair resource NameKeyPair = "KeyPair" // NameSecGroup is the name of the security group NameSecGroup = "SecurityGroupName" NameShareNetwork = "ShareNetworkName" // RouterIP is the key for the router IP address RouterIP = "RouterIP" // ObjectSecGroup is the key for the cached security group ObjectSecGroup = "SecurityGroup" // CreatedResourcesExistKey marks that there are infrastructure resources created by Gardener. CreatedResourcesExistKey = "resource_exist" )
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 }
FlowContext contains the logic to reconcile or delete the infrastructure.
func NewFlowContext ¶
func NewFlowContext(opts Opts) (*FlowContext, error)
NewFlowContext creates a new FlowContext object
type Opts ¶ added in v1.41.0
type Opts struct { Log logr.Logger ClientFactory osclient.Factory Infrastructure *extensionsv1alpha1.Infrastructure Cluster *extensionscontroller.Cluster State *openstackapi.InfrastructureState Client client.Client }
Opts contain options to initiliaze a FlowContext
Click to show internal directories.
Click to hide internal directories.