...

Package servicemirror

import "github.com/linkerd/linkerd2/multicluster/cmd/service-mirror"
Overview
Index

Overview ▾

Index ▾

Package files

main.go

Constants

const (

    // Duration of the lease
    LEASE_DURATION = 30 * time.Second
    // Deadline for the leader to refresh its lease. Defaults to the same value
    // used by core controllers
    LEASE_RENEW_DEADLINE = 10 * time.Second
    // Duration leader elector clients should wait between action re-tries.
    // Defaults to the same value used by core controllers
    LEASE_RETRY_PERIOD = 2 * time.Second
)

func Main

func Main(args []string)

Main executes the service-mirror controller