dnstap

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package dnstap is a generated protocol buffer package.

It is generated from these files:

policytap.proto

It has these top-level messages:

DnstapAttribute
Extra

Index

Constants

This section is empty.

Variables

View Source
var PolicyAction_name = map[int32]string{
	0: "INVALID",
	1: "DENY",
	2: "PASSTHROUGH",
	3: "NXDOMAIN",
	4: "REDIRECT",
	5: "REFUSE",
}
View Source
var PolicyAction_value = map[string]int32{
	"INVALID":     0,
	"DENY":        1,
	"PASSTHROUGH": 2,
	"NXDOMAIN":    3,
	"REDIRECT":    4,
	"REFUSE":      5,
}

Functions

This section is empty.

Types

type DnstapAttribute

type DnstapAttribute struct {
	Id    string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
}

func (*DnstapAttribute) Descriptor

func (*DnstapAttribute) Descriptor() ([]byte, []int)

func (*DnstapAttribute) GetId

func (m *DnstapAttribute) GetId() string

func (*DnstapAttribute) GetValue

func (m *DnstapAttribute) GetValue() string

func (*DnstapAttribute) ProtoMessage

func (*DnstapAttribute) ProtoMessage()

func (*DnstapAttribute) Reset

func (m *DnstapAttribute) Reset()

func (*DnstapAttribute) String

func (m *DnstapAttribute) String() string

type Extra

type Extra struct {
	Attrs []*DnstapAttribute `protobuf:"bytes,1,rep,name=attrs" json:"attrs,omitempty"`
}

func (*Extra) Descriptor

func (*Extra) Descriptor() ([]byte, []int)

func (*Extra) GetAttrs

func (m *Extra) GetAttrs() []*DnstapAttribute

func (*Extra) ProtoMessage

func (*Extra) ProtoMessage()

func (*Extra) Reset

func (m *Extra) Reset()

func (*Extra) String

func (m *Extra) String() string

type PolicyAction

type PolicyAction int32

PolicyAction defines available policy action type

const (
	PolicyAction_INVALID     PolicyAction = 0
	PolicyAction_DENY        PolicyAction = 1
	PolicyAction_PASSTHROUGH PolicyAction = 2
	PolicyAction_NXDOMAIN    PolicyAction = 3
	PolicyAction_REDIRECT    PolicyAction = 4
	PolicyAction_REFUSE      PolicyAction = 5
)

func (PolicyAction) EnumDescriptor

func (PolicyAction) EnumDescriptor() ([]byte, []int)

func (PolicyAction) String

func (x PolicyAction) String() string

Jump to

Keyboard shortcuts

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