istio: Index | Files

package probe

import ""


Package Files



const (
    // LivenessProbeClientIdentity is the default identity for the liveness probe check
    LivenessProbeClientIdentity = "k8s.cluster.local"

func GrpcProtocolProvider Uses

func GrpcProtocolProvider(caAddress string, dialOpts []grpc.DialOption) (protocol.CAProtocol, error)

GrpcProtocolProvider returns a CAProtocol instance talking to CA via gRPC.

type CAProtocolProvider Uses

type CAProtocolProvider func(caAddress string, dialOpts []grpc.DialOption) (protocol.CAProtocol, error)

CAProtocolProvider returns a CAProtocol instance for talking to CA.

type LivenessCheckController Uses

type LivenessCheckController struct {
    // contains filtered or unexported fields

LivenessCheckController updates the availability of the liveness probe of the CA instance

func NewLivenessCheckController Uses

func NewLivenessCheckController(probeCheckInterval time.Duration, caAddr string,
    ca *ca.IstioCA, livenessProbeOptions *probe.Options,
    provider CAProtocolProvider) (*LivenessCheckController, error)

NewLivenessCheckController creates the liveness check controller instance

func (*LivenessCheckController) Run Uses

func (c *LivenessCheckController) Run()

Run starts the check routine

Package probe imports 13 packages (graph) and is imported by 1 packages. Updated 2019-10-10. Refresh now. Tools for package owners.