Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterScmLbApiServer(s grpc.ServiceRegistrar, srv ScmLbApiServer)
- type ConntrackEntry
- func (*ConntrackEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ConntrackEntry) GetBackendId() int32
- func (x *ConntrackEntry) GetCounter() uint64
- func (x *ConntrackEntry) GetDstAddr() string
- func (x *ConntrackEntry) GetDstPort() int32
- func (x *ConntrackEntry) GetProtocol() int32
- func (x *ConntrackEntry) GetSrcAddr() string
- func (x *ConntrackEntry) GetSrcPort() int32
- func (x *ConntrackEntry) GetStatus() int32
- func (x *ConntrackEntry) GetTimestamp() *timestamppb.Timestamp
- func (*ConntrackEntry) ProtoMessage()
- func (x *ConntrackEntry) ProtoReflect() protoreflect.Message
- func (x *ConntrackEntry) Reset()
- func (x *ConntrackEntry) String() string
- type DoSProtectionPolicy
- func (*DoSProtectionPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *DoSProtectionPolicy) GetFwRuleIds() []int32
- func (x *DoSProtectionPolicy) GetId() int32
- func (x *DoSProtectionPolicy) GetLimit() int64
- func (x *DoSProtectionPolicy) GetProtocol() int32
- func (x *DoSProtectionPolicy) GetStatus() int32
- func (x *DoSProtectionPolicy) GetType() string
- func (*DoSProtectionPolicy) ProtoMessage()
- func (x *DoSProtectionPolicy) ProtoReflect() protoreflect.Message
- func (x *DoSProtectionPolicy) Reset()
- func (x *DoSProtectionPolicy) String() string
- type DoSProtectionPolicyDeleteRequest
- func (*DoSProtectionPolicyDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DoSProtectionPolicyDeleteRequest) GetId() int32
- func (*DoSProtectionPolicyDeleteRequest) ProtoMessage()
- func (x *DoSProtectionPolicyDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *DoSProtectionPolicyDeleteRequest) Reset()
- func (x *DoSProtectionPolicyDeleteRequest) String() string
- type DoSProtectionPolicyGetRequest
- func (*DoSProtectionPolicyGetRequest) Descriptor() ([]byte, []int)deprecated
- func (*DoSProtectionPolicyGetRequest) ProtoMessage()
- func (x *DoSProtectionPolicyGetRequest) ProtoReflect() protoreflect.Message
- func (x *DoSProtectionPolicyGetRequest) Reset()
- func (x *DoSProtectionPolicyGetRequest) String() string
- type DoSProtectionPolicyGetResponse
- func (*DoSProtectionPolicyGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DoSProtectionPolicyGetResponse) GetPolicies() []*DoSProtectionPolicy
- func (*DoSProtectionPolicyGetResponse) ProtoMessage()
- func (x *DoSProtectionPolicyGetResponse) ProtoReflect() protoreflect.Message
- func (x *DoSProtectionPolicyGetResponse) Reset()
- func (x *DoSProtectionPolicyGetResponse) String() string
- type DoSProtectionPolicySetRequest
- func (*DoSProtectionPolicySetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DoSProtectionPolicySetRequest) GetPolicy() *DoSProtectionPolicy
- func (*DoSProtectionPolicySetRequest) ProtoMessage()
- func (x *DoSProtectionPolicySetRequest) ProtoReflect() protoreflect.Message
- func (x *DoSProtectionPolicySetRequest) Reset()
- func (x *DoSProtectionPolicySetRequest) String() string
- type FireWallRule
- func (*FireWallRule) Descriptor() ([]byte, []int)deprecated
- func (x *FireWallRule) GetCount() int64
- func (x *FireWallRule) GetFromDstPort() int32
- func (x *FireWallRule) GetFromSrcPort() int32
- func (x *FireWallRule) GetId() int32
- func (x *FireWallRule) GetPrefix() string
- func (x *FireWallRule) GetProtocol() int32
- func (x *FireWallRule) GetToDstPort() int32
- func (x *FireWallRule) GetToSrcPort() int32
- func (*FireWallRule) ProtoMessage()
- func (x *FireWallRule) ProtoReflect() protoreflect.Message
- func (x *FireWallRule) Reset()
- func (x *FireWallRule) String() string
- type FireWallRuleDeleteRequest
- func (*FireWallRuleDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FireWallRuleDeleteRequest) GetId() int32
- func (*FireWallRuleDeleteRequest) ProtoMessage()
- func (x *FireWallRuleDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *FireWallRuleDeleteRequest) Reset()
- func (x *FireWallRuleDeleteRequest) String() string
- type FireWallRuleGetRequest
- type FireWallRuleGetResponse
- func (*FireWallRuleGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FireWallRuleGetResponse) GetRules() []*FireWallRule
- func (*FireWallRuleGetResponse) ProtoMessage()
- func (x *FireWallRuleGetResponse) ProtoReflect() protoreflect.Message
- func (x *FireWallRuleGetResponse) Reset()
- func (x *FireWallRuleGetResponse) String() string
- type FireWallRuleSetRqeust
- func (*FireWallRuleSetRqeust) Descriptor() ([]byte, []int)deprecated
- func (x *FireWallRuleSetRqeust) GetRule() *FireWallRule
- func (*FireWallRuleSetRqeust) ProtoMessage()
- func (x *FireWallRuleSetRqeust) ProtoReflect() protoreflect.Message
- func (x *FireWallRuleSetRqeust) Reset()
- func (x *FireWallRuleSetRqeust) String() string
- type HealthRequest
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetCounter() *PacketCounter
- func (x *Interface) GetIndex() int32
- func (x *Interface) GetName() string
- func (x *Interface) GetUpstream() bool
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- type LoadBalancerBackend
- func (*LoadBalancerBackend) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerBackend) GetDevName() string
- func (x *LoadBalancerBackend) GetHealthcheck() string
- func (x *LoadBalancerBackend) GetId() int32
- func (x *LoadBalancerBackend) GetIpAddr() string
- func (x *LoadBalancerBackend) GetMacAddr() string
- func (x *LoadBalancerBackend) GetName() string
- func (x *LoadBalancerBackend) GetStatus() int32
- func (*LoadBalancerBackend) ProtoMessage()
- func (x *LoadBalancerBackend) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerBackend) Reset()
- func (x *LoadBalancerBackend) String() string
- type LoadBalancerConntrackGetRequest
- func (*LoadBalancerConntrackGetRequest) Descriptor() ([]byte, []int)deprecated
- func (*LoadBalancerConntrackGetRequest) ProtoMessage()
- func (x *LoadBalancerConntrackGetRequest) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerConntrackGetRequest) Reset()
- func (x *LoadBalancerConntrackGetRequest) String() string
- type LoadBalancerConntrackGetResponse
- func (*LoadBalancerConntrackGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerConntrackGetResponse) GetEntries() []*ConntrackEntry
- func (*LoadBalancerConntrackGetResponse) ProtoMessage()
- func (x *LoadBalancerConntrackGetResponse) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerConntrackGetResponse) Reset()
- func (x *LoadBalancerConntrackGetResponse) String() string
- type LoadBalancerDeleteRequest
- func (*LoadBalancerDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerDeleteRequest) GetId() int32
- func (*LoadBalancerDeleteRequest) ProtoMessage()
- func (x *LoadBalancerDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerDeleteRequest) Reset()
- func (x *LoadBalancerDeleteRequest) String() string
- type LoadBalancerDrainRequest
- func (*LoadBalancerDrainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerDrainRequest) GetId() int32
- func (*LoadBalancerDrainRequest) ProtoMessage()
- func (x *LoadBalancerDrainRequest) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerDrainRequest) Reset()
- func (x *LoadBalancerDrainRequest) String() string
- type LoadBalancerGetRequest
- type LoadBalancerGetResponse
- func (*LoadBalancerGetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerGetResponse) GetBackends() []*LoadBalancerBackend
- func (*LoadBalancerGetResponse) ProtoMessage()
- func (x *LoadBalancerGetResponse) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerGetResponse) Reset()
- func (x *LoadBalancerGetResponse) String() string
- type LoadBalancerSetRequest
- func (*LoadBalancerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LoadBalancerSetRequest) GetAddress() string
- func (x *LoadBalancerSetRequest) GetHealthcheck() string
- func (x *LoadBalancerSetRequest) GetName() string
- func (*LoadBalancerSetRequest) ProtoMessage()
- func (x *LoadBalancerSetRequest) ProtoReflect() protoreflect.Message
- func (x *LoadBalancerSetRequest) Reset()
- func (x *LoadBalancerSetRequest) String() string
- type PacketCounter
- func (*PacketCounter) Descriptor() ([]byte, []int)deprecated
- func (x *PacketCounter) GetIcmp() int32
- func (x *PacketCounter) GetTcp() int32
- func (x *PacketCounter) GetUdp() int32
- func (*PacketCounter) ProtoMessage()
- func (x *PacketCounter) ProtoReflect() protoreflect.Message
- func (x *PacketCounter) Reset()
- func (x *PacketCounter) String() string
- type ScmLbApiClient
- type ScmLbApiServer
- type StatRequest
- type StatResponse
- type UnimplementedScmLbApiServer
- func (UnimplementedScmLbApiServer) DoSProtectionPolicyDelete(context.Context, *DoSProtectionPolicyDeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) DoSProtectionPolicyGet(context.Context, *DoSProtectionPolicyGetRequest) (*DoSProtectionPolicyGetResponse, error)
- func (UnimplementedScmLbApiServer) DoSProtectionPolicySet(context.Context, *DoSProtectionPolicySetRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) FireWallRuleDelete(context.Context, *FireWallRuleDeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) FireWallRuleGet(context.Context, *FireWallRuleGetRequest) (*FireWallRuleGetResponse, error)
- func (UnimplementedScmLbApiServer) FireWallRuleSet(context.Context, *FireWallRuleSetRqeust) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) Health(context.Context, *HealthRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) LoadBalancerConntrackGet(context.Context, *LoadBalancerConntrackGetRequest) (*LoadBalancerConntrackGetResponse, error)
- func (UnimplementedScmLbApiServer) LoadBalancerDelete(context.Context, *LoadBalancerDeleteRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) LoadBalancerDrain(context.Context, *LoadBalancerDrainRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) LoadBalancerGet(context.Context, *LoadBalancerGetRequest) (*LoadBalancerGetResponse, error)
- func (UnimplementedScmLbApiServer) LoadBalancerSet(context.Context, *LoadBalancerSetRequest) (*emptypb.Empty, error)
- func (UnimplementedScmLbApiServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
- type UnsafeScmLbApiServer
Constants ¶
const ( ScmLbApi_Health_FullMethodName = "/scmlb.v1.ScmLbApi/Health" ScmLbApi_Stat_FullMethodName = "/scmlb.v1.ScmLbApi/Stat" ScmLbApi_FireWallRuleSet_FullMethodName = "/scmlb.v1.ScmLbApi/FireWallRuleSet" ScmLbApi_FireWallRuleGet_FullMethodName = "/scmlb.v1.ScmLbApi/FireWallRuleGet" ScmLbApi_FireWallRuleDelete_FullMethodName = "/scmlb.v1.ScmLbApi/FireWallRuleDelete" ScmLbApi_DoSProtectionPolicySet_FullMethodName = "/scmlb.v1.ScmLbApi/DoSProtectionPolicySet" ScmLbApi_DoSProtectionPolicyGet_FullMethodName = "/scmlb.v1.ScmLbApi/DoSProtectionPolicyGet" ScmLbApi_DoSProtectionPolicyDelete_FullMethodName = "/scmlb.v1.ScmLbApi/DoSProtectionPolicyDelete" ScmLbApi_LoadBalancerSet_FullMethodName = "/scmlb.v1.ScmLbApi/LoadBalancerSet" ScmLbApi_LoadBalancerGet_FullMethodName = "/scmlb.v1.ScmLbApi/LoadBalancerGet" ScmLbApi_LoadBalancerDelete_FullMethodName = "/scmlb.v1.ScmLbApi/LoadBalancerDelete" ScmLbApi_LoadBalancerDrain_FullMethodName = "/scmlb.v1.ScmLbApi/LoadBalancerDrain" ScmLbApi_LoadBalancerConntrackGet_FullMethodName = "/scmlb.v1.ScmLbApi/LoadBalancerConntrackGet" )
Variables ¶
var File_protobuf_scmlb_proto protoreflect.FileDescriptor
var ScmLbApi_ServiceDesc = grpc.ServiceDesc{ ServiceName: "scmlb.v1.ScmLbApi", HandlerType: (*ScmLbApiServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Health", Handler: _ScmLbApi_Health_Handler, }, { MethodName: "Stat", Handler: _ScmLbApi_Stat_Handler, }, { MethodName: "FireWallRuleSet", Handler: _ScmLbApi_FireWallRuleSet_Handler, }, { MethodName: "FireWallRuleGet", Handler: _ScmLbApi_FireWallRuleGet_Handler, }, { MethodName: "FireWallRuleDelete", Handler: _ScmLbApi_FireWallRuleDelete_Handler, }, { MethodName: "DoSProtectionPolicySet", Handler: _ScmLbApi_DoSProtectionPolicySet_Handler, }, { MethodName: "DoSProtectionPolicyGet", Handler: _ScmLbApi_DoSProtectionPolicyGet_Handler, }, { MethodName: "DoSProtectionPolicyDelete", Handler: _ScmLbApi_DoSProtectionPolicyDelete_Handler, }, { MethodName: "LoadBalancerSet", Handler: _ScmLbApi_LoadBalancerSet_Handler, }, { MethodName: "LoadBalancerGet", Handler: _ScmLbApi_LoadBalancerGet_Handler, }, { MethodName: "LoadBalancerDelete", Handler: _ScmLbApi_LoadBalancerDelete_Handler, }, { MethodName: "LoadBalancerDrain", Handler: _ScmLbApi_LoadBalancerDrain_Handler, }, { MethodName: "LoadBalancerConntrackGet", Handler: _ScmLbApi_LoadBalancerConntrackGet_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "protobuf/scmlb.proto", }
ScmLbApi_ServiceDesc is the grpc.ServiceDesc for ScmLbApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterScmLbApiServer ¶
func RegisterScmLbApiServer(s grpc.ServiceRegistrar, srv ScmLbApiServer)
Types ¶
type ConntrackEntry ¶
type ConntrackEntry struct { SrcAddr string `protobuf:"bytes,1,opt,name=src_addr,json=srcAddr,proto3" json:"src_addr,omitempty"` DstAddr string `protobuf:"bytes,2,opt,name=dst_addr,json=dstAddr,proto3" json:"dst_addr,omitempty"` SrcPort int32 `protobuf:"varint,3,opt,name=src_port,json=srcPort,proto3" json:"src_port,omitempty"` DstPort int32 `protobuf:"varint,4,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"` Protocol int32 `protobuf:"varint,5,opt,name=protocol,proto3" json:"protocol,omitempty"` Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` BackendId int32 `protobuf:"varint,8,opt,name=backend_id,json=backendId,proto3" json:"backend_id,omitempty"` Counter uint64 `protobuf:"varint,9,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
func (*ConntrackEntry) Descriptor
deprecated
func (*ConntrackEntry) Descriptor() ([]byte, []int)
Deprecated: Use ConntrackEntry.ProtoReflect.Descriptor instead.
func (*ConntrackEntry) GetBackendId ¶
func (x *ConntrackEntry) GetBackendId() int32
func (*ConntrackEntry) GetCounter ¶
func (x *ConntrackEntry) GetCounter() uint64
func (*ConntrackEntry) GetDstAddr ¶
func (x *ConntrackEntry) GetDstAddr() string
func (*ConntrackEntry) GetDstPort ¶
func (x *ConntrackEntry) GetDstPort() int32
func (*ConntrackEntry) GetProtocol ¶
func (x *ConntrackEntry) GetProtocol() int32
func (*ConntrackEntry) GetSrcAddr ¶
func (x *ConntrackEntry) GetSrcAddr() string
func (*ConntrackEntry) GetSrcPort ¶
func (x *ConntrackEntry) GetSrcPort() int32
func (*ConntrackEntry) GetStatus ¶
func (x *ConntrackEntry) GetStatus() int32
func (*ConntrackEntry) GetTimestamp ¶
func (x *ConntrackEntry) GetTimestamp() *timestamppb.Timestamp
func (*ConntrackEntry) ProtoMessage ¶
func (*ConntrackEntry) ProtoMessage()
func (*ConntrackEntry) ProtoReflect ¶
func (x *ConntrackEntry) ProtoReflect() protoreflect.Message
func (*ConntrackEntry) Reset ¶
func (x *ConntrackEntry) Reset()
func (*ConntrackEntry) String ¶
func (x *ConntrackEntry) String() string
type DoSProtectionPolicy ¶
type DoSProtectionPolicy struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Protocol int32 `protobuf:"varint,2,opt,name=protocol,proto3" json:"protocol,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Limit int64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` FwRuleIds []int32 `protobuf:"varint,7,rep,packed,name=fw_rule_ids,json=fwRuleIds,proto3" json:"fw_rule_ids,omitempty"` // contains filtered or unexported fields }
func (*DoSProtectionPolicy) Descriptor
deprecated
func (*DoSProtectionPolicy) Descriptor() ([]byte, []int)
Deprecated: Use DoSProtectionPolicy.ProtoReflect.Descriptor instead.
func (*DoSProtectionPolicy) GetFwRuleIds ¶
func (x *DoSProtectionPolicy) GetFwRuleIds() []int32
func (*DoSProtectionPolicy) GetId ¶
func (x *DoSProtectionPolicy) GetId() int32
func (*DoSProtectionPolicy) GetLimit ¶
func (x *DoSProtectionPolicy) GetLimit() int64
func (*DoSProtectionPolicy) GetProtocol ¶
func (x *DoSProtectionPolicy) GetProtocol() int32
func (*DoSProtectionPolicy) GetStatus ¶
func (x *DoSProtectionPolicy) GetStatus() int32
func (*DoSProtectionPolicy) GetType ¶
func (x *DoSProtectionPolicy) GetType() string
func (*DoSProtectionPolicy) ProtoMessage ¶
func (*DoSProtectionPolicy) ProtoMessage()
func (*DoSProtectionPolicy) ProtoReflect ¶
func (x *DoSProtectionPolicy) ProtoReflect() protoreflect.Message
func (*DoSProtectionPolicy) Reset ¶
func (x *DoSProtectionPolicy) Reset()
func (*DoSProtectionPolicy) String ¶
func (x *DoSProtectionPolicy) String() string
type DoSProtectionPolicyDeleteRequest ¶
type DoSProtectionPolicyDeleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DoSProtectionPolicyDeleteRequest) Descriptor
deprecated
func (*DoSProtectionPolicyDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DoSProtectionPolicyDeleteRequest.ProtoReflect.Descriptor instead.
func (*DoSProtectionPolicyDeleteRequest) GetId ¶
func (x *DoSProtectionPolicyDeleteRequest) GetId() int32
func (*DoSProtectionPolicyDeleteRequest) ProtoMessage ¶
func (*DoSProtectionPolicyDeleteRequest) ProtoMessage()
func (*DoSProtectionPolicyDeleteRequest) ProtoReflect ¶
func (x *DoSProtectionPolicyDeleteRequest) ProtoReflect() protoreflect.Message
func (*DoSProtectionPolicyDeleteRequest) Reset ¶
func (x *DoSProtectionPolicyDeleteRequest) Reset()
func (*DoSProtectionPolicyDeleteRequest) String ¶
func (x *DoSProtectionPolicyDeleteRequest) String() string
type DoSProtectionPolicyGetRequest ¶
type DoSProtectionPolicyGetRequest struct {
// contains filtered or unexported fields
}
func (*DoSProtectionPolicyGetRequest) Descriptor
deprecated
func (*DoSProtectionPolicyGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DoSProtectionPolicyGetRequest.ProtoReflect.Descriptor instead.
func (*DoSProtectionPolicyGetRequest) ProtoMessage ¶
func (*DoSProtectionPolicyGetRequest) ProtoMessage()
func (*DoSProtectionPolicyGetRequest) ProtoReflect ¶
func (x *DoSProtectionPolicyGetRequest) ProtoReflect() protoreflect.Message
func (*DoSProtectionPolicyGetRequest) Reset ¶
func (x *DoSProtectionPolicyGetRequest) Reset()
func (*DoSProtectionPolicyGetRequest) String ¶
func (x *DoSProtectionPolicyGetRequest) String() string
type DoSProtectionPolicyGetResponse ¶
type DoSProtectionPolicyGetResponse struct { Policies []*DoSProtectionPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` // contains filtered or unexported fields }
func (*DoSProtectionPolicyGetResponse) Descriptor
deprecated
func (*DoSProtectionPolicyGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DoSProtectionPolicyGetResponse.ProtoReflect.Descriptor instead.
func (*DoSProtectionPolicyGetResponse) GetPolicies ¶
func (x *DoSProtectionPolicyGetResponse) GetPolicies() []*DoSProtectionPolicy
func (*DoSProtectionPolicyGetResponse) ProtoMessage ¶
func (*DoSProtectionPolicyGetResponse) ProtoMessage()
func (*DoSProtectionPolicyGetResponse) ProtoReflect ¶
func (x *DoSProtectionPolicyGetResponse) ProtoReflect() protoreflect.Message
func (*DoSProtectionPolicyGetResponse) Reset ¶
func (x *DoSProtectionPolicyGetResponse) Reset()
func (*DoSProtectionPolicyGetResponse) String ¶
func (x *DoSProtectionPolicyGetResponse) String() string
type DoSProtectionPolicySetRequest ¶
type DoSProtectionPolicySetRequest struct { Policy *DoSProtectionPolicy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*DoSProtectionPolicySetRequest) Descriptor
deprecated
func (*DoSProtectionPolicySetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DoSProtectionPolicySetRequest.ProtoReflect.Descriptor instead.
func (*DoSProtectionPolicySetRequest) GetPolicy ¶
func (x *DoSProtectionPolicySetRequest) GetPolicy() *DoSProtectionPolicy
func (*DoSProtectionPolicySetRequest) ProtoMessage ¶
func (*DoSProtectionPolicySetRequest) ProtoMessage()
func (*DoSProtectionPolicySetRequest) ProtoReflect ¶
func (x *DoSProtectionPolicySetRequest) ProtoReflect() protoreflect.Message
func (*DoSProtectionPolicySetRequest) Reset ¶
func (x *DoSProtectionPolicySetRequest) Reset()
func (*DoSProtectionPolicySetRequest) String ¶
func (x *DoSProtectionPolicySetRequest) String() string
type FireWallRule ¶
type FireWallRule struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` FromSrcPort int32 `protobuf:"varint,3,opt,name=from_src_port,json=fromSrcPort,proto3" json:"from_src_port,omitempty"` ToSrcPort int32 `protobuf:"varint,4,opt,name=to_src_port,json=toSrcPort,proto3" json:"to_src_port,omitempty"` FromDstPort int32 `protobuf:"varint,5,opt,name=from_dst_port,json=fromDstPort,proto3" json:"from_dst_port,omitempty"` ToDstPort int32 `protobuf:"varint,6,opt,name=to_dst_port,json=toDstPort,proto3" json:"to_dst_port,omitempty"` Protocol int32 `protobuf:"varint,7,opt,name=protocol,proto3" json:"protocol,omitempty"` Count int64 `protobuf:"varint,8,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*FireWallRule) Descriptor
deprecated
func (*FireWallRule) Descriptor() ([]byte, []int)
Deprecated: Use FireWallRule.ProtoReflect.Descriptor instead.
func (*FireWallRule) GetCount ¶
func (x *FireWallRule) GetCount() int64
func (*FireWallRule) GetFromDstPort ¶
func (x *FireWallRule) GetFromDstPort() int32
func (*FireWallRule) GetFromSrcPort ¶
func (x *FireWallRule) GetFromSrcPort() int32
func (*FireWallRule) GetId ¶
func (x *FireWallRule) GetId() int32
func (*FireWallRule) GetPrefix ¶
func (x *FireWallRule) GetPrefix() string
func (*FireWallRule) GetProtocol ¶
func (x *FireWallRule) GetProtocol() int32
func (*FireWallRule) GetToDstPort ¶
func (x *FireWallRule) GetToDstPort() int32
func (*FireWallRule) GetToSrcPort ¶
func (x *FireWallRule) GetToSrcPort() int32
func (*FireWallRule) ProtoMessage ¶
func (*FireWallRule) ProtoMessage()
func (*FireWallRule) ProtoReflect ¶
func (x *FireWallRule) ProtoReflect() protoreflect.Message
func (*FireWallRule) Reset ¶
func (x *FireWallRule) Reset()
func (*FireWallRule) String ¶
func (x *FireWallRule) String() string
type FireWallRuleDeleteRequest ¶
type FireWallRuleDeleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*FireWallRuleDeleteRequest) Descriptor
deprecated
func (*FireWallRuleDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use FireWallRuleDeleteRequest.ProtoReflect.Descriptor instead.
func (*FireWallRuleDeleteRequest) GetId ¶
func (x *FireWallRuleDeleteRequest) GetId() int32
func (*FireWallRuleDeleteRequest) ProtoMessage ¶
func (*FireWallRuleDeleteRequest) ProtoMessage()
func (*FireWallRuleDeleteRequest) ProtoReflect ¶
func (x *FireWallRuleDeleteRequest) ProtoReflect() protoreflect.Message
func (*FireWallRuleDeleteRequest) Reset ¶
func (x *FireWallRuleDeleteRequest) Reset()
func (*FireWallRuleDeleteRequest) String ¶
func (x *FireWallRuleDeleteRequest) String() string
type FireWallRuleGetRequest ¶
type FireWallRuleGetRequest struct {
// contains filtered or unexported fields
}
func (*FireWallRuleGetRequest) Descriptor
deprecated
func (*FireWallRuleGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use FireWallRuleGetRequest.ProtoReflect.Descriptor instead.
func (*FireWallRuleGetRequest) ProtoMessage ¶
func (*FireWallRuleGetRequest) ProtoMessage()
func (*FireWallRuleGetRequest) ProtoReflect ¶
func (x *FireWallRuleGetRequest) ProtoReflect() protoreflect.Message
func (*FireWallRuleGetRequest) Reset ¶
func (x *FireWallRuleGetRequest) Reset()
func (*FireWallRuleGetRequest) String ¶
func (x *FireWallRuleGetRequest) String() string
type FireWallRuleGetResponse ¶
type FireWallRuleGetResponse struct { Rules []*FireWallRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*FireWallRuleGetResponse) Descriptor
deprecated
func (*FireWallRuleGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use FireWallRuleGetResponse.ProtoReflect.Descriptor instead.
func (*FireWallRuleGetResponse) GetRules ¶
func (x *FireWallRuleGetResponse) GetRules() []*FireWallRule
func (*FireWallRuleGetResponse) ProtoMessage ¶
func (*FireWallRuleGetResponse) ProtoMessage()
func (*FireWallRuleGetResponse) ProtoReflect ¶
func (x *FireWallRuleGetResponse) ProtoReflect() protoreflect.Message
func (*FireWallRuleGetResponse) Reset ¶
func (x *FireWallRuleGetResponse) Reset()
func (*FireWallRuleGetResponse) String ¶
func (x *FireWallRuleGetResponse) String() string
type FireWallRuleSetRqeust ¶
type FireWallRuleSetRqeust struct { Rule *FireWallRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*FireWallRuleSetRqeust) Descriptor
deprecated
func (*FireWallRuleSetRqeust) Descriptor() ([]byte, []int)
Deprecated: Use FireWallRuleSetRqeust.ProtoReflect.Descriptor instead.
func (*FireWallRuleSetRqeust) GetRule ¶
func (x *FireWallRuleSetRqeust) GetRule() *FireWallRule
func (*FireWallRuleSetRqeust) ProtoMessage ¶
func (*FireWallRuleSetRqeust) ProtoMessage()
func (*FireWallRuleSetRqeust) ProtoReflect ¶
func (x *FireWallRuleSetRqeust) ProtoReflect() protoreflect.Message
func (*FireWallRuleSetRqeust) Reset ¶
func (x *FireWallRuleSetRqeust) Reset()
func (*FireWallRuleSetRqeust) String ¶
func (x *FireWallRuleSetRqeust) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type Interface ¶
type Interface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Index int32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` Upstream bool `protobuf:"varint,4,opt,name=upstream,proto3" json:"upstream,omitempty"` Counter *PacketCounter `protobuf:"bytes,5,opt,name=counter,proto3" json:"counter,omitempty"` // contains filtered or unexported fields }
func (*Interface) Descriptor
deprecated
func (*Interface) GetCounter ¶
func (x *Interface) GetCounter() *PacketCounter
func (*Interface) GetUpstream ¶
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
type LoadBalancerBackend ¶
type LoadBalancerBackend struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` DevName string `protobuf:"bytes,3,opt,name=dev_name,json=devName,proto3" json:"dev_name,omitempty"` IpAddr string `protobuf:"bytes,4,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"` MacAddr string `protobuf:"bytes,5,opt,name=mac_addr,json=macAddr,proto3" json:"mac_addr,omitempty"` Healthcheck string `protobuf:"bytes,6,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerBackend) Descriptor
deprecated
func (*LoadBalancerBackend) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerBackend.ProtoReflect.Descriptor instead.
func (*LoadBalancerBackend) GetDevName ¶
func (x *LoadBalancerBackend) GetDevName() string
func (*LoadBalancerBackend) GetHealthcheck ¶
func (x *LoadBalancerBackend) GetHealthcheck() string
func (*LoadBalancerBackend) GetId ¶
func (x *LoadBalancerBackend) GetId() int32
func (*LoadBalancerBackend) GetIpAddr ¶
func (x *LoadBalancerBackend) GetIpAddr() string
func (*LoadBalancerBackend) GetMacAddr ¶
func (x *LoadBalancerBackend) GetMacAddr() string
func (*LoadBalancerBackend) GetName ¶
func (x *LoadBalancerBackend) GetName() string
func (*LoadBalancerBackend) GetStatus ¶
func (x *LoadBalancerBackend) GetStatus() int32
func (*LoadBalancerBackend) ProtoMessage ¶
func (*LoadBalancerBackend) ProtoMessage()
func (*LoadBalancerBackend) ProtoReflect ¶
func (x *LoadBalancerBackend) ProtoReflect() protoreflect.Message
func (*LoadBalancerBackend) Reset ¶
func (x *LoadBalancerBackend) Reset()
func (*LoadBalancerBackend) String ¶
func (x *LoadBalancerBackend) String() string
type LoadBalancerConntrackGetRequest ¶
type LoadBalancerConntrackGetRequest struct {
// contains filtered or unexported fields
}
func (*LoadBalancerConntrackGetRequest) Descriptor
deprecated
func (*LoadBalancerConntrackGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerConntrackGetRequest.ProtoReflect.Descriptor instead.
func (*LoadBalancerConntrackGetRequest) ProtoMessage ¶
func (*LoadBalancerConntrackGetRequest) ProtoMessage()
func (*LoadBalancerConntrackGetRequest) ProtoReflect ¶
func (x *LoadBalancerConntrackGetRequest) ProtoReflect() protoreflect.Message
func (*LoadBalancerConntrackGetRequest) Reset ¶
func (x *LoadBalancerConntrackGetRequest) Reset()
func (*LoadBalancerConntrackGetRequest) String ¶
func (x *LoadBalancerConntrackGetRequest) String() string
type LoadBalancerConntrackGetResponse ¶
type LoadBalancerConntrackGetResponse struct { Entries []*ConntrackEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerConntrackGetResponse) Descriptor
deprecated
func (*LoadBalancerConntrackGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerConntrackGetResponse.ProtoReflect.Descriptor instead.
func (*LoadBalancerConntrackGetResponse) GetEntries ¶
func (x *LoadBalancerConntrackGetResponse) GetEntries() []*ConntrackEntry
func (*LoadBalancerConntrackGetResponse) ProtoMessage ¶
func (*LoadBalancerConntrackGetResponse) ProtoMessage()
func (*LoadBalancerConntrackGetResponse) ProtoReflect ¶
func (x *LoadBalancerConntrackGetResponse) ProtoReflect() protoreflect.Message
func (*LoadBalancerConntrackGetResponse) Reset ¶
func (x *LoadBalancerConntrackGetResponse) Reset()
func (*LoadBalancerConntrackGetResponse) String ¶
func (x *LoadBalancerConntrackGetResponse) String() string
type LoadBalancerDeleteRequest ¶
type LoadBalancerDeleteRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerDeleteRequest) Descriptor
deprecated
func (*LoadBalancerDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerDeleteRequest.ProtoReflect.Descriptor instead.
func (*LoadBalancerDeleteRequest) GetId ¶
func (x *LoadBalancerDeleteRequest) GetId() int32
func (*LoadBalancerDeleteRequest) ProtoMessage ¶
func (*LoadBalancerDeleteRequest) ProtoMessage()
func (*LoadBalancerDeleteRequest) ProtoReflect ¶
func (x *LoadBalancerDeleteRequest) ProtoReflect() protoreflect.Message
func (*LoadBalancerDeleteRequest) Reset ¶
func (x *LoadBalancerDeleteRequest) Reset()
func (*LoadBalancerDeleteRequest) String ¶
func (x *LoadBalancerDeleteRequest) String() string
type LoadBalancerDrainRequest ¶
type LoadBalancerDrainRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerDrainRequest) Descriptor
deprecated
func (*LoadBalancerDrainRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerDrainRequest.ProtoReflect.Descriptor instead.
func (*LoadBalancerDrainRequest) GetId ¶
func (x *LoadBalancerDrainRequest) GetId() int32
func (*LoadBalancerDrainRequest) ProtoMessage ¶
func (*LoadBalancerDrainRequest) ProtoMessage()
func (*LoadBalancerDrainRequest) ProtoReflect ¶
func (x *LoadBalancerDrainRequest) ProtoReflect() protoreflect.Message
func (*LoadBalancerDrainRequest) Reset ¶
func (x *LoadBalancerDrainRequest) Reset()
func (*LoadBalancerDrainRequest) String ¶
func (x *LoadBalancerDrainRequest) String() string
type LoadBalancerGetRequest ¶
type LoadBalancerGetRequest struct {
// contains filtered or unexported fields
}
func (*LoadBalancerGetRequest) Descriptor
deprecated
func (*LoadBalancerGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerGetRequest.ProtoReflect.Descriptor instead.
func (*LoadBalancerGetRequest) ProtoMessage ¶
func (*LoadBalancerGetRequest) ProtoMessage()
func (*LoadBalancerGetRequest) ProtoReflect ¶
func (x *LoadBalancerGetRequest) ProtoReflect() protoreflect.Message
func (*LoadBalancerGetRequest) Reset ¶
func (x *LoadBalancerGetRequest) Reset()
func (*LoadBalancerGetRequest) String ¶
func (x *LoadBalancerGetRequest) String() string
type LoadBalancerGetResponse ¶
type LoadBalancerGetResponse struct { Backends []*LoadBalancerBackend `protobuf:"bytes,1,rep,name=backends,proto3" json:"backends,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerGetResponse) Descriptor
deprecated
func (*LoadBalancerGetResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerGetResponse.ProtoReflect.Descriptor instead.
func (*LoadBalancerGetResponse) GetBackends ¶
func (x *LoadBalancerGetResponse) GetBackends() []*LoadBalancerBackend
func (*LoadBalancerGetResponse) ProtoMessage ¶
func (*LoadBalancerGetResponse) ProtoMessage()
func (*LoadBalancerGetResponse) ProtoReflect ¶
func (x *LoadBalancerGetResponse) ProtoReflect() protoreflect.Message
func (*LoadBalancerGetResponse) Reset ¶
func (x *LoadBalancerGetResponse) Reset()
func (*LoadBalancerGetResponse) String ¶
func (x *LoadBalancerGetResponse) String() string
type LoadBalancerSetRequest ¶
type LoadBalancerSetRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Healthcheck string `protobuf:"bytes,3,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerSetRequest) Descriptor
deprecated
func (*LoadBalancerSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoadBalancerSetRequest.ProtoReflect.Descriptor instead.
func (*LoadBalancerSetRequest) GetAddress ¶
func (x *LoadBalancerSetRequest) GetAddress() string
func (*LoadBalancerSetRequest) GetHealthcheck ¶
func (x *LoadBalancerSetRequest) GetHealthcheck() string
func (*LoadBalancerSetRequest) GetName ¶
func (x *LoadBalancerSetRequest) GetName() string
func (*LoadBalancerSetRequest) ProtoMessage ¶
func (*LoadBalancerSetRequest) ProtoMessage()
func (*LoadBalancerSetRequest) ProtoReflect ¶
func (x *LoadBalancerSetRequest) ProtoReflect() protoreflect.Message
func (*LoadBalancerSetRequest) Reset ¶
func (x *LoadBalancerSetRequest) Reset()
func (*LoadBalancerSetRequest) String ¶
func (x *LoadBalancerSetRequest) String() string
type PacketCounter ¶
type PacketCounter struct { Icmp int32 `protobuf:"varint,1,opt,name=icmp,proto3" json:"icmp,omitempty"` Tcp int32 `protobuf:"varint,2,opt,name=tcp,proto3" json:"tcp,omitempty"` Udp int32 `protobuf:"varint,3,opt,name=udp,proto3" json:"udp,omitempty"` // contains filtered or unexported fields }
func (*PacketCounter) Descriptor
deprecated
func (*PacketCounter) Descriptor() ([]byte, []int)
Deprecated: Use PacketCounter.ProtoReflect.Descriptor instead.
func (*PacketCounter) GetIcmp ¶
func (x *PacketCounter) GetIcmp() int32
func (*PacketCounter) GetTcp ¶
func (x *PacketCounter) GetTcp() int32
func (*PacketCounter) GetUdp ¶
func (x *PacketCounter) GetUdp() int32
func (*PacketCounter) ProtoMessage ¶
func (*PacketCounter) ProtoMessage()
func (*PacketCounter) ProtoReflect ¶
func (x *PacketCounter) ProtoReflect() protoreflect.Message
func (*PacketCounter) Reset ¶
func (x *PacketCounter) Reset()
func (*PacketCounter) String ¶
func (x *PacketCounter) String() string
type ScmLbApiClient ¶
type ScmLbApiClient interface { Health(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatResponse, error) FireWallRuleSet(ctx context.Context, in *FireWallRuleSetRqeust, opts ...grpc.CallOption) (*emptypb.Empty, error) FireWallRuleGet(ctx context.Context, in *FireWallRuleGetRequest, opts ...grpc.CallOption) (*FireWallRuleGetResponse, error) FireWallRuleDelete(ctx context.Context, in *FireWallRuleDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DoSProtectionPolicySet(ctx context.Context, in *DoSProtectionPolicySetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DoSProtectionPolicyGet(ctx context.Context, in *DoSProtectionPolicyGetRequest, opts ...grpc.CallOption) (*DoSProtectionPolicyGetResponse, error) DoSProtectionPolicyDelete(ctx context.Context, in *DoSProtectionPolicyDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) LoadBalancerSet(ctx context.Context, in *LoadBalancerSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) LoadBalancerGet(ctx context.Context, in *LoadBalancerGetRequest, opts ...grpc.CallOption) (*LoadBalancerGetResponse, error) LoadBalancerDelete(ctx context.Context, in *LoadBalancerDeleteRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) LoadBalancerDrain(ctx context.Context, in *LoadBalancerDrainRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) LoadBalancerConntrackGet(ctx context.Context, in *LoadBalancerConntrackGetRequest, opts ...grpc.CallOption) (*LoadBalancerConntrackGetResponse, error) }
ScmLbApiClient is the client API for ScmLbApi 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 NewScmLbApiClient ¶
func NewScmLbApiClient(cc grpc.ClientConnInterface) ScmLbApiClient
type ScmLbApiServer ¶
type ScmLbApiServer interface { Health(context.Context, *HealthRequest) (*emptypb.Empty, error) Stat(context.Context, *StatRequest) (*StatResponse, error) FireWallRuleSet(context.Context, *FireWallRuleSetRqeust) (*emptypb.Empty, error) FireWallRuleGet(context.Context, *FireWallRuleGetRequest) (*FireWallRuleGetResponse, error) FireWallRuleDelete(context.Context, *FireWallRuleDeleteRequest) (*emptypb.Empty, error) DoSProtectionPolicySet(context.Context, *DoSProtectionPolicySetRequest) (*emptypb.Empty, error) DoSProtectionPolicyGet(context.Context, *DoSProtectionPolicyGetRequest) (*DoSProtectionPolicyGetResponse, error) DoSProtectionPolicyDelete(context.Context, *DoSProtectionPolicyDeleteRequest) (*emptypb.Empty, error) LoadBalancerSet(context.Context, *LoadBalancerSetRequest) (*emptypb.Empty, error) LoadBalancerGet(context.Context, *LoadBalancerGetRequest) (*LoadBalancerGetResponse, error) LoadBalancerDelete(context.Context, *LoadBalancerDeleteRequest) (*emptypb.Empty, error) LoadBalancerDrain(context.Context, *LoadBalancerDrainRequest) (*emptypb.Empty, error) LoadBalancerConntrackGet(context.Context, *LoadBalancerConntrackGetRequest) (*LoadBalancerConntrackGetResponse, error) // contains filtered or unexported methods }
ScmLbApiServer is the server API for ScmLbApi service. All implementations must embed UnimplementedScmLbApiServer for forward compatibility
type StatRequest ¶
type StatRequest struct {
// contains filtered or unexported fields
}
func (*StatRequest) Descriptor
deprecated
func (*StatRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatRequest.ProtoReflect.Descriptor instead.
func (*StatRequest) ProtoMessage ¶
func (*StatRequest) ProtoMessage()
func (*StatRequest) ProtoReflect ¶
func (x *StatRequest) ProtoReflect() protoreflect.Message
func (*StatRequest) Reset ¶
func (x *StatRequest) Reset()
func (*StatRequest) String ¶
func (x *StatRequest) String() string
type StatResponse ¶
type StatResponse struct { Ifaces []*Interface `protobuf:"bytes,1,rep,name=ifaces,proto3" json:"ifaces,omitempty"` // contains filtered or unexported fields }
func (*StatResponse) Descriptor
deprecated
func (*StatResponse) Descriptor() ([]byte, []int)
Deprecated: Use StatResponse.ProtoReflect.Descriptor instead.
func (*StatResponse) GetIfaces ¶
func (x *StatResponse) GetIfaces() []*Interface
func (*StatResponse) ProtoMessage ¶
func (*StatResponse) ProtoMessage()
func (*StatResponse) ProtoReflect ¶
func (x *StatResponse) ProtoReflect() protoreflect.Message
func (*StatResponse) Reset ¶
func (x *StatResponse) Reset()
func (*StatResponse) String ¶
func (x *StatResponse) String() string
type UnimplementedScmLbApiServer ¶
type UnimplementedScmLbApiServer struct { }
UnimplementedScmLbApiServer must be embedded to have forward compatible implementations.
func (UnimplementedScmLbApiServer) DoSProtectionPolicyDelete ¶
func (UnimplementedScmLbApiServer) DoSProtectionPolicyDelete(context.Context, *DoSProtectionPolicyDeleteRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) DoSProtectionPolicyGet ¶
func (UnimplementedScmLbApiServer) DoSProtectionPolicyGet(context.Context, *DoSProtectionPolicyGetRequest) (*DoSProtectionPolicyGetResponse, error)
func (UnimplementedScmLbApiServer) DoSProtectionPolicySet ¶
func (UnimplementedScmLbApiServer) DoSProtectionPolicySet(context.Context, *DoSProtectionPolicySetRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) FireWallRuleDelete ¶
func (UnimplementedScmLbApiServer) FireWallRuleDelete(context.Context, *FireWallRuleDeleteRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) FireWallRuleGet ¶
func (UnimplementedScmLbApiServer) FireWallRuleGet(context.Context, *FireWallRuleGetRequest) (*FireWallRuleGetResponse, error)
func (UnimplementedScmLbApiServer) FireWallRuleSet ¶
func (UnimplementedScmLbApiServer) FireWallRuleSet(context.Context, *FireWallRuleSetRqeust) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) Health ¶
func (UnimplementedScmLbApiServer) Health(context.Context, *HealthRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) LoadBalancerConntrackGet ¶
func (UnimplementedScmLbApiServer) LoadBalancerConntrackGet(context.Context, *LoadBalancerConntrackGetRequest) (*LoadBalancerConntrackGetResponse, error)
func (UnimplementedScmLbApiServer) LoadBalancerDelete ¶
func (UnimplementedScmLbApiServer) LoadBalancerDelete(context.Context, *LoadBalancerDeleteRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) LoadBalancerDrain ¶
func (UnimplementedScmLbApiServer) LoadBalancerDrain(context.Context, *LoadBalancerDrainRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) LoadBalancerGet ¶
func (UnimplementedScmLbApiServer) LoadBalancerGet(context.Context, *LoadBalancerGetRequest) (*LoadBalancerGetResponse, error)
func (UnimplementedScmLbApiServer) LoadBalancerSet ¶
func (UnimplementedScmLbApiServer) LoadBalancerSet(context.Context, *LoadBalancerSetRequest) (*emptypb.Empty, error)
func (UnimplementedScmLbApiServer) Stat ¶
func (UnimplementedScmLbApiServer) Stat(context.Context, *StatRequest) (*StatResponse, error)
type UnsafeScmLbApiServer ¶
type UnsafeScmLbApiServer interface {
// contains filtered or unexported methods
}
UnsafeScmLbApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ScmLbApiServer will result in compilation errors.