edge_client_pb

package
v0.23.16 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

README

Prerequisites

  1. Install the protoc binary from: https://github.com/protocolbuffers/protobuf/releases
  2. Install the protoc plugin for Go go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
  3. Ensure protoc is on your path.
  4. Ensure your Go bin directory is on your path

Generate Go Code

Two options, run the command manually or use go generate

Go Generate

  1. Navigate to the root project directory sdk-golang
  2. run go generate ./pb/edge_client_pb/... or go generate /pb/edge_client_pb/...

Note: Running a naked go generate will trigger all go:generate tags in the project, which you most likely do not want

Manually

  1. Navigate to the project root
  2. Run: protoc -I ./pb/ ./pb/edge_client_pb/edge_client.proto --go_out=./pb/edge_client_pb

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ContentType_name = map[int32]string{
		0:     "Zero",
		60783: "ConnectType",
		60784: "StateConnectedType",
		60785: "StateClosedType",
		60786: "DataType",
		60787: "DialType",
		60788: "DialSuccessType",
		60789: "DialFailedType",
		60790: "BindType",
		60791: "UnbindType",
		60792: "StateSessionEndedType",
		60793: "ProbeType",
		60794: "UpdateBindType",
		60795: "HealthEventType",
		60796: "TraceRouteType",
		60797: "TraceRouteResponseType",
		60800: "UpdateTokenType",
		60801: "UpdateTokenSuccessType",
		60802: "UpdateTokenFailureType",
		10800: "PostureResponseType",
		10801: "PostureResponseSuccessType",
	}
	ContentType_value = map[string]int32{
		"Zero":                       0,
		"ConnectType":                60783,
		"StateConnectedType":         60784,
		"StateClosedType":            60785,
		"DataType":                   60786,
		"DialType":                   60787,
		"DialSuccessType":            60788,
		"DialFailedType":             60789,
		"BindType":                   60790,
		"UnbindType":                 60791,
		"StateSessionEndedType":      60792,
		"ProbeType":                  60793,
		"UpdateBindType":             60794,
		"HealthEventType":            60795,
		"TraceRouteType":             60796,
		"TraceRouteResponseType":     60797,
		"UpdateTokenType":            60800,
		"UpdateTokenSuccessType":     60801,
		"UpdateTokenFailureType":     60802,
		"PostureResponseType":        10800,
		"PostureResponseSuccessType": 10801,
	}
)

Enum value maps for ContentType.

View Source
var File_edge_client_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ContentType

type ContentType int32
const (
	ContentType_Zero                       ContentType = 0
	ContentType_ConnectType                ContentType = 60783
	ContentType_StateConnectedType         ContentType = 60784
	ContentType_StateClosedType            ContentType = 60785
	ContentType_DataType                   ContentType = 60786
	ContentType_DialType                   ContentType = 60787
	ContentType_DialSuccessType            ContentType = 60788
	ContentType_DialFailedType             ContentType = 60789
	ContentType_BindType                   ContentType = 60790
	ContentType_UnbindType                 ContentType = 60791
	ContentType_StateSessionEndedType      ContentType = 60792
	ContentType_ProbeType                  ContentType = 60793
	ContentType_UpdateBindType             ContentType = 60794
	ContentType_HealthEventType            ContentType = 60795
	ContentType_TraceRouteType             ContentType = 60796
	ContentType_TraceRouteResponseType     ContentType = 60797
	ContentType_UpdateTokenType            ContentType = 60800
	ContentType_UpdateTokenSuccessType     ContentType = 60801
	ContentType_UpdateTokenFailureType     ContentType = 60802
	ContentType_PostureResponseType        ContentType = 10800
	ContentType_PostureResponseSuccessType ContentType = 10801
)

func (ContentType) Descriptor

func (ContentType) Enum

func (x ContentType) Enum() *ContentType

func (ContentType) EnumDescriptor deprecated

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

Deprecated: Use ContentType.Descriptor instead.

func (ContentType) Number

func (x ContentType) Number() protoreflect.EnumNumber

