forwarding

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package forwarding provides definitions for human-readable forwarding configuration files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	// Socket contains parameters related to Unix domain socket handling.
	Socket struct {
		// OverwriteMode specifies the default socket overwrite mode to use for
		// Unix domain socket endpoints.
		OverwriteMode forwarding.SocketOverwriteMode `yaml:"overwriteMode"`
		// Owner specifies the owner identifier to use for Unix domain listener
		// sockets.
		Owner string `yaml:"owner"`
		// Group specifies the group identifier to use for Unix domain listener
		// sockets.
		Group string `yaml:"group"`
		// PermissionMode specifies the permission mode to use for Unix domain
		// listener sockets.
		PermissionMode filesystem.Mode `yaml:"permissionMode"`
	} `yaml:"socket"`
}

Configuration represents a YAML-based Mutagen forwarding session configuration.

func (*Configuration) Configuration

func (c *Configuration) Configuration() *forwarding.Configuration

Configuration converts a YAML session configuration to a Protocol Buffers session configuration. It does not validate the resulting configuration.

Jump to

Keyboard shortcuts

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