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
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
Click to show internal directories.
Click to hide internal directories.