pnd

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiOperation_name = map[int32]string{
		0: "UPDATE",
		1: "REPLACE",
		2: "DELETE",
	}
	ApiOperation_value = map[string]int32{
		"UPDATE":  0,
		"REPLACE": 1,
		"DELETE":  2,
	}
)

Enum value maps for ApiOperation.

View Source
var (
	Change_State_name = map[int32]string{
		0: "PENDING",
		1: "COMMITTED",
		2: "CONFIRMED",
		3: "INCONSISTENT",
	}
	Change_State_value = map[string]int32{
		"PENDING":      0,
		"COMMITTED":    1,
		"CONFIRMED":    2,
		"INCONSISTENT": 3,
	}
)

Enum value maps for Change_State.

View Source
var (
	SetChange_Operation_name = map[int32]string{
		0: "CREATE",
		1: "COMMIT",
		2: "CONFIRM",
	}
	SetChange_Operation_value = map[string]int32{
		"CREATE":  0,
		"COMMIT":  1,
		"CONFIRM": 2,
	}
)

Enum value maps for SetChange_Operation.

View Source
var (
	SetResponseStatus_name = map[int32]string{
		0: "OK",
		1: "ERROR",
	}
	SetResponseStatus_value = map[string]int32{
		"OK":    0,
		"ERROR": 1,
	}
)

Enum value maps for SetResponseStatus.

View Source
var (
	DeleteRequest_Type_name = map[int32]string{
		0: "OND",
		1: "SBI",
		2: "PND",
	}
	DeleteRequest_Type_value = map[string]int32{
		"OND": 0,
		"SBI": 1,
		"PND": 2,
	}
)

Enum value maps for DeleteRequest_Type.

View Source
var (
	DeleteResponseStatus_name = map[int32]string{
		0: "OK",
		1: "ERROR",
	}
	DeleteResponseStatus_value = map[string]int32{
		"OK":    0,
		"ERROR": 1,
	}
)

Enum value maps for DeleteResponseStatus.

View Source
var File_gosdn_pnd_pnd_proto protoreflect.FileDescriptor

Functions

func RegisterPndServer

func RegisterPndServer(s *grpc.Server, srv PndServer)

Types

type ApiOperation

type ApiOperation int32
const (
	ApiOperation_UPDATE  ApiOperation = 0
	ApiOperation_REPLACE ApiOperation = 1
	ApiOperation_DELETE  ApiOperation = 2
)

func (ApiOperation) Descriptor

func (ApiOperation) Enum

func (x ApiOperation) Enum() *ApiOperation

func (ApiOperation) EnumDescriptor deprecated

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

Deprecated: Use ApiOperation.Descriptor instead.

func (ApiOperation) Number

func (ApiOperation) String

func (x ApiOperation) String() string

func (ApiOperation) Type

type Change

