types

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	GetService(serviceName string) (*api.Service, error)
	GetEndpoints(service *api.Service) (*api.Endpoints, error)
	GetTerminatingPods(service *api.Service) ([]*api.Pod, error)
	GetPod(podName string) (*api.Pod, error)
	GetTLSSecretPath(defaultNamespace, secretName string) (CrtFile, error)
	GetCASecretPath(defaultNamespace, secretName string) (ca, crl File, err error)
	GetDHSecretPath(defaultNamespace, secretName string) (File, error)
	GetSecretContent(defaultNamespace, secretName, keyName string) ([]byte, error)
}

Cache ...

type CrtFile added in v0.10.1

type CrtFile struct {
	Filename   string
	SHA1Hash   string
	CommonName string
	NotAfter   time.Time
}

CrtFile ...

type File

type File struct {
	Filename string
	SHA1Hash string
}

File ...

Jump to

Keyboard shortcuts

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