func (ContentType) String

func (x ContentType) String() string

func (ContentType) Type

type PostureResponse

type PostureResponse struct {

	// Types that are assignable to Type:
	//
	//	*PostureResponse_Macs_
	//	*PostureResponse_Os
	//	*PostureResponse_ProcessList_
	//	*PostureResponse_Domain_
	//	*PostureResponse_Woken_
	//	*PostureResponse_Unlocked_
	//	*PostureResponse_SdkInfo_
	Type isPostureResponse_Type `protobuf_oneof:"Type"`
	// contains filtered or unexported fields
}

func (*PostureResponse) Descriptor deprecated

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

Deprecated: Use PostureResponse.ProtoReflect.Descriptor instead.

func (*PostureResponse) GetDomain

func (x *PostureResponse) GetDomain() *PostureResponse_Domain

func (*PostureResponse) GetMacs

func (x *PostureResponse) GetMacs() *PostureResponse_Macs

func (*PostureResponse) GetOs

func (*PostureResponse) GetProcessList

func (x *PostureResponse) GetProcessList() *PostureResponse_ProcessList

func (*PostureResponse) GetSdkInfo

func (x *PostureResponse) GetSdkInfo() *PostureResponse_SdkInfo

func (*PostureResponse) GetType

func (m *PostureResponse) GetType() isPostureResponse_Type

func (*PostureResponse) GetUnlocked

func (x *PostureResponse) GetUnlocked() *PostureResponse_Unlocked

func (*PostureResponse) GetWoken

func (x *PostureResponse) GetWoken() *PostureResponse_Woken

func (*PostureResponse) ProtoMessage

func (*PostureResponse) ProtoMessage()

func (*PostureResponse) ProtoReflect

func (x *PostureResponse) ProtoReflect() protoreflect.Message

func (*PostureResponse) Reset

func (x *PostureResponse) Reset()

func (*PostureResponse) String

func (x *PostureResponse) String() string

type PostureResponse_Domain

type PostureResponse_Domain struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_Domain) Descriptor deprecated

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

Deprecated: Use PostureResponse_Domain.ProtoReflect.Descriptor instead.

func (*PostureResponse_Domain) GetName

func (x *PostureResponse_Domain) GetName() string

func (*PostureResponse_Domain) ProtoMessage

func (*PostureResponse_Domain) ProtoMessage()

func (*PostureResponse_Domain) ProtoReflect

func (x *PostureResponse_Domain) ProtoReflect() protoreflect.Message

func (*PostureResponse_Domain) Reset

func (x *PostureResponse_Domain) Reset()

func (*PostureResponse_Domain) String

func (x *PostureResponse_Domain) String() string

type PostureResponse_Domain_

type PostureResponse_Domain_ struct {
	Domain *PostureResponse_Domain `protobuf:"bytes,4,opt,name=domain,proto3,oneof"`
}

type PostureResponse_Macs

type PostureResponse_Macs struct {
	Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_Macs) Descriptor deprecated

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

Deprecated: Use PostureResponse_Macs.ProtoReflect.Descriptor instead.

func (*PostureResponse_Macs) GetAddresses

func (x *PostureResponse_Macs) GetAddresses() []string

func (*PostureResponse_Macs) ProtoMessage

func (*PostureResponse_Macs) ProtoMessage()

func (*PostureResponse_Macs) ProtoReflect

func (x *PostureResponse_Macs) ProtoReflect() protoreflect.Message

func (*PostureResponse_Macs) Reset

func (x *PostureResponse_Macs) Reset()

func (*PostureResponse_Macs) String

func (x *PostureResponse_Macs) String() string

type PostureResponse_Macs_

type PostureResponse_Macs_ struct {
	Macs *PostureResponse_Macs `protobuf:"bytes,1,opt,name=macs,proto3,oneof"`
}

type PostureResponse_OperatingSystem