type Change struct {
	Id    string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Age   int64        `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
	State Change_State `protobuf:"varint,3,opt,name=state,proto3,enum=gosdn.pnd.Change_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*Change) Descriptor deprecated

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

Deprecated: Use Change.ProtoReflect.Descriptor instead.

func (*Change) GetAge

func (x *Change) GetAge() int64

func (*Change) GetId

func (x *Change) GetId() string

func (*Change) GetState

func (x *Change) GetState() Change_State

func (*Change) ProtoMessage

func (*Change) ProtoMessage()

func (*Change) ProtoReflect

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

func (*Change) Reset

func (x *Change) Reset()

func (*Change) String

func (x *Change) String() string

type ChangeRequest

type ChangeRequest struct {
	Id    string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Path  string       `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Value string       `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	ApiOp ApiOperation `protobuf:"varint,4,opt,name=apiOp,proto3,enum=gosdn.pnd.ApiOperation" json:"apiOp,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeRequest) Descriptor deprecated

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

Deprecated: Use ChangeRequest.ProtoReflect.Descriptor instead.

func (*ChangeRequest) GetApiOp

func (x *ChangeRequest) GetApiOp() ApiOperation

func (*ChangeRequest) GetId

func (x *ChangeRequest) GetId() string

func (*ChangeRequest) GetPath

func (x *ChangeRequest) GetPath() string

func (*ChangeRequest) GetValue

func (x *ChangeRequest) GetValue() string

func (*ChangeRequest) ProtoMessage

func (*ChangeRequest) ProtoMessage()

func (*ChangeRequest) ProtoReflect

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

func (*ChangeRequest) Reset

func (x *ChangeRequest) Reset()

func (*ChangeRequest) String

func (x *ChangeRequest) String() string

type Change_State

type Change_State int32
const (
	Change_PENDING      Change_State = 0
	Change_COMMITTED    Change_State = 1
	Change_CONFIRMED    Change_State = 2
	Change_INCONSISTENT Change_State = 3
)

func (Change_State) Descriptor

func (Change_State) Enum

func (x Change_State) Enum() *Change_State

func (Change_State) EnumDescriptor deprecated

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

Deprecated: Use Change_State.Descriptor instead.

func (Change_State) Number

func (Change_State) String

func (x Change_State) String() string

func (Change_State) Type

type DeleteRequest

type DeleteRequest struct {
	Timestamp int64              `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	Type      DeleteRequest_Type `protobuf:"varint,2,opt,name=type,proto3,enum=gosdn.pnd.DeleteRequest_Type" json:"type,omitempty"`
	Uuid      string             `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Pid       string             `protobuf:"bytes,4,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) GetPid

func (x *DeleteRequest) GetPid() string

func (*DeleteRequest) GetTimestamp

func (x *DeleteRequest) GetTimestamp() int64

func (*DeleteRequest) GetType

func (x *DeleteRequest) GetType() DeleteRequest_Type

func (*DeleteRequest) GetUuid

func (x *DeleteRequest) GetUuid() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

type DeleteRequest_Type

type DeleteRequest_Type int32
const (
	DeleteRequest_OND DeleteRequest_Type = 0
	DeleteRequest_SBI DeleteRequest_Type = 1
	DeleteRequest_PND DeleteRequest_Type = 2
)

func (DeleteRequest_Type) Descriptor

func (DeleteRequest_Type) Enum

func (DeleteRequest_Type) EnumDescriptor deprecated

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

Deprecated: Use DeleteRequest_Type.Descriptor instead.

func (DeleteRequest_Type) Number

func (DeleteRequest_Type) String

func (x DeleteRequest_Type) String() string

func (DeleteRequest_Type) Type

type DeleteResponse

type DeleteResponse struct {
	Timestamp int64                `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	Status    DeleteResponseStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=gosdn.pnd.DeleteResponseStatus" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetStatus

func (x *DeleteResponse) GetStatus() DeleteResponseStatus

func (*DeleteResponse) GetTimestamp

func (x *DeleteResponse) GetTimestamp() int64

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

type DeleteResponseStatus

type DeleteResponseStatus int32
const (
	DeleteResponse_OK    DeleteResponseStatus = 0
	DeleteResponse_ERROR DeleteResponseStatus = 1
)

func (DeleteResponseStatus) Descriptor

func (DeleteResponseStatus) Enum

func (DeleteResponseStatus) EnumDescriptor deprecated

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

Deprecated: Use DeleteResponseStatus.Descriptor instead.

func (DeleteResponseStatus) Number

func (DeleteResponseStatus) String

func (x DeleteResponseStatus) String() string

func (DeleteResponseStatus) Type

type GetChange

type GetChange struct {
	All  bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	Cuid []string `protobuf:"bytes,2,rep,name=cuid,proto3" json:"cuid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetChange) Descriptor deprecated

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

Deprecated: Use GetChange.ProtoReflect.Descriptor instead.

func (*GetChange) GetAll

func (x *GetChange) GetAll() bool

func (*GetChange) GetCuid

func (x *GetChange) GetCuid() []string

func (*GetChange) ProtoMessage

func (*GetChange) ProtoMessage()

func (*GetChange) ProtoReflect

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

func (*GetChange) Reset

func (x *GetChange) Reset()

func (*GetChange) String

func (x *GetChange) String() string

type GetOnd

type GetOnd struct {
	All bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	Did []string `protobuf:"bytes,2,rep,name=did,proto3" json:"did,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOnd) Descriptor deprecated

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

Deprecated: Use GetOnd.ProtoReflect.Descriptor instead.

func (*GetOnd) GetAll

func (x *GetOnd) GetAll() bool

func (*GetOnd) GetDid

func (x *GetOnd) GetDid() []string

func (*GetOnd) ProtoMessage

func (*GetOnd) ProtoMessage()

func (*GetOnd) ProtoReflect

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

func (*GetOnd) Reset

func (x *GetOnd) Reset()

func (*GetOnd) String

func (x *GetOnd) String() string

type GetPath

type GetPath struct {
	Did  string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPath) Descriptor deprecated

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

Deprecated: Use GetPath.ProtoReflect.Descriptor instead.

func (*GetPath) GetDid

func (x *GetPath) GetDid() string

func (*GetPath) GetPath

func (x *GetPath) GetPath() string

func (*GetPath) ProtoMessage

func (*GetPath) ProtoMessage()

func (*GetPath) ProtoReflect

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

func (*GetPath) Reset

func (x *GetPath) Reset()

func (*GetPath) String

func (x *GetPath) String() string

type GetPnd

type GetPnd struct {
	// contains filtered or unexported fields
}

func (*GetPnd) Descriptor deprecated

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

Deprecated: Use GetPnd.ProtoReflect.Descriptor instead.

func (*GetPnd) ProtoMessage

func (*GetPnd) ProtoMessage()

func (*GetPnd) ProtoReflect

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

func (*GetPnd) Reset

func (x *GetPnd) Reset()

func (*GetPnd) String

func (x *GetPnd) String() string

type GetRequest

type GetRequest struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	// Types that are assignable to Request:
	//	*GetRequest_Pnd
	//	*GetRequest_Ond
	//	*GetRequest_Sbi
	//	*GetRequest_Change
	//	*GetRequest_Path
	Request isGetRequest_Request `protobuf_oneof:"request"`
	Pid     string               `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetChange

func (x *GetRequest) GetChange() *GetChange

func (*GetRequest) GetOnd

func (x *GetRequest) GetOnd() *GetOnd

func (*GetRequest) GetPath

func (x *GetRequest) GetPath() *GetPath

func (*GetRequest) GetPid

func (x *GetRequest) GetPid() string

func (*GetRequest) GetPnd

func (x *GetRequest) GetPnd() *GetPnd

func (*GetRequest) GetRequest

func (m *GetRequest) GetRequest() isGetRequest_Request

func (*GetRequest) GetSbi

func (x *GetRequest) GetSbi() *GetSbi

func (*GetRequest) GetTimestamp

func (x *GetRequest) GetTimestamp() int64

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetRequest_Change

type GetRequest_Change struct {
	Change *GetChange `protobuf:"bytes,5,opt,name=change,proto3,oneof"`
}

type GetRequest_Ond

type GetRequest_Ond struct {
	Ond *GetOnd `protobuf:"bytes,3,opt,name=ond,proto3,oneof"`
}

type GetRequest_Path

type GetRequest_Path struct {
	Path *GetPath `protobuf:"bytes,7,opt,name=path,proto3,oneof"`
}

type GetRequest_Pnd

type GetRequest_Pnd struct {
	Pnd *GetPnd `protobuf:"bytes,2,opt,name=pnd,proto3,oneof"`
}

type GetRequest_Sbi

type GetRequest_Sbi struct {
	Sbi *GetSbi `protobuf:"bytes,4,opt,name=sbi,proto3,oneof"`
}

type GetResponse

type GetResponse struct {
	Timestamp int64                             `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	Pnd       *PrincipalNetworkDomain           `protobuf:"bytes,2,opt,name=pnd,proto3" json:"pnd,omitempty"`
	Ond       []*OrchestratedNetworkingDevice   `protobuf:"bytes,3,rep,name=ond,proto3" json:"ond,omitempty"`
	Sbi       []*southbound.SouthboundInterface `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"`
	Change    []*Change                         `protobuf:"bytes,7,rep,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetChange

func (x *GetResponse) GetChange() []*Change

func (*GetResponse) GetOnd

func (*GetResponse) GetPnd

func (x *GetResponse) GetPnd() *PrincipalNetworkDomain

func (*GetResponse) GetSbi

func (*GetResponse) GetTimestamp

func (x *GetResponse) GetTimestamp() int64

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type GetSbi

type GetSbi struct {
	All bool     `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
	Sid []string `protobuf:"bytes,2,rep,name=sid,proto3" json:"sid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSbi) Descriptor deprecated

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

Deprecated: Use GetSbi.ProtoReflect.Descriptor instead.

func (*GetSbi) GetAll

func (x *GetSbi) GetAll() bool

func (*GetSbi) GetSid

func (x *GetSbi) GetSid() []string

func (*GetSbi) ProtoMessage

func (*GetSbi) ProtoMessage()

func (*GetSbi) ProtoReflect

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

func (*GetSbi) Reset

func (x *GetSbi) Reset()

func (*GetSbi) String

func (x *GetSbi) String() string

type OrchestratedNetworkingDevice

type OrchestratedNetworkingDevice struct {
	Id     string                          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string                          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Device []*gnmi.Notification            `protobuf:"bytes,3,rep,name=device,proto3" json:"device,omitempty"`
	Sbi    *southbound.SouthboundInterface `protobuf:"bytes,4,opt,name=sbi,proto3" json:"sbi,omitempty"`
	// contains filtered or unexported fields
}

func (*OrchestratedNetworkingDevice) Descriptor deprecated

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

Deprecated: Use OrchestratedNetworkingDevice.ProtoReflect.Descriptor instead.

func (*OrchestratedNetworkingDevice) GetDevice

func (*OrchestratedNetworkingDevice) GetId

func (*OrchestratedNetworkingDevice) GetName

func (x *OrchestratedNetworkingDevice) GetName() string

func (*OrchestratedNetworkingDevice) GetSbi

func (*OrchestratedNetworkingDevice) ProtoMessage

func (*OrchestratedNetworkingDevice) ProtoMessage()

func (*OrchestratedNetworkingDevice) ProtoReflect

func (*OrchestratedNetworkingDevice) Reset

func (x *OrchestratedNetworkingDevice) Reset()

func (*OrchestratedNetworkingDevice) String

type PndClient

type PndClient interface {
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
}

PndClient is the client API for Pnd service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPndClient

func NewPndClient(cc grpc.ClientConnInterface) PndClient

type PndServer

type PndServer interface {
	Get(context.Context, *GetRequest) (*GetResponse, error)
	Set(context.Context, *SetRequest) (*SetResponse, error)
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	// contains filtered or unexported methods
}

PndServer is the server API for Pnd service. All implementations must embed UnimplementedPndServer for forward compatibility

type PrincipalNetworkDomain

type PrincipalNetworkDomain struct {
	Id          string                            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string                            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Ond         []*OrchestratedNetworkingDevice   `protobuf:"bytes,4,rep,name=ond,proto3" json:"ond,omitempty"`
	Sbi         []*southbound.SouthboundInterface `protobuf:"bytes,5,rep,name=sbi,proto3" json:"sbi,omitempty"`
	Change      []*Change                         `protobuf:"bytes,6,rep,name=change,proto3" json:"change,omitempty"`
	// contains filtered or unexported fields
}

func (*PrincipalNetworkDomain) Descriptor deprecated

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

Deprecated: Use PrincipalNetworkDomain.ProtoReflect.Descriptor instead.

func (*PrincipalNetworkDomain) GetChange

func (x *PrincipalNetworkDomain) GetChange() []*Change

func (*PrincipalNetworkDomain) GetDescription

func (x *PrincipalNetworkDomain) GetDescription() string

func (*PrincipalNetworkDomain) GetId

func (x *PrincipalNetworkDomain) GetId() string

func (*PrincipalNetworkDomain) GetName

func (x *PrincipalNetworkDomain) GetName() string

func (*PrincipalNetworkDomain) GetOnd

func (*PrincipalNetworkDomain) GetSbi

func (*PrincipalNetworkDomain) ProtoMessage

func (*PrincipalNetworkDomain) ProtoMessage()

func (*PrincipalNetworkDomain) ProtoReflect

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

func (*PrincipalNetworkDomain) Reset

func (x *PrincipalNetworkDomain) Reset()

func (*PrincipalNetworkDomain) String

func (x *PrincipalNetworkDomain) String() string

type SetChange

type SetChange struct {
	Cuid string              `protobuf:"bytes,1,opt,name=cuid,proto3" json:"cuid,omitempty"`
	Op   SetChange_Operation `protobuf:"varint,2,opt,name=op,proto3,enum=gosdn.pnd.SetChange_Operation" json:"op,omitempty"`
	// contains filtered or unexported fields
}

func (*SetChange) Descriptor deprecated

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

Deprecated: Use SetChange.ProtoReflect.Descriptor instead.

func (*SetChange) GetCuid

func (x *SetChange) GetCuid() string

func (*SetChange) GetOp

func (x *SetChange) GetOp() SetChange_Operation

func (*SetChange) ProtoMessage

func (*SetChange) ProtoMessage()

func (*SetChange) ProtoReflect

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

func (*SetChange) Reset

func (x *SetChange) Reset()

func (*SetChange) String

func (x *SetChange) String() string

type SetChange_Operation

type SetChange_Operation int32
const (
	SetChange_CREATE  SetChange_Operation = 0
	SetChange_COMMIT  SetChange_Operation = 1
	SetChange_CONFIRM SetChange_Operation = 2
)

func (SetChange_Operation) Descriptor

func (SetChange_Operation) Enum

func (SetChange_Operation) EnumDescriptor deprecated

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

Deprecated: Use SetChange_Operation.Descriptor instead.

func (SetChange_Operation) Number

func (SetChange_Operation) String

func (x SetChange_Operation) String() string

func (SetChange_Operation) Type

type SetOnd

type SetOnd struct {
	Address         string                          `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Sbi             *southbound.SouthboundInterface `protobuf:"bytes,2,opt,name=sbi,proto3" json:"sbi,omitempty"`
	DeviceName      string                          `protobuf:"bytes,3,opt,name=deviceName,proto3" json:"deviceName,omitempty"`
	TransportOption *transport.TransportOption      `protobuf:"bytes,4,opt,name=transportOption,proto3" json:"transportOption,omitempty"`
	// contains filtered or unexported fields
}

func (*SetOnd) Descriptor deprecated

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

Deprecated: Use SetOnd.ProtoReflect.Descriptor instead.

func (*SetOnd) GetAddress

func (x *SetOnd) GetAddress() string

func (*SetOnd) GetDeviceName

func (x *SetOnd) GetDeviceName() string

func (*SetOnd) GetSbi

func (x *SetOnd) GetSbi() *southbound.SouthboundInterface

func (*SetOnd) GetTransportOption

func (x *SetOnd) GetTransportOption() *transport.TransportOption

func (*SetOnd) ProtoMessage

func (*SetOnd) ProtoMessage()

func (*SetOnd) ProtoReflect

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

func (*SetOnd) Reset

func (x *SetOnd) Reset()

func (*SetOnd) String

func (x *SetOnd) String() string

type SetRequest

type SetRequest struct {
	Timestamp     int64            `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	Ond           []*SetOnd        `protobuf:"bytes,2,rep,name=ond,proto3" json:"ond,omitempty"`
	Sbi           []*SetSbi        `protobuf:"bytes,3,rep,name=sbi,proto3" json:"sbi,omitempty"`
	Change        []*SetChange     `protobuf:"bytes,4,rep,name=change,proto3" json:"change,omitempty"`
	ChangeRequest []*ChangeRequest `protobuf:"bytes,5,rep,name=changeRequest,proto3" json:"changeRequest,omitempty"`
	Pid           string           `protobuf:"bytes,6,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRequest) Descriptor deprecated

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) GetChange

func (x *SetRequest) GetChange() []*SetChange

func (*SetRequest) GetChangeRequest

func (x *SetRequest) GetChangeRequest() []*ChangeRequest

func (*SetRequest) GetOnd

func (x *SetRequest) GetOnd() []*SetOnd

func (*SetRequest) GetPid

func (x *SetRequest) GetPid() string

func (*SetRequest) GetSbi

func (x *SetRequest) GetSbi() []*SetSbi

func (*SetRequest) GetTimestamp

func (x *SetRequest) GetTimestamp() int64

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect

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

func (*SetRequest) Reset

func (x *SetRequest) Reset()

func (*SetRequest) String

func (x *SetRequest) String() string

type SetResponse

type SetResponse struct {
	Timestamp int64             `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Timestamp in nanoseconds since Epoch.
	Status    SetResponseStatus `protobuf:"varint,2,opt,name=Status,proto3,enum=gosdn.pnd.SetResponseStatus" json:"Status,omitempty"`
	Responses []*SetResponse    `protobuf:"bytes,3,rep,name=responses,proto3" json:"responses,omitempty"`
	// contains filtered or unexported fields
}

func (*SetResponse) Descriptor deprecated

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

Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.

func (*SetResponse) GetResponses

func (x *SetResponse) GetResponses() []*SetResponse

func (*SetResponse) GetStatus

func (x *SetResponse) GetStatus() SetResponseStatus

func (*SetResponse) GetTimestamp

func (x *SetResponse) GetTimestamp() int64

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) ProtoReflect

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

func (*SetResponse) Reset

func (x *SetResponse) Reset()

func (*SetResponse) String

func (x *SetResponse) String() string

type SetResponseStatus

type SetResponseStatus int32
const (
	SetResponse_OK    SetResponseStatus = 0
	SetResponse_ERROR SetResponseStatus = 1
)

func (SetResponseStatus) Descriptor

func (SetResponseStatus) Enum

func (SetResponseStatus) EnumDescriptor deprecated

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

Deprecated: Use SetResponseStatus.Descriptor instead.

func (SetResponseStatus) Number

func (SetResponseStatus) String

func (x SetResponseStatus) String() string

func (SetResponseStatus) Type

type SetSbi

type SetSbi struct {
	// contains filtered or unexported fields
}

func (*SetSbi) Descriptor deprecated

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

Deprecated: Use SetSbi.ProtoReflect.Descriptor instead.

func (*SetSbi) ProtoMessage

func (*SetSbi) ProtoMessage()

func (*SetSbi) ProtoReflect

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

func (*SetSbi) Reset

func (x *SetSbi) Reset()

func (*SetSbi) String

func (x *SetSbi) String() string

type UnimplementedPndServer

type UnimplementedPndServer struct {
}

UnimplementedPndServer must be embedded to have forward compatible implementations.

func (*UnimplementedPndServer) Delete

func (*UnimplementedPndServer) Get

func (*UnimplementedPndServer) Set

Jump to

Keyboard shortcuts

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