deploy

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Broker

func Broker(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 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
	NATTPort                      int
	HealthCheckInterval           uint64
	HealthCheckMaxPacketLossCount uint64
	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