tr451

package
v0.0.0-...-8fce991 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Header_OBJECT_TYPE_name = map[int32]string{
		0: "ONU",
		1: "VOMCI_FUNCTION",
		2: "VOMCI_PROXY",
		3: "VOLTMF",
		4: "VOMCI_FUNCTION_TYPE",
	}
	Header_OBJECT_TYPE_value = map[string]int32{
		"ONU":                 0,
		"VOMCI_FUNCTION":      1,
		"VOMCI_PROXY":         2,
		"VOLTMF":              3,
		"VOMCI_FUNCTION_TYPE": 4,
	}
)

Enum value maps for Header_OBJECT_TYPE.

View Source
var (
	NFInformation_NFCapability_name = map[int32]string{
		0: "NO_CAPABILITY_REPORTED",
		1: "ONU_STATE_ONLY_SUPPORT",
		2: "ONU_CONFIG_REPLICA_SUPPORT",
	}
	NFInformation_NFCapability_value = map[string]int32{
		"NO_CAPABILITY_REPORTED":     0,
		"ONU_STATE_ONLY_SUPPORT":     1,
		"ONU_CONFIG_REPLICA_SUPPORT": 2,
	}
)

Enum value maps for NFInformation_NFCapability.

View Source
var (
	Status_StatusCode_name = map[int32]string{
		0: "OK",
		1: "ERROR_GENERAL",
	}
	Status_StatusCode_value = map[string]int32{
		"OK":            0,
		"ERROR_GENERAL": 1,
	}
)

Enum value maps for Status_StatusCode.

View Source
var File_tr451_vomci_nbi_message_proto protoreflect.FileDescriptor
View Source
var File_tr451_vomci_nbi_service_proto protoreflect.FileDescriptor
View Source
var VomciMessageNbi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "tr451_vomci_nbi_service.v1.VomciMessageNbi",
	HandlerType: (*VomciMessageNbiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Hello",
			Handler:    _VomciMessageNbi_Hello_Handler,
		},
		{
			MethodName: "GetData",
			Handler:    _VomciMessageNbi_GetData_Handler,
		},
		{
			MethodName: "ReplaceConfig",
			Handler:    _VomciMessageNbi_ReplaceConfig_Handler,
		},
		{
			MethodName: "UpdateConfigReplica",
			Handler:    _VomciMessageNbi_UpdateConfigReplica_Handler,
		},
		{
			MethodName: "UpdateConfigInstance",
			Handler:    _VomciMessageNbi_UpdateConfigInstance_Handler,
		},
		{
			MethodName: "RPC",
			Handler:    _VomciMessageNbi_RPC_Handler,
		},
		{
			MethodName: "Action",
			Handler:    _VomciMessageNbi_Action_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "ListenForNotification",
			Handler:       _VomciMessageNbi_ListenForNotification_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "tr451_vomci_nbi_service.proto",
}

VomciMessageNbi_ServiceDesc is the grpc.ServiceDesc for VomciMessageNbi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVomciMessageNbiServer

func RegisterVomciMessageNbiServer(s grpc.ServiceRegistrar, srv VomciMessageNbiServer)

Types

type Action

type Action struct {
	InputData    []byte `protobuf:"bytes,1,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"`
	DatastoreTag string `protobuf:"bytes,2,opt,name=datastore_tag,json=datastoreTag,proto3" json:"datastore_tag,omitempty"` // Optional: Datastore tag used to
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated

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

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetDatastoreTag

func (x *Action) GetDatastoreTag() string

func (*Action) GetInputData

func (x *Action) GetInputData() []byte

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

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

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type ActionResp

type ActionResp struct {
	StatusResp *Status `protobuf:"bytes,1,opt,name=status_resp,json=statusResp,proto3" json:"status_resp,omitempty"`
	OutputData []byte  `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionResp) Descriptor deprecated

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

Deprecated: Use ActionResp.ProtoReflect.Descriptor instead.

func (*ActionResp) GetOutputData

func (x *ActionResp) GetOutputData() []byte

func (*ActionResp) GetStatusResp

func (x *ActionResp) GetStatusResp() *Status

func (*ActionResp) ProtoMessage

func (*ActionResp) ProtoMessage()

func (*ActionResp) ProtoReflect

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

func (*ActionResp) Reset

func (x *ActionResp) Reset()

func (*ActionResp) String

func (x *ActionResp) String() string

type Body

type Body struct {

	// Types that are assignable to MsgBody:
	//	*Body_Request
	//	*Body_Response
	//	*Body_Notification
	MsgBody isBody_MsgBody `protobuf_oneof:"msg_body"`
	// contains filtered or unexported fields
}

func (*Body) Descriptor deprecated

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

Deprecated: Use Body.ProtoReflect.Descriptor instead.

func (*Body) GetMsgBody

func (m *Body) GetMsgBody() isBody_MsgBody

func (*Body) GetNotification

func (x *Body) GetNotification() *Notification

func (*Body) GetRequest

func (x *Body) GetRequest() *Request

func (*Body) GetResponse

func (x *Body) GetResponse() *Response

func (*Body) ProtoMessage

func (*Body) ProtoMessage()

func (*Body) ProtoReflect

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

func (*Body) Reset

func (x *Body) Reset()

func (*Body) String

func (x *Body) String() string

type Body_Notification

type Body_Notification struct {
	Notification *Notification `protobuf:"bytes,3,opt,name=notification,proto3,oneof"`
}

type Body_Request

type Body_Request struct {
	Request *Request `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}

type Body_Response

type Body_Response struct {
	Response *Response `protobuf:"bytes,2,opt,name=response,proto3,oneof"`
}

type Error

type Error struct {
	ErrorType string `protobuf:"bytes,1,opt,name=error_type,json=errorType,proto3" json:"error_type,omitempty"` // Error type defined in RFC 6241
	// Appendix B
	ErrorTag string `protobuf:"bytes,2,opt,name=error_tag,json=errorTag,proto3" json:"error_tag,omitempty"` // Error tag defined in RFC 6241
	// Appendix B
	ErrorSeverity string `protobuf:"bytes,3,opt,name=error_severity,json=errorSeverity,proto3" json:"error_severity,omitempty"` // Error severity defined in RFC 6241
	// Appendix B
	ErrorAppTag string `protobuf:"bytes,4,opt,name=error_app_tag,json=errorAppTag,proto3" json:"error_app_tag,omitempty"` // Error app tag defined in RFC 6241
	// Appendix B
	ErrorPath string `protobuf:"bytes,5,opt,name=error_path,json=errorPath,proto3" json:"error_path,omitempty"` // Error path defined in RFC 6241
	// Appendix B
	ErrorMessage string `protobuf:"bytes,6,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // Error message defined in RFC 6241
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetErrorAppTag

func (x *Error) GetErrorAppTag() string

func (*Error) GetErrorMessage

func (x *Error) GetErrorMessage() string

func (*Error) GetErrorPath

func (x *Error) GetErrorPath() string

func (*Error) GetErrorSeverity

func (x *Error) GetErrorSeverity() string

func (*Error) GetErrorTag

func (x *Error) GetErrorTag() string

func (*Error) GetErrorType

func (x *Error) GetErrorType() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type GetData

type GetData struct {
	Filter [][]byte `protobuf:"bytes,1,rep,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetData) Descriptor deprecated

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

Deprecated: Use GetData.ProtoReflect.Descriptor instead.

func (*GetData) GetFilter

func (x *GetData) GetFilter() [][]byte

func (*GetData) ProtoMessage

func (*GetData) ProtoMessage()

func (*GetData) ProtoReflect

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

func (*GetData) Reset

func (x *GetData) Reset()

func (*GetData) String

func (x *GetData) String() string

type GetDataResp

type GetDataResp struct {
	StatusResp   *Status `protobuf:"bytes,1,opt,name=status_resp,json=statusResp,proto3" json:"status_resp,omitempty"`
	Data         []byte  `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	DatastoreTag string  `protobuf:"bytes,3,opt,name=datastore_tag,json=datastoreTag,proto3" json:"datastore_tag,omitempty"` // Optional: Datastore tag used to
	// contains filtered or unexported fields
}

func (*GetDataResp) Descriptor deprecated

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

Deprecated: Use GetDataResp.ProtoReflect.Descriptor instead.

func (*GetDataResp) GetData

func (x *GetDataResp) GetData() []byte

func (*GetDataResp) GetDatastoreTag

func (x *GetDataResp) GetDatastoreTag() string

func (*GetDataResp) GetStatusResp

func (x *GetDataResp) GetStatusResp() *Status

func (*GetDataResp) ProtoMessage

func (*GetDataResp) ProtoMessage()

func (*GetDataResp) ProtoReflect

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

func (*GetDataResp) Reset

func (x *GetDataResp) Reset()

func (*GetDataResp) String

func (x *GetDataResp) String() string
type Header struct {
	MsgId string `protobuf:"bytes,1,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"` // Message identifier to
	// 1) Identify requests and notifications
	// 2) Correlate requests and response
	SenderName string `protobuf:"bytes,2,opt,name=sender_name,json=senderName,proto3" json:"sender_name,omitempty"` // Unique name of the entity that
	// originated the message
	RecipientName string `protobuf:"bytes,3,opt,name=recipient_name,json=recipientName,proto3" json:"recipient_name,omitempty"` // The name of the entity that is to
	// receive the request
	ObjectType Header_OBJECT_TYPE `` // The type of the object or
	/* 143-byte string literal not displayed */
	// resource that is subject of the message
	ObjectName string `protobuf:"bytes,5,opt,name=object_name,json=objectName,proto3" json:"object_name,omitempty"` // The  name of the object or resource
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetMsgId

func (x *Header) GetMsgId() string

func (*Header) GetObjectName

func (x *Header) GetObjectName() string

func (*Header) GetObjectType

func (x *Header) GetObjectType() Header_OBJECT_TYPE

func (*Header) GetRecipientName

func (x *Header) GetRecipientName() string

func (*Header) GetSenderName

func (x *Header) GetSenderName() string

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type Header_OBJECT_TYPE

type Header_OBJECT_TYPE int32
const (
	Header_ONU                 Header_OBJECT_TYPE = 0
	Header_VOMCI_FUNCTION      Header_OBJECT_TYPE = 1
	Header_VOMCI_PROXY         Header_OBJECT_TYPE = 2
	Header_VOLTMF              Header_OBJECT_TYPE = 3
	Header_VOMCI_FUNCTION_TYPE Header_OBJECT_TYPE = 4 //Category of vOMCI function instances
)

func (Header_OBJECT_TYPE) Descriptor

func (Header_OBJECT_TYPE) Enum

func (Header_OBJECT_TYPE) EnumDescriptor deprecated

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

Deprecated: Use Header_OBJECT_TYPE.Descriptor instead.

func (Header_OBJECT_TYPE) Number

func (Header_OBJECT_TYPE) String

func (x Header_OBJECT_TYPE) String() string

func (Header_OBJECT_TYPE) Type

type Hello

type Hello struct {
	ServiceEndpointName string `protobuf:"bytes,1,opt,name=service_endpoint_name,json=serviceEndpointName,proto3" json:"service_endpoint_name,omitempty"` //The service endpoint the client
	// contains filtered or unexported fields
}

func (*Hello) Descriptor deprecated

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

Deprecated: Use Hello.ProtoReflect.Descriptor instead.

func (*Hello) GetServiceEndpointName

func (x *Hello) GetServiceEndpointName() string

func (*Hello) ProtoMessage

func (*Hello) ProtoMessage()

func (*Hello) ProtoReflect

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

func (*Hello) Reset

func (x *Hello) Reset()

func (*Hello) String

func (x *Hello) String() string

type HelloResp

type HelloResp struct {
	ServiceEndpointName string `protobuf:"bytes,1,opt,name=service_endpoint_name,json=serviceEndpointName,proto3" json:"service_endpoint_name,omitempty"` //The service endpoint the server
	//used to listen on the session
	NetworkFunctionInfo []*NFInformation `protobuf:"bytes,2,rep,name=network_function_info,json=networkFunctionInfo,proto3" json:"network_function_info,omitempty"`
	// contains filtered or unexported fields
}

func (*HelloResp) Descriptor deprecated

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

Deprecated: Use HelloResp.ProtoReflect.Descriptor instead.

func (*HelloResp) GetNetworkFunctionInfo

func (x *HelloResp) GetNetworkFunctionInfo() []*NFInformation

func (*HelloResp) GetServiceEndpointName

func (x *HelloResp) GetServiceEndpointName() string

func (*HelloResp) ProtoMessage

func (*HelloResp) ProtoMessage()

func (*HelloResp) ProtoReflect

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

func (*HelloResp) Reset

func (x *HelloResp) Reset()

func (*HelloResp) String

func (x *HelloResp) String() string

type Msg

type Msg struct {
	Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Body   *Body   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*Msg) Descriptor deprecated

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

Deprecated: Use Msg.ProtoReflect.Descriptor instead.

func (*Msg) GetBody

func (x *Msg) GetBody() *Body

func (*Msg) GetHeader

func (x *Msg) GetHeader() *Header

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) ProtoReflect

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

func (*Msg) Reset

func (x *Msg) Reset()

func (*Msg) String

func (x *Msg) String() string

type NFInformation

type NFInformation struct {
	NfTypes map[string]string `` //Valid Key types:
	/* 170-byte string literal not displayed */
	// usage-category, vendor-name,
	// software-version
	Capabilities []NFInformation_NFCapability `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NFInformation) Descriptor deprecated

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

Deprecated: Use NFInformation.ProtoReflect.Descriptor instead.

func (*NFInformation) GetCapabilities

func (x *NFInformation) GetCapabilities() []NFInformation_NFCapability

func (*NFInformation) GetNfTypes

func (x *NFInformation) GetNfTypes() map[string]string

func (*NFInformation) ProtoMessage

func (*NFInformation) ProtoMessage()

func (*NFInformation) ProtoReflect

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

func (*NFInformation) Reset

func (x *NFInformation) Reset()

func (*NFInformation) String

func (x *NFInformation) String() string

type NFInformation_NFCapability

type NFInformation_NFCapability int32
const (
	NFInformation_NO_CAPABILITY_REPORTED     NFInformation_NFCapability = 0
	NFInformation_ONU_STATE_ONLY_SUPPORT     NFInformation_NFCapability = 1
	NFInformation_ONU_CONFIG_REPLICA_SUPPORT NFInformation_NFCapability = 2
)

func (NFInformation_NFCapability) Descriptor

func (NFInformation_NFCapability) Enum

func (NFInformation_NFCapability) EnumDescriptor deprecated

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

Deprecated: Use NFInformation_NFCapability.Descriptor instead.

func (NFInformation_NFCapability) Number

func (NFInformation_NFCapability) String

func (NFInformation_NFCapability) Type

type Notification

type Notification struct {
	EventTimestamp string `protobuf:"bytes,1,opt,name=event_timestamp,json=eventTimestamp,proto3" json:"event_timestamp,omitempty"`
	Data           []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetData

func (x *Notification) GetData() []byte

func (*Notification) GetEventTimestamp

func (x *Notification) GetEventTimestamp() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type RPC

type RPC struct {
	InputData    []byte `protobuf:"bytes,1,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"`
	DatastoreTag string `protobuf:"bytes,2,opt,name=datastore_tag,json=datastoreTag,proto3" json:"datastore_tag,omitempty"` // Optional: Datastore tag used to
	// contains filtered or unexported fields
}

func (*RPC) Descriptor deprecated

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

Deprecated: Use RPC.ProtoReflect.Descriptor instead.

func (*RPC) GetDatastoreTag

func (x *RPC) GetDatastoreTag() string

func (*RPC) GetInputData

func (x *RPC) GetInputData() []byte

func (*RPC) ProtoMessage

func (*RPC) ProtoMessage()

func (*RPC) ProtoReflect

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

func (*RPC) Reset

func (x *RPC) Reset()

func (*RPC) String

func (x *RPC) String() string

type RPCResp

type RPCResp struct {
	StatusResp *Status `protobuf:"bytes,1,opt,name=status_resp,json=statusResp,proto3" json:"status_resp,omitempty"`
	OutputData []byte  `protobuf:"bytes,2,opt,name=output_data,json=outputData,proto3" json:"output_data,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCResp) Descriptor deprecated

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

Deprecated: Use RPCResp.ProtoReflect.Descriptor instead.

func (*RPCResp) GetOutputData

func (x *RPCResp) GetOutputData() []byte

func (*RPCResp) GetStatusResp

func (x *RPCResp) GetStatusResp() *Status

func (*RPCResp) ProtoMessage

func (*RPCResp) ProtoMessage()

func (*RPCResp) ProtoReflect

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

func (*RPCResp) Reset

func (x *RPCResp) Reset()

func (*RPCResp) String

func (x *RPCResp) String() string

type ReplaceConfig

type ReplaceConfig struct {
	ConfigInst []byte `protobuf:"bytes,1,opt,name=config_inst,json=configInst,proto3" json:"config_inst,omitempty"` // Full configuration instance to
	// be used as a replacement of what
	// exists for the target
	DatastoreTag string `protobuf:"bytes,2,opt,name=datastore_tag,json=datastoreTag,proto3" json:"datastore_tag,omitempty"` // Optional: Datastore tag used to
	// contains filtered or unexported fields
}

func (*ReplaceConfig) Descriptor deprecated

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

Deprecated: Use ReplaceConfig.ProtoReflect.Descriptor instead.

func (*ReplaceConfig) GetConfigInst

func (x *ReplaceConfig) GetConfigInst() []byte

func (*ReplaceConfig) GetDatastoreTag

func (x *ReplaceConfig) GetDatastoreTag() string

func (*ReplaceConfig) ProtoMessage

func (*ReplaceConfig) ProtoMessage()

func (*ReplaceConfig) ProtoReflect

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

func (*ReplaceConfig) Reset

func (x *ReplaceConfig) Reset()

func (*ReplaceConfig) String

func (x *ReplaceConfig) String() string

type ReplaceConfigResp

type ReplaceConfigResp struct {
	StatusResp *Status `protobuf:"bytes,1,opt,name=status_resp,json=statusResp,proto3" json:"status_resp,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplaceConfigResp) Descriptor deprecated

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

Deprecated: Use ReplaceConfigResp.ProtoReflect.Descriptor instead.

func (*ReplaceConfigResp) GetStatusResp

func (x *ReplaceConfigResp) GetStatusResp() *Status

func (*ReplaceConfigResp) ProtoMessage

func (*ReplaceConfigResp) ProtoMessage()

func (*ReplaceConfigResp) ProtoReflect

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

func (*ReplaceConfigResp) Reset

func (x *ReplaceConfigResp) Reset()

func (*ReplaceConfigResp) String

func (x *ReplaceConfigResp) String() string

type Request

type Request struct {

	// Types that are assignable to ReqType:
	//	*Request_Hello
	//	*Request_GetData
	//	*Request_ReplaceConfig
	//	*Request_UpdateConfig
	//	*Request_Rpc
	//	*Request_Action
	ReqType isRequest_ReqType `protobuf_oneof:"req_type"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetAction

func (x *Request) GetAction() *Action

func (*Request) GetGetData

func (x *Request) GetGetData() *GetData

func (*Request) GetHello

func (x *Request) GetHello() *Hello

func (*Request) GetReplaceConfig

func (x *Request) GetReplaceConfig() *ReplaceConfig

func (*Request) GetReqType

func (m *Request) GetReqType() isRequest_ReqType

func (*Request) GetRpc

func (x *Request) GetRpc() *RPC

func (*Request) GetUpdateConfig

func (x *Request) GetUpdateConfig() *UpdateConfig

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_Action

type Request_Action struct {
	Action *Action `protobuf:"bytes,7,opt,name=action,proto3,oneof"`
}

type Request_GetData

type Request_GetData struct {
	GetData *GetData `protobuf:"bytes,3,opt,name=get_data,json=getData,proto3,oneof"`
}

type Request_Hello

type Request_Hello struct {
	Hello *Hello `protobuf:"bytes,2,opt,name=hello,proto3,oneof"`
}

type Request_ReplaceConfig

type Request_ReplaceConfig struct {
	ReplaceConfig *ReplaceConfig `protobuf:"bytes,4,opt,name=replace_config,json=replaceConfig,proto3,oneof"`
}

type Request_Rpc

type Request_Rpc struct {
	Rpc *RPC `protobuf:"bytes,6,opt,name=rpc,proto3,oneof"`
}

type Request_UpdateConfig

type Request_UpdateConfig struct {
	UpdateConfig *UpdateConfig `protobuf:"bytes,5,opt,name=update_config,json=updateConfig,proto3,oneof"`
}

type Response

type Response struct {

	// Types that are assignable to RespType:
	//	*Response_HelloResp
	//	*Response_GetResp
	//	*Response_ReplaceConfigResp
	//	*Response_UpdateConfigResp
	//	*Response_RpcResp
	//	*Response_ActionResp
	RespType isResponse_RespType `protobuf_oneof:"resp_type"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetActionResp

func (x *Response) GetActionResp() *ActionResp

func (*Response) GetGetResp

func (x *Response) GetGetResp() *GetDataResp

func (*Response) GetHelloResp

func (x *Response) GetHelloResp() *HelloResp

func (*Response) GetReplaceConfigResp

func (x *Response) GetReplaceConfigResp() *ReplaceConfigResp

func (*Response) GetRespType

func (m *Response) GetRespType() isResponse_RespType

func (*Response) GetRpcResp

func (x *Response) GetRpcResp() *RPCResp

func (*Response) GetUpdateConfigResp

func (x *Response) GetUpdateConfigResp() *UpdateConfigResp

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type Response_ActionResp

type Response_ActionResp struct {
	ActionResp *ActionResp `protobuf:"bytes,8,opt,name=action_resp,json=actionResp,proto3,oneof"`
}

type Response_GetResp

type Response_GetResp struct {
	GetResp *GetDataResp `protobuf:"bytes,4,opt,name=get_resp,json=getResp,proto3,oneof"`
}

type Response_HelloResp

type Response_HelloResp struct {
	HelloResp *HelloResp `protobuf:"bytes,3,opt,name=hello_resp,json=helloResp,proto3,oneof"`
}

type Response_ReplaceConfigResp

type Response_ReplaceConfigResp struct {
	ReplaceConfigResp *ReplaceConfigResp `protobuf:"bytes,5,opt,name=replace_config_resp,json=replaceConfigResp,proto3,oneof"`
}

type Response_RpcResp

type Response_RpcResp struct {
	RpcResp *RPCResp `protobuf:"bytes,7,opt,name=rpc_resp,json=rpcResp,proto3,oneof"`
}

type Response_UpdateConfigResp

type Response_UpdateConfigResp struct {
	UpdateConfigResp *UpdateConfigResp `protobuf:"bytes,6,opt,name=update_config_resp,json=updateConfigResp,proto3,oneof"`
}

type Status

type Status struct {
	StatusCode Status_StatusCode ``                                                                /* 142-byte string literal not displayed */
	Error      []*Error          `protobuf:"bytes,2,rep,name=error,proto3" json:"error,omitempty"` //Optional: Error information
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetError

func (x *Status) GetError() []*Error

func (*Status) GetStatusCode

func (x *Status) GetStatusCode() Status_StatusCode

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type Status_StatusCode

type Status_StatusCode int32
const (
	Status_OK            Status_StatusCode = 0
	Status_ERROR_GENERAL Status_StatusCode = 1
)

func (Status_StatusCode) Descriptor

func (Status_StatusCode) Enum

func (Status_StatusCode) EnumDescriptor deprecated

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

Deprecated: Use Status_StatusCode.Descriptor instead.

func (Status_StatusCode) Number

func (Status_StatusCode) String

func (x Status_StatusCode) String() string

func (Status_StatusCode) Type

type UnimplementedVomciMessageNbiServer

type UnimplementedVomciMessageNbiServer struct {
}

UnimplementedVomciMessageNbiServer must be embedded to have forward compatible implementations.

func (UnimplementedVomciMessageNbiServer) Action

func (UnimplementedVomciMessageNbiServer) GetData

func (UnimplementedVomciMessageNbiServer) Hello

func (UnimplementedVomciMessageNbiServer) ListenForNotification

func (UnimplementedVomciMessageNbiServer) RPC

func (UnimplementedVomciMessageNbiServer) ReplaceConfig

func (UnimplementedVomciMessageNbiServer) UpdateConfigInstance

func (UnimplementedVomciMessageNbiServer) UpdateConfigInstance(context.Context, *Msg) (*Msg, error)

func (UnimplementedVomciMessageNbiServer) UpdateConfigReplica

func (UnimplementedVomciMessageNbiServer) UpdateConfigReplica(context.Context, *Msg) (*Msg, error)

type UnsafeVomciMessageNbiServer

type UnsafeVomciMessageNbiServer interface {
	// contains filtered or unexported methods
}

UnsafeVomciMessageNbiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VomciMessageNbiServer will result in compilation errors.

type UpdateConfig

type UpdateConfig struct {

	// Types that are assignable to ReqType:
	//	*UpdateConfig_UpdateConfigInst
	//	*UpdateConfig_UpdateConfigReplica
	ReqType      isUpdateConfig_ReqType `protobuf_oneof:"req_type"`
	DatastoreTag string                 `protobuf:"bytes,3,opt,name=datastore_tag,json=datastoreTag,proto3" json:"datastore_tag,omitempty"` // Optional: Datastore tag used to
	// contains filtered or unexported fields
}

func (*UpdateConfig) Descriptor deprecated

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

Deprecated: Use UpdateConfig.ProtoReflect.Descriptor instead.

func (*UpdateConfig) GetDatastoreTag

func (x *UpdateConfig) GetDatastoreTag() string

func (*UpdateConfig) GetReqType

func (m *UpdateConfig) GetReqType() isUpdateConfig_ReqType

func (*UpdateConfig) GetUpdateConfigInst

func (x *UpdateConfig) GetUpdateConfigInst() *UpdateConfigInstance

func (*UpdateConfig) GetUpdateConfigReplica

func (x *UpdateConfig) GetUpdateConfigReplica() *UpdateConfigReplica

func (*UpdateConfig) ProtoMessage

func (*UpdateConfig) ProtoMessage()

func (*UpdateConfig) ProtoReflect

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

func (*UpdateConfig) Reset

func (x *UpdateConfig) Reset()

func (*UpdateConfig) String

func (x *UpdateConfig) String() string

type UpdateConfigInstance

type UpdateConfigInstance struct {
	CurrentConfigInst []byte `protobuf:"bytes,1,opt,name=current_config_inst,json=currentConfigInst,proto3" json:"current_config_inst,omitempty"` // Full current configuration
	// instance
	DeltaConfig []byte `protobuf:"bytes,2,opt,name=delta_config,json=deltaConfig,proto3" json:"delta_config,omitempty"` // List of Node changes with the
	// contains filtered or unexported fields
}

func (*UpdateConfigInstance) Descriptor deprecated

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

Deprecated: Use UpdateConfigInstance.ProtoReflect.Descriptor instead.

func (*UpdateConfigInstance) GetCurrentConfigInst

func (x *UpdateConfigInstance) GetCurrentConfigInst() []byte

func (*UpdateConfigInstance) GetDeltaConfig

func (x *UpdateConfigInstance) GetDeltaConfig() []byte

func (*UpdateConfigInstance) ProtoMessage

func (*UpdateConfigInstance) ProtoMessage()

func (*UpdateConfigInstance) ProtoReflect

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

func (*UpdateConfigInstance) Reset

func (x *UpdateConfigInstance) Reset()

func (*UpdateConfigInstance) String

func (x *UpdateConfigInstance) String() string

type UpdateConfigReplica

type UpdateConfigReplica struct {
	DeltaConfig []byte `protobuf:"bytes,1,opt,name=delta_config,json=deltaConfig,proto3" json:"delta_config,omitempty"` // List of Node changes with the
	// contains filtered or unexported fields
}

func (*UpdateConfigReplica) Descriptor deprecated

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

Deprecated: Use UpdateConfigReplica.ProtoReflect.Descriptor instead.

func (*UpdateConfigReplica) GetDeltaConfig

func (x *UpdateConfigReplica) GetDeltaConfig() []byte

func (*UpdateConfigReplica) ProtoMessage

func (*UpdateConfigReplica) ProtoMessage()

func (*UpdateConfigReplica) ProtoReflect

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

func (*UpdateConfigReplica) Reset

func (x *UpdateConfigReplica) Reset()

func (*UpdateConfigReplica) String

func (x *UpdateConfigReplica) String() string

type UpdateConfigResp

type UpdateConfigResp struct {
	StatusResp *Status `protobuf:"bytes,1,opt,name=status_resp,json=statusResp,proto3" json:"status_resp,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateConfigResp) Descriptor deprecated

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

Deprecated: Use UpdateConfigResp.ProtoReflect.Descriptor instead.

func (*UpdateConfigResp) GetStatusResp

func (x *UpdateConfigResp) GetStatusResp() *Status

func (*UpdateConfigResp) ProtoMessage

func (*UpdateConfigResp) ProtoMessage()

func (*UpdateConfigResp) ProtoReflect

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

func (*UpdateConfigResp) Reset

func (x *UpdateConfigResp) Reset()

func (*UpdateConfigResp) String

func (x *UpdateConfigResp) String() string

type UpdateConfig_UpdateConfigInst

type UpdateConfig_UpdateConfigInst struct {
	UpdateConfigInst *UpdateConfigInstance `protobuf:"bytes,1,opt,name=update_config_inst,json=updateConfigInst,proto3,oneof"`
}

type UpdateConfig_UpdateConfigReplica

type UpdateConfig_UpdateConfigReplica struct {
	UpdateConfigReplica *UpdateConfigReplica `protobuf:"bytes,2,opt,name=update_config_replica,json=updateConfigReplica,proto3,oneof"`
}

type VomciMessageNbiClient

type VomciMessageNbiClient interface {
	Hello(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	GetData(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	ReplaceConfig(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	UpdateConfigReplica(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	UpdateConfigInstance(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	RPC(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	Action(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error)
	ListenForNotification(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (VomciMessageNbi_ListenForNotificationClient, error)
}

VomciMessageNbiClient is the client API for VomciMessageNbi 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.

type VomciMessageNbiServer

type VomciMessageNbiServer interface {
	Hello(context.Context, *Msg) (*Msg, error)
	GetData(context.Context, *Msg) (*Msg, error)
	ReplaceConfig(context.Context, *Msg) (*Msg, error)
	UpdateConfigReplica(context.Context, *Msg) (*Msg, error)
	UpdateConfigInstance(context.Context, *Msg) (*Msg, error)
	RPC(context.Context, *Msg) (*Msg, error)
	Action(context.Context, *Msg) (*Msg, error)
	ListenForNotification(*empty.Empty, VomciMessageNbi_ListenForNotificationServer) error
	// contains filtered or unexported methods
}

VomciMessageNbiServer is the server API for VomciMessageNbi service. All implementations must embed UnimplementedVomciMessageNbiServer for forward compatibility

type VomciMessageNbi_ListenForNotificationClient

type VomciMessageNbi_ListenForNotificationClient interface {
	Recv() (*Msg, error)
	grpc.ClientStream
}

type VomciMessageNbi_ListenForNotificationServer

type VomciMessageNbi_ListenForNotificationServer interface {
	Send(*Msg) error
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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