deploy

package
v0.23.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Broker

func Broker(ctx context.Context, options *BrokerOptions, clientProducer client.Producer, status reporter.Interface,
) error

func Deploy added in v0.16.0

func Deploy(ctx context.Context, options *BrokerOptions, status reporter.Interface, clientProducer client.Producer) error

func ParseCustomCoreDNSParam added in v0.22.0

func ParseCustomCoreDNSParam(corednsCustomConfigMap string) (string, string)

func RemoveSchemaPrefix added in v0.22.0

func RemoveSchemaPrefix(brokerURL string) string

func ServiceDiscovery

func ServiceDiscovery(ctx context.Context, clientProducer client.Producer, options *ServiceDiscoveryOptions,
	brokerInfo *broker.Info, brokerSecret *v1.Secret, clustersetConfig clustersetip.Config,
	repositoryInfo *image.RepositoryInfo, status reporter.Interface,
) error

func ServiceDiscoveryFromSpec added in v0.16.0

func ServiceDiscoveryFromSpec(ctx context.Context, cc controllerClient.Client,
	serviceDiscoverySpec *operatorv1alpha1.ServiceDiscoverySpec,
) error

func Submariner

func Submariner(ctx context.Context, clientProducer client.Producer, options *SubmarinerOptions, brokerInfo *broker.Info,
	brokerSecret *v1.Secret, netconfig globalnet.Config, clustersetConfig clustersetip.Config,
	repositoryInfo *image.RepositoryInfo, status reporter.Interface,
) error

func SubmarinerFromSpec added in v0.16.0

func SubmarinerFromSpec(ctx context.Context, ctlClient controllerClient.Client, submarinerSpec *operatorv1alpha1.SubmarinerSpec) error

Types

type BrokerOptions

type BrokerOptions struct {
	OperatorDebug   bool
	Repository      string
	ImageVersion    string
	BrokerNamespace string
	BrokerURL       string
	BrokerSpec      operatorv1alpha1.BrokerSpec
	HTTPProxyConfig httpproxy.Config
}

type ServiceDiscoveryOptions

type ServiceDiscoveryOptions struct {
	SubmarinerDebug        bool
	BrokerK8sInsecure      bool
	ClustersetIPEnabled    bool
	ClusterID              string
	CoreDNSCustomConfigMap string
	Repository             string
	ImageVersion           string
	CustomDomains          []string
}

type SubmarinerOptions

type SubmarinerOptions struct {
	PreferredServer                 bool
	ForceUDPEncaps                  bool
	NATTraversal                    bool
	IPSecDebug                      bool
	SubmarinerDebug                 bool
	AirGappedDeployment             bool
	LoadBalancerEnabled             bool
	HealthCheckEnabled              bool
	BrokerK8sInsecure               bool
	ClustersetIPEnabled             bool
	DisableIntraClusterConnectivity bool
	UseIPSecCertAuthMode            bool
	NATTPort                        int
	HealthCheckInterval             uint
	HealthCheckMaxPacketLossCount   uint
	ClusterID                       string
	CableDriver                     string
	CoreDNSCustomConfigMap          string
	Repository                      string
	ImageVersion                    string
	ServiceCIDR                     string
	ClusterCIDR                     string
	CustomDomains                   []string
}

Jump to

Keyboard shortcuts

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