Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( Version string = "unknown" // String to pass in the version to the binary at compiletime. BuildTime string = "unknown" // The build time for the control plane. Commit string = "unknown" // Git commit version of this binary. Go string = runtime.Version() // Go version at runtime. Os string = runtime.GOOS // operating system for this binary Arch string = runtime.GOARCH // architecture for this binary License string = "GPL V2.0" // license for this project )
var DebugEnabled bool = false
Defines whether or not to set debugging as on for the processes.
var LocalCert *x509.Certificate
The local certificate loaded for use by the grpc client for authenticating with the grpc node server.
var LocalCertKey ed25519.PrivateKey
var RuntimeCA *x509.Certificate
Certificate that validates requests between subprocesses during runtime. Is valid for 5 years.
var RuntimeCAKey ed25519.PrivateKey
Functions ¶
func GenerateRuntimeTrustAnchors ¶
func GenerateRuntimeTrustAnchors()
Used to generate shared tokens in memory during runtime for authenticating subprocesses to each other during RPC calls to the unix endpoints.
This method should be called only once by the main vroute command function, as it is used for all of setup with runtime CA as well as well as the runtime trust token.
func NewVersionString ¶
Types ¶
type SharedTrustToken ¶
type SharedTrustToken struct {
// contains filtered or unexported fields
}
func NewToken ¶
func NewToken() *SharedTrustToken
func (*SharedTrustToken) GetToken ¶
func (token *SharedTrustToken) GetToken() string
func (*SharedTrustToken) GetTokenUptime ¶
func (token *SharedTrustToken) GetTokenUptime() time.Duration
Returns uptime of the process token structure.
func (*SharedTrustToken) UpdateToken ¶
func (token *SharedTrustToken) UpdateToken()
Updates the token within the data structure and updates the new timestamp for when the token was generated. Used by the updater thread to keep the running processes synched up with good data for keeping trust with RPC calls.
Directories ¶
Path | Synopsis |
---|---|
dns
+k8s:deepcopy-gen=package +groupName=dns.vroute.io +groupGoName=dns +genclient
|
+k8s:deepcopy-gen=package +groupName=dns.vroute.io +groupGoName=dns +genclient |
firewall
+k8s:deepcopy-gen=package +groupName=firewall.morfic.io +groupGoName=firewall +genclient
|
+k8s:deepcopy-gen=package +groupName=firewall.morfic.io +groupGoName=firewall +genclient |
net
+k8s:deepcopy-gen=package +groupName=net.morfic.io +groupGoName=net +genclient
|
+k8s:deepcopy-gen=package +groupName=net.morfic.io +groupGoName=net +genclient |
services
+k8s:deepcopy-gen=package +groupName=services.morfic.io +groupGoName=services +genclient
|
+k8s:deepcopy-gen=package +groupName=services.morfic.io +groupGoName=services +genclient |
sys
+k8s:deepcopy-gen=package +groupName=sys.morfic.io +groupGoName=sys +genclient
|
+k8s:deepcopy-gen=package +groupName=sys.morfic.io +groupGoName=sys +genclient |
vpn
+k8s:deepcopy-gen=package +groupName=vpn.morfic.io +groupGoName=vpn +genclient
|
+k8s:deepcopy-gen=package +groupName=vpn.morfic.io +groupGoName=vpn +genclient |
client
|
|
clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
clientset/versioned/typed/dns/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/dns/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
clientset/versioned/typed/firewall/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/firewall/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
clientset/versioned/typed/net/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/net/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
clientset/versioned/typed/services/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/services/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
clientset/versioned/typed/sys/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/sys/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
clientset/versioned/typed/vpn/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
clientset/versioned/typed/vpn/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
ipcapi
|
|
connections
Package list implements a doubly linked list.
|
Package list implements a doubly linked list. |