Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud interface {
// PrepareForSubmariner will prepare the cloud for Submariner to operate on.
PrepareForSubmariner(input PrepareForSubmarinerInput, status reporter.Interface) error
// CleanupAfterSubmariner will clean up the cloud after Submariner is removed.
CleanupAfterSubmariner(status reporter.Interface) error
}
Cloud is a potential cloud for installing Submariner on.
type GatewayDeployInput ¶
type GatewayDeployInput struct {
// List of ports to open externally so that Submariner can reach and be reached by other Submariners.
PublicPorts []PortSpec
// Amount of gateways that are being deployed.
//
// 0 = Deploy gateways per the default deployer policy (Default if not specified)
//
// 1-* = Deploy the amount of gateways requested (May fail if there aren't enough public subnets)
Gateways int
}
type GatewayDeployer ¶
type GatewayDeployer interface {
// Deploy dedicated gateways as requested.
Deploy(input GatewayDeployInput, status reporter.Interface) error
// Cleanup any dedicated gateways that were previously deployed.
Cleanup(status reporter.Interface) error
}
GatewayDeployer will deploy and cleanup dedicated gateways according to the requested policy.
type PrepareForSubmarinerInput ¶
type PrepareForSubmarinerInput struct {
// List of ports to open inside the cluster for proper communication between Submariner services.
InternalPorts []PortSpec
}
Click to show internal directories.
Click to hide internal directories.