fakes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnvoyConfParser

type EnvoyConfParser struct {
	GetClustersCall struct {
		CallCount int
		Receives  struct {
			EnvoyConfFile string
		}
		Returns struct {
			Clusters      []parser.Cluster
			NameToPortMap map[string]string
			Error         error
		}
	}
}

func (EnvoyConfParser) GetClusters

func (e EnvoyConfParser) GetClusters(envoyConfFile string) ([]parser.Cluster, map[string]string, error)

type SdsCredParser

type SdsCredParser struct {
	GetCertAndKeyCall struct {
		CallCount int
		Returns   struct {
			Cert  string
			Key   string
			Error error
		}
	}
}

func (SdsCredParser) GetCertAndKey

func (e SdsCredParser) GetCertAndKey() (string, string, error)

type SdsServerValidationParser

type SdsServerValidationParser struct {
	GetCACertCall struct {
		CallCount int
		Returns   struct {
			CA    string
			Error error
		}
	}
}

func (SdsServerValidationParser) GetCACert

func (s SdsServerValidationParser) GetCACert() (string, error)

Jump to

Keyboard shortcuts

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