type PostureResponse_OperatingSystem struct {
	Type    string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Build   string `protobuf:"bytes,3,opt,name=build,proto3" json:"build,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_OperatingSystem) Descriptor deprecated

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

Deprecated: Use PostureResponse_OperatingSystem.ProtoReflect.Descriptor instead.

func (*PostureResponse_OperatingSystem) GetBuild

func (*PostureResponse_OperatingSystem) GetType

func (*PostureResponse_OperatingSystem) GetVersion

func (x *PostureResponse_OperatingSystem) GetVersion() string

func (*PostureResponse_OperatingSystem) ProtoMessage

func (*PostureResponse_OperatingSystem) ProtoMessage()

func (*PostureResponse_OperatingSystem) ProtoReflect

func (*PostureResponse_OperatingSystem) Reset

func (*PostureResponse_OperatingSystem) String

type PostureResponse_Os

type PostureResponse_Os struct {
	Os *PostureResponse_OperatingSystem `protobuf:"bytes,2,opt,name=os,proto3,oneof"`
}

type PostureResponse_Process

type PostureResponse_Process struct {
	Path               string   `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	IsRunning          bool     `protobuf:"varint,2,opt,name=isRunning,proto3" json:"isRunning,omitempty"`
	Hash               string   `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	SignerFingerprints []string `protobuf:"bytes,4,rep,name=signerFingerprints,proto3" json:"signerFingerprints,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_Process) Descriptor deprecated

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

Deprecated: Use PostureResponse_Process.ProtoReflect.Descriptor instead.

func (*PostureResponse_Process) GetHash

func (x *PostureResponse_Process) GetHash() string

func (*PostureResponse_Process) GetIsRunning

func (x *PostureResponse_Process) GetIsRunning() bool

func (*PostureResponse_Process) GetPath

func (x *PostureResponse_Process) GetPath() string

func (*PostureResponse_Process) GetSignerFingerprints

func (x *PostureResponse_Process) GetSignerFingerprints() []string

func (*PostureResponse_Process) ProtoMessage

func (*PostureResponse_Process) ProtoMessage()

func (*PostureResponse_Process) ProtoReflect

func (x *PostureResponse_Process) ProtoReflect() protoreflect.Message

func (*PostureResponse_Process) Reset

func (x *PostureResponse_Process) Reset()

func (*PostureResponse_Process) String

func (x *PostureResponse_Process) String() string

type PostureResponse_ProcessList

type PostureResponse_ProcessList struct {
	Processes []*PostureResponse_Process `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_ProcessList) Descriptor deprecated

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

Deprecated: Use PostureResponse_ProcessList.ProtoReflect.Descriptor instead.

func (*PostureResponse_ProcessList) GetProcesses

func (*PostureResponse_ProcessList) ProtoMessage

func (*PostureResponse_ProcessList) ProtoMessage()

func (*PostureResponse_ProcessList) ProtoReflect

func (*PostureResponse_ProcessList) Reset

func (x *PostureResponse_ProcessList) Reset()

func (*PostureResponse_ProcessList) String

func (x *PostureResponse_ProcessList) String() string

type PostureResponse_ProcessList_

type PostureResponse_ProcessList_ struct {
	ProcessList *PostureResponse_ProcessList `protobuf:"bytes,3,opt,name=processList,proto3,oneof"`
}

type PostureResponse_SdkInfo

type PostureResponse_SdkInfo struct {
	AppId      string `protobuf:"bytes,1,opt,name=appId,proto3" json:"appId,omitempty"`
	AppVersion string `protobuf:"bytes,2,opt,name=appVersion,proto3" json:"appVersion,omitempty"`
	Branch     string `protobuf:"bytes,3,opt,name=branch,proto3" json:"branch,omitempty"`
	Revision   string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"`
	Type       string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Version    string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_SdkInfo) Descriptor deprecated

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

Deprecated: Use PostureResponse_SdkInfo.ProtoReflect.Descriptor instead.

func (*PostureResponse_SdkInfo) GetAppId

func (x *PostureResponse_SdkInfo) GetAppId() string

func (*PostureResponse_SdkInfo) GetAppVersion

func (x *PostureResponse_SdkInfo) GetAppVersion() string

func (*PostureResponse_SdkInfo) GetBranch

func (x *PostureResponse_SdkInfo) GetBranch() string

func (*PostureResponse_SdkInfo) GetRevision

func (x *PostureResponse_SdkInfo) GetRevision() string

func (*PostureResponse_SdkInfo) GetType

func (x *PostureResponse_SdkInfo) GetType() string

func (*PostureResponse_SdkInfo) GetVersion

func (x *PostureResponse_SdkInfo) GetVersion() string

func (*PostureResponse_SdkInfo) ProtoMessage

func (*PostureResponse_SdkInfo) ProtoMessage()

func (*PostureResponse_SdkInfo) ProtoReflect

func (x *PostureResponse_SdkInfo) ProtoReflect() protoreflect.Message

func (*PostureResponse_SdkInfo) Reset

func (x *PostureResponse_SdkInfo) Reset()

func (*PostureResponse_SdkInfo) String

func (x *PostureResponse_SdkInfo) String() string

type PostureResponse_SdkInfo_

type PostureResponse_SdkInfo_ struct {
	SdkInfo *PostureResponse_SdkInfo `protobuf:"bytes,7,opt,name=sdkInfo,proto3,oneof"`
}

type PostureResponse_Unlocked

type PostureResponse_Unlocked struct {
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=Time,proto3" json:"Time,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_Unlocked) Descriptor deprecated

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

Deprecated: Use PostureResponse_Unlocked.ProtoReflect.Descriptor instead.

func (*PostureResponse_Unlocked) GetTime

func (*PostureResponse_Unlocked) ProtoMessage

func (*PostureResponse_Unlocked) ProtoMessage()

func (*PostureResponse_Unlocked) ProtoReflect

func (x *PostureResponse_Unlocked) ProtoReflect() protoreflect.Message

func (*PostureResponse_Unlocked) Reset

func (x *PostureResponse_Unlocked) Reset()

func (*PostureResponse_Unlocked) String

func (x *PostureResponse_Unlocked) String() string

type PostureResponse_Unlocked_

type PostureResponse_Unlocked_ struct {
	Unlocked *PostureResponse_Unlocked `protobuf:"bytes,6,opt,name=unlocked,proto3,oneof"`
}

type PostureResponse_Woken

type PostureResponse_Woken struct {
	Time *timestamp.Timestamp `protobuf:"bytes,1,opt,name=Time,proto3" json:"Time,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponse_Woken) Descriptor deprecated

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

Deprecated: Use PostureResponse_Woken.ProtoReflect.Descriptor instead.

func (*PostureResponse_Woken) GetTime

func (*PostureResponse_Woken) ProtoMessage

func (*PostureResponse_Woken) ProtoMessage()

func (*PostureResponse_Woken) ProtoReflect

func (x *PostureResponse_Woken) ProtoReflect() protoreflect.Message

func (*PostureResponse_Woken) Reset

func (x *PostureResponse_Woken) Reset()

func (*PostureResponse_Woken) String

func (x *PostureResponse_Woken) String() string

type PostureResponse_Woken_

type PostureResponse_Woken_ struct {
	Woken *PostureResponse_Woken `protobuf:"bytes,5,opt,name=woken,proto3,oneof"`
}

type PostureResponses

type PostureResponses struct {
	Responses []*PostureResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*PostureResponses) Descriptor deprecated

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

Deprecated: Use PostureResponses.ProtoReflect.Descriptor instead.

func (*PostureResponses) GetResponses

func (x *PostureResponses) GetResponses() []*PostureResponse

func (*PostureResponses) ProtoMessage

func (*PostureResponses) ProtoMessage()

func (*PostureResponses) ProtoReflect

func (x *PostureResponses) ProtoReflect() protoreflect.Message

func (*PostureResponses) Reset

func (x *PostureResponses) Reset()

func (*PostureResponses) String

func (x *PostureResponses) String() string

Jump to

Keyboard shortcuts

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