Versions in this module Expand all Collapse all v0 v0.2.3 Jun 30, 2021 v0.2.2 Jun 20, 2021 v0.2.1 Jun 18, 2021 Changes in this version + var DeleteResponseStatus_name = map[int32]string + var DeleteResponseStatus_value = map[string]int32 + var File_gosdn_csbi_csbi_proto protoreflect.FileDescriptor + var State_name = map[int32]string + var State_value = map[string]int32 + func RegisterCsbiServer(s *grpc.Server, srv CsbiServer) + type Ack struct + Timestamp int64 + TransportOption *transport.TransportOption + func (*Ack) Descriptor() ([]byte, []int) + func (*Ack) ProtoMessage() + func (x *Ack) GetTimestamp() int64 + func (x *Ack) GetTransportOption() *transport.TransportOption + func (x *Ack) ProtoReflect() protoreflect.Message + func (x *Ack) Reset() + func (x *Ack) String() string + type CreateRequest struct + Timestamp int64 + TransportOption []*transport.TransportOption + func (*CreateRequest) Descriptor() ([]byte, []int) + func (*CreateRequest) ProtoMessage() + func (x *CreateRequest) GetTimestamp() int64 + func (x *CreateRequest) GetTransportOption() []*transport.TransportOption + func (x *CreateRequest) ProtoReflect() protoreflect.Message + func (x *CreateRequest) Reset() + func (x *CreateRequest) String() string + type CreateResponse struct + Deployments []*Deployment + Timestamp int64 + func (*CreateResponse) Descriptor() ([]byte, []int) + func (*CreateResponse) ProtoMessage() + func (x *CreateResponse) GetDeployments() []*Deployment + func (x *CreateResponse) GetTimestamp() int64 + func (x *CreateResponse) ProtoReflect() protoreflect.Message + func (x *CreateResponse) Reset() + func (x *CreateResponse) String() string + type CsbiClient interface + Create func(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) + Delete func(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) + Get func(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) + Hello func(ctx context.Context, in *Syn, opts ...grpc.CallOption) (*Ack, error) + func NewCsbiClient(cc grpc.ClientConnInterface) CsbiClient + type CsbiServer interface + Create func(context.Context, *CreateRequest) (*CreateResponse, error) + Delete func(context.Context, *DeleteRequest) (*DeleteResponse, error) + Get func(context.Context, *GetRequest) (*GetResponse, error) + Hello func(context.Context, *Syn) (*Ack, error) + type DeleteRequest struct + Did []string + Timestamp int64 + func (*DeleteRequest) Descriptor() ([]byte, []int) + func (*DeleteRequest) ProtoMessage() + func (x *DeleteRequest) GetDid() []string + func (x *DeleteRequest) GetTimestamp() int64 + func (x *DeleteRequest) ProtoReflect() protoreflect.Message + func (x *DeleteRequest) Reset() + func (x *DeleteRequest) String() string + type DeleteResponse struct + Status DeleteResponseStatus + Timestamp int64 + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (x *DeleteResponse) GetStatus() DeleteResponseStatus + func (x *DeleteResponse) GetTimestamp() int64 + func (x *DeleteResponse) ProtoReflect() protoreflect.Message + func (x *DeleteResponse) Reset() + func (x *DeleteResponse) String() string + type DeleteResponseStatus int32 + const DeleteResponse_ERROR + const DeleteResponse_OK + func (DeleteResponseStatus) Descriptor() protoreflect.EnumDescriptor + func (DeleteResponseStatus) EnumDescriptor() ([]byte, []int) + func (DeleteResponseStatus) Type() protoreflect.EnumType + func (x DeleteResponseStatus) Enum() *DeleteResponseStatus + func (x DeleteResponseStatus) Number() protoreflect.EnumNumber + func (x DeleteResponseStatus) String() string + type Deployment struct + Id string + Name string + State State + func (*Deployment) Descriptor() ([]byte, []int) + func (*Deployment) ProtoMessage() + func (x *Deployment) GetId() string + func (x *Deployment) GetName() string + func (x *Deployment) GetState() State + func (x *Deployment) ProtoReflect() protoreflect.Message + func (x *Deployment) Reset() + func (x *Deployment) String() string + type GetRequest struct + All bool + Did []string + Timestamp int64 + func (*GetRequest) Descriptor() ([]byte, []int) + func (*GetRequest) ProtoMessage() + func (x *GetRequest) GetAll() bool + func (x *GetRequest) GetDid() []string + func (x *GetRequest) GetTimestamp() int64 + func (x *GetRequest) ProtoReflect() protoreflect.Message + func (x *GetRequest) Reset() + func (x *GetRequest) String() string + type GetResponse struct + Deployments []*Deployment + Timestamp int64 + func (*GetResponse) Descriptor() ([]byte, []int) + func (*GetResponse) ProtoMessage() + func (x *GetResponse) GetDeployments() []*Deployment + func (x *GetResponse) GetTimestamp() int64 + func (x *GetResponse) ProtoReflect() protoreflect.Message + func (x *GetResponse) Reset() + func (x *GetResponse) String() string + type State int32 + const State_ANNOUNCED + const State_BUILT + const State_DECOMMISSIONED + const State_DEPLOYED + const State_RUNNING + func (State) Descriptor() protoreflect.EnumDescriptor + func (State) EnumDescriptor() ([]byte, []int) + func (State) Type() protoreflect.EnumType + func (x State) Enum() *State + func (x State) Number() protoreflect.EnumNumber + func (x State) String() string + type Syn struct + Address string + Id string + Timestamp int64 + func (*Syn) Descriptor() ([]byte, []int) + func (*Syn) ProtoMessage() + func (x *Syn) GetAddress() string + func (x *Syn) GetId() string + func (x *Syn) GetTimestamp() int64 + func (x *Syn) ProtoReflect() protoreflect.Message + func (x *Syn) Reset() + func (x *Syn) String() string + type UnimplementedCsbiServer struct + func (*UnimplementedCsbiServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) + func (*UnimplementedCsbiServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) + func (*UnimplementedCsbiServer) Get(context.Context, *GetRequest) (*GetResponse, error) + func (*UnimplementedCsbiServer) Hello(context.Context, *Syn) (*Ack, error)