Documentation
¶
Overview ¶
Package sgroups is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterSecGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterSecGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecGroupServiceClient) error
- func RegisterSecGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterSecGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecGroupServiceServer) error
- func RegisterSecGroupServiceServer(s grpc.ServiceRegistrar, srv SecGroupServiceServer)
- type AccPorts
- type FindFqdnRulesReq
- type FindIECidrSgIcmpRulesReq
- func (*FindIECidrSgIcmpRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindIECidrSgIcmpRulesReq) GetSG() []string
- func (*FindIECidrSgIcmpRulesReq) ProtoMessage()
- func (x *FindIECidrSgIcmpRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindIECidrSgIcmpRulesReq) Reset()
- func (x *FindIECidrSgIcmpRulesReq) String() string
- type FindIECidrSgRulesReq
- func (*FindIECidrSgRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindIECidrSgRulesReq) GetSG() []string
- func (*FindIECidrSgRulesReq) ProtoMessage()
- func (x *FindIECidrSgRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindIECidrSgRulesReq) Reset()
- func (x *FindIECidrSgRulesReq) String() string
- type FindIESgSgIcmpRulesReq
- func (*FindIESgSgIcmpRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindIESgSgIcmpRulesReq) GetSG() []string
- func (x *FindIESgSgIcmpRulesReq) GetSgLocal() []string
- func (*FindIESgSgIcmpRulesReq) ProtoMessage()
- func (x *FindIESgSgIcmpRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindIESgSgIcmpRulesReq) Reset()
- func (x *FindIESgSgIcmpRulesReq) String() string
- type FindIESgSgRulesReq
- func (*FindIESgSgRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindIESgSgRulesReq) GetSG() []string
- func (x *FindIESgSgRulesReq) GetSgLocal() []string
- func (*FindIESgSgRulesReq) ProtoMessage()
- func (x *FindIESgSgRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindIESgSgRulesReq) Reset()
- func (x *FindIESgSgRulesReq) String() string
- type FindSgIcmpRulesReq
- func (*FindSgIcmpRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindSgIcmpRulesReq) GetSG() []string
- func (*FindSgIcmpRulesReq) ProtoMessage()
- func (x *FindSgIcmpRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindSgIcmpRulesReq) Reset()
- func (x *FindSgIcmpRulesReq) String() string
- type FindSgSgIcmpRulesReq
- func (*FindSgSgIcmpRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindSgSgIcmpRulesReq) GetSgFrom() []string
- func (x *FindSgSgIcmpRulesReq) GetSgTo() []string
- func (*FindSgSgIcmpRulesReq) ProtoMessage()
- func (x *FindSgSgIcmpRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindSgSgIcmpRulesReq) Reset()
- func (x *FindSgSgIcmpRulesReq) String() string
- type FindSgSgRulesReq
- func (*FindSgSgRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *FindSgSgRulesReq) GetSgFrom() []string
- func (x *FindSgSgRulesReq) GetSgTo() []string
- func (*FindSgSgRulesReq) ProtoMessage()
- func (x *FindSgSgRulesReq) ProtoReflect() protoreflect.Message
- func (x *FindSgSgRulesReq) Reset()
- func (x *FindSgSgRulesReq) String() string
- type FqdnRule
- func (*FqdnRule) Descriptor() ([]byte, []int)deprecated
- func (x *FqdnRule) GetAction() RuleAction
- func (x *FqdnRule) GetFQDN() string
- func (x *FqdnRule) GetLogs() bool
- func (x *FqdnRule) GetPorts() []*AccPorts
- func (x *FqdnRule) GetPriority() *RulePriority
- func (x *FqdnRule) GetSgFrom() string
- func (x *FqdnRule) GetTransport() common.Networks_NetIP_Transport
- func (*FqdnRule) ProtoMessage()
- func (x *FqdnRule) ProtoReflect() protoreflect.Message
- func (x *FqdnRule) Reset()
- func (x *FqdnRule) String() string
- type FqdnRulesResp
- type GetSecGroupForAddressReq
- func (*GetSecGroupForAddressReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecGroupForAddressReq) GetAddress() string
- func (*GetSecGroupForAddressReq) ProtoMessage()
- func (x *GetSecGroupForAddressReq) ProtoReflect() protoreflect.Message
- func (x *GetSecGroupForAddressReq) Reset()
- func (x *GetSecGroupForAddressReq) String() string
- type GetSecGroupForHostReq
- func (*GetSecGroupForHostReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSecGroupForHostReq) GetHostName() string
- func (x *GetSecGroupForHostReq) GetHostUuid() string
- func (*GetSecGroupForHostReq) ProtoMessage()
- func (x *GetSecGroupForHostReq) ProtoReflect() protoreflect.Message
- func (x *GetSecGroupForHostReq) Reset()
- func (x *GetSecGroupForHostReq) String() string
- type GetSgSgRulesReq
- func (*GetSgSgRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *GetSgSgRulesReq) GetSgFrom() string
- func (x *GetSgSgRulesReq) GetSgTo() string
- func (*GetSgSgRulesReq) ProtoMessage()
- func (x *GetSgSgRulesReq) ProtoReflect() protoreflect.Message
- func (x *GetSgSgRulesReq) Reset()
- func (x *GetSgSgRulesReq) String() string
- type GetSgSubnetsReq
- type GetSgSubnetsResp
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetIpList() *IPList
- func (x *Host) GetMetaInfo() *MetaInfo
- func (x *Host) GetName() string
- func (x *Host) GetSgName() string
- func (x *Host) GetUuid() string
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (x *Host) String() string
- type HostIPSet
- type HostInfo
- func (*HostInfo) Descriptor() ([]byte, []int)deprecated
- func (x *HostInfo) GetIpList() *IPList
- func (x *HostInfo) GetMetaInfo() *MetaInfo
- func (x *HostInfo) GetUuid() string
- func (*HostInfo) ProtoMessage()
- func (x *HostInfo) ProtoReflect() protoreflect.Message
- func (x *HostInfo) Reset()
- func (x *HostInfo) String() string
- type IECidrSgIcmpRule
- func (*IECidrSgIcmpRule) Descriptor() ([]byte, []int)deprecated
- func (x *IECidrSgIcmpRule) GetAction() RuleAction
- func (x *IECidrSgIcmpRule) GetCIDR() string
- func (x *IECidrSgIcmpRule) GetICMP() *common.ICMP
- func (x *IECidrSgIcmpRule) GetLogs() bool
- func (x *IECidrSgIcmpRule) GetPriority() *RulePriority
- func (x *IECidrSgIcmpRule) GetSG() string
- func (x *IECidrSgIcmpRule) GetTrace() bool
- func (x *IECidrSgIcmpRule) GetTraffic() common.Traffic
- func (*IECidrSgIcmpRule) ProtoMessage()
- func (x *IECidrSgIcmpRule) ProtoReflect() protoreflect.Message
- func (x *IECidrSgIcmpRule) Reset()
- func (x *IECidrSgIcmpRule) String() string
- type IECidrSgIcmpRulesResp
- func (*IECidrSgIcmpRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *IECidrSgIcmpRulesResp) GetRules() []*IECidrSgIcmpRule
- func (*IECidrSgIcmpRulesResp) ProtoMessage()
- func (x *IECidrSgIcmpRulesResp) ProtoReflect() protoreflect.Message
- func (x *IECidrSgIcmpRulesResp) Reset()
- func (x *IECidrSgIcmpRulesResp) String() string
- type IECidrSgRule
- func (*IECidrSgRule) Descriptor() ([]byte, []int)deprecated
- func (x *IECidrSgRule) GetAction() RuleAction
- func (x *IECidrSgRule) GetCIDR() string
- func (x *IECidrSgRule) GetLogs() bool
- func (x *IECidrSgRule) GetPorts() []*AccPorts
- func (x *IECidrSgRule) GetPriority() *RulePriority
- func (x *IECidrSgRule) GetSG() string
- func (x *IECidrSgRule) GetTrace() bool
- func (x *IECidrSgRule) GetTraffic() common.Traffic
- func (x *IECidrSgRule) GetTransport() common.Networks_NetIP_Transport
- func (*IECidrSgRule) ProtoMessage()
- func (x *IECidrSgRule) ProtoReflect() protoreflect.Message
- func (x *IECidrSgRule) Reset()
- func (x *IECidrSgRule) String() string
- type IECidrSgRulesResp
- func (*IECidrSgRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *IECidrSgRulesResp) GetRules() []*IECidrSgRule
- func (*IECidrSgRulesResp) ProtoMessage()
- func (x *IECidrSgRulesResp) ProtoReflect() protoreflect.Message
- func (x *IECidrSgRulesResp) Reset()
- func (x *IECidrSgRulesResp) String() string
- type IECidrSvcRule
- func (*IECidrSvcRule) Descriptor() ([]byte, []int)deprecated
- func (x *IECidrSvcRule) GetAction() RuleAction
- func (x *IECidrSvcRule) GetCIDR() string
- func (x *IECidrSvcRule) GetLogs() bool
- func (x *IECidrSvcRule) GetName() string
- func (x *IECidrSvcRule) GetPorts() []*AccPorts
- func (x *IECidrSvcRule) GetPriority() *RulePriority
- func (x *IECidrSvcRule) GetSvc() string
- func (x *IECidrSvcRule) GetTrace() bool
- func (x *IECidrSvcRule) GetTraffic() common.Traffic
- func (x *IECidrSvcRule) GetTransport() common.Networks_NetIP_Transport
- func (*IECidrSvcRule) ProtoMessage()
- func (x *IECidrSvcRule) ProtoReflect() protoreflect.Message
- func (x *IECidrSvcRule) Reset()
- func (x *IECidrSvcRule) String() string
- type IESgSgIcmpRule
- func (*IESgSgIcmpRule) Descriptor() ([]byte, []int)deprecated
- func (x *IESgSgIcmpRule) GetAction() RuleAction
- func (x *IESgSgIcmpRule) GetICMP() *common.ICMP
- func (x *IESgSgIcmpRule) GetLogs() bool
- func (x *IESgSgIcmpRule) GetPriority() *RulePriority
- func (x *IESgSgIcmpRule) GetSG() string
- func (x *IESgSgIcmpRule) GetSgLocal() string
- func (x *IESgSgIcmpRule) GetTrace() bool
- func (x *IESgSgIcmpRule) GetTraffic() common.Traffic
- func (*IESgSgIcmpRule) ProtoMessage()
- func (x *IESgSgIcmpRule) ProtoReflect() protoreflect.Message
- func (x *IESgSgIcmpRule) Reset()
- func (x *IESgSgIcmpRule) String() string
- type IESgSgIcmpRulesResp
- func (*IESgSgIcmpRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *IESgSgIcmpRulesResp) GetRules() []*IESgSgIcmpRule
- func (*IESgSgIcmpRulesResp) ProtoMessage()
- func (x *IESgSgIcmpRulesResp) ProtoReflect() protoreflect.Message
- func (x *IESgSgIcmpRulesResp) Reset()
- func (x *IESgSgIcmpRulesResp) String() string
- type IESgSgRule
- func (*IESgSgRule) Descriptor() ([]byte, []int)deprecated
- func (x *IESgSgRule) GetAction() RuleAction
- func (x *IESgSgRule) GetLogs() bool
- func (x *IESgSgRule) GetPorts() []*AccPorts
- func (x *IESgSgRule) GetPriority() *RulePriority
- func (x *IESgSgRule) GetSG() string
- func (x *IESgSgRule) GetSgLocal() string
- func (x *IESgSgRule) GetTrace() bool
- func (x *IESgSgRule) GetTraffic() common.Traffic
- func (x *IESgSgRule) GetTransport() common.Networks_NetIP_Transport
- func (*IESgSgRule) ProtoMessage()
- func (x *IESgSgRule) ProtoReflect() protoreflect.Message
- func (x *IESgSgRule) Reset()
- func (x *IESgSgRule) String() string
- type IESgSgRulesResp
- type IPList
- type ListHostsReq
- func (*ListHostsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostsReq) GetByHostname() *ListHostsReq_ByHostName
- func (x *ListHostsReq) GetBySgName() *ListHostsReq_BySG
- func (x *ListHostsReq) GetByUUID() *ListHostsReq_ByUUID
- func (x *ListHostsReq) GetCriteria() isListHostsReq_Criteria
- func (x *ListHostsReq) GetNone() *ListHostsReq_NoFilter
- func (*ListHostsReq) ProtoMessage()
- func (x *ListHostsReq) ProtoReflect() protoreflect.Message
- func (x *ListHostsReq) Reset()
- func (x *ListHostsReq) String() string
- type ListHostsReq_ByHostName
- func (*ListHostsReq_ByHostName) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostsReq_ByHostName) GetNames() []string
- func (*ListHostsReq_ByHostName) ProtoMessage()
- func (x *ListHostsReq_ByHostName) ProtoReflect() protoreflect.Message
- func (x *ListHostsReq_ByHostName) Reset()
- func (x *ListHostsReq_ByHostName) String() string
- type ListHostsReq_ByHostname
- type ListHostsReq_BySG
- type ListHostsReq_BySgName
- type ListHostsReq_ByUUID
- func (*ListHostsReq_ByUUID) Descriptor() ([]byte, []int)deprecated
- func (x *ListHostsReq_ByUUID) GetUUIDs() []string
- func (*ListHostsReq_ByUUID) ProtoMessage()
- func (x *ListHostsReq_ByUUID) ProtoReflect() protoreflect.Message
- func (x *ListHostsReq_ByUUID) Reset()
- func (x *ListHostsReq_ByUUID) String() string
- type ListHostsReq_ByUUID_
- type ListHostsReq_NoFilter
- type ListHostsReq_None
- type ListHostsResp
- type ListIECidrSvcRulesReq
- func (*ListIECidrSvcRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListIECidrSvcRulesReq) GetByRuleName() *ListIECidrSvcRulesReq_ByRuleName
- func (x *ListIECidrSvcRulesReq) GetBySvc() *ListIECidrSvcRulesReq_BySvc
- func (x *ListIECidrSvcRulesReq) GetCriteria() isListIECidrSvcRulesReq_Criteria
- func (x *ListIECidrSvcRulesReq) GetNone() *ListIECidrSvcRulesReq_NoFilter
- func (*ListIECidrSvcRulesReq) ProtoMessage()
- func (x *ListIECidrSvcRulesReq) ProtoReflect() protoreflect.Message
- func (x *ListIECidrSvcRulesReq) Reset()
- func (x *ListIECidrSvcRulesReq) String() string
- type ListIECidrSvcRulesReq_ByRuleName
- func (*ListIECidrSvcRulesReq_ByRuleName) Descriptor() ([]byte, []int)deprecated
- func (x *ListIECidrSvcRulesReq_ByRuleName) GetNames() []string
- func (*ListIECidrSvcRulesReq_ByRuleName) ProtoMessage()
- func (x *ListIECidrSvcRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
- func (x *ListIECidrSvcRulesReq_ByRuleName) Reset()
- func (x *ListIECidrSvcRulesReq_ByRuleName) String() string
- type ListIECidrSvcRulesReq_ByRuleName_
- type ListIECidrSvcRulesReq_BySvc
- func (*ListIECidrSvcRulesReq_BySvc) Descriptor() ([]byte, []int)deprecated
- func (x *ListIECidrSvcRulesReq_BySvc) GetSvcNames() []string
- func (*ListIECidrSvcRulesReq_BySvc) ProtoMessage()
- func (x *ListIECidrSvcRulesReq_BySvc) ProtoReflect() protoreflect.Message
- func (x *ListIECidrSvcRulesReq_BySvc) Reset()
- func (x *ListIECidrSvcRulesReq_BySvc) String() string
- type ListIECidrSvcRulesReq_BySvc_
- type ListIECidrSvcRulesReq_NoFilter
- func (*ListIECidrSvcRulesReq_NoFilter) Descriptor() ([]byte, []int)deprecated
- func (*ListIECidrSvcRulesReq_NoFilter) ProtoMessage()
- func (x *ListIECidrSvcRulesReq_NoFilter) ProtoReflect() protoreflect.Message
- func (x *ListIECidrSvcRulesReq_NoFilter) Reset()
- func (x *ListIECidrSvcRulesReq_NoFilter) String() string
- type ListIECidrSvcRulesReq_None
- type ListIECidrSvcRulesResp
- func (*ListIECidrSvcRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListIECidrSvcRulesResp) GetRules() []*IECidrSvcRule
- func (*ListIECidrSvcRulesResp) ProtoMessage()
- func (x *ListIECidrSvcRulesResp) ProtoReflect() protoreflect.Message
- func (x *ListIECidrSvcRulesResp) Reset()
- func (x *ListIECidrSvcRulesResp) String() string
- type ListNetworksReq
- type ListNetworksResp
- type ListSecurityGroupsReq
- func (*ListSecurityGroupsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityGroupsReq) GetSgNames() []string
- func (*ListSecurityGroupsReq) ProtoMessage()
- func (x *ListSecurityGroupsReq) ProtoReflect() protoreflect.Message
- func (x *ListSecurityGroupsReq) Reset()
- func (x *ListSecurityGroupsReq) String() string
- type ListSecurityGroupsResp
- func (*ListSecurityGroupsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecurityGroupsResp) GetGroups() []*SecGroup
- func (*ListSecurityGroupsResp) ProtoMessage()
- func (x *ListSecurityGroupsResp) ProtoReflect() protoreflect.Message
- func (x *ListSecurityGroupsResp) Reset()
- func (x *ListSecurityGroupsResp) String() string
- type ListServicesReq
- func (*ListServicesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesReq) GetBySgName() *ListServicesReq_BySG
- func (x *ListServicesReq) GetBySvcName() *ListServicesReq_BySVCName
- func (x *ListServicesReq) GetCriteria() isListServicesReq_Criteria
- func (x *ListServicesReq) GetNone() *ListServicesReq_NoFilter
- func (*ListServicesReq) ProtoMessage()
- func (x *ListServicesReq) ProtoReflect() protoreflect.Message
- func (x *ListServicesReq) Reset()
- func (x *ListServicesReq) String() string
- type ListServicesReq_BySG
- func (*ListServicesReq_BySG) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesReq_BySG) GetNames() []string
- func (*ListServicesReq_BySG) ProtoMessage()
- func (x *ListServicesReq_BySG) ProtoReflect() protoreflect.Message
- func (x *ListServicesReq_BySG) Reset()
- func (x *ListServicesReq_BySG) String() string
- type ListServicesReq_BySVCName
- func (*ListServicesReq_BySVCName) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesReq_BySVCName) GetNames() []string
- func (*ListServicesReq_BySVCName) ProtoMessage()
- func (x *ListServicesReq_BySVCName) ProtoReflect() protoreflect.Message
- func (x *ListServicesReq_BySVCName) Reset()
- func (x *ListServicesReq_BySVCName) String() string
- type ListServicesReq_BySgName
- type ListServicesReq_BySvcName
- type ListServicesReq_NoFilter
- type ListServicesReq_None
- type ListServicesResp
- type ListSvcFqdnRulesReq
- func (*ListSvcFqdnRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcFqdnRulesReq) GetByRuleName() *ListSvcFqdnRulesReq_ByRuleName
- func (x *ListSvcFqdnRulesReq) GetBySvcFrom() *ListSvcFqdnRulesReq_BySvcFrom
- func (x *ListSvcFqdnRulesReq) GetCriteria() isListSvcFqdnRulesReq_Criteria
- func (x *ListSvcFqdnRulesReq) GetNone() *ListSvcFqdnRulesReq_NoFilter
- func (*ListSvcFqdnRulesReq) ProtoMessage()
- func (x *ListSvcFqdnRulesReq) ProtoReflect() protoreflect.Message
- func (x *ListSvcFqdnRulesReq) Reset()
- func (x *ListSvcFqdnRulesReq) String() string
- type ListSvcFqdnRulesReq_ByRuleName
- func (*ListSvcFqdnRulesReq_ByRuleName) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcFqdnRulesReq_ByRuleName) GetNames() []string
- func (*ListSvcFqdnRulesReq_ByRuleName) ProtoMessage()
- func (x *ListSvcFqdnRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
- func (x *ListSvcFqdnRulesReq_ByRuleName) Reset()
- func (x *ListSvcFqdnRulesReq_ByRuleName) String() string
- type ListSvcFqdnRulesReq_ByRuleName_
- type ListSvcFqdnRulesReq_BySvcFrom
- func (*ListSvcFqdnRulesReq_BySvcFrom) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcFqdnRulesReq_BySvcFrom) GetSvcFrom() []string
- func (*ListSvcFqdnRulesReq_BySvcFrom) ProtoMessage()
- func (x *ListSvcFqdnRulesReq_BySvcFrom) ProtoReflect() protoreflect.Message
- func (x *ListSvcFqdnRulesReq_BySvcFrom) Reset()
- func (x *ListSvcFqdnRulesReq_BySvcFrom) String() string
- type ListSvcFqdnRulesReq_BySvcFrom_
- type ListSvcFqdnRulesReq_NoFilter
- func (*ListSvcFqdnRulesReq_NoFilter) Descriptor() ([]byte, []int)deprecated
- func (*ListSvcFqdnRulesReq_NoFilter) ProtoMessage()
- func (x *ListSvcFqdnRulesReq_NoFilter) ProtoReflect() protoreflect.Message
- func (x *ListSvcFqdnRulesReq_NoFilter) Reset()
- func (x *ListSvcFqdnRulesReq_NoFilter) String() string
- type ListSvcFqdnRulesReq_None
- type ListSvcFqdnRulesResp
- func (*ListSvcFqdnRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcFqdnRulesResp) GetRules() []*SvcFqdnRule
- func (*ListSvcFqdnRulesResp) ProtoMessage()
- func (x *ListSvcFqdnRulesResp) ProtoReflect() protoreflect.Message
- func (x *ListSvcFqdnRulesResp) Reset()
- func (x *ListSvcFqdnRulesResp) String() string
- type ListSvcSvcRulesReq
- func (*ListSvcSvcRulesReq) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcSvcRulesReq) GetByRuleName() *ListSvcSvcRulesReq_ByRuleName
- func (x *ListSvcSvcRulesReq) GetBySvcFromTo() *ListSvcSvcRulesReq_BySvcFromTo
- func (x *ListSvcSvcRulesReq) GetCriteria() isListSvcSvcRulesReq_Criteria
- func (x *ListSvcSvcRulesReq) GetNone() *ListSvcSvcRulesReq_NoFilter
- func (*ListSvcSvcRulesReq) ProtoMessage()
- func (x *ListSvcSvcRulesReq) ProtoReflect() protoreflect.Message
- func (x *ListSvcSvcRulesReq) Reset()
- func (x *ListSvcSvcRulesReq) String() string
- type ListSvcSvcRulesReq_ByRuleName
- func (*ListSvcSvcRulesReq_ByRuleName) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcSvcRulesReq_ByRuleName) GetNames() []string
- func (*ListSvcSvcRulesReq_ByRuleName) ProtoMessage()
- func (x *ListSvcSvcRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
- func (x *ListSvcSvcRulesReq_ByRuleName) Reset()
- func (x *ListSvcSvcRulesReq_ByRuleName) String() string
- type ListSvcSvcRulesReq_ByRuleName_
- type ListSvcSvcRulesReq_BySvcFromTo
- func (*ListSvcSvcRulesReq_BySvcFromTo) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcSvcRulesReq_BySvcFromTo) GetSvcFrom() []string
- func (x *ListSvcSvcRulesReq_BySvcFromTo) GetSvcTo() []string
- func (*ListSvcSvcRulesReq_BySvcFromTo) ProtoMessage()
- func (x *ListSvcSvcRulesReq_BySvcFromTo) ProtoReflect() protoreflect.Message
- func (x *ListSvcSvcRulesReq_BySvcFromTo) Reset()
- func (x *ListSvcSvcRulesReq_BySvcFromTo) String() string
- type ListSvcSvcRulesReq_BySvcFromTo_
- type ListSvcSvcRulesReq_NoFilter
- type ListSvcSvcRulesReq_None
- type ListSvcSvcRulesResp
- func (*ListSvcSvcRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *ListSvcSvcRulesResp) GetRules() []*SvcSvcRule
- func (*ListSvcSvcRulesResp) ProtoMessage()
- func (x *ListSvcSvcRulesResp) ProtoReflect() protoreflect.Message
- func (x *ListSvcSvcRulesResp) Reset()
- func (x *ListSvcSvcRulesResp) String() string
- type MetaInfo
- func (*MetaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MetaInfo) GetHostName() string
- func (x *MetaInfo) GetKernelVersion() string
- func (x *MetaInfo) GetOs() string
- func (x *MetaInfo) GetPlatform() string
- func (x *MetaInfo) GetPlatformFamily() string
- func (x *MetaInfo) GetPlatformVersion() string
- func (*MetaInfo) ProtoMessage()
- func (x *MetaInfo) ProtoReflect() protoreflect.Message
- func (x *MetaInfo) Reset()
- func (x *MetaInfo) String() string
- type Network
- type ProtoSpec
- func (*ProtoSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoSpec) GetIcmpv4() *ProtoSpec_IcmpTypes
- func (x *ProtoSpec) GetIcmpv6() *ProtoSpec_IcmpTypes
- func (x *ProtoSpec) GetTcp() *ProtoSpec_Ports
- func (x *ProtoSpec) GetUdp() *ProtoSpec_Ports
- func (*ProtoSpec) ProtoMessage()
- func (x *ProtoSpec) ProtoReflect() protoreflect.Message
- func (x *ProtoSpec) Reset()
- func (x *ProtoSpec) String() string
- type ProtoSpec_IcmpTypes
- func (*ProtoSpec_IcmpTypes) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoSpec_IcmpTypes) GetTypes() []uint32
- func (*ProtoSpec_IcmpTypes) ProtoMessage()
- func (x *ProtoSpec_IcmpTypes) ProtoReflect() protoreflect.Message
- func (x *ProtoSpec_IcmpTypes) Reset()
- func (x *ProtoSpec_IcmpTypes) String() string
- type ProtoSpec_Ports
- type RuleAction
- type RulePriority
- func (*RulePriority) Descriptor() ([]byte, []int)deprecated
- func (x *RulePriority) GetSome() int32
- func (x *RulePriority) GetValue() isRulePriority_Value
- func (*RulePriority) ProtoMessage()
- func (x *RulePriority) ProtoReflect() protoreflect.Message
- func (x *RulePriority) Reset()
- func (x *RulePriority) String() string
- type RulePriority_Some
- type SecGroup
- func (*SecGroup) Descriptor() ([]byte, []int)deprecated
- func (x *SecGroup) GetDefaultAction() SecGroup_DefaultAction
- func (x *SecGroup) GetHosts() []string
- func (x *SecGroup) GetLogs() bool
- func (x *SecGroup) GetName() string
- func (x *SecGroup) GetNetworks() []string
- func (x *SecGroup) GetServices() []string
- func (x *SecGroup) GetTrace() bool
- func (*SecGroup) ProtoMessage()
- func (x *SecGroup) ProtoReflect() protoreflect.Message
- func (x *SecGroup) Reset()
- func (x *SecGroup) String() string
- type SecGroupServiceClient
- type SecGroupServiceServer
- type SecGroupService_SyncStatusesClient
- type SecGroupService_SyncStatusesServer
- type SecGroup_DefaultAction
- func (SecGroup_DefaultAction) Descriptor() protoreflect.EnumDescriptor
- func (x SecGroup_DefaultAction) Enum() *SecGroup_DefaultAction
- func (SecGroup_DefaultAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecGroup_DefaultAction) Number() protoreflect.EnumNumber
- func (x SecGroup_DefaultAction) String() string
- func (SecGroup_DefaultAction) Type() protoreflect.EnumType
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetName() string
- func (x *Service) GetProtocols() *ProtoSpec
- func (x *Service) GetSgNames() []string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type SgIcmpRule
- func (*SgIcmpRule) Descriptor() ([]byte, []int)deprecated
- func (x *SgIcmpRule) GetAction() RuleAction
- func (x *SgIcmpRule) GetICMP() *common.ICMP
- func (x *SgIcmpRule) GetLogs() bool
- func (x *SgIcmpRule) GetSG() string
- func (x *SgIcmpRule) GetTrace() bool
- func (*SgIcmpRule) ProtoMessage()
- func (x *SgIcmpRule) ProtoReflect() protoreflect.Message
- func (x *SgIcmpRule) Reset()
- func (x *SgIcmpRule) String() string
- type SgIcmpRulesResp
- type SgSgIcmpRule
- func (*SgSgIcmpRule) Descriptor() ([]byte, []int)deprecated
- func (x *SgSgIcmpRule) GetAction() RuleAction
- func (x *SgSgIcmpRule) GetICMP() *common.ICMP
- func (x *SgSgIcmpRule) GetLogs() bool
- func (x *SgSgIcmpRule) GetPriority() *RulePriority
- func (x *SgSgIcmpRule) GetSgFrom() string
- func (x *SgSgIcmpRule) GetSgTo() string
- func (x *SgSgIcmpRule) GetTrace() bool
- func (*SgSgIcmpRule) ProtoMessage()
- func (x *SgSgIcmpRule) ProtoReflect() protoreflect.Message
- func (x *SgSgIcmpRule) Reset()
- func (x *SgSgIcmpRule) String() string
- type SgSgIcmpRulesResp
- func (*SgSgIcmpRulesResp) Descriptor() ([]byte, []int)deprecated
- func (x *SgSgIcmpRulesResp) GetRules() []*SgSgIcmpRule
- func (*SgSgIcmpRulesResp) ProtoMessage()
- func (x *SgSgIcmpRulesResp) ProtoReflect() protoreflect.Message
- func (x *SgSgIcmpRulesResp) Reset()
- func (x *SgSgIcmpRulesResp) String() string
- type SgSgRule
- func (*SgSgRule) Descriptor() ([]byte, []int)deprecated
- func (x *SgSgRule) GetAction() RuleAction
- func (x *SgSgRule) GetLogs() bool
- func (x *SgSgRule) GetPorts() []*AccPorts
- func (x *SgSgRule) GetPriority() *RulePriority
- func (x *SgSgRule) GetSgFrom() string
- func (x *SgSgRule) GetSgTo() string
- func (x *SgSgRule) GetTransport() common.Networks_NetIP_Transport
- func (*SgSgRule) ProtoMessage()
- func (x *SgSgRule) ProtoReflect() protoreflect.Message
- func (x *SgSgRule) Reset()
- func (x *SgSgRule) String() string
- type SgSgRulesResp
- type SvcFqdnRule
- func (*SvcFqdnRule) Descriptor() ([]byte, []int)deprecated
- func (x *SvcFqdnRule) GetAction() RuleAction
- func (x *SvcFqdnRule) GetFQDN() string
- func (x *SvcFqdnRule) GetLogs() bool
- func (x *SvcFqdnRule) GetName() string
- func (x *SvcFqdnRule) GetPorts() []*AccPorts
- func (x *SvcFqdnRule) GetPriority() *RulePriority
- func (x *SvcFqdnRule) GetSvcFrom() string
- func (x *SvcFqdnRule) GetTrace() bool
- func (x *SvcFqdnRule) GetTransport() common.Networks_NetIP_Transport
- func (*SvcFqdnRule) ProtoMessage()
- func (x *SvcFqdnRule) ProtoReflect() protoreflect.Message
- func (x *SvcFqdnRule) Reset()
- func (x *SvcFqdnRule) String() string
- type SvcFqdnRulesResp
- type SvcSvcRule
- func (*SvcSvcRule) Descriptor() ([]byte, []int)deprecated
- func (x *SvcSvcRule) GetAction() RuleAction
- func (x *SvcSvcRule) GetLogs() bool
- func (x *SvcSvcRule) GetName() string
- func (x *SvcSvcRule) GetPriority() *RulePriority
- func (x *SvcSvcRule) GetSvcFrom() string
- func (x *SvcSvcRule) GetSvcTo() string
- func (x *SvcSvcRule) GetTrace() bool
- func (*SvcSvcRule) ProtoMessage()
- func (x *SvcSvcRule) ProtoReflect() protoreflect.Message
- func (x *SvcSvcRule) Reset()
- func (x *SvcSvcRule) String() string
- type SyncFqdnRules
- type SyncHosts
- type SyncIECidrSgIcmpRules
- func (*SyncIECidrSgIcmpRules) Descriptor() ([]byte, []int)deprecated
- func (x *SyncIECidrSgIcmpRules) GetRules() []*IECidrSgIcmpRule
- func (*SyncIECidrSgIcmpRules) ProtoMessage()
- func (x *SyncIECidrSgIcmpRules) ProtoReflect() protoreflect.Message
- func (x *SyncIECidrSgIcmpRules) Reset()
- func (x *SyncIECidrSgIcmpRules) String() string
- type SyncIECidrSgRules
- func (*SyncIECidrSgRules) Descriptor() ([]byte, []int)deprecated
- func (x *SyncIECidrSgRules) GetRules() []*IECidrSgRule
- func (*SyncIECidrSgRules) ProtoMessage()
- func (x *SyncIECidrSgRules) ProtoReflect() protoreflect.Message
- func (x *SyncIECidrSgRules) Reset()
- func (x *SyncIECidrSgRules) String() string
- type SyncIECidrSvcRules
- func (*SyncIECidrSvcRules) Descriptor() ([]byte, []int)deprecated
- func (x *SyncIECidrSvcRules) GetRules() []*IECidrSvcRule
- func (*SyncIECidrSvcRules) ProtoMessage()
- func (x *SyncIECidrSvcRules) ProtoReflect() protoreflect.Message
- func (x *SyncIECidrSvcRules) Reset()
- func (x *SyncIECidrSvcRules) String() string
- type SyncIESgSgIcmpRules
- func (*SyncIESgSgIcmpRules) Descriptor() ([]byte, []int)deprecated
- func (x *SyncIESgSgIcmpRules) GetRules() []*IESgSgIcmpRule
- func (*SyncIESgSgIcmpRules) ProtoMessage()
- func (x *SyncIESgSgIcmpRules) ProtoReflect() protoreflect.Message
- func (x *SyncIESgSgIcmpRules) Reset()
- func (x *SyncIESgSgIcmpRules) String() string
- type SyncIESgSgRules
- type SyncNetworks
- type SyncReq
- func (*SyncReq) Descriptor() ([]byte, []int)deprecated
- func (x *SyncReq) GetFqdnRules() *SyncFqdnRules
- func (x *SyncReq) GetGroups() *SyncSecurityGroups
- func (x *SyncReq) GetHosts() *SyncHosts
- func (x *SyncReq) GetIeCidrSgIcmpRules() *SyncIECidrSgIcmpRules
- func (x *SyncReq) GetIeCidrSgRules() *SyncIECidrSgRules
- func (x *SyncReq) GetIeCidrSvcRules() *SyncIECidrSvcRules
- func (x *SyncReq) GetIeSgSgIcmpRules() *SyncIESgSgIcmpRules
- func (x *SyncReq) GetIeSgSgRules() *SyncIESgSgRules
- func (x *SyncReq) GetNetworks() *SyncNetworks
- func (x *SyncReq) GetServiceRules() *SyncSvcSvcRules
- func (x *SyncReq) GetServices() *SyncServices
- func (x *SyncReq) GetSgIcmpRules() *SyncSgIcmpRules
- func (x *SyncReq) GetSgSgIcmpRules() *SyncSgSgIcmpRules
- func (x *SyncReq) GetSgSgRules() *SyncSgSgRules
- func (x *SyncReq) GetSubject() isSyncReq_Subject
- func (x *SyncReq) GetSvcFqdnRules() *SyncSvcFqdnRules
- func (x *SyncReq) GetSyncOp() SyncReq_SyncOp
- func (*SyncReq) ProtoMessage()
- func (x *SyncReq) ProtoReflect() protoreflect.Message
- func (x *SyncReq) Reset()
- func (x *SyncReq) String() string
- type SyncReq_FqdnRules
- type SyncReq_Groups
- type SyncReq_Hosts
- type SyncReq_IeCidrSgIcmpRules
- type SyncReq_IeCidrSgRules
- type SyncReq_IeCidrSvcRules
- type SyncReq_IeSgSgIcmpRules
- type SyncReq_IeSgSgRules
- type SyncReq_Networks
- type SyncReq_ServiceRules
- type SyncReq_Services
- type SyncReq_SgIcmpRules
- type SyncReq_SgSgIcmpRules
- type SyncReq_SgSgRules
- type SyncReq_SvcFqdnRules
- type SyncReq_SyncOp
- func (SyncReq_SyncOp) Descriptor() protoreflect.EnumDescriptor
- func (x SyncReq_SyncOp) Enum() *SyncReq_SyncOp
- func (SyncReq_SyncOp) EnumDescriptor() ([]byte, []int)deprecated
- func (x SyncReq_SyncOp) Number() protoreflect.EnumNumber
- func (x SyncReq_SyncOp) String() string
- func (SyncReq_SyncOp) Type() protoreflect.EnumType
- type SyncSecurityGroups
- func (*SyncSecurityGroups) Descriptor() ([]byte, []int)deprecated
- func (x *SyncSecurityGroups) GetGroups() []*SecGroup
- func (*SyncSecurityGroups) ProtoMessage()
- func (x *SyncSecurityGroups) ProtoReflect() protoreflect.Message
- func (x *SyncSecurityGroups) Reset()
- func (x *SyncSecurityGroups) String() string
- type SyncServices
- type SyncSgIcmpRules
- type SyncSgSgIcmpRules
- func (*SyncSgSgIcmpRules) Descriptor() ([]byte, []int)deprecated
- func (x *SyncSgSgIcmpRules) GetRules() []*SgSgIcmpRule
- func (*SyncSgSgIcmpRules) ProtoMessage()
- func (x *SyncSgSgIcmpRules) ProtoReflect() protoreflect.Message
- func (x *SyncSgSgIcmpRules) Reset()
- func (x *SyncSgSgIcmpRules) String() string
- type SyncSgSgRules
- type SyncStatusResp
- type SyncSvcFqdnRules
- type SyncSvcSvcRules
- type UnimplementedSecGroupServiceServer
- func (UnimplementedSecGroupServiceServer) FindFqdnRules(context.Context, *FindFqdnRulesReq) (*FqdnRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindIECidrSgIcmpRules(context.Context, *FindIECidrSgIcmpRulesReq) (*IECidrSgIcmpRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindIECidrSgRules(context.Context, *FindIECidrSgRulesReq) (*IECidrSgRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindIESgSgIcmpRules(context.Context, *FindIESgSgIcmpRulesReq) (*IESgSgIcmpRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindIESgSgRules(context.Context, *FindIESgSgRulesReq) (*IESgSgRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindSgIcmpRules(context.Context, *FindSgIcmpRulesReq) (*SgIcmpRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindSgSgIcmpRules(context.Context, *FindSgSgIcmpRulesReq) (*SgSgIcmpRulesResp, error)
- func (UnimplementedSecGroupServiceServer) FindSgSgRules(context.Context, *FindSgSgRulesReq) (*SgSgRulesResp, error)
- func (UnimplementedSecGroupServiceServer) GetSecGroupForAddress(context.Context, *GetSecGroupForAddressReq) (*SecGroup, error)
- func (UnimplementedSecGroupServiceServer) GetSecGroupForHost(context.Context, *GetSecGroupForHostReq) (*SecGroup, error)
- func (UnimplementedSecGroupServiceServer) GetSgSubnets(context.Context, *GetSgSubnetsReq) (*GetSgSubnetsResp, error)
- func (UnimplementedSecGroupServiceServer) ListHosts(context.Context, *ListHostsReq) (*ListHostsResp, error)
- func (UnimplementedSecGroupServiceServer) ListIECidrSvcRules(context.Context, *ListIECidrSvcRulesReq) (*ListIECidrSvcRulesResp, error)
- func (UnimplementedSecGroupServiceServer) ListNetworks(context.Context, *ListNetworksReq) (*ListNetworksResp, error)
- func (UnimplementedSecGroupServiceServer) ListSecurityGroups(context.Context, *ListSecurityGroupsReq) (*ListSecurityGroupsResp, error)
- func (UnimplementedSecGroupServiceServer) ListServices(context.Context, *ListServicesReq) (*ListServicesResp, error)
- func (UnimplementedSecGroupServiceServer) ListSvcFqdnRules(context.Context, *ListSvcFqdnRulesReq) (*ListSvcFqdnRulesResp, error)
- func (UnimplementedSecGroupServiceServer) ListSvcSvcRules(context.Context, *ListSvcSvcRulesReq) (*ListSvcSvcRulesResp, error)
- func (UnimplementedSecGroupServiceServer) Sync(context.Context, *SyncReq) (*empty.Empty, error)
- func (UnimplementedSecGroupServiceServer) SyncStatus(context.Context, *empty.Empty) (*SyncStatusResp, error)
- func (UnimplementedSecGroupServiceServer) SyncStatuses(*empty.Empty, SecGroupService_SyncStatusesServer) error
- func (UnimplementedSecGroupServiceServer) UpdHostIPSet(context.Context, *UpdHostIPSetReq) (*empty.Empty, error)
- func (UnimplementedSecGroupServiceServer) UpdHostInfo(context.Context, *UpdHostInfoReq) (*empty.Empty, error)
- type UnsafeSecGroupServiceServer
- type UpdHostIPSetReq
- type UpdHostInfoReq
Constants ¶
const ( SecGroupService_Sync_FullMethodName = "/hbf.v1.sgroups.SecGroupService/Sync" SecGroupService_SyncStatus_FullMethodName = "/hbf.v1.sgroups.SecGroupService/SyncStatus" SecGroupService_SyncStatuses_FullMethodName = "/hbf.v1.sgroups.SecGroupService/SyncStatuses" SecGroupService_ListNetworks_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListNetworks" SecGroupService_ListSecurityGroups_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListSecurityGroups" SecGroupService_ListHosts_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListHosts" SecGroupService_ListServices_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListServices" SecGroupService_ListSvcSvcRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListSvcSvcRules" SecGroupService_ListSvcFqdnRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListSvcFqdnRules" SecGroupService_ListIECidrSvcRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/ListIECidrSvcRules" SecGroupService_GetSgSubnets_FullMethodName = "/hbf.v1.sgroups.SecGroupService/GetSgSubnets" SecGroupService_GetSecGroupForAddress_FullMethodName = "/hbf.v1.sgroups.SecGroupService/GetSecGroupForAddress" SecGroupService_GetSecGroupForHost_FullMethodName = "/hbf.v1.sgroups.SecGroupService/GetSecGroupForHost" SecGroupService_FindSgSgRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindSgSgRules" SecGroupService_FindFqdnRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindFqdnRules" SecGroupService_FindSgIcmpRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindSgIcmpRules" SecGroupService_FindSgSgIcmpRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindSgSgIcmpRules" SecGroupService_FindIECidrSgRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindIECidrSgRules" SecGroupService_FindIESgSgRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindIESgSgRules" SecGroupService_FindIESgSgIcmpRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindIESgSgIcmpRules" SecGroupService_FindIECidrSgIcmpRules_FullMethodName = "/hbf.v1.sgroups.SecGroupService/FindIECidrSgIcmpRules" SecGroupService_UpdHostIPSet_FullMethodName = "/hbf.v1.sgroups.SecGroupService/UpdHostIPSet" SecGroupService_UpdHostInfo_FullMethodName = "/hbf.v1.sgroups.SecGroupService/UpdHostInfo" )
Variables ¶
var ( RuleAction_name = map[int32]string{ 0: "UNDEF", 1: "DROP", 2: "ACCEPT", } RuleAction_value = map[string]int32{ "UNDEF": 0, "DROP": 1, "ACCEPT": 2, } )
Enum value maps for RuleAction.
var ( SecGroup_DefaultAction_name = map[int32]string{ 0: "DEFAULT", 1: "DROP", 2: "ACCEPT", } SecGroup_DefaultAction_value = map[string]int32{ "DEFAULT": 0, "DROP": 1, "ACCEPT": 2, } )
Enum value maps for SecGroup_DefaultAction.
var ( SyncReq_SyncOp_name = map[int32]string{ 0: "NoOp", 4: "FullSync", 5: "Upsert", 6: "Delete", } SyncReq_SyncOp_value = map[string]int32{ "NoOp": 0, "FullSync": 4, "Upsert": 5, "Delete": 6, } )
Enum value maps for SyncReq_SyncOp.
var File_sgroups_domains_proto protoreflect.FileDescriptor
var File_sgroups_queries_proto protoreflect.FileDescriptor
var File_sgroups_service_proto protoreflect.FileDescriptor
var SecGroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "hbf.v1.sgroups.SecGroupService", HandlerType: (*SecGroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Sync", Handler: _SecGroupService_Sync_Handler, }, { MethodName: "SyncStatus", Handler: _SecGroupService_SyncStatus_Handler, }, { MethodName: "ListNetworks", Handler: _SecGroupService_ListNetworks_Handler, }, { MethodName: "ListSecurityGroups", Handler: _SecGroupService_ListSecurityGroups_Handler, }, { MethodName: "ListHosts", Handler: _SecGroupService_ListHosts_Handler, }, { MethodName: "ListServices", Handler: _SecGroupService_ListServices_Handler, }, { MethodName: "ListSvcSvcRules", Handler: _SecGroupService_ListSvcSvcRules_Handler, }, { MethodName: "ListSvcFqdnRules", Handler: _SecGroupService_ListSvcFqdnRules_Handler, }, { MethodName: "ListIECidrSvcRules", Handler: _SecGroupService_ListIECidrSvcRules_Handler, }, { MethodName: "GetSgSubnets", Handler: _SecGroupService_GetSgSubnets_Handler, }, { MethodName: "GetSecGroupForAddress", Handler: _SecGroupService_GetSecGroupForAddress_Handler, }, { MethodName: "GetSecGroupForHost", Handler: _SecGroupService_GetSecGroupForHost_Handler, }, { MethodName: "FindSgSgRules", Handler: _SecGroupService_FindSgSgRules_Handler, }, { MethodName: "FindFqdnRules", Handler: _SecGroupService_FindFqdnRules_Handler, }, { MethodName: "FindSgIcmpRules", Handler: _SecGroupService_FindSgIcmpRules_Handler, }, { MethodName: "FindSgSgIcmpRules", Handler: _SecGroupService_FindSgSgIcmpRules_Handler, }, { MethodName: "FindIECidrSgRules", Handler: _SecGroupService_FindIECidrSgRules_Handler, }, { MethodName: "FindIESgSgRules", Handler: _SecGroupService_FindIESgSgRules_Handler, }, { MethodName: "FindIESgSgIcmpRules", Handler: _SecGroupService_FindIESgSgIcmpRules_Handler, }, { MethodName: "FindIECidrSgIcmpRules", Handler: _SecGroupService_FindIECidrSgIcmpRules_Handler, }, { MethodName: "UpdHostIPSet", Handler: _SecGroupService_UpdHostIPSet_Handler, }, { MethodName: "UpdHostInfo", Handler: _SecGroupService_UpdHostInfo_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SyncStatuses", Handler: _SecGroupService_SyncStatuses_Handler, ServerStreams: true, }, }, Metadata: "sgroups/service.proto", }
SecGroupService_ServiceDesc is the grpc.ServiceDesc for SecGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSecGroupServiceHandler ¶
func RegisterSecGroupServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterSecGroupServiceHandler registers the http handlers for service SecGroupService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterSecGroupServiceHandlerClient ¶
func RegisterSecGroupServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SecGroupServiceClient) error
RegisterSecGroupServiceHandlerClient registers the http handlers for service SecGroupService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SecGroupServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SecGroupServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SecGroupServiceClient" to call the correct interceptors.
func RegisterSecGroupServiceHandlerFromEndpoint ¶
func RegisterSecGroupServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterSecGroupServiceHandlerFromEndpoint is same as RegisterSecGroupServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterSecGroupServiceHandlerServer ¶
func RegisterSecGroupServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SecGroupServiceServer) error
RegisterSecGroupServiceHandlerServer registers the http handlers for service SecGroupService to "mux". UnaryRPC :call SecGroupServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterSecGroupServiceHandlerFromEndpoint instead.
func RegisterSecGroupServiceServer ¶
func RegisterSecGroupServiceServer(s grpc.ServiceRegistrar, srv SecGroupServiceServer)
Types ¶
type AccPorts ¶
type AccPorts struct {
// source port "num" or port range "num1-num2"
S string `protobuf:"bytes,1,opt,name=s,proto3" json:"s,omitempty"`
// destination port "num" or port range "num1-num2"
D string `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"`
// contains filtered or unexported fields
}
AccPorts: represents Security Group Rule access source-dest ports
func (*AccPorts) Descriptor
deprecated
func (*AccPorts) ProtoMessage ¶
func (*AccPorts) ProtoMessage()
func (*AccPorts) ProtoReflect ¶
func (x *AccPorts) ProtoReflect() protoreflect.Message
type FindFqdnRulesReq ¶
type FindFqdnRulesReq struct {
// scope GS name 'from' items
SgFrom []string `protobuf:"bytes,1,rep,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// contains filtered or unexported fields
}
FindFqdnRulesReq: req to find all FQDN Rule(s) scoped by variety 'from' SG(s)
func (*FindFqdnRulesReq) Descriptor
deprecated
func (*FindFqdnRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindFqdnRulesReq.ProtoReflect.Descriptor instead.
func (*FindFqdnRulesReq) GetSgFrom ¶
func (x *FindFqdnRulesReq) GetSgFrom() []string
func (*FindFqdnRulesReq) ProtoMessage ¶
func (*FindFqdnRulesReq) ProtoMessage()
func (*FindFqdnRulesReq) ProtoReflect ¶
func (x *FindFqdnRulesReq) ProtoReflect() protoreflect.Message
func (*FindFqdnRulesReq) Reset ¶
func (x *FindFqdnRulesReq) Reset()
func (*FindFqdnRulesReq) String ¶
func (x *FindFqdnRulesReq) String() string
type FindIECidrSgIcmpRulesReq ¶
type FindIECidrSgIcmpRulesReq struct {
// scope SG name item(s)
SG []string `protobuf:"bytes,1,rep,name=SG,proto3" json:"SG,omitempty"`
// contains filtered or unexported fields
}
FindIECidrSgIcmpRulesReq: req to find all CIDR-SG-[INGRESS|EGRESS]:ICMP rules(s) scoped by SG(s) variety
func (*FindIECidrSgIcmpRulesReq) Descriptor
deprecated
func (*FindIECidrSgIcmpRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindIECidrSgIcmpRulesReq.ProtoReflect.Descriptor instead.
func (*FindIECidrSgIcmpRulesReq) GetSG ¶
func (x *FindIECidrSgIcmpRulesReq) GetSG() []string
func (*FindIECidrSgIcmpRulesReq) ProtoMessage ¶
func (*FindIECidrSgIcmpRulesReq) ProtoMessage()
func (*FindIECidrSgIcmpRulesReq) ProtoReflect ¶
func (x *FindIECidrSgIcmpRulesReq) ProtoReflect() protoreflect.Message
func (*FindIECidrSgIcmpRulesReq) Reset ¶
func (x *FindIECidrSgIcmpRulesReq) Reset()
func (*FindIECidrSgIcmpRulesReq) String ¶
func (x *FindIECidrSgIcmpRulesReq) String() string
type FindIECidrSgRulesReq ¶
type FindIECidrSgRulesReq struct {
// scope SG name item(s)
SG []string `protobuf:"bytes,1,rep,name=SG,proto3" json:"SG,omitempty"`
// contains filtered or unexported fields
}
FindIECidrSgRulesReq: req to find all CIRD-SG-[INGRESS|EGRESS] Rule(s) scoped by SG(s) variety
func (*FindIECidrSgRulesReq) Descriptor
deprecated
func (*FindIECidrSgRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindIECidrSgRulesReq.ProtoReflect.Descriptor instead.
func (*FindIECidrSgRulesReq) GetSG ¶
func (x *FindIECidrSgRulesReq) GetSG() []string
func (*FindIECidrSgRulesReq) ProtoMessage ¶
func (*FindIECidrSgRulesReq) ProtoMessage()
func (*FindIECidrSgRulesReq) ProtoReflect ¶
func (x *FindIECidrSgRulesReq) ProtoReflect() protoreflect.Message
func (*FindIECidrSgRulesReq) Reset ¶
func (x *FindIECidrSgRulesReq) Reset()
func (*FindIECidrSgRulesReq) String ¶
func (x *FindIECidrSgRulesReq) String() string
type FindIESgSgIcmpRulesReq ¶
type FindIESgSgIcmpRulesReq struct {
// scope SG name item(s)
SG []string `protobuf:"bytes,1,rep,name=SG,proto3" json:"SG,omitempty"`
// scope SGLocal name item(s)
SgLocal []string `protobuf:"bytes,2,rep,name=sg_local,json=sgLocal,proto3" json:"sg_local,omitempty"`
// contains filtered or unexported fields
}
FindIESgSgIcmpRulesReq: req to find all SG-SG-[INGRESS|EGRESS]:ICMP rule(s)
func (*FindIESgSgIcmpRulesReq) Descriptor
deprecated
func (*FindIESgSgIcmpRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindIESgSgIcmpRulesReq.ProtoReflect.Descriptor instead.
func (*FindIESgSgIcmpRulesReq) GetSG ¶
func (x *FindIESgSgIcmpRulesReq) GetSG() []string
func (*FindIESgSgIcmpRulesReq) GetSgLocal ¶
func (x *FindIESgSgIcmpRulesReq) GetSgLocal() []string
func (*FindIESgSgIcmpRulesReq) ProtoMessage ¶
func (*FindIESgSgIcmpRulesReq) ProtoMessage()
func (*FindIESgSgIcmpRulesReq) ProtoReflect ¶
func (x *FindIESgSgIcmpRulesReq) ProtoReflect() protoreflect.Message
func (*FindIESgSgIcmpRulesReq) Reset ¶
func (x *FindIESgSgIcmpRulesReq) Reset()
func (*FindIESgSgIcmpRulesReq) String ¶
func (x *FindIESgSgIcmpRulesReq) String() string
type FindIESgSgRulesReq ¶
type FindIESgSgRulesReq struct {
// scope SG name item(s)
SG []string `protobuf:"bytes,1,rep,name=SG,proto3" json:"SG,omitempty"`
// scope SGLocal name item(s)
SgLocal []string `protobuf:"bytes,2,rep,name=sg_local,json=sgLocal,proto3" json:"sg_local,omitempty"`
// contains filtered or unexported fields
}
FindIESgSgRulesReq: req to find all SG-SG-[INGRESS|EGRESS] rule(s)
func (*FindIESgSgRulesReq) Descriptor
deprecated
func (*FindIESgSgRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindIESgSgRulesReq.ProtoReflect.Descriptor instead.
func (*FindIESgSgRulesReq) GetSG ¶
func (x *FindIESgSgRulesReq) GetSG() []string
func (*FindIESgSgRulesReq) GetSgLocal ¶
func (x *FindIESgSgRulesReq) GetSgLocal() []string
func (*FindIESgSgRulesReq) ProtoMessage ¶
func (*FindIESgSgRulesReq) ProtoMessage()
func (*FindIESgSgRulesReq) ProtoReflect ¶
func (x *FindIESgSgRulesReq) ProtoReflect() protoreflect.Message
func (*FindIESgSgRulesReq) Reset ¶
func (x *FindIESgSgRulesReq) Reset()
func (*FindIESgSgRulesReq) String ¶
func (x *FindIESgSgRulesReq) String() string
type FindSgIcmpRulesReq ¶
type FindSgIcmpRulesReq struct {
// scope GS name item(s)
SG []string `protobuf:"bytes,1,rep,name=SG,proto3" json:"SG,omitempty"`
// contains filtered or unexported fields
}
FindSgIcmpRulesReq: req to find all SG:ICMP Rule(s) scoped by SG(s) variety
func (*FindSgIcmpRulesReq) Descriptor
deprecated
func (*FindSgIcmpRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindSgIcmpRulesReq.ProtoReflect.Descriptor instead.
func (*FindSgIcmpRulesReq) GetSG ¶
func (x *FindSgIcmpRulesReq) GetSG() []string
func (*FindSgIcmpRulesReq) ProtoMessage ¶
func (*FindSgIcmpRulesReq) ProtoMessage()
func (*FindSgIcmpRulesReq) ProtoReflect ¶
func (x *FindSgIcmpRulesReq) ProtoReflect() protoreflect.Message
func (*FindSgIcmpRulesReq) Reset ¶
func (x *FindSgIcmpRulesReq) Reset()
func (*FindSgIcmpRulesReq) String ¶
func (x *FindSgIcmpRulesReq) String() string
type FindSgSgIcmpRulesReq ¶
type FindSgSgIcmpRulesReq struct {
// scope SG-from name item(s)
SgFrom []string `protobuf:"bytes,1,rep,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// scope SG-to name item(s)
SgTo []string `protobuf:"bytes,2,rep,name=sg_to,json=sgTo,proto3" json:"sg_to,omitempty"`
// contains filtered or unexported fields
}
FindSgSgIcmpRulesReq: req to find all SG-SG:ICMP Rule(s) scoped by SG(s) variety
func (*FindSgSgIcmpRulesReq) Descriptor
deprecated
func (*FindSgSgIcmpRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindSgSgIcmpRulesReq.ProtoReflect.Descriptor instead.
func (*FindSgSgIcmpRulesReq) GetSgFrom ¶
func (x *FindSgSgIcmpRulesReq) GetSgFrom() []string
func (*FindSgSgIcmpRulesReq) GetSgTo ¶
func (x *FindSgSgIcmpRulesReq) GetSgTo() []string
func (*FindSgSgIcmpRulesReq) ProtoMessage ¶
func (*FindSgSgIcmpRulesReq) ProtoMessage()
func (*FindSgSgIcmpRulesReq) ProtoReflect ¶
func (x *FindSgSgIcmpRulesReq) ProtoReflect() protoreflect.Message
func (*FindSgSgIcmpRulesReq) Reset ¶
func (x *FindSgSgIcmpRulesReq) Reset()
func (*FindSgSgIcmpRulesReq) String ¶
func (x *FindSgSgIcmpRulesReq) String() string
type FindSgSgRulesReq ¶
type FindSgSgRulesReq struct {
// scope SG name 'from' items
SgFrom []string `protobuf:"bytes,1,rep,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// scope SG name 'to' items
SgTo []string `protobuf:"bytes,2,rep,name=sg_to,json=sgTo,proto3" json:"sg_to,omitempty"`
// contains filtered or unexported fields
}
FindSgSgRulesReq: req to find all SecGroup(s) Rule(s) scoped by variety('from') --> variety('to') SG(s)
func (*FindSgSgRulesReq) Descriptor
deprecated
func (*FindSgSgRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use FindSgSgRulesReq.ProtoReflect.Descriptor instead.
func (*FindSgSgRulesReq) GetSgFrom ¶
func (x *FindSgSgRulesReq) GetSgFrom() []string
func (*FindSgSgRulesReq) GetSgTo ¶
func (x *FindSgSgRulesReq) GetSgTo() []string
func (*FindSgSgRulesReq) ProtoMessage ¶
func (*FindSgSgRulesReq) ProtoMessage()
func (*FindSgSgRulesReq) ProtoReflect ¶
func (x *FindSgSgRulesReq) ProtoReflect() protoreflect.Message
func (*FindSgSgRulesReq) Reset ¶
func (x *FindSgSgRulesReq) Reset()
func (*FindSgSgRulesReq) String ¶
func (x *FindSgSgRulesReq) String() string
type FqdnRule ¶
type FqdnRule struct {
// security group at client
SgFrom string `protobuf:"bytes,1,opt,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// FQDN full qualified domain name portable for DNS queries
FQDN string `protobuf:"bytes,2,opt,name=FQDN,proto3" json:"FQDN,omitempty"`
// ip net transport
Transport common.Networks_NetIP_Transport `protobuf:"varint,3,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// access ports set
Ports []*AccPorts `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,5,opt,name=logs,proto3" json:"logs,omitempty"`
// protocols: L7 protocol list
// repeated string protocols = 6;
// action: represents rule action
Action RuleAction `protobuf:"varint,7,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,8,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
FqdnRule: represents Security Groups Rule
func (*FqdnRule) Descriptor
deprecated
func (*FqdnRule) GetAction ¶
func (x *FqdnRule) GetAction() RuleAction
func (*FqdnRule) GetPriority ¶
func (x *FqdnRule) GetPriority() *RulePriority
func (*FqdnRule) GetTransport ¶
func (x *FqdnRule) GetTransport() common.Networks_NetIP_Transport
func (*FqdnRule) ProtoMessage ¶
func (*FqdnRule) ProtoMessage()
func (*FqdnRule) ProtoReflect ¶
func (x *FqdnRule) ProtoReflect() protoreflect.Message
type FqdnRulesResp ¶
type FqdnRulesResp struct {
// FQDN rule(s) items
Rules []*FqdnRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
FqdnRulesResp: FQDN Rule(s) resp
func (*FqdnRulesResp) Descriptor
deprecated
func (*FqdnRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use FqdnRulesResp.ProtoReflect.Descriptor instead.
func (*FqdnRulesResp) GetRules ¶
func (x *FqdnRulesResp) GetRules() []*FqdnRule
func (*FqdnRulesResp) ProtoMessage ¶
func (*FqdnRulesResp) ProtoMessage()
func (*FqdnRulesResp) ProtoReflect ¶
func (x *FqdnRulesResp) ProtoReflect() protoreflect.Message
func (*FqdnRulesResp) Reset ¶
func (x *FqdnRulesResp) Reset()
func (*FqdnRulesResp) String ¶
func (x *FqdnRulesResp) String() string
type GetSecGroupForAddressReq ¶
type GetSecGroupForAddressReq struct {
// an IP or CIDR
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
GetSecGroupForAddressReq: req to get Security Group by IP or CIDR
func (*GetSecGroupForAddressReq) Descriptor
deprecated
func (*GetSecGroupForAddressReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSecGroupForAddressReq.ProtoReflect.Descriptor instead.
func (*GetSecGroupForAddressReq) GetAddress ¶
func (x *GetSecGroupForAddressReq) GetAddress() string
func (*GetSecGroupForAddressReq) ProtoMessage ¶
func (*GetSecGroupForAddressReq) ProtoMessage()
func (*GetSecGroupForAddressReq) ProtoReflect ¶
func (x *GetSecGroupForAddressReq) ProtoReflect() protoreflect.Message
func (*GetSecGroupForAddressReq) Reset ¶
func (x *GetSecGroupForAddressReq) Reset()
func (*GetSecGroupForAddressReq) String ¶
func (x *GetSecGroupForAddressReq) String() string
type GetSecGroupForHostReq ¶
type GetSecGroupForHostReq struct {
HostUuid string `protobuf:"bytes,1,opt,name=host_uuid,json=hostUuid,proto3" json:"host_uuid,omitempty"`
HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
// contains filtered or unexported fields
}
GetSecGroupForHostReq: req to get Security Group by host info
func (*GetSecGroupForHostReq) Descriptor
deprecated
func (*GetSecGroupForHostReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSecGroupForHostReq.ProtoReflect.Descriptor instead.
func (*GetSecGroupForHostReq) GetHostName ¶
func (x *GetSecGroupForHostReq) GetHostName() string
func (*GetSecGroupForHostReq) GetHostUuid ¶
func (x *GetSecGroupForHostReq) GetHostUuid() string
func (*GetSecGroupForHostReq) ProtoMessage ¶
func (*GetSecGroupForHostReq) ProtoMessage()
func (*GetSecGroupForHostReq) ProtoReflect ¶
func (x *GetSecGroupForHostReq) ProtoReflect() protoreflect.Message
func (*GetSecGroupForHostReq) Reset ¶
func (x *GetSecGroupForHostReq) Reset()
func (*GetSecGroupForHostReq) String ¶
func (x *GetSecGroupForHostReq) String() string
type GetSgSgRulesReq ¶
type GetSgSgRulesReq struct {
// name of security groups 'from'
SgFrom string `protobuf:"bytes,1,opt,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// name of security groups 'to'
SgTo string `protobuf:"bytes,2,opt,name=sg_to,json=sgTo,proto3" json:"sg_to,omitempty"`
// contains filtered or unexported fields
}
GetSgSgRulesReq; req to get Rules scoped by SecGroup pair 'from' --> 'to'
func (*GetSgSgRulesReq) Descriptor
deprecated
func (*GetSgSgRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSgSgRulesReq.ProtoReflect.Descriptor instead.
func (*GetSgSgRulesReq) GetSgFrom ¶
func (x *GetSgSgRulesReq) GetSgFrom() string
func (*GetSgSgRulesReq) GetSgTo ¶
func (x *GetSgSgRulesReq) GetSgTo() string
func (*GetSgSgRulesReq) ProtoMessage ¶
func (*GetSgSgRulesReq) ProtoMessage()
func (*GetSgSgRulesReq) ProtoReflect ¶
func (x *GetSgSgRulesReq) ProtoReflect() protoreflect.Message
func (*GetSgSgRulesReq) Reset ¶
func (x *GetSgSgRulesReq) Reset()
func (*GetSgSgRulesReq) String ¶
func (x *GetSgSgRulesReq) String() string
type GetSgSubnetsReq ¶
type GetSgSubnetsReq struct {
// security group name
SgName string `protobuf:"bytes,1,opt,name=sg_name,json=sgName,proto3" json:"sg_name,omitempty"`
// contains filtered or unexported fields
}
GetSgSubnetsReq: req to get Networks related to Security Group
func (*GetSgSubnetsReq) Descriptor
deprecated
func (*GetSgSubnetsReq) Descriptor() ([]byte, []int)
Deprecated: Use GetSgSubnetsReq.ProtoReflect.Descriptor instead.
func (*GetSgSubnetsReq) GetSgName ¶
func (x *GetSgSubnetsReq) GetSgName() string
func (*GetSgSubnetsReq) ProtoMessage ¶
func (*GetSgSubnetsReq) ProtoMessage()
func (*GetSgSubnetsReq) ProtoReflect ¶
func (x *GetSgSubnetsReq) ProtoReflect() protoreflect.Message
func (*GetSgSubnetsReq) Reset ¶
func (x *GetSgSubnetsReq) Reset()
func (*GetSgSubnetsReq) String ¶
func (x *GetSgSubnetsReq) String() string
type GetSgSubnetsResp ¶
type GetSgSubnetsResp struct {
// network items
Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// contains filtered or unexported fields
}
GetSgSubnetsResp: Networks related to Security Group resp
func (*GetSgSubnetsResp) Descriptor
deprecated
func (*GetSgSubnetsResp) Descriptor() ([]byte, []int)
Deprecated: Use GetSgSubnetsResp.ProtoReflect.Descriptor instead.
func (*GetSgSubnetsResp) GetNetworks ¶
func (x *GetSgSubnetsResp) GetNetworks() []*Network
func (*GetSgSubnetsResp) ProtoMessage ¶
func (*GetSgSubnetsResp) ProtoMessage()
func (*GetSgSubnetsResp) ProtoReflect ¶
func (x *GetSgSubnetsResp) ProtoReflect() protoreflect.Message
func (*GetSgSubnetsResp) Reset ¶
func (x *GetSgSubnetsResp) Reset()
func (*GetSgSubnetsResp) String ¶
func (x *GetSgSubnetsResp) String() string
type Host ¶
type Host struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
SgName string `protobuf:"bytes,3,opt,name=sg_name,json=sgName,proto3" json:"sg_name,omitempty"`
IpList *IPList `protobuf:"bytes,4,opt,name=ip_list,json=ipList,proto3" json:"ip_list,omitempty"`
MetaInfo *MetaInfo `protobuf:"bytes,5,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"`
// contains filtered or unexported fields
}
Host: represents a host with its name, UUID, and IPs related to Security Group(s)
func (*Host) Descriptor
deprecated
func (*Host) GetMetaInfo ¶ added in v1.0.4
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type HostIPSet ¶ added in v1.0.3
type HostIPSet struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
IpList *IPList `protobuf:"bytes,2,opt,name=ip_list,json=ipList,proto3" json:"ip_list,omitempty"`
// contains filtered or unexported fields
}
HostIPSet: represents a set of IPs for a host
func (*HostIPSet) Descriptor
deprecated
added in
v1.0.3
func (*HostIPSet) ProtoMessage ¶ added in v1.0.3
func (*HostIPSet) ProtoMessage()
func (*HostIPSet) ProtoReflect ¶ added in v1.0.3
func (x *HostIPSet) ProtoReflect() protoreflect.Message
type HostInfo ¶ added in v1.0.4
type HostInfo struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
IpList *IPList `protobuf:"bytes,2,opt,name=ip_list,json=ipList,proto3" json:"ip_list,omitempty"`
MetaInfo *MetaInfo `protobuf:"bytes,3,opt,name=meta_info,json=metaInfo,proto3" json:"meta_info,omitempty"`
// contains filtered or unexported fields
}
HostInfo: represents a host info
func (*HostInfo) Descriptor
deprecated
added in
v1.0.4
func (*HostInfo) GetMetaInfo ¶ added in v1.0.4
func (*HostInfo) ProtoMessage ¶ added in v1.0.4
func (*HostInfo) ProtoMessage()
func (*HostInfo) ProtoReflect ¶ added in v1.0.4
func (x *HostInfo) ProtoReflect() protoreflect.Message
type IECidrSgIcmpRule ¶
type IECidrSgIcmpRule struct {
// CIDR subnetwork IPv4|IPv6
CIDR string `protobuf:"bytes,1,opt,name=CIDR,proto3" json:"CIDR,omitempty"`
// SG security group name
SG string `protobuf:"bytes,2,opt,name=SG,proto3" json:"SG,omitempty"`
// traffic direction [INGERSS, EGRESS]
Traffic common.Traffic `protobuf:"varint,3,opt,name=traffic,proto3,enum=common.Traffic" json:"traffic,omitempty"`
// ICMP spec
ICMP *common.ICMP `protobuf:"bytes,4,opt,name=ICMP,proto3" json:"ICMP,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} logs in rules
Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,8,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,9,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
CIDR-SG ICMP <in|e>gress type rule
func (*IECidrSgIcmpRule) Descriptor
deprecated
func (*IECidrSgIcmpRule) Descriptor() ([]byte, []int)
Deprecated: Use IECidrSgIcmpRule.ProtoReflect.Descriptor instead.
func (*IECidrSgIcmpRule) GetAction ¶
func (x *IECidrSgIcmpRule) GetAction() RuleAction
func (*IECidrSgIcmpRule) GetCIDR ¶
func (x *IECidrSgIcmpRule) GetCIDR() string
func (*IECidrSgIcmpRule) GetICMP ¶
func (x *IECidrSgIcmpRule) GetICMP() *common.ICMP
func (*IECidrSgIcmpRule) GetLogs ¶
func (x *IECidrSgIcmpRule) GetLogs() bool
func (*IECidrSgIcmpRule) GetPriority ¶
func (x *IECidrSgIcmpRule) GetPriority() *RulePriority
func (*IECidrSgIcmpRule) GetSG ¶
func (x *IECidrSgIcmpRule) GetSG() string
func (*IECidrSgIcmpRule) GetTrace ¶
func (x *IECidrSgIcmpRule) GetTrace() bool
func (*IECidrSgIcmpRule) GetTraffic ¶
func (x *IECidrSgIcmpRule) GetTraffic() common.Traffic
func (*IECidrSgIcmpRule) ProtoMessage ¶
func (*IECidrSgIcmpRule) ProtoMessage()
func (*IECidrSgIcmpRule) ProtoReflect ¶
func (x *IECidrSgIcmpRule) ProtoReflect() protoreflect.Message
func (*IECidrSgIcmpRule) Reset ¶
func (x *IECidrSgIcmpRule) Reset()
func (*IECidrSgIcmpRule) String ¶
func (x *IECidrSgIcmpRule) String() string
type IECidrSgIcmpRulesResp ¶
type IECidrSgIcmpRulesResp struct {
// IECidrSgIcmpRule rule item(s)
Rules []*IECidrSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
IECidrSgIcmpRulesResp: CIDR-SG-[INGRESS|EGRESS]:ICMP rules(s) resp
func (*IECidrSgIcmpRulesResp) Descriptor
deprecated
func (*IECidrSgIcmpRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use IECidrSgIcmpRulesResp.ProtoReflect.Descriptor instead.
func (*IECidrSgIcmpRulesResp) GetRules ¶
func (x *IECidrSgIcmpRulesResp) GetRules() []*IECidrSgIcmpRule
func (*IECidrSgIcmpRulesResp) ProtoMessage ¶
func (*IECidrSgIcmpRulesResp) ProtoMessage()
func (*IECidrSgIcmpRulesResp) ProtoReflect ¶
func (x *IECidrSgIcmpRulesResp) ProtoReflect() protoreflect.Message
func (*IECidrSgIcmpRulesResp) Reset ¶
func (x *IECidrSgIcmpRulesResp) Reset()
func (*IECidrSgIcmpRulesResp) String ¶
func (x *IECidrSgIcmpRulesResp) String() string
type IECidrSgRule ¶
type IECidrSgRule struct {
// ip net transport [TCP, UDP]
Transport common.Networks_NetIP_Transport `protobuf:"varint,1,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// CIDR subnetwork IPv4|IPv6
CIDR string `protobuf:"bytes,2,opt,name=CIDR,proto3" json:"CIDR,omitempty"`
// SG security group name
SG string `protobuf:"bytes,3,opt,name=SG,proto3" json:"SG,omitempty"`
// traffic direction [INGERSS, EGRESS]
Traffic common.Traffic `protobuf:"varint,4,opt,name=traffic,proto3,enum=common.Traffic" json:"traffic,omitempty"`
// AccPorts: access port set(s)
Ports []*AccPorts `protobuf:"bytes,5,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} logs in rules
Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,8,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,9,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
CIDR-SG NET-SG Ingress Egress type rule
func (*IECidrSgRule) Descriptor
deprecated
func (*IECidrSgRule) Descriptor() ([]byte, []int)
Deprecated: Use IECidrSgRule.ProtoReflect.Descriptor instead.
func (*IECidrSgRule) GetAction ¶
func (x *IECidrSgRule) GetAction() RuleAction
func (*IECidrSgRule) GetCIDR ¶
func (x *IECidrSgRule) GetCIDR() string
func (*IECidrSgRule) GetLogs ¶
func (x *IECidrSgRule) GetLogs() bool
func (*IECidrSgRule) GetPorts ¶
func (x *IECidrSgRule) GetPorts() []*AccPorts
func (*IECidrSgRule) GetPriority ¶
func (x *IECidrSgRule) GetPriority() *RulePriority
func (*IECidrSgRule) GetSG ¶
func (x *IECidrSgRule) GetSG() string
func (*IECidrSgRule) GetTrace ¶
func (x *IECidrSgRule) GetTrace() bool
func (*IECidrSgRule) GetTraffic ¶
func (x *IECidrSgRule) GetTraffic() common.Traffic
func (*IECidrSgRule) GetTransport ¶
func (x *IECidrSgRule) GetTransport() common.Networks_NetIP_Transport
func (*IECidrSgRule) ProtoMessage ¶
func (*IECidrSgRule) ProtoMessage()
func (*IECidrSgRule) ProtoReflect ¶
func (x *IECidrSgRule) ProtoReflect() protoreflect.Message
func (*IECidrSgRule) Reset ¶
func (x *IECidrSgRule) Reset()
func (*IECidrSgRule) String ¶
func (x *IECidrSgRule) String() string
type IECidrSgRulesResp ¶
type IECidrSgRulesResp struct {
// СidrSgRules rule item(s)
Rules []*IECidrSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
СidrSgRulesResp: CIDR-SG-[INGRESS, EGRESS] rule(s) resp
func (*IECidrSgRulesResp) Descriptor
deprecated
func (*IECidrSgRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use IECidrSgRulesResp.ProtoReflect.Descriptor instead.
func (*IECidrSgRulesResp) GetRules ¶
func (x *IECidrSgRulesResp) GetRules() []*IECidrSgRule
func (*IECidrSgRulesResp) ProtoMessage ¶
func (*IECidrSgRulesResp) ProtoMessage()
func (*IECidrSgRulesResp) ProtoReflect ¶
func (x *IECidrSgRulesResp) ProtoReflect() protoreflect.Message
func (*IECidrSgRulesResp) Reset ¶
func (x *IECidrSgRulesResp) Reset()
func (*IECidrSgRulesResp) String ¶
func (x *IECidrSgRulesResp) String() string
type IECidrSvcRule ¶ added in v1.0.4
type IECidrSvcRule struct {
// rule name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// ip net transport [TCP, UDP]
Transport common.Networks_NetIP_Transport `protobuf:"varint,2,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// CIDR subnetwork IPv4|IPv6
CIDR string `protobuf:"bytes,3,opt,name=CIDR,proto3" json:"CIDR,omitempty"`
// service name
Svc string `protobuf:"bytes,4,opt,name=svc,proto3" json:"svc,omitempty"`
// traffic direction [INGERSS, EGRESS]
Traffic common.Traffic `protobuf:"varint,5,opt,name=traffic,proto3,enum=common.Traffic" json:"traffic,omitempty"`
// AccPorts: access port set(s)
Ports []*AccPorts `protobuf:"bytes,6,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,7,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} logs in rules
Trace bool `protobuf:"varint,8,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,9,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,10,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
CIDR-SVC Ingress Egress type rule
func (*IECidrSvcRule) Descriptor
deprecated
added in
v1.0.4
func (*IECidrSvcRule) Descriptor() ([]byte, []int)
Deprecated: Use IECidrSvcRule.ProtoReflect.Descriptor instead.
func (*IECidrSvcRule) GetAction ¶ added in v1.0.4
func (x *IECidrSvcRule) GetAction() RuleAction
func (*IECidrSvcRule) GetCIDR ¶ added in v1.0.4
func (x *IECidrSvcRule) GetCIDR() string
func (*IECidrSvcRule) GetLogs ¶ added in v1.0.4
func (x *IECidrSvcRule) GetLogs() bool
func (*IECidrSvcRule) GetName ¶ added in v1.0.4
func (x *IECidrSvcRule) GetName() string
func (*IECidrSvcRule) GetPorts ¶ added in v1.0.4
func (x *IECidrSvcRule) GetPorts() []*AccPorts
func (*IECidrSvcRule) GetPriority ¶ added in v1.0.4
func (x *IECidrSvcRule) GetPriority() *RulePriority
func (*IECidrSvcRule) GetSvc ¶ added in v1.0.4
func (x *IECidrSvcRule) GetSvc() string
func (*IECidrSvcRule) GetTrace ¶ added in v1.0.4
func (x *IECidrSvcRule) GetTrace() bool
func (*IECidrSvcRule) GetTraffic ¶ added in v1.0.4
func (x *IECidrSvcRule) GetTraffic() common.Traffic
func (*IECidrSvcRule) GetTransport ¶ added in v1.0.4
func (x *IECidrSvcRule) GetTransport() common.Networks_NetIP_Transport
func (*IECidrSvcRule) ProtoMessage ¶ added in v1.0.4
func (*IECidrSvcRule) ProtoMessage()
func (*IECidrSvcRule) ProtoReflect ¶ added in v1.0.4
func (x *IECidrSvcRule) ProtoReflect() protoreflect.Message
func (*IECidrSvcRule) Reset ¶ added in v1.0.4
func (x *IECidrSvcRule) Reset()
func (*IECidrSvcRule) String ¶ added in v1.0.4
func (x *IECidrSvcRule) String() string
type IESgSgIcmpRule ¶
type IESgSgIcmpRule struct {
// Security group name
SG string `protobuf:"bytes,1,opt,name=SG,proto3" json:"SG,omitempty"`
// Security group name
SgLocal string `protobuf:"bytes,2,opt,name=sg_local,json=sgLocal,proto3" json:"sg_local,omitempty"`
// traffic direction [INGERSS, EGRESS]
Traffic common.Traffic `protobuf:"varint,3,opt,name=traffic,proto3,enum=common.Traffic" json:"traffic,omitempty"`
// ICMP spec
ICMP *common.ICMP `protobuf:"bytes,4,opt,name=ICMP,proto3" json:"ICMP,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,5,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} trace in rules
Trace bool `protobuf:"varint,6,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,7,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,8,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
SG-SG:ICMP <in|e>gress type rule
func (*IESgSgIcmpRule) Descriptor
deprecated
func (*IESgSgIcmpRule) Descriptor() ([]byte, []int)
Deprecated: Use IESgSgIcmpRule.ProtoReflect.Descriptor instead.
func (*IESgSgIcmpRule) GetAction ¶
func (x *IESgSgIcmpRule) GetAction() RuleAction
func (*IESgSgIcmpRule) GetICMP ¶
func (x *IESgSgIcmpRule) GetICMP() *common.ICMP
func (*IESgSgIcmpRule) GetLogs ¶
func (x *IESgSgIcmpRule) GetLogs() bool
func (*IESgSgIcmpRule) GetPriority ¶
func (x *IESgSgIcmpRule) GetPriority() *RulePriority
func (*IESgSgIcmpRule) GetSG ¶
func (x *IESgSgIcmpRule) GetSG() string
func (*IESgSgIcmpRule) GetSgLocal ¶
func (x *IESgSgIcmpRule) GetSgLocal() string
func (*IESgSgIcmpRule) GetTrace ¶
func (x *IESgSgIcmpRule) GetTrace() bool
func (*IESgSgIcmpRule) GetTraffic ¶
func (x *IESgSgIcmpRule) GetTraffic() common.Traffic
func (*IESgSgIcmpRule) ProtoMessage ¶
func (*IESgSgIcmpRule) ProtoMessage()
func (*IESgSgIcmpRule) ProtoReflect ¶
func (x *IESgSgIcmpRule) ProtoReflect() protoreflect.Message
func (*IESgSgIcmpRule) Reset ¶
func (x *IESgSgIcmpRule) Reset()
func (*IESgSgIcmpRule) String ¶
func (x *IESgSgIcmpRule) String() string
type IESgSgIcmpRulesResp ¶
type IESgSgIcmpRulesResp struct {
// IESgSgRule rule item(s)
Rules []*IESgSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
IESgSgIcmpRulesResp: SG-SG-[INGRESS|EGRESS]:ICMP rule(s) resp
func (*IESgSgIcmpRulesResp) Descriptor
deprecated
func (*IESgSgIcmpRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use IESgSgIcmpRulesResp.ProtoReflect.Descriptor instead.
func (*IESgSgIcmpRulesResp) GetRules ¶
func (x *IESgSgIcmpRulesResp) GetRules() []*IESgSgIcmpRule
func (*IESgSgIcmpRulesResp) ProtoMessage ¶
func (*IESgSgIcmpRulesResp) ProtoMessage()
func (*IESgSgIcmpRulesResp) ProtoReflect ¶
func (x *IESgSgIcmpRulesResp) ProtoReflect() protoreflect.Message
func (*IESgSgIcmpRulesResp) Reset ¶
func (x *IESgSgIcmpRulesResp) Reset()
func (*IESgSgIcmpRulesResp) String ¶
func (x *IESgSgIcmpRulesResp) String() string
type IESgSgRule ¶
type IESgSgRule struct {
// ip net transport [TCP, UDP]
Transport common.Networks_NetIP_Transport `protobuf:"varint,1,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// Security group name which will be src/dst of traffic when ingress/egress option chosen
SG string `protobuf:"bytes,2,opt,name=SG,proto3" json:"SG,omitempty"`
// Security group name which will be src when egress chosen, and dst when ingress
SgLocal string `protobuf:"bytes,3,opt,name=sg_local,json=sgLocal,proto3" json:"sg_local,omitempty"`
// traffic direction [INGERSS, EGRESS]
Traffic common.Traffic `protobuf:"varint,4,opt,name=traffic,proto3,enum=common.Traffic" json:"traffic,omitempty"`
// AccPorts: access port set(s)
Ports []*AccPorts `protobuf:"bytes,5,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} logs in rules
Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,8,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,9,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
SG-SG <in|e>gress type rule
func (*IESgSgRule) Descriptor
deprecated
func (*IESgSgRule) Descriptor() ([]byte, []int)
Deprecated: Use IESgSgRule.ProtoReflect.Descriptor instead.
func (*IESgSgRule) GetAction ¶
func (x *IESgSgRule) GetAction() RuleAction
func (*IESgSgRule) GetLogs ¶
func (x *IESgSgRule) GetLogs() bool
func (*IESgSgRule) GetPorts ¶
func (x *IESgSgRule) GetPorts() []*AccPorts
func (*IESgSgRule) GetPriority ¶
func (x *IESgSgRule) GetPriority() *RulePriority
func (*IESgSgRule) GetSG ¶
func (x *IESgSgRule) GetSG() string
func (*IESgSgRule) GetSgLocal ¶
func (x *IESgSgRule) GetSgLocal() string
func (*IESgSgRule) GetTrace ¶
func (x *IESgSgRule) GetTrace() bool
func (*IESgSgRule) GetTraffic ¶
func (x *IESgSgRule) GetTraffic() common.Traffic
func (*IESgSgRule) GetTransport ¶
func (x *IESgSgRule) GetTransport() common.Networks_NetIP_Transport
func (*IESgSgRule) ProtoMessage ¶
func (*IESgSgRule) ProtoMessage()
func (*IESgSgRule) ProtoReflect ¶
func (x *IESgSgRule) ProtoReflect() protoreflect.Message
func (*IESgSgRule) Reset ¶
func (x *IESgSgRule) Reset()
func (*IESgSgRule) String ¶
func (x *IESgSgRule) String() string
type IESgSgRulesResp ¶
type IESgSgRulesResp struct {
// IESgSgRule rule item(s)
Rules []*IESgSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
IESgSgRulesResp: SG-SG-[INGRESS, EGRESS] rule(s) resp
func (*IESgSgRulesResp) Descriptor
deprecated
func (*IESgSgRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use IESgSgRulesResp.ProtoReflect.Descriptor instead.
func (*IESgSgRulesResp) GetRules ¶
func (x *IESgSgRulesResp) GetRules() []*IESgSgRule
func (*IESgSgRulesResp) ProtoMessage ¶
func (*IESgSgRulesResp) ProtoMessage()
func (*IESgSgRulesResp) ProtoReflect ¶
func (x *IESgSgRulesResp) ProtoReflect() protoreflect.Message
func (*IESgSgRulesResp) Reset ¶
func (x *IESgSgRulesResp) Reset()
func (*IESgSgRulesResp) String ¶
func (x *IESgSgRulesResp) String() string
type IPList ¶
type IPList struct {
IPs []string `protobuf:"bytes,1,rep,name=IPs,proto3" json:"IPs,omitempty"`
// contains filtered or unexported fields
}
IPList : list of hosts IPs
func (*IPList) Descriptor
deprecated
func (*IPList) ProtoMessage ¶
func (*IPList) ProtoMessage()
func (*IPList) ProtoReflect ¶
func (x *IPList) ProtoReflect() protoreflect.Message
type ListHostsReq ¶
type ListHostsReq struct {
// Types that are valid to be assigned to Criteria:
//
// *ListHostsReq_None
// *ListHostsReq_ByUUID_
// *ListHostsReq_ByHostname
// *ListHostsReq_BySgName
Criteria isListHostsReq_Criteria `protobuf_oneof:"criteria"`
// contains filtered or unexported fields
}
ListHostsReq: request to find hosts by variety of scopes
func (*ListHostsReq) Descriptor
deprecated
func (*ListHostsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsReq.ProtoReflect.Descriptor instead.
func (*ListHostsReq) GetByHostname ¶
func (x *ListHostsReq) GetByHostname() *ListHostsReq_ByHostName
func (*ListHostsReq) GetBySgName ¶
func (x *ListHostsReq) GetBySgName() *ListHostsReq_BySG
func (*ListHostsReq) GetByUUID ¶
func (x *ListHostsReq) GetByUUID() *ListHostsReq_ByUUID
func (*ListHostsReq) GetCriteria ¶
func (x *ListHostsReq) GetCriteria() isListHostsReq_Criteria
func (*ListHostsReq) GetNone ¶
func (x *ListHostsReq) GetNone() *ListHostsReq_NoFilter
func (*ListHostsReq) ProtoMessage ¶
func (*ListHostsReq) ProtoMessage()
func (*ListHostsReq) ProtoReflect ¶
func (x *ListHostsReq) ProtoReflect() protoreflect.Message
func (*ListHostsReq) Reset ¶
func (x *ListHostsReq) Reset()
func (*ListHostsReq) String ¶
func (x *ListHostsReq) String() string
type ListHostsReq_ByHostName ¶
type ListHostsReq_ByHostName struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by hostnames
func (*ListHostsReq_ByHostName) Descriptor
deprecated
func (*ListHostsReq_ByHostName) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsReq_ByHostName.ProtoReflect.Descriptor instead.
func (*ListHostsReq_ByHostName) GetNames ¶
func (x *ListHostsReq_ByHostName) GetNames() []string
func (*ListHostsReq_ByHostName) ProtoMessage ¶
func (*ListHostsReq_ByHostName) ProtoMessage()
func (*ListHostsReq_ByHostName) ProtoReflect ¶
func (x *ListHostsReq_ByHostName) ProtoReflect() protoreflect.Message
func (*ListHostsReq_ByHostName) Reset ¶
func (x *ListHostsReq_ByHostName) Reset()
func (*ListHostsReq_ByHostName) String ¶
func (x *ListHostsReq_ByHostName) String() string
type ListHostsReq_ByHostname ¶
type ListHostsReq_ByHostname struct {
ByHostname *ListHostsReq_ByHostName `protobuf:"bytes,3,opt,name=by_hostname,json=byHostname,proto3,oneof"`
}
type ListHostsReq_BySG ¶
type ListHostsReq_BySG struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by security group names
func (*ListHostsReq_BySG) Descriptor
deprecated
func (*ListHostsReq_BySG) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsReq_BySG.ProtoReflect.Descriptor instead.
func (*ListHostsReq_BySG) GetNames ¶
func (x *ListHostsReq_BySG) GetNames() []string
func (*ListHostsReq_BySG) ProtoMessage ¶
func (*ListHostsReq_BySG) ProtoMessage()
func (*ListHostsReq_BySG) ProtoReflect ¶
func (x *ListHostsReq_BySG) ProtoReflect() protoreflect.Message
func (*ListHostsReq_BySG) Reset ¶
func (x *ListHostsReq_BySG) Reset()
func (*ListHostsReq_BySG) String ¶
func (x *ListHostsReq_BySG) String() string
type ListHostsReq_BySgName ¶
type ListHostsReq_BySgName struct {
BySgName *ListHostsReq_BySG `protobuf:"bytes,4,opt,name=by_sg_name,json=bySgName,proto3,oneof"`
}
type ListHostsReq_ByUUID ¶
type ListHostsReq_ByUUID struct {
UUIDs []string `protobuf:"bytes,1,rep,name=UUIDs,proto3" json:"UUIDs,omitempty"`
// contains filtered or unexported fields
}
Filter by unique identifiers
func (*ListHostsReq_ByUUID) Descriptor
deprecated
func (*ListHostsReq_ByUUID) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsReq_ByUUID.ProtoReflect.Descriptor instead.
func (*ListHostsReq_ByUUID) GetUUIDs ¶
func (x *ListHostsReq_ByUUID) GetUUIDs() []string
func (*ListHostsReq_ByUUID) ProtoMessage ¶
func (*ListHostsReq_ByUUID) ProtoMessage()
func (*ListHostsReq_ByUUID) ProtoReflect ¶
func (x *ListHostsReq_ByUUID) ProtoReflect() protoreflect.Message
func (*ListHostsReq_ByUUID) Reset ¶
func (x *ListHostsReq_ByUUID) Reset()
func (*ListHostsReq_ByUUID) String ¶
func (x *ListHostsReq_ByUUID) String() string
type ListHostsReq_ByUUID_ ¶
type ListHostsReq_ByUUID_ struct {
ByUUID *ListHostsReq_ByUUID `protobuf:"bytes,2,opt,name=byUUID,proto3,oneof"`
}
type ListHostsReq_NoFilter ¶
type ListHostsReq_NoFilter struct {
// contains filtered or unexported fields
}
No filtering: return all hosts
func (*ListHostsReq_NoFilter) Descriptor
deprecated
func (*ListHostsReq_NoFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsReq_NoFilter.ProtoReflect.Descriptor instead.
func (*ListHostsReq_NoFilter) ProtoMessage ¶
func (*ListHostsReq_NoFilter) ProtoMessage()
func (*ListHostsReq_NoFilter) ProtoReflect ¶
func (x *ListHostsReq_NoFilter) ProtoReflect() protoreflect.Message
func (*ListHostsReq_NoFilter) Reset ¶
func (x *ListHostsReq_NoFilter) Reset()
func (*ListHostsReq_NoFilter) String ¶
func (x *ListHostsReq_NoFilter) String() string
type ListHostsReq_None ¶
type ListHostsReq_None struct {
None *ListHostsReq_NoFilter `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type ListHostsResp ¶
type ListHostsResp struct {
Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
ListHostsResp: returned list of hosts
func (*ListHostsResp) Descriptor
deprecated
func (*ListHostsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListHostsResp.ProtoReflect.Descriptor instead.
func (*ListHostsResp) GetHosts ¶
func (x *ListHostsResp) GetHosts() []*Host
func (*ListHostsResp) ProtoMessage ¶
func (*ListHostsResp) ProtoMessage()
func (*ListHostsResp) ProtoReflect ¶
func (x *ListHostsResp) ProtoReflect() protoreflect.Message
func (*ListHostsResp) Reset ¶
func (x *ListHostsResp) Reset()
func (*ListHostsResp) String ¶
func (x *ListHostsResp) String() string
type ListIECidrSvcRulesReq ¶ added in v1.0.4
type ListIECidrSvcRulesReq struct {
// Types that are valid to be assigned to Criteria:
//
// *ListIECidrSvcRulesReq_None
// *ListIECidrSvcRulesReq_ByRuleName_
// *ListIECidrSvcRulesReq_BySvc_
Criteria isListIECidrSvcRulesReq_Criteria `protobuf_oneof:"criteria"`
// contains filtered or unexported fields
}
ListIECidrSvcRulesReq: req to list all CIDR-SVC-[INGRESS|EGRESS] Rule(s) by variety of scopes
func (*ListIECidrSvcRulesReq) Descriptor
deprecated
added in
v1.0.4
func (*ListIECidrSvcRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListIECidrSvcRulesReq.ProtoReflect.Descriptor instead.
func (*ListIECidrSvcRulesReq) GetByRuleName ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) GetByRuleName() *ListIECidrSvcRulesReq_ByRuleName
func (*ListIECidrSvcRulesReq) GetBySvc ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) GetBySvc() *ListIECidrSvcRulesReq_BySvc
func (*ListIECidrSvcRulesReq) GetCriteria ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) GetCriteria() isListIECidrSvcRulesReq_Criteria
func (*ListIECidrSvcRulesReq) GetNone ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) GetNone() *ListIECidrSvcRulesReq_NoFilter
func (*ListIECidrSvcRulesReq) ProtoMessage ¶ added in v1.0.4
func (*ListIECidrSvcRulesReq) ProtoMessage()
func (*ListIECidrSvcRulesReq) ProtoReflect ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) ProtoReflect() protoreflect.Message
func (*ListIECidrSvcRulesReq) Reset ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) Reset()
func (*ListIECidrSvcRulesReq) String ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq) String() string
type ListIECidrSvcRulesReq_ByRuleName ¶ added in v1.0.4
type ListIECidrSvcRulesReq_ByRuleName struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by rule names
func (*ListIECidrSvcRulesReq_ByRuleName) Descriptor
deprecated
added in
v1.0.4
func (*ListIECidrSvcRulesReq_ByRuleName) Descriptor() ([]byte, []int)
Deprecated: Use ListIECidrSvcRulesReq_ByRuleName.ProtoReflect.Descriptor instead.
func (*ListIECidrSvcRulesReq_ByRuleName) GetNames ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_ByRuleName) GetNames() []string
func (*ListIECidrSvcRulesReq_ByRuleName) ProtoMessage ¶ added in v1.0.4
func (*ListIECidrSvcRulesReq_ByRuleName) ProtoMessage()
func (*ListIECidrSvcRulesReq_ByRuleName) ProtoReflect ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
func (*ListIECidrSvcRulesReq_ByRuleName) Reset ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_ByRuleName) Reset()
func (*ListIECidrSvcRulesReq_ByRuleName) String ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_ByRuleName) String() string
type ListIECidrSvcRulesReq_ByRuleName_ ¶ added in v1.0.4
type ListIECidrSvcRulesReq_ByRuleName_ struct {
ByRuleName *ListIECidrSvcRulesReq_ByRuleName `protobuf:"bytes,2,opt,name=by_rule_name,json=byRuleName,proto3,oneof"`
}
type ListIECidrSvcRulesReq_BySvc ¶ added in v1.0.4
type ListIECidrSvcRulesReq_BySvc struct {
SvcNames []string `protobuf:"bytes,1,rep,name=svc_names,json=svcNames,proto3" json:"svc_names,omitempty"`
// contains filtered or unexported fields
}
Filter by Svc names
func (*ListIECidrSvcRulesReq_BySvc) Descriptor
deprecated
added in
v1.0.4
func (*ListIECidrSvcRulesReq_BySvc) Descriptor() ([]byte, []int)
Deprecated: Use ListIECidrSvcRulesReq_BySvc.ProtoReflect.Descriptor instead.
func (*ListIECidrSvcRulesReq_BySvc) GetSvcNames ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_BySvc) GetSvcNames() []string
func (*ListIECidrSvcRulesReq_BySvc) ProtoMessage ¶ added in v1.0.4
func (*ListIECidrSvcRulesReq_BySvc) ProtoMessage()
func (*ListIECidrSvcRulesReq_BySvc) ProtoReflect ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_BySvc) ProtoReflect() protoreflect.Message
func (*ListIECidrSvcRulesReq_BySvc) Reset ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_BySvc) Reset()
func (*ListIECidrSvcRulesReq_BySvc) String ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_BySvc) String() string
type ListIECidrSvcRulesReq_BySvc_ ¶ added in v1.0.4
type ListIECidrSvcRulesReq_BySvc_ struct {
BySvc *ListIECidrSvcRulesReq_BySvc `protobuf:"bytes,3,opt,name=by_svc,json=bySvc,proto3,oneof"`
}
type ListIECidrSvcRulesReq_NoFilter ¶ added in v1.0.4
type ListIECidrSvcRulesReq_NoFilter struct {
// contains filtered or unexported fields
}
No filtering: return all CIDR-SVC-[INGRESS|EGRESS] rules
func (*ListIECidrSvcRulesReq_NoFilter) Descriptor
deprecated
added in
v1.0.4
func (*ListIECidrSvcRulesReq_NoFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListIECidrSvcRulesReq_NoFilter.ProtoReflect.Descriptor instead.
func (*ListIECidrSvcRulesReq_NoFilter) ProtoMessage ¶ added in v1.0.4
func (*ListIECidrSvcRulesReq_NoFilter) ProtoMessage()
func (*ListIECidrSvcRulesReq_NoFilter) ProtoReflect ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_NoFilter) ProtoReflect() protoreflect.Message
func (*ListIECidrSvcRulesReq_NoFilter) Reset ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_NoFilter) Reset()
func (*ListIECidrSvcRulesReq_NoFilter) String ¶ added in v1.0.4
func (x *ListIECidrSvcRulesReq_NoFilter) String() string
type ListIECidrSvcRulesReq_None ¶ added in v1.0.4
type ListIECidrSvcRulesReq_None struct {
None *ListIECidrSvcRulesReq_NoFilter `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type ListIECidrSvcRulesResp ¶ added in v1.0.4
type ListIECidrSvcRulesResp struct {
// CIDR-SVC-[INGRESS|EGRESS] rule(s) items
Rules []*IECidrSvcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
ListIECidrSvcRulesResp: CIDR-SVC-[INGRESS|EGRESS] Rule(s) resp
func (*ListIECidrSvcRulesResp) Descriptor
deprecated
added in
v1.0.4
func (*ListIECidrSvcRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListIECidrSvcRulesResp.ProtoReflect.Descriptor instead.
func (*ListIECidrSvcRulesResp) GetRules ¶ added in v1.0.4
func (x *ListIECidrSvcRulesResp) GetRules() []*IECidrSvcRule
func (*ListIECidrSvcRulesResp) ProtoMessage ¶ added in v1.0.4
func (*ListIECidrSvcRulesResp) ProtoMessage()
func (*ListIECidrSvcRulesResp) ProtoReflect ¶ added in v1.0.4
func (x *ListIECidrSvcRulesResp) ProtoReflect() protoreflect.Message
func (*ListIECidrSvcRulesResp) Reset ¶ added in v1.0.4
func (x *ListIECidrSvcRulesResp) Reset()
func (*ListIECidrSvcRulesResp) String ¶ added in v1.0.4
func (x *ListIECidrSvcRulesResp) String() string
type ListNetworksReq ¶
type ListNetworksReq struct {
// network names scope; if none then list all netrworks
NetworkNames []string `protobuf:"bytes,1,rep,name=network_names,json=networkNames,proto3" json:"network_names,omitempty"`
// contains filtered or unexported fields
}
ListNetworksReq: req to list Networks
func (*ListNetworksReq) Descriptor
deprecated
func (*ListNetworksReq) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksReq.ProtoReflect.Descriptor instead.
func (*ListNetworksReq) GetNetworkNames ¶
func (x *ListNetworksReq) GetNetworkNames() []string
func (*ListNetworksReq) ProtoMessage ¶
func (*ListNetworksReq) ProtoMessage()
func (*ListNetworksReq) ProtoReflect ¶
func (x *ListNetworksReq) ProtoReflect() protoreflect.Message
func (*ListNetworksReq) Reset ¶
func (x *ListNetworksReq) Reset()
func (*ListNetworksReq) String ¶
func (x *ListNetworksReq) String() string
type ListNetworksResp ¶
type ListNetworksResp struct {
// network items
Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// contains filtered or unexported fields
}
ListNetworksResp: Network list resp
func (*ListNetworksResp) Descriptor
deprecated
func (*ListNetworksResp) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksResp.ProtoReflect.Descriptor instead.
func (*ListNetworksResp) GetNetworks ¶
func (x *ListNetworksResp) GetNetworks() []*Network
func (*ListNetworksResp) ProtoMessage ¶
func (*ListNetworksResp) ProtoMessage()
func (*ListNetworksResp) ProtoReflect ¶
func (x *ListNetworksResp) ProtoReflect() protoreflect.Message
func (*ListNetworksResp) Reset ¶
func (x *ListNetworksResp) Reset()
func (*ListNetworksResp) String ¶
func (x *ListNetworksResp) String() string
type ListSecurityGroupsReq ¶
type ListSecurityGroupsReq struct {
// SG names scope; if none then list all SGs
SgNames []string `protobuf:"bytes,1,rep,name=sg_names,json=sgNames,proto3" json:"sg_names,omitempty"`
// contains filtered or unexported fields
}
ListSecurityGroupsReq: req to list Seocurity Groups
func (*ListSecurityGroupsReq) Descriptor
deprecated
func (*ListSecurityGroupsReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityGroupsReq.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsReq) GetSgNames ¶
func (x *ListSecurityGroupsReq) GetSgNames() []string
func (*ListSecurityGroupsReq) ProtoMessage ¶
func (*ListSecurityGroupsReq) ProtoMessage()
func (*ListSecurityGroupsReq) ProtoReflect ¶
func (x *ListSecurityGroupsReq) ProtoReflect() protoreflect.Message
func (*ListSecurityGroupsReq) Reset ¶
func (x *ListSecurityGroupsReq) Reset()
func (*ListSecurityGroupsReq) String ¶
func (x *ListSecurityGroupsReq) String() string
type ListSecurityGroupsResp ¶
type ListSecurityGroupsResp struct {
// security group items
Groups []*SecGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// contains filtered or unexported fields
}
ListSecurityGroupsResp: Security Groups list resp
func (*ListSecurityGroupsResp) Descriptor
deprecated
func (*ListSecurityGroupsResp) Descriptor() ([]byte, []int)
Deprecated: Use ListSecurityGroupsResp.ProtoReflect.Descriptor instead.
func (*ListSecurityGroupsResp) GetGroups ¶
func (x *ListSecurityGroupsResp) GetGroups() []*SecGroup
func (*ListSecurityGroupsResp) ProtoMessage ¶
func (*ListSecurityGroupsResp) ProtoMessage()
func (*ListSecurityGroupsResp) ProtoReflect ¶
func (x *ListSecurityGroupsResp) ProtoReflect() protoreflect.Message
func (*ListSecurityGroupsResp) Reset ¶
func (x *ListSecurityGroupsResp) Reset()
func (*ListSecurityGroupsResp) String ¶
func (x *ListSecurityGroupsResp) String() string
type ListServicesReq ¶
type ListServicesReq struct {
// Types that are valid to be assigned to Criteria:
//
// *ListServicesReq_None
// *ListServicesReq_BySvcName
// *ListServicesReq_BySgName
Criteria isListServicesReq_Criteria `protobuf_oneof:"criteria"`
// contains filtered or unexported fields
}
ListServicesReq: request to list services by variety of scopes
func (*ListServicesReq) Descriptor
deprecated
func (*ListServicesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesReq.ProtoReflect.Descriptor instead.
func (*ListServicesReq) GetBySgName ¶
func (x *ListServicesReq) GetBySgName() *ListServicesReq_BySG
func (*ListServicesReq) GetBySvcName ¶
func (x *ListServicesReq) GetBySvcName() *ListServicesReq_BySVCName
func (*ListServicesReq) GetCriteria ¶
func (x *ListServicesReq) GetCriteria() isListServicesReq_Criteria
func (*ListServicesReq) GetNone ¶
func (x *ListServicesReq) GetNone() *ListServicesReq_NoFilter
func (*ListServicesReq) ProtoMessage ¶
func (*ListServicesReq) ProtoMessage()
func (*ListServicesReq) ProtoReflect ¶
func (x *ListServicesReq) ProtoReflect() protoreflect.Message
func (*ListServicesReq) Reset ¶
func (x *ListServicesReq) Reset()
func (*ListServicesReq) String ¶
func (x *ListServicesReq) String() string
type ListServicesReq_BySG ¶
type ListServicesReq_BySG struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by security group names
func (*ListServicesReq_BySG) Descriptor
deprecated
func (*ListServicesReq_BySG) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesReq_BySG.ProtoReflect.Descriptor instead.
func (*ListServicesReq_BySG) GetNames ¶
func (x *ListServicesReq_BySG) GetNames() []string
func (*ListServicesReq_BySG) ProtoMessage ¶
func (*ListServicesReq_BySG) ProtoMessage()
func (*ListServicesReq_BySG) ProtoReflect ¶
func (x *ListServicesReq_BySG) ProtoReflect() protoreflect.Message
func (*ListServicesReq_BySG) Reset ¶
func (x *ListServicesReq_BySG) Reset()
func (*ListServicesReq_BySG) String ¶
func (x *ListServicesReq_BySG) String() string
type ListServicesReq_BySVCName ¶
type ListServicesReq_BySVCName struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by service names
func (*ListServicesReq_BySVCName) Descriptor
deprecated
func (*ListServicesReq_BySVCName) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesReq_BySVCName.ProtoReflect.Descriptor instead.
func (*ListServicesReq_BySVCName) GetNames ¶
func (x *ListServicesReq_BySVCName) GetNames() []string
func (*ListServicesReq_BySVCName) ProtoMessage ¶
func (*ListServicesReq_BySVCName) ProtoMessage()
func (*ListServicesReq_BySVCName) ProtoReflect ¶
func (x *ListServicesReq_BySVCName) ProtoReflect() protoreflect.Message
func (*ListServicesReq_BySVCName) Reset ¶
func (x *ListServicesReq_BySVCName) Reset()
func (*ListServicesReq_BySVCName) String ¶
func (x *ListServicesReq_BySVCName) String() string
type ListServicesReq_BySgName ¶
type ListServicesReq_BySgName struct {
BySgName *ListServicesReq_BySG `protobuf:"bytes,3,opt,name=by_sg_name,json=bySgName,proto3,oneof"`
}
type ListServicesReq_BySvcName ¶
type ListServicesReq_BySvcName struct {
BySvcName *ListServicesReq_BySVCName `protobuf:"bytes,2,opt,name=by_svc_name,json=bySvcName,proto3,oneof"`
}
type ListServicesReq_NoFilter ¶
type ListServicesReq_NoFilter struct {
// contains filtered or unexported fields
}
No filtering: return all services
func (*ListServicesReq_NoFilter) Descriptor
deprecated
func (*ListServicesReq_NoFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesReq_NoFilter.ProtoReflect.Descriptor instead.
func (*ListServicesReq_NoFilter) ProtoMessage ¶
func (*ListServicesReq_NoFilter) ProtoMessage()
func (*ListServicesReq_NoFilter) ProtoReflect ¶
func (x *ListServicesReq_NoFilter) ProtoReflect() protoreflect.Message
func (*ListServicesReq_NoFilter) Reset ¶
func (x *ListServicesReq_NoFilter) Reset()
func (*ListServicesReq_NoFilter) String ¶
func (x *ListServicesReq_NoFilter) String() string
type ListServicesReq_None ¶
type ListServicesReq_None struct {
None *ListServicesReq_NoFilter `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type ListServicesResp ¶
type ListServicesResp struct {
// service items
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
ListSecurityGroupsResp: Security Groups list resp
func (*ListServicesResp) Descriptor
deprecated
func (*ListServicesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResp.ProtoReflect.Descriptor instead.
func (*ListServicesResp) GetServices ¶
func (x *ListServicesResp) GetServices() []*Service
func (*ListServicesResp) ProtoMessage ¶
func (*ListServicesResp) ProtoMessage()
func (*ListServicesResp) ProtoReflect ¶
func (x *ListServicesResp) ProtoReflect() protoreflect.Message
func (*ListServicesResp) Reset ¶
func (x *ListServicesResp) Reset()
func (*ListServicesResp) String ¶
func (x *ListServicesResp) String() string
type ListSvcFqdnRulesReq ¶
type ListSvcFqdnRulesReq struct {
// Types that are valid to be assigned to Criteria:
//
// *ListSvcFqdnRulesReq_None
// *ListSvcFqdnRulesReq_ByRuleName_
// *ListSvcFqdnRulesReq_BySvcFrom_
Criteria isListSvcFqdnRulesReq_Criteria `protobuf_oneof:"criteria"`
// contains filtered or unexported fields
}
ListSvcFqdnRulesReq: req to list all Service(s) FQDN Rule(s) by variety of scopes
func (*ListSvcFqdnRulesReq) Descriptor
deprecated
func (*ListSvcFqdnRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcFqdnRulesReq.ProtoReflect.Descriptor instead.
func (*ListSvcFqdnRulesReq) GetByRuleName ¶
func (x *ListSvcFqdnRulesReq) GetByRuleName() *ListSvcFqdnRulesReq_ByRuleName
func (*ListSvcFqdnRulesReq) GetBySvcFrom ¶
func (x *ListSvcFqdnRulesReq) GetBySvcFrom() *ListSvcFqdnRulesReq_BySvcFrom
func (*ListSvcFqdnRulesReq) GetCriteria ¶
func (x *ListSvcFqdnRulesReq) GetCriteria() isListSvcFqdnRulesReq_Criteria
func (*ListSvcFqdnRulesReq) GetNone ¶
func (x *ListSvcFqdnRulesReq) GetNone() *ListSvcFqdnRulesReq_NoFilter
func (*ListSvcFqdnRulesReq) ProtoMessage ¶
func (*ListSvcFqdnRulesReq) ProtoMessage()
func (*ListSvcFqdnRulesReq) ProtoReflect ¶
func (x *ListSvcFqdnRulesReq) ProtoReflect() protoreflect.Message
func (*ListSvcFqdnRulesReq) Reset ¶
func (x *ListSvcFqdnRulesReq) Reset()
func (*ListSvcFqdnRulesReq) String ¶
func (x *ListSvcFqdnRulesReq) String() string
type ListSvcFqdnRulesReq_ByRuleName ¶
type ListSvcFqdnRulesReq_ByRuleName struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by rule name
func (*ListSvcFqdnRulesReq_ByRuleName) Descriptor
deprecated
func (*ListSvcFqdnRulesReq_ByRuleName) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcFqdnRulesReq_ByRuleName.ProtoReflect.Descriptor instead.
func (*ListSvcFqdnRulesReq_ByRuleName) GetNames ¶
func (x *ListSvcFqdnRulesReq_ByRuleName) GetNames() []string
func (*ListSvcFqdnRulesReq_ByRuleName) ProtoMessage ¶
func (*ListSvcFqdnRulesReq_ByRuleName) ProtoMessage()
func (*ListSvcFqdnRulesReq_ByRuleName) ProtoReflect ¶
func (x *ListSvcFqdnRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
func (*ListSvcFqdnRulesReq_ByRuleName) Reset ¶
func (x *ListSvcFqdnRulesReq_ByRuleName) Reset()
func (*ListSvcFqdnRulesReq_ByRuleName) String ¶
func (x *ListSvcFqdnRulesReq_ByRuleName) String() string
type ListSvcFqdnRulesReq_ByRuleName_ ¶
type ListSvcFqdnRulesReq_ByRuleName_ struct {
ByRuleName *ListSvcFqdnRulesReq_ByRuleName `protobuf:"bytes,2,opt,name=by_rule_name,json=byRuleName,proto3,oneof"`
}
type ListSvcFqdnRulesReq_BySvcFrom ¶
type ListSvcFqdnRulesReq_BySvcFrom struct {
SvcFrom []string `protobuf:"bytes,1,rep,name=svc_from,json=svcFrom,proto3" json:"svc_from,omitempty"`
// contains filtered or unexported fields
}
Filter by service names 'from'
func (*ListSvcFqdnRulesReq_BySvcFrom) Descriptor
deprecated
func (*ListSvcFqdnRulesReq_BySvcFrom) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcFqdnRulesReq_BySvcFrom.ProtoReflect.Descriptor instead.
func (*ListSvcFqdnRulesReq_BySvcFrom) GetSvcFrom ¶
func (x *ListSvcFqdnRulesReq_BySvcFrom) GetSvcFrom() []string
func (*ListSvcFqdnRulesReq_BySvcFrom) ProtoMessage ¶
func (*ListSvcFqdnRulesReq_BySvcFrom) ProtoMessage()
func (*ListSvcFqdnRulesReq_BySvcFrom) ProtoReflect ¶
func (x *ListSvcFqdnRulesReq_BySvcFrom) ProtoReflect() protoreflect.Message
func (*ListSvcFqdnRulesReq_BySvcFrom) Reset ¶
func (x *ListSvcFqdnRulesReq_BySvcFrom) Reset()
func (*ListSvcFqdnRulesReq_BySvcFrom) String ¶
func (x *ListSvcFqdnRulesReq_BySvcFrom) String() string
type ListSvcFqdnRulesReq_BySvcFrom_ ¶
type ListSvcFqdnRulesReq_BySvcFrom_ struct {
BySvcFrom *ListSvcFqdnRulesReq_BySvcFrom `protobuf:"bytes,3,opt,name=by_svc_from,json=bySvcFrom,proto3,oneof"`
}
type ListSvcFqdnRulesReq_NoFilter ¶
type ListSvcFqdnRulesReq_NoFilter struct {
// contains filtered or unexported fields
}
No filtering: return all services
func (*ListSvcFqdnRulesReq_NoFilter) Descriptor
deprecated
func (*ListSvcFqdnRulesReq_NoFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcFqdnRulesReq_NoFilter.ProtoReflect.Descriptor instead.
func (*ListSvcFqdnRulesReq_NoFilter) ProtoMessage ¶
func (*ListSvcFqdnRulesReq_NoFilter) ProtoMessage()
func (*ListSvcFqdnRulesReq_NoFilter) ProtoReflect ¶
func (x *ListSvcFqdnRulesReq_NoFilter) ProtoReflect() protoreflect.Message
func (*ListSvcFqdnRulesReq_NoFilter) Reset ¶
func (x *ListSvcFqdnRulesReq_NoFilter) Reset()
func (*ListSvcFqdnRulesReq_NoFilter) String ¶
func (x *ListSvcFqdnRulesReq_NoFilter) String() string
type ListSvcFqdnRulesReq_None ¶
type ListSvcFqdnRulesReq_None struct {
None *ListSvcFqdnRulesReq_NoFilter `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type ListSvcFqdnRulesResp ¶
type ListSvcFqdnRulesResp struct {
// Service rule(s) items
Rules []*SvcFqdnRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
ListSvcFqdnRulesResp: Service(s) FQDN Rule(s) resp
func (*ListSvcFqdnRulesResp) Descriptor
deprecated
func (*ListSvcFqdnRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcFqdnRulesResp.ProtoReflect.Descriptor instead.
func (*ListSvcFqdnRulesResp) GetRules ¶
func (x *ListSvcFqdnRulesResp) GetRules() []*SvcFqdnRule
func (*ListSvcFqdnRulesResp) ProtoMessage ¶
func (*ListSvcFqdnRulesResp) ProtoMessage()
func (*ListSvcFqdnRulesResp) ProtoReflect ¶
func (x *ListSvcFqdnRulesResp) ProtoReflect() protoreflect.Message
func (*ListSvcFqdnRulesResp) Reset ¶
func (x *ListSvcFqdnRulesResp) Reset()
func (*ListSvcFqdnRulesResp) String ¶
func (x *ListSvcFqdnRulesResp) String() string
type ListSvcSvcRulesReq ¶
type ListSvcSvcRulesReq struct {
// Types that are valid to be assigned to Criteria:
//
// *ListSvcSvcRulesReq_None
// *ListSvcSvcRulesReq_ByRuleName_
// *ListSvcSvcRulesReq_BySvcFromTo_
Criteria isListSvcSvcRulesReq_Criteria `protobuf_oneof:"criteria"`
// contains filtered or unexported fields
}
ListSvcSvcRulesReq: req to list all Service(s) Rule(s) by variety of scopes
func (*ListSvcSvcRulesReq) Descriptor
deprecated
func (*ListSvcSvcRulesReq) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcSvcRulesReq.ProtoReflect.Descriptor instead.
func (*ListSvcSvcRulesReq) GetByRuleName ¶
func (x *ListSvcSvcRulesReq) GetByRuleName() *ListSvcSvcRulesReq_ByRuleName
func (*ListSvcSvcRulesReq) GetBySvcFromTo ¶
func (x *ListSvcSvcRulesReq) GetBySvcFromTo() *ListSvcSvcRulesReq_BySvcFromTo
func (*ListSvcSvcRulesReq) GetCriteria ¶
func (x *ListSvcSvcRulesReq) GetCriteria() isListSvcSvcRulesReq_Criteria
func (*ListSvcSvcRulesReq) GetNone ¶
func (x *ListSvcSvcRulesReq) GetNone() *ListSvcSvcRulesReq_NoFilter
func (*ListSvcSvcRulesReq) ProtoMessage ¶
func (*ListSvcSvcRulesReq) ProtoMessage()
func (*ListSvcSvcRulesReq) ProtoReflect ¶
func (x *ListSvcSvcRulesReq) ProtoReflect() protoreflect.Message
func (*ListSvcSvcRulesReq) Reset ¶
func (x *ListSvcSvcRulesReq) Reset()
func (*ListSvcSvcRulesReq) String ¶
func (x *ListSvcSvcRulesReq) String() string
type ListSvcSvcRulesReq_ByRuleName ¶
type ListSvcSvcRulesReq_ByRuleName struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// contains filtered or unexported fields
}
Filter by service rule names
func (*ListSvcSvcRulesReq_ByRuleName) Descriptor
deprecated
func (*ListSvcSvcRulesReq_ByRuleName) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcSvcRulesReq_ByRuleName.ProtoReflect.Descriptor instead.
func (*ListSvcSvcRulesReq_ByRuleName) GetNames ¶
func (x *ListSvcSvcRulesReq_ByRuleName) GetNames() []string
func (*ListSvcSvcRulesReq_ByRuleName) ProtoMessage ¶
func (*ListSvcSvcRulesReq_ByRuleName) ProtoMessage()
func (*ListSvcSvcRulesReq_ByRuleName) ProtoReflect ¶
func (x *ListSvcSvcRulesReq_ByRuleName) ProtoReflect() protoreflect.Message
func (*ListSvcSvcRulesReq_ByRuleName) Reset ¶
func (x *ListSvcSvcRulesReq_ByRuleName) Reset()
func (*ListSvcSvcRulesReq_ByRuleName) String ¶
func (x *ListSvcSvcRulesReq_ByRuleName) String() string
type ListSvcSvcRulesReq_ByRuleName_ ¶
type ListSvcSvcRulesReq_ByRuleName_ struct {
ByRuleName *ListSvcSvcRulesReq_ByRuleName `protobuf:"bytes,2,opt,name=by_rule_name,json=byRuleName,proto3,oneof"`
}
type ListSvcSvcRulesReq_BySvcFromTo ¶
type ListSvcSvcRulesReq_BySvcFromTo struct {
SvcFrom []string `protobuf:"bytes,1,rep,name=svc_from,json=svcFrom,proto3" json:"svc_from,omitempty"`
SvcTo []string `protobuf:"bytes,2,rep,name=svc_to,json=svcTo,proto3" json:"svc_to,omitempty"`
// contains filtered or unexported fields
}
Filter by service names 'from' -> 'to'
func (*ListSvcSvcRulesReq_BySvcFromTo) Descriptor
deprecated
func (*ListSvcSvcRulesReq_BySvcFromTo) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcSvcRulesReq_BySvcFromTo.ProtoReflect.Descriptor instead.
func (*ListSvcSvcRulesReq_BySvcFromTo) GetSvcFrom ¶
func (x *ListSvcSvcRulesReq_BySvcFromTo) GetSvcFrom() []string
func (*ListSvcSvcRulesReq_BySvcFromTo) GetSvcTo ¶
func (x *ListSvcSvcRulesReq_BySvcFromTo) GetSvcTo() []string
func (*ListSvcSvcRulesReq_BySvcFromTo) ProtoMessage ¶
func (*ListSvcSvcRulesReq_BySvcFromTo) ProtoMessage()
func (*ListSvcSvcRulesReq_BySvcFromTo) ProtoReflect ¶
func (x *ListSvcSvcRulesReq_BySvcFromTo) ProtoReflect() protoreflect.Message
func (*ListSvcSvcRulesReq_BySvcFromTo) Reset ¶
func (x *ListSvcSvcRulesReq_BySvcFromTo) Reset()
func (*ListSvcSvcRulesReq_BySvcFromTo) String ¶
func (x *ListSvcSvcRulesReq_BySvcFromTo) String() string
type ListSvcSvcRulesReq_BySvcFromTo_ ¶
type ListSvcSvcRulesReq_BySvcFromTo_ struct {
BySvcFromTo *ListSvcSvcRulesReq_BySvcFromTo `protobuf:"bytes,3,opt,name=by_svc_from_to,json=bySvcFromTo,proto3,oneof"`
}
type ListSvcSvcRulesReq_NoFilter ¶
type ListSvcSvcRulesReq_NoFilter struct {
// contains filtered or unexported fields
}
No filtering: return all services
func (*ListSvcSvcRulesReq_NoFilter) Descriptor
deprecated
func (*ListSvcSvcRulesReq_NoFilter) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcSvcRulesReq_NoFilter.ProtoReflect.Descriptor instead.
func (*ListSvcSvcRulesReq_NoFilter) ProtoMessage ¶
func (*ListSvcSvcRulesReq_NoFilter) ProtoMessage()
func (*ListSvcSvcRulesReq_NoFilter) ProtoReflect ¶
func (x *ListSvcSvcRulesReq_NoFilter) ProtoReflect() protoreflect.Message
func (*ListSvcSvcRulesReq_NoFilter) Reset ¶
func (x *ListSvcSvcRulesReq_NoFilter) Reset()
func (*ListSvcSvcRulesReq_NoFilter) String ¶
func (x *ListSvcSvcRulesReq_NoFilter) String() string
type ListSvcSvcRulesReq_None ¶
type ListSvcSvcRulesReq_None struct {
None *ListSvcSvcRulesReq_NoFilter `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}
type ListSvcSvcRulesResp ¶
type ListSvcSvcRulesResp struct {
// Service rule(s) items
Rules []*SvcSvcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
ListSvcSvcRulesResp: Service(s) Rule(s) resp
func (*ListSvcSvcRulesResp) Descriptor
deprecated
func (*ListSvcSvcRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use ListSvcSvcRulesResp.ProtoReflect.Descriptor instead.
func (*ListSvcSvcRulesResp) GetRules ¶
func (x *ListSvcSvcRulesResp) GetRules() []*SvcSvcRule
func (*ListSvcSvcRulesResp) ProtoMessage ¶
func (*ListSvcSvcRulesResp) ProtoMessage()
func (*ListSvcSvcRulesResp) ProtoReflect ¶
func (x *ListSvcSvcRulesResp) ProtoReflect() protoreflect.Message
func (*ListSvcSvcRulesResp) Reset ¶
func (x *ListSvcSvcRulesResp) Reset()
func (*ListSvcSvcRulesResp) String ¶
func (x *ListSvcSvcRulesResp) String() string
type MetaInfo ¶ added in v1.0.4
type MetaInfo struct {
HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
Os string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"`
Platform string `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
PlatformFamily string `protobuf:"bytes,4,opt,name=platform_family,json=platformFamily,proto3" json:"platform_family,omitempty"`
PlatformVersion string `protobuf:"bytes,5,opt,name=platform_version,json=platformVersion,proto3" json:"platform_version,omitempty"`
KernelVersion string `protobuf:"bytes,6,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
// contains filtered or unexported fields
}
MetaInfo: represents host meta information
func (*MetaInfo) Descriptor
deprecated
added in
v1.0.4
func (*MetaInfo) GetHostName ¶ added in v1.0.4
func (*MetaInfo) GetKernelVersion ¶ added in v1.0.4
func (*MetaInfo) GetPlatform ¶ added in v1.0.4
func (*MetaInfo) GetPlatformFamily ¶ added in v1.0.4
func (*MetaInfo) GetPlatformVersion ¶ added in v1.0.4
func (*MetaInfo) ProtoMessage ¶ added in v1.0.4
func (*MetaInfo) ProtoMessage()
func (*MetaInfo) ProtoReflect ¶ added in v1.0.4
func (x *MetaInfo) ProtoReflect() protoreflect.Message
type Network ¶
type Network struct {
// the name of network
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// network in CIDR form
Network *common.Networks_NetIP `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// contains filtered or unexported fields
}
Network: represents a named IP network
func (*Network) Descriptor
deprecated
func (*Network) GetNetwork ¶
func (x *Network) GetNetwork() *common.Networks_NetIP
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type ProtoSpec ¶
type ProtoSpec struct {
// tcp ports
Tcp *ProtoSpec_Ports `protobuf:"bytes,1,opt,name=tcp,proto3" json:"tcp,omitempty"`
// udp ports
Udp *ProtoSpec_Ports `protobuf:"bytes,2,opt,name=udp,proto3" json:"udp,omitempty"`
// icmpv4 types
Icmpv4 *ProtoSpec_IcmpTypes `protobuf:"bytes,3,opt,name=icmpv4,proto3" json:"icmpv4,omitempty"`
// icmpv6 types
Icmpv6 *ProtoSpec_IcmpTypes `protobuf:"bytes,4,opt,name=icmpv6,proto3" json:"icmpv6,omitempty"`
// contains filtered or unexported fields
}
ProtoSpec: represents protocols specification (ports, icmp types)
func (*ProtoSpec) Descriptor
deprecated
func (*ProtoSpec) GetIcmpv4 ¶
func (x *ProtoSpec) GetIcmpv4() *ProtoSpec_IcmpTypes
func (*ProtoSpec) GetIcmpv6 ¶
func (x *ProtoSpec) GetIcmpv6() *ProtoSpec_IcmpTypes
func (*ProtoSpec) GetTcp ¶
func (x *ProtoSpec) GetTcp() *ProtoSpec_Ports
func (*ProtoSpec) GetUdp ¶
func (x *ProtoSpec) GetUdp() *ProtoSpec_Ports
func (*ProtoSpec) ProtoMessage ¶
func (*ProtoSpec) ProtoMessage()
func (*ProtoSpec) ProtoReflect ¶
func (x *ProtoSpec) ProtoReflect() protoreflect.Message
type ProtoSpec_IcmpTypes ¶
type ProtoSpec_IcmpTypes struct {
Types []uint32 `protobuf:"varint,1,rep,packed,name=types,proto3" json:"types,omitempty"`
// contains filtered or unexported fields
}
func (*ProtoSpec_IcmpTypes) Descriptor
deprecated
func (*ProtoSpec_IcmpTypes) Descriptor() ([]byte, []int)
Deprecated: Use ProtoSpec_IcmpTypes.ProtoReflect.Descriptor instead.
func (*ProtoSpec_IcmpTypes) GetTypes ¶
func (x *ProtoSpec_IcmpTypes) GetTypes() []uint32
func (*ProtoSpec_IcmpTypes) ProtoMessage ¶
func (*ProtoSpec_IcmpTypes) ProtoMessage()
func (*ProtoSpec_IcmpTypes) ProtoReflect ¶
func (x *ProtoSpec_IcmpTypes) ProtoReflect() protoreflect.Message
func (*ProtoSpec_IcmpTypes) Reset ¶
func (x *ProtoSpec_IcmpTypes) Reset()
func (*ProtoSpec_IcmpTypes) String ¶
func (x *ProtoSpec_IcmpTypes) String() string
type ProtoSpec_Ports ¶
type ProtoSpec_Ports struct {
Ports []*AccPorts `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"`
// contains filtered or unexported fields
}
func (*ProtoSpec_Ports) Descriptor
deprecated
func (*ProtoSpec_Ports) Descriptor() ([]byte, []int)
Deprecated: Use ProtoSpec_Ports.ProtoReflect.Descriptor instead.
func (*ProtoSpec_Ports) GetPorts ¶
func (x *ProtoSpec_Ports) GetPorts() []*AccPorts
func (*ProtoSpec_Ports) ProtoMessage ¶
func (*ProtoSpec_Ports) ProtoMessage()
func (*ProtoSpec_Ports) ProtoReflect ¶
func (x *ProtoSpec_Ports) ProtoReflect() protoreflect.Message
func (*ProtoSpec_Ports) Reset ¶
func (x *ProtoSpec_Ports) Reset()
func (*ProtoSpec_Ports) String ¶
func (x *ProtoSpec_Ports) String() string
type RuleAction ¶
type RuleAction int32
RuleAction: represents verdict action for rules
const ( // Undefined verdict action RuleAction_UNDEF RuleAction = 0 // Drops net packet RuleAction_DROP RuleAction = 1 // Accepts net packet RuleAction_ACCEPT RuleAction = 2 )
func (RuleAction) Descriptor ¶
func (RuleAction) Descriptor() protoreflect.EnumDescriptor
func (RuleAction) Enum ¶
func (x RuleAction) Enum() *RuleAction
func (RuleAction) EnumDescriptor
deprecated
func (RuleAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use RuleAction.Descriptor instead.
func (RuleAction) Number ¶
func (x RuleAction) Number() protoreflect.EnumNumber
func (RuleAction) String ¶
func (x RuleAction) String() string
func (RuleAction) Type ¶
func (RuleAction) Type() protoreflect.EnumType
type RulePriority ¶
type RulePriority struct {
// Types that are valid to be assigned to Value:
//
// *RulePriority_Some
Value isRulePriority_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
RulePriority: represents rule priority or none if we no need use it
func (*RulePriority) Descriptor
deprecated
func (*RulePriority) Descriptor() ([]byte, []int)
Deprecated: Use RulePriority.ProtoReflect.Descriptor instead.
func (*RulePriority) GetSome ¶
func (x *RulePriority) GetSome() int32
func (*RulePriority) GetValue ¶
func (x *RulePriority) GetValue() isRulePriority_Value
func (*RulePriority) ProtoMessage ¶
func (*RulePriority) ProtoMessage()
func (*RulePriority) ProtoReflect ¶
func (x *RulePriority) ProtoReflect() protoreflect.Message
func (*RulePriority) Reset ¶
func (x *RulePriority) Reset()
func (*RulePriority) String ¶
func (x *RulePriority) String() string
type RulePriority_Some ¶
type RulePriority_Some struct {
Some int32 `protobuf:"varint,1,opt,name=some,proto3,oneof"`
}
type SecGroup ¶
type SecGroup struct {
// name of security group
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// related to security gpoup network(s)
Networks []string `protobuf:"bytes,2,rep,name=networks,proto3" json:"networks,omitempty"`
// default_action: represents default rule action
DefaultAction SecGroup_DefaultAction `` /* 144-byte string literal not displayed */
// trace: set or unset 'nftrace' flag
Trace bool `protobuf:"varint,4,opt,name=trace,proto3" json:"trace,omitempty"`
// logs: switch-{ON|OFF} logs in chain
Logs bool `protobuf:"varint,5,opt,name=logs,proto3" json:"logs,omitempty"`
// host: related to security group host names
Hosts []string `protobuf:"bytes,6,rep,name=hosts,proto3" json:"hosts,omitempty"`
// services: related to security group service names
Services []string `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
SecGroup: represents a security group
func (*SecGroup) Descriptor
deprecated
func (*SecGroup) GetDefaultAction ¶
func (x *SecGroup) GetDefaultAction() SecGroup_DefaultAction
func (*SecGroup) GetNetworks ¶
func (*SecGroup) GetServices ¶
func (*SecGroup) ProtoMessage ¶
func (*SecGroup) ProtoMessage()
func (*SecGroup) ProtoReflect ¶
func (x *SecGroup) ProtoReflect() protoreflect.Message
type SecGroupServiceClient ¶
type SecGroupServiceClient interface {
Sync(ctx context.Context, in *SyncReq, opts ...grpc.CallOption) (*empty.Empty, error)
SyncStatus(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*SyncStatusResp, error)
SyncStatuses(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (SecGroupService_SyncStatusesClient, error)
ListNetworks(ctx context.Context, in *ListNetworksReq, opts ...grpc.CallOption) (*ListNetworksResp, error)
ListSecurityGroups(ctx context.Context, in *ListSecurityGroupsReq, opts ...grpc.CallOption) (*ListSecurityGroupsResp, error)
ListHosts(ctx context.Context, in *ListHostsReq, opts ...grpc.CallOption) (*ListHostsResp, error)
ListServices(ctx context.Context, in *ListServicesReq, opts ...grpc.CallOption) (*ListServicesResp, error)
ListSvcSvcRules(ctx context.Context, in *ListSvcSvcRulesReq, opts ...grpc.CallOption) (*ListSvcSvcRulesResp, error)
ListSvcFqdnRules(ctx context.Context, in *ListSvcFqdnRulesReq, opts ...grpc.CallOption) (*ListSvcFqdnRulesResp, error)
ListIECidrSvcRules(ctx context.Context, in *ListIECidrSvcRulesReq, opts ...grpc.CallOption) (*ListIECidrSvcRulesResp, error)
GetSgSubnets(ctx context.Context, in *GetSgSubnetsReq, opts ...grpc.CallOption) (*GetSgSubnetsResp, error)
GetSecGroupForAddress(ctx context.Context, in *GetSecGroupForAddressReq, opts ...grpc.CallOption) (*SecGroup, error)
GetSecGroupForHost(ctx context.Context, in *GetSecGroupForHostReq, opts ...grpc.CallOption) (*SecGroup, error)
FindSgSgRules(ctx context.Context, in *FindSgSgRulesReq, opts ...grpc.CallOption) (*SgSgRulesResp, error)
FindFqdnRules(ctx context.Context, in *FindFqdnRulesReq, opts ...grpc.CallOption) (*FqdnRulesResp, error)
FindSgIcmpRules(ctx context.Context, in *FindSgIcmpRulesReq, opts ...grpc.CallOption) (*SgIcmpRulesResp, error)
FindSgSgIcmpRules(ctx context.Context, in *FindSgSgIcmpRulesReq, opts ...grpc.CallOption) (*SgSgIcmpRulesResp, error)
FindIECidrSgRules(ctx context.Context, in *FindIECidrSgRulesReq, opts ...grpc.CallOption) (*IECidrSgRulesResp, error)
FindIESgSgRules(ctx context.Context, in *FindIESgSgRulesReq, opts ...grpc.CallOption) (*IESgSgRulesResp, error)
FindIESgSgIcmpRules(ctx context.Context, in *FindIESgSgIcmpRulesReq, opts ...grpc.CallOption) (*IESgSgIcmpRulesResp, error)
FindIECidrSgIcmpRules(ctx context.Context, in *FindIECidrSgIcmpRulesReq, opts ...grpc.CallOption) (*IECidrSgIcmpRulesResp, error)
UpdHostIPSet(ctx context.Context, in *UpdHostIPSetReq, opts ...grpc.CallOption) (*empty.Empty, error)
UpdHostInfo(ctx context.Context, in *UpdHostInfoReq, opts ...grpc.CallOption) (*empty.Empty, error)
}
SecGroupServiceClient is the client API for SecGroupService 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 NewSecGroupServiceClient ¶
func NewSecGroupServiceClient(cc grpc.ClientConnInterface) SecGroupServiceClient
type SecGroupServiceServer ¶
type SecGroupServiceServer interface {
Sync(context.Context, *SyncReq) (*empty.Empty, error)
SyncStatus(context.Context, *empty.Empty) (*SyncStatusResp, error)
SyncStatuses(*empty.Empty, SecGroupService_SyncStatusesServer) error
ListNetworks(context.Context, *ListNetworksReq) (*ListNetworksResp, error)
ListSecurityGroups(context.Context, *ListSecurityGroupsReq) (*ListSecurityGroupsResp, error)
ListHosts(context.Context, *ListHostsReq) (*ListHostsResp, error)
ListServices(context.Context, *ListServicesReq) (*ListServicesResp, error)
ListSvcSvcRules(context.Context, *ListSvcSvcRulesReq) (*ListSvcSvcRulesResp, error)
ListSvcFqdnRules(context.Context, *ListSvcFqdnRulesReq) (*ListSvcFqdnRulesResp, error)
ListIECidrSvcRules(context.Context, *ListIECidrSvcRulesReq) (*ListIECidrSvcRulesResp, error)
GetSgSubnets(context.Context, *GetSgSubnetsReq) (*GetSgSubnetsResp, error)
GetSecGroupForAddress(context.Context, *GetSecGroupForAddressReq) (*SecGroup, error)
GetSecGroupForHost(context.Context, *GetSecGroupForHostReq) (*SecGroup, error)
FindSgSgRules(context.Context, *FindSgSgRulesReq) (*SgSgRulesResp, error)
FindFqdnRules(context.Context, *FindFqdnRulesReq) (*FqdnRulesResp, error)
FindSgIcmpRules(context.Context, *FindSgIcmpRulesReq) (*SgIcmpRulesResp, error)
FindSgSgIcmpRules(context.Context, *FindSgSgIcmpRulesReq) (*SgSgIcmpRulesResp, error)
FindIECidrSgRules(context.Context, *FindIECidrSgRulesReq) (*IECidrSgRulesResp, error)
FindIESgSgRules(context.Context, *FindIESgSgRulesReq) (*IESgSgRulesResp, error)
FindIESgSgIcmpRules(context.Context, *FindIESgSgIcmpRulesReq) (*IESgSgIcmpRulesResp, error)
FindIECidrSgIcmpRules(context.Context, *FindIECidrSgIcmpRulesReq) (*IECidrSgIcmpRulesResp, error)
UpdHostIPSet(context.Context, *UpdHostIPSetReq) (*empty.Empty, error)
UpdHostInfo(context.Context, *UpdHostInfoReq) (*empty.Empty, error)
// contains filtered or unexported methods
}
SecGroupServiceServer is the server API for SecGroupService service. All implementations must embed UnimplementedSecGroupServiceServer for forward compatibility
type SecGroupService_SyncStatusesClient ¶
type SecGroupService_SyncStatusesClient interface {
Recv() (*SyncStatusResp, error)
grpc.ClientStream
}
type SecGroupService_SyncStatusesServer ¶
type SecGroupService_SyncStatusesServer interface {
Send(*SyncStatusResp) error
grpc.ServerStream
}
type SecGroup_DefaultAction ¶
type SecGroup_DefaultAction int32
DefaultAction: represents default action at end of chains for Security Gpoup
const ( // Default is default action in [DROP|ACCEPT] SecGroup_DEFAULT SecGroup_DefaultAction = 0 // Drops net packet SecGroup_DROP SecGroup_DefaultAction = 1 // Accepts net packet SecGroup_ACCEPT SecGroup_DefaultAction = 2 )
func (SecGroup_DefaultAction) Descriptor ¶
func (SecGroup_DefaultAction) Descriptor() protoreflect.EnumDescriptor
func (SecGroup_DefaultAction) Enum ¶
func (x SecGroup_DefaultAction) Enum() *SecGroup_DefaultAction
func (SecGroup_DefaultAction) EnumDescriptor
deprecated
func (SecGroup_DefaultAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecGroup_DefaultAction.Descriptor instead.
func (SecGroup_DefaultAction) Number ¶
func (x SecGroup_DefaultAction) Number() protoreflect.EnumNumber
func (SecGroup_DefaultAction) String ¶
func (x SecGroup_DefaultAction) String() string
func (SecGroup_DefaultAction) Type ¶
func (SecGroup_DefaultAction) Type() protoreflect.EnumType
type Service ¶
type Service struct {
// name of service
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// protocols specification (ports, icmp types)
Protocols *ProtoSpec `protobuf:"bytes,2,opt,name=protocols,proto3" json:"protocols,omitempty"`
// related to security group name(s)
SgNames []string `protobuf:"bytes,3,rep,name=sg_names,json=sgNames,proto3" json:"sg_names,omitempty"`
// contains filtered or unexported fields
}
Service: represents a service resource
func (*Service) Descriptor
deprecated
func (*Service) GetProtocols ¶
func (*Service) GetSgNames ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type SgIcmpRule ¶
type SgIcmpRule struct {
// Security group name
SG string `protobuf:"bytes,1,opt,name=SG,proto3" json:"SG,omitempty"`
// ICMP spec
ICMP *common.ICMP `protobuf:"bytes,2,opt,name=ICMP,proto3" json:"ICMP,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,3,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} trace in rules
Trace bool `protobuf:"varint,4,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,5,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// contains filtered or unexported fields
}
SG:ICMP type rule
func (*SgIcmpRule) Descriptor
deprecated
func (*SgIcmpRule) Descriptor() ([]byte, []int)
Deprecated: Use SgIcmpRule.ProtoReflect.Descriptor instead.
func (*SgIcmpRule) GetAction ¶
func (x *SgIcmpRule) GetAction() RuleAction
func (*SgIcmpRule) GetICMP ¶
func (x *SgIcmpRule) GetICMP() *common.ICMP
func (*SgIcmpRule) GetLogs ¶
func (x *SgIcmpRule) GetLogs() bool
func (*SgIcmpRule) GetSG ¶
func (x *SgIcmpRule) GetSG() string
func (*SgIcmpRule) GetTrace ¶
func (x *SgIcmpRule) GetTrace() bool
func (*SgIcmpRule) ProtoMessage ¶
func (*SgIcmpRule) ProtoMessage()
func (*SgIcmpRule) ProtoReflect ¶
func (x *SgIcmpRule) ProtoReflect() protoreflect.Message
func (*SgIcmpRule) Reset ¶
func (x *SgIcmpRule) Reset()
func (*SgIcmpRule) String ¶
func (x *SgIcmpRule) String() string
type SgIcmpRulesResp ¶
type SgIcmpRulesResp struct {
// SgIcmp rule item(s)
Rules []*SgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
FindSgIcmpRulesResp: SG:ICMP Rule(s) resp
func (*SgIcmpRulesResp) Descriptor
deprecated
func (*SgIcmpRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use SgIcmpRulesResp.ProtoReflect.Descriptor instead.
func (*SgIcmpRulesResp) GetRules ¶
func (x *SgIcmpRulesResp) GetRules() []*SgIcmpRule
func (*SgIcmpRulesResp) ProtoMessage ¶
func (*SgIcmpRulesResp) ProtoMessage()
func (*SgIcmpRulesResp) ProtoReflect ¶
func (x *SgIcmpRulesResp) ProtoReflect() protoreflect.Message
func (*SgIcmpRulesResp) Reset ¶
func (x *SgIcmpRulesResp) Reset()
func (*SgIcmpRulesResp) String ¶
func (x *SgIcmpRulesResp) String() string
type SgSgIcmpRule ¶
type SgSgIcmpRule struct {
// Security group name
SgFrom string `protobuf:"bytes,1,opt,name=sgFrom,proto3" json:"sgFrom,omitempty"`
// Security group name
SgTo string `protobuf:"bytes,2,opt,name=sgTo,proto3" json:"sgTo,omitempty"`
// ICMP spec
ICMP *common.ICMP `protobuf:"bytes,3,opt,name=ICMP,proto3" json:"ICMP,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,4,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} trace in rules
Trace bool `protobuf:"varint,5,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,6,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
SG-SG:ICMP type rule
func (*SgSgIcmpRule) Descriptor
deprecated
func (*SgSgIcmpRule) Descriptor() ([]byte, []int)
Deprecated: Use SgSgIcmpRule.ProtoReflect.Descriptor instead.
func (*SgSgIcmpRule) GetAction ¶
func (x *SgSgIcmpRule) GetAction() RuleAction
func (*SgSgIcmpRule) GetICMP ¶
func (x *SgSgIcmpRule) GetICMP() *common.ICMP
func (*SgSgIcmpRule) GetLogs ¶
func (x *SgSgIcmpRule) GetLogs() bool
func (*SgSgIcmpRule) GetPriority ¶
func (x *SgSgIcmpRule) GetPriority() *RulePriority
func (*SgSgIcmpRule) GetSgFrom ¶
func (x *SgSgIcmpRule) GetSgFrom() string
func (*SgSgIcmpRule) GetSgTo ¶
func (x *SgSgIcmpRule) GetSgTo() string
func (*SgSgIcmpRule) GetTrace ¶
func (x *SgSgIcmpRule) GetTrace() bool
func (*SgSgIcmpRule) ProtoMessage ¶
func (*SgSgIcmpRule) ProtoMessage()
func (*SgSgIcmpRule) ProtoReflect ¶
func (x *SgSgIcmpRule) ProtoReflect() protoreflect.Message
func (*SgSgIcmpRule) Reset ¶
func (x *SgSgIcmpRule) Reset()
func (*SgSgIcmpRule) String ¶
func (x *SgSgIcmpRule) String() string
type SgSgIcmpRulesResp ¶
type SgSgIcmpRulesResp struct {
// SgSgIcmp rule item(s)
Rules []*SgSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SgSgIcmpRulesResp: SG-SG:ICMP Rule(s) resp
func (*SgSgIcmpRulesResp) Descriptor
deprecated
func (*SgSgIcmpRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use SgSgIcmpRulesResp.ProtoReflect.Descriptor instead.
func (*SgSgIcmpRulesResp) GetRules ¶
func (x *SgSgIcmpRulesResp) GetRules() []*SgSgIcmpRule
func (*SgSgIcmpRulesResp) ProtoMessage ¶
func (*SgSgIcmpRulesResp) ProtoMessage()
func (*SgSgIcmpRulesResp) ProtoReflect ¶
func (x *SgSgIcmpRulesResp) ProtoReflect() protoreflect.Message
func (*SgSgIcmpRulesResp) Reset ¶
func (x *SgSgIcmpRulesResp) Reset()
func (*SgSgIcmpRulesResp) String ¶
func (x *SgSgIcmpRulesResp) String() string
type SgSgRule ¶
type SgSgRule struct {
// security group at client
SgFrom string `protobuf:"bytes,1,opt,name=sg_from,json=sgFrom,proto3" json:"sg_from,omitempty"`
// security group at server
SgTo string `protobuf:"bytes,2,opt,name=sg_to,json=sgTo,proto3" json:"sg_to,omitempty"`
// ip net transport
Transport common.Networks_NetIP_Transport `protobuf:"varint,3,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// access ports set
Ports []*AccPorts `protobuf:"bytes,4,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,5,opt,name=logs,proto3" json:"logs,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,6,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,7,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
SgSgRule: represents Security Groups Rule
func (*SgSgRule) Descriptor
deprecated
func (*SgSgRule) GetAction ¶
func (x *SgSgRule) GetAction() RuleAction
func (*SgSgRule) GetPriority ¶
func (x *SgSgRule) GetPriority() *RulePriority
func (*SgSgRule) GetTransport ¶
func (x *SgSgRule) GetTransport() common.Networks_NetIP_Transport
func (*SgSgRule) ProtoMessage ¶
func (*SgSgRule) ProtoMessage()
func (*SgSgRule) ProtoReflect ¶
func (x *SgSgRule) ProtoReflect() protoreflect.Message
type SgSgRulesResp ¶
type SgSgRulesResp struct {
// SG rule(s) items
Rules []*SgSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SgSgRulesResp: Security Group(s) Rule(s) resp
func (*SgSgRulesResp) Descriptor
deprecated
func (*SgSgRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use SgSgRulesResp.ProtoReflect.Descriptor instead.
func (*SgSgRulesResp) GetRules ¶
func (x *SgSgRulesResp) GetRules() []*SgSgRule
func (*SgSgRulesResp) ProtoMessage ¶
func (*SgSgRulesResp) ProtoMessage()
func (*SgSgRulesResp) ProtoReflect ¶
func (x *SgSgRulesResp) ProtoReflect() protoreflect.Message
func (*SgSgRulesResp) Reset ¶
func (x *SgSgRulesResp) Reset()
func (*SgSgRulesResp) String ¶
func (x *SgSgRulesResp) String() string
type SvcFqdnRule ¶
type SvcFqdnRule struct {
// rule name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// service at client
SvcFrom string `protobuf:"bytes,2,opt,name=svc_from,json=svcFrom,proto3" json:"svc_from,omitempty"`
// FQDN full qualified domain name portable for DNS queries
FQDN string `protobuf:"bytes,3,opt,name=FQDN,proto3" json:"FQDN,omitempty"`
// ip net transport
Transport common.Networks_NetIP_Transport `protobuf:"varint,4,opt,name=transport,proto3,enum=common.Networks_NetIP_Transport" json:"transport,omitempty"`
// access ports set
Ports []*AccPorts `protobuf:"bytes,5,rep,name=ports,proto3" json:"ports,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} trace in rules
Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,8,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,9,opt,name=priority,proto3" json:"priority,omitempty"`
// contains filtered or unexported fields
}
SvcFqdnRule: represents Service to FQDN Rule
func (*SvcFqdnRule) Descriptor
deprecated
func (*SvcFqdnRule) Descriptor() ([]byte, []int)
Deprecated: Use SvcFqdnRule.ProtoReflect.Descriptor instead.
func (*SvcFqdnRule) GetAction ¶
func (x *SvcFqdnRule) GetAction() RuleAction
func (*SvcFqdnRule) GetFQDN ¶
func (x *SvcFqdnRule) GetFQDN() string
func (*SvcFqdnRule) GetLogs ¶
func (x *SvcFqdnRule) GetLogs() bool
func (*SvcFqdnRule) GetName ¶
func (x *SvcFqdnRule) GetName() string
func (*SvcFqdnRule) GetPorts ¶
func (x *SvcFqdnRule) GetPorts() []*AccPorts
func (*SvcFqdnRule) GetPriority ¶
func (x *SvcFqdnRule) GetPriority() *RulePriority
func (*SvcFqdnRule) GetSvcFrom ¶
func (x *SvcFqdnRule) GetSvcFrom() string
func (*SvcFqdnRule) GetTrace ¶
func (x *SvcFqdnRule) GetTrace() bool
func (*SvcFqdnRule) GetTransport ¶
func (x *SvcFqdnRule) GetTransport() common.Networks_NetIP_Transport
func (*SvcFqdnRule) ProtoMessage ¶
func (*SvcFqdnRule) ProtoMessage()
func (*SvcFqdnRule) ProtoReflect ¶
func (x *SvcFqdnRule) ProtoReflect() protoreflect.Message
func (*SvcFqdnRule) Reset ¶
func (x *SvcFqdnRule) Reset()
func (*SvcFqdnRule) String ¶
func (x *SvcFqdnRule) String() string
type SvcFqdnRulesResp ¶
type SvcFqdnRulesResp struct {
// FQDN rule(s) items
Rules []*SvcFqdnRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SvcFqdnRulesResp: FQDN Rule(s) resp
func (*SvcFqdnRulesResp) Descriptor
deprecated
func (*SvcFqdnRulesResp) Descriptor() ([]byte, []int)
Deprecated: Use SvcFqdnRulesResp.ProtoReflect.Descriptor instead.
func (*SvcFqdnRulesResp) GetRules ¶
func (x *SvcFqdnRulesResp) GetRules() []*SvcFqdnRule
func (*SvcFqdnRulesResp) ProtoMessage ¶
func (*SvcFqdnRulesResp) ProtoMessage()
func (*SvcFqdnRulesResp) ProtoReflect ¶
func (x *SvcFqdnRulesResp) ProtoReflect() protoreflect.Message
func (*SvcFqdnRulesResp) Reset ¶
func (x *SvcFqdnRulesResp) Reset()
func (*SvcFqdnRulesResp) String ¶
func (x *SvcFqdnRulesResp) String() string
type SvcSvcRule ¶
type SvcSvcRule struct {
// rule name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// service at client
SvcFrom string `protobuf:"bytes,2,opt,name=svc_from,json=svcFrom,proto3" json:"svc_from,omitempty"`
// service at server
SvcTo string `protobuf:"bytes,3,opt,name=svc_to,json=svcTo,proto3" json:"svc_to,omitempty"`
// action: represents rule action
Action RuleAction `protobuf:"varint,4,opt,name=action,proto3,enum=hbf.v1.sgroups.RuleAction" json:"action,omitempty"`
// priority: rule priority affects on rule pos in its rule list
Priority *RulePriority `protobuf:"bytes,5,opt,name=priority,proto3" json:"priority,omitempty"`
// logs: switch-{ON|OFF} logs in rules
Logs bool `protobuf:"varint,6,opt,name=logs,proto3" json:"logs,omitempty"`
// trace: switch-{ON|OFF} trace in rules
Trace bool `protobuf:"varint,7,opt,name=trace,proto3" json:"trace,omitempty"`
// contains filtered or unexported fields
}
SvcSvcRule: represents Service-to-Service Rule
func (*SvcSvcRule) Descriptor
deprecated
func (*SvcSvcRule) Descriptor() ([]byte, []int)
Deprecated: Use SvcSvcRule.ProtoReflect.Descriptor instead.
func (*SvcSvcRule) GetAction ¶
func (x *SvcSvcRule) GetAction() RuleAction
func (*SvcSvcRule) GetLogs ¶
func (x *SvcSvcRule) GetLogs() bool
func (*SvcSvcRule) GetName ¶
func (x *SvcSvcRule) GetName() string
func (*SvcSvcRule) GetPriority ¶
func (x *SvcSvcRule) GetPriority() *RulePriority
func (*SvcSvcRule) GetSvcFrom ¶
func (x *SvcSvcRule) GetSvcFrom() string
func (*SvcSvcRule) GetSvcTo ¶
func (x *SvcSvcRule) GetSvcTo() string
func (*SvcSvcRule) GetTrace ¶
func (x *SvcSvcRule) GetTrace() bool
func (*SvcSvcRule) ProtoMessage ¶
func (*SvcSvcRule) ProtoMessage()
func (*SvcSvcRule) ProtoReflect ¶
func (x *SvcSvcRule) ProtoReflect() protoreflect.Message
func (*SvcSvcRule) Reset ¶
func (x *SvcSvcRule) Reset()
func (*SvcSvcRule) String ¶
func (x *SvcSvcRule) String() string
type SyncFqdnRules ¶
type SyncFqdnRules struct {
// fqdn rules items
Rules []*FqdnRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncFqdnRules: subject of Security Group Rules to Sync
func (*SyncFqdnRules) Descriptor
deprecated
func (*SyncFqdnRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncFqdnRules.ProtoReflect.Descriptor instead.
func (*SyncFqdnRules) GetRules ¶
func (x *SyncFqdnRules) GetRules() []*FqdnRule
func (*SyncFqdnRules) ProtoMessage ¶
func (*SyncFqdnRules) ProtoMessage()
func (*SyncFqdnRules) ProtoReflect ¶
func (x *SyncFqdnRules) ProtoReflect() protoreflect.Message
func (*SyncFqdnRules) Reset ¶
func (x *SyncFqdnRules) Reset()
func (*SyncFqdnRules) String ¶
func (x *SyncFqdnRules) String() string
type SyncHosts ¶
type SyncHosts struct {
// host items
Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
SyncHosts: subject of Hosts to Sync
func (*SyncHosts) Descriptor
deprecated
func (*SyncHosts) ProtoMessage ¶
func (*SyncHosts) ProtoMessage()
func (*SyncHosts) ProtoReflect ¶
func (x *SyncHosts) ProtoReflect() protoreflect.Message
type SyncIECidrSgIcmpRules ¶
type SyncIECidrSgIcmpRules struct {
// CIDR-SG icmp rules
Rules []*IECidrSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncIECidrSgIcmpRules: subject of CIDR-SG-[INGRESS|EGRESS]:ICMP to Sync
func (*SyncIECidrSgIcmpRules) Descriptor
deprecated
func (*SyncIECidrSgIcmpRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncIECidrSgIcmpRules.ProtoReflect.Descriptor instead.
func (*SyncIECidrSgIcmpRules) GetRules ¶
func (x *SyncIECidrSgIcmpRules) GetRules() []*IECidrSgIcmpRule
func (*SyncIECidrSgIcmpRules) ProtoMessage ¶
func (*SyncIECidrSgIcmpRules) ProtoMessage()
func (*SyncIECidrSgIcmpRules) ProtoReflect ¶
func (x *SyncIECidrSgIcmpRules) ProtoReflect() protoreflect.Message
func (*SyncIECidrSgIcmpRules) Reset ¶
func (x *SyncIECidrSgIcmpRules) Reset()
func (*SyncIECidrSgIcmpRules) String ¶
func (x *SyncIECidrSgIcmpRules) String() string
type SyncIECidrSgRules ¶
type SyncIECidrSgRules struct {
Rules []*IECidrSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncIECidrSgRules: subject of CIDR-SG-[INGRESS|EGRESS] to Sync
func (*SyncIECidrSgRules) Descriptor
deprecated
func (*SyncIECidrSgRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncIECidrSgRules.ProtoReflect.Descriptor instead.
func (*SyncIECidrSgRules) GetRules ¶
func (x *SyncIECidrSgRules) GetRules() []*IECidrSgRule
func (*SyncIECidrSgRules) ProtoMessage ¶
func (*SyncIECidrSgRules) ProtoMessage()
func (*SyncIECidrSgRules) ProtoReflect ¶
func (x *SyncIECidrSgRules) ProtoReflect() protoreflect.Message
func (*SyncIECidrSgRules) Reset ¶
func (x *SyncIECidrSgRules) Reset()
func (*SyncIECidrSgRules) String ¶
func (x *SyncIECidrSgRules) String() string
type SyncIECidrSvcRules ¶ added in v1.0.4
type SyncIECidrSvcRules struct {
Rules []*IECidrSvcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncIECidrSvcRules: subject of CIDR-SVC-[INGRESS|EGRESS] to Sync
func (*SyncIECidrSvcRules) Descriptor
deprecated
added in
v1.0.4
func (*SyncIECidrSvcRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncIECidrSvcRules.ProtoReflect.Descriptor instead.
func (*SyncIECidrSvcRules) GetRules ¶ added in v1.0.4
func (x *SyncIECidrSvcRules) GetRules() []*IECidrSvcRule
func (*SyncIECidrSvcRules) ProtoMessage ¶ added in v1.0.4
func (*SyncIECidrSvcRules) ProtoMessage()
func (*SyncIECidrSvcRules) ProtoReflect ¶ added in v1.0.4
func (x *SyncIECidrSvcRules) ProtoReflect() protoreflect.Message
func (*SyncIECidrSvcRules) Reset ¶ added in v1.0.4
func (x *SyncIECidrSvcRules) Reset()
func (*SyncIECidrSvcRules) String ¶ added in v1.0.4
func (x *SyncIECidrSvcRules) String() string
type SyncIESgSgIcmpRules ¶
type SyncIESgSgIcmpRules struct {
// SG-SG icmp rules
Rules []*IESgSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncIESgSgIcmpRules: subject of SG-SG-[INGRESS|EGRESS]:ICMP to Sync
func (*SyncIESgSgIcmpRules) Descriptor
deprecated
func (*SyncIESgSgIcmpRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncIESgSgIcmpRules.ProtoReflect.Descriptor instead.
func (*SyncIESgSgIcmpRules) GetRules ¶
func (x *SyncIESgSgIcmpRules) GetRules() []*IESgSgIcmpRule
func (*SyncIESgSgIcmpRules) ProtoMessage ¶
func (*SyncIESgSgIcmpRules) ProtoMessage()
func (*SyncIESgSgIcmpRules) ProtoReflect ¶
func (x *SyncIESgSgIcmpRules) ProtoReflect() protoreflect.Message
func (*SyncIESgSgIcmpRules) Reset ¶
func (x *SyncIESgSgIcmpRules) Reset()
func (*SyncIESgSgIcmpRules) String ¶
func (x *SyncIESgSgIcmpRules) String() string
type SyncIESgSgRules ¶
type SyncIESgSgRules struct {
// SG-SG rules
Rules []*IESgSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncIESgSgRules: subject of SG-SG-[INGRESS|EGRESS] to Sync
func (*SyncIESgSgRules) Descriptor
deprecated
func (*SyncIESgSgRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncIESgSgRules.ProtoReflect.Descriptor instead.
func (*SyncIESgSgRules) GetRules ¶
func (x *SyncIESgSgRules) GetRules() []*IESgSgRule
func (*SyncIESgSgRules) ProtoMessage ¶
func (*SyncIESgSgRules) ProtoMessage()
func (*SyncIESgSgRules) ProtoReflect ¶
func (x *SyncIESgSgRules) ProtoReflect() protoreflect.Message
func (*SyncIESgSgRules) Reset ¶
func (x *SyncIESgSgRules) Reset()
func (*SyncIESgSgRules) String ¶
func (x *SyncIESgSgRules) String() string
type SyncNetworks ¶
type SyncNetworks struct {
// network items
Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"`
// contains filtered or unexported fields
}
SyncNetworks: subject of Networks to Sync
func (*SyncNetworks) Descriptor
deprecated
func (*SyncNetworks) Descriptor() ([]byte, []int)
Deprecated: Use SyncNetworks.ProtoReflect.Descriptor instead.
func (*SyncNetworks) GetNetworks ¶
func (x *SyncNetworks) GetNetworks() []*Network
func (*SyncNetworks) ProtoMessage ¶
func (*SyncNetworks) ProtoMessage()
func (*SyncNetworks) ProtoReflect ¶
func (x *SyncNetworks) ProtoReflect() protoreflect.Message
func (*SyncNetworks) Reset ¶
func (x *SyncNetworks) Reset()
func (*SyncNetworks) String ¶
func (x *SyncNetworks) String() string
type SyncReq ¶
type SyncReq struct {
// sync operation to apply to
SyncOp SyncReq_SyncOp `protobuf:"varint,1,opt,name=sync_op,json=syncOp,proto3,enum=hbf.v1.sgroups.SyncReq_SyncOp" json:"sync_op,omitempty"`
// one of subject
//
// Types that are valid to be assigned to Subject:
//
// *SyncReq_Groups
// *SyncReq_Networks
// *SyncReq_SgSgRules
// *SyncReq_FqdnRules
// *SyncReq_SgIcmpRules
// *SyncReq_SgSgIcmpRules
// *SyncReq_IeCidrSgRules
// *SyncReq_IeSgSgRules
// *SyncReq_IeSgSgIcmpRules
// *SyncReq_IeCidrSgIcmpRules
// *SyncReq_Hosts
// *SyncReq_Services
// *SyncReq_ServiceRules
// *SyncReq_SvcFqdnRules
// *SyncReq_IeCidrSvcRules
Subject isSyncReq_Subject `protobuf_oneof:"subject"`
// contains filtered or unexported fields
}
SyncReq: request to apply changes in DB for one of subject [Networks|Sucurity Groups|Security Grpups Rules]
func (*SyncReq) Descriptor
deprecated
func (*SyncReq) GetFqdnRules ¶
func (x *SyncReq) GetFqdnRules() *SyncFqdnRules
func (*SyncReq) GetGroups ¶
func (x *SyncReq) GetGroups() *SyncSecurityGroups
func (*SyncReq) GetIeCidrSgIcmpRules ¶
func (x *SyncReq) GetIeCidrSgIcmpRules() *SyncIECidrSgIcmpRules
func (*SyncReq) GetIeCidrSgRules ¶
func (x *SyncReq) GetIeCidrSgRules() *SyncIECidrSgRules
func (*SyncReq) GetIeCidrSvcRules ¶ added in v1.0.4
func (x *SyncReq) GetIeCidrSvcRules() *SyncIECidrSvcRules
func (*SyncReq) GetIeSgSgIcmpRules ¶
func (x *SyncReq) GetIeSgSgIcmpRules() *SyncIESgSgIcmpRules
func (*SyncReq) GetIeSgSgRules ¶
func (x *SyncReq) GetIeSgSgRules() *SyncIESgSgRules
func (*SyncReq) GetNetworks ¶
func (x *SyncReq) GetNetworks() *SyncNetworks
func (*SyncReq) GetServiceRules ¶
func (x *SyncReq) GetServiceRules() *SyncSvcSvcRules
func (*SyncReq) GetServices ¶
func (x *SyncReq) GetServices() *SyncServices
func (*SyncReq) GetSgIcmpRules ¶
func (x *SyncReq) GetSgIcmpRules() *SyncSgIcmpRules
func (*SyncReq) GetSgSgIcmpRules ¶
func (x *SyncReq) GetSgSgIcmpRules() *SyncSgSgIcmpRules
func (*SyncReq) GetSgSgRules ¶
func (x *SyncReq) GetSgSgRules() *SyncSgSgRules
func (*SyncReq) GetSubject ¶
func (x *SyncReq) GetSubject() isSyncReq_Subject
func (*SyncReq) GetSvcFqdnRules ¶
func (x *SyncReq) GetSvcFqdnRules() *SyncSvcFqdnRules
func (*SyncReq) GetSyncOp ¶
func (x *SyncReq) GetSyncOp() SyncReq_SyncOp
func (*SyncReq) ProtoMessage ¶
func (*SyncReq) ProtoMessage()
func (*SyncReq) ProtoReflect ¶
func (x *SyncReq) ProtoReflect() protoreflect.Message
type SyncReq_FqdnRules ¶
type SyncReq_FqdnRules struct {
// subject of FQDN rule(s)
FqdnRules *SyncFqdnRules `protobuf:"bytes,5,opt,name=fqdn_rules,json=fqdnRules,proto3,oneof"`
}
type SyncReq_Groups ¶
type SyncReq_Groups struct {
// subject of Security Grpup(s)
Groups *SyncSecurityGroups `protobuf:"bytes,2,opt,name=groups,proto3,oneof"`
}
type SyncReq_Hosts ¶
type SyncReq_Hosts struct {
// subject of Host(s)
Hosts *SyncHosts `protobuf:"bytes,12,opt,name=hosts,proto3,oneof"`
}
type SyncReq_IeCidrSgIcmpRules ¶
type SyncReq_IeCidrSgIcmpRules struct {
// subject of CIDR-SG-[INGRESS|EGRESS]:ICMP rule(s)
IeCidrSgIcmpRules *SyncIECidrSgIcmpRules `protobuf:"bytes,11,opt,name=ie_cidr_sg_icmp_rules,json=ieCidrSgIcmpRules,proto3,oneof"`
}
type SyncReq_IeCidrSgRules ¶
type SyncReq_IeCidrSgRules struct {
// subject of CIDR-SG-[INGERSS,EGRESS] rule(s)
IeCidrSgRules *SyncIECidrSgRules `protobuf:"bytes,8,opt,name=ie_cidr_sg_rules,json=ieCidrSgRules,proto3,oneof"`
}
type SyncReq_IeCidrSvcRules ¶ added in v1.0.4
type SyncReq_IeCidrSvcRules struct {
// subject of CIDR-SVC-[INGRESS|EGRESS] rule(s)
IeCidrSvcRules *SyncIECidrSvcRules `protobuf:"bytes,16,opt,name=ie_cidr_svc_rules,json=ieCidrSvcRules,proto3,oneof"`
}
type SyncReq_IeSgSgIcmpRules ¶
type SyncReq_IeSgSgIcmpRules struct {
// subject of SG-SG-[INGRESS,EGRESS]:ICMP rule(s)
IeSgSgIcmpRules *SyncIESgSgIcmpRules `protobuf:"bytes,10,opt,name=ie_sg_sg_icmp_rules,json=ieSgSgIcmpRules,proto3,oneof"`
}
type SyncReq_IeSgSgRules ¶
type SyncReq_IeSgSgRules struct {
// subject of SG-SG-[INGERSS,EGRESS] rule(s)
IeSgSgRules *SyncIESgSgRules `protobuf:"bytes,9,opt,name=ie_sg_sg_rules,json=ieSgSgRules,proto3,oneof"`
}
type SyncReq_Networks ¶
type SyncReq_Networks struct {
// subject of Network(s)
Networks *SyncNetworks `protobuf:"bytes,3,opt,name=networks,proto3,oneof"`
}
type SyncReq_ServiceRules ¶
type SyncReq_ServiceRules struct {
// subject of Service-to-Service Rule(s)
ServiceRules *SyncSvcSvcRules `protobuf:"bytes,14,opt,name=service_rules,json=serviceRules,proto3,oneof"`
}
type SyncReq_Services ¶
type SyncReq_Services struct {
// subject of Service(s)
Services *SyncServices `protobuf:"bytes,13,opt,name=services,proto3,oneof"`
}
type SyncReq_SgIcmpRules ¶
type SyncReq_SgIcmpRules struct {
// subject of SG:ICMP rule(s)
SgIcmpRules *SyncSgIcmpRules `protobuf:"bytes,6,opt,name=sg_icmp_rules,json=sgIcmpRules,proto3,oneof"`
}
type SyncReq_SgSgIcmpRules ¶
type SyncReq_SgSgIcmpRules struct {
// subject of SG-SG:ICMP rule(s)
SgSgIcmpRules *SyncSgSgIcmpRules `protobuf:"bytes,7,opt,name=sg_sg_icmp_rules,json=sgSgIcmpRules,proto3,oneof"`
}
type SyncReq_SgSgRules ¶
type SyncReq_SgSgRules struct {
// subject of Security Grpup(s) rule(s)
SgSgRules *SyncSgSgRules `protobuf:"bytes,4,opt,name=sg_sg_rules,json=sgSgRules,proto3,oneof"`
}
type SyncReq_SvcFqdnRules ¶
type SyncReq_SvcFqdnRules struct {
// subject of Service to FQDN Rule(s)
SvcFqdnRules *SyncSvcFqdnRules `protobuf:"bytes,15,opt,name=svc_fqdn_rules,json=svcFqdnRules,proto3,oneof"`
}
type SyncReq_SyncOp ¶
type SyncReq_SyncOp int32
SyncOp: sync operation
const ( // NoOp: it meand there is no operation defined as default SyncReq_NoOp SyncReq_SyncOp = 0 // FullSync: Delete+Insert+Update operations (default) SyncReq_FullSync SyncReq_SyncOp = 4 // Upsert: Insert+Update operations SyncReq_Upsert SyncReq_SyncOp = 5 // Delete: Delete operation SyncReq_Delete SyncReq_SyncOp = 6 )
func (SyncReq_SyncOp) Descriptor ¶
func (SyncReq_SyncOp) Descriptor() protoreflect.EnumDescriptor
func (SyncReq_SyncOp) Enum ¶
func (x SyncReq_SyncOp) Enum() *SyncReq_SyncOp
func (SyncReq_SyncOp) EnumDescriptor
deprecated
func (SyncReq_SyncOp) EnumDescriptor() ([]byte, []int)
Deprecated: Use SyncReq_SyncOp.Descriptor instead.
func (SyncReq_SyncOp) Number ¶
func (x SyncReq_SyncOp) Number() protoreflect.EnumNumber
func (SyncReq_SyncOp) String ¶
func (x SyncReq_SyncOp) String() string
func (SyncReq_SyncOp) Type ¶
func (SyncReq_SyncOp) Type() protoreflect.EnumType
type SyncSecurityGroups ¶
type SyncSecurityGroups struct {
// security group items
Groups []*SecGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// contains filtered or unexported fields
}
SyncSecurityGroups: subject of Security Groups to Sync
func (*SyncSecurityGroups) Descriptor
deprecated
func (*SyncSecurityGroups) Descriptor() ([]byte, []int)
Deprecated: Use SyncSecurityGroups.ProtoReflect.Descriptor instead.
func (*SyncSecurityGroups) GetGroups ¶
func (x *SyncSecurityGroups) GetGroups() []*SecGroup
func (*SyncSecurityGroups) ProtoMessage ¶
func (*SyncSecurityGroups) ProtoMessage()
func (*SyncSecurityGroups) ProtoReflect ¶
func (x *SyncSecurityGroups) ProtoReflect() protoreflect.Message
func (*SyncSecurityGroups) Reset ¶
func (x *SyncSecurityGroups) Reset()
func (*SyncSecurityGroups) String ¶
func (x *SyncSecurityGroups) String() string
type SyncServices ¶
type SyncServices struct {
// service items
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
// contains filtered or unexported fields
}
SyncServices: subject of Services to Sync
func (*SyncServices) Descriptor
deprecated
func (*SyncServices) Descriptor() ([]byte, []int)
Deprecated: Use SyncServices.ProtoReflect.Descriptor instead.
func (*SyncServices) GetServices ¶
func (x *SyncServices) GetServices() []*Service
func (*SyncServices) ProtoMessage ¶
func (*SyncServices) ProtoMessage()
func (*SyncServices) ProtoReflect ¶
func (x *SyncServices) ProtoReflect() protoreflect.Message
func (*SyncServices) Reset ¶
func (x *SyncServices) Reset()
func (*SyncServices) String ¶
func (x *SyncServices) String() string
type SyncSgIcmpRules ¶
type SyncSgIcmpRules struct {
Rules []*SgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncSgIcmpRules: subject of SG:ICMP to Sync
func (*SyncSgIcmpRules) Descriptor
deprecated
func (*SyncSgIcmpRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncSgIcmpRules.ProtoReflect.Descriptor instead.
func (*SyncSgIcmpRules) GetRules ¶
func (x *SyncSgIcmpRules) GetRules() []*SgIcmpRule
func (*SyncSgIcmpRules) ProtoMessage ¶
func (*SyncSgIcmpRules) ProtoMessage()
func (*SyncSgIcmpRules) ProtoReflect ¶
func (x *SyncSgIcmpRules) ProtoReflect() protoreflect.Message
func (*SyncSgIcmpRules) Reset ¶
func (x *SyncSgIcmpRules) Reset()
func (*SyncSgIcmpRules) String ¶
func (x *SyncSgIcmpRules) String() string
type SyncSgSgIcmpRules ¶
type SyncSgSgIcmpRules struct {
Rules []*SgSgIcmpRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncSgSgIcmpRules: subject of SG-SG:ICMP to Sync
func (*SyncSgSgIcmpRules) Descriptor
deprecated
func (*SyncSgSgIcmpRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncSgSgIcmpRules.ProtoReflect.Descriptor instead.
func (*SyncSgSgIcmpRules) GetRules ¶
func (x *SyncSgSgIcmpRules) GetRules() []*SgSgIcmpRule
func (*SyncSgSgIcmpRules) ProtoMessage ¶
func (*SyncSgSgIcmpRules) ProtoMessage()
func (*SyncSgSgIcmpRules) ProtoReflect ¶
func (x *SyncSgSgIcmpRules) ProtoReflect() protoreflect.Message
func (*SyncSgSgIcmpRules) Reset ¶
func (x *SyncSgSgIcmpRules) Reset()
func (*SyncSgSgIcmpRules) String ¶
func (x *SyncSgSgIcmpRules) String() string
type SyncSgSgRules ¶
type SyncSgSgRules struct {
// security group rules items
Rules []*SgSgRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncSgSgRules: subject of Security Group Rules to Sync
func (*SyncSgSgRules) Descriptor
deprecated
func (*SyncSgSgRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncSgSgRules.ProtoReflect.Descriptor instead.
func (*SyncSgSgRules) GetRules ¶
func (x *SyncSgSgRules) GetRules() []*SgSgRule
func (*SyncSgSgRules) ProtoMessage ¶
func (*SyncSgSgRules) ProtoMessage()
func (*SyncSgSgRules) ProtoReflect ¶
func (x *SyncSgSgRules) ProtoReflect() protoreflect.Message
func (*SyncSgSgRules) Reset ¶
func (x *SyncSgSgRules) Reset()
func (*SyncSgSgRules) String ¶
func (x *SyncSgSgRules) String() string
type SyncStatusResp ¶
type SyncStatusResp struct {
// last succeeded updated DB timestamp
UpdatedAt *timestamp.Timestamp `protobuf:"bytes,1,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
SyncStatusResp: db status after last succeeded Sync
func (*SyncStatusResp) Descriptor
deprecated
func (*SyncStatusResp) Descriptor() ([]byte, []int)
Deprecated: Use SyncStatusResp.ProtoReflect.Descriptor instead.
func (*SyncStatusResp) GetUpdatedAt ¶
func (x *SyncStatusResp) GetUpdatedAt() *timestamp.Timestamp
func (*SyncStatusResp) ProtoMessage ¶
func (*SyncStatusResp) ProtoMessage()
func (*SyncStatusResp) ProtoReflect ¶
func (x *SyncStatusResp) ProtoReflect() protoreflect.Message
func (*SyncStatusResp) Reset ¶
func (x *SyncStatusResp) Reset()
func (*SyncStatusResp) String ¶
func (x *SyncStatusResp) String() string
type SyncSvcFqdnRules ¶
type SyncSvcFqdnRules struct {
// fqdn rules items
Rules []*SvcFqdnRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncSvcFqdnRules: subject of Service to FQDN Rules to Sync
func (*SyncSvcFqdnRules) Descriptor
deprecated
func (*SyncSvcFqdnRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncSvcFqdnRules.ProtoReflect.Descriptor instead.
func (*SyncSvcFqdnRules) GetRules ¶
func (x *SyncSvcFqdnRules) GetRules() []*SvcFqdnRule
func (*SyncSvcFqdnRules) ProtoMessage ¶
func (*SyncSvcFqdnRules) ProtoMessage()
func (*SyncSvcFqdnRules) ProtoReflect ¶
func (x *SyncSvcFqdnRules) ProtoReflect() protoreflect.Message
func (*SyncSvcFqdnRules) Reset ¶
func (x *SyncSvcFqdnRules) Reset()
func (*SyncSvcFqdnRules) String ¶
func (x *SyncSvcFqdnRules) String() string
type SyncSvcSvcRules ¶
type SyncSvcSvcRules struct {
// service-to-service rules items
Rules []*SvcSvcRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
SyncSvcSvcRules: subject of Service-to-Service Rules to Sync
func (*SyncSvcSvcRules) Descriptor
deprecated
func (*SyncSvcSvcRules) Descriptor() ([]byte, []int)
Deprecated: Use SyncSvcSvcRules.ProtoReflect.Descriptor instead.
func (*SyncSvcSvcRules) GetRules ¶
func (x *SyncSvcSvcRules) GetRules() []*SvcSvcRule
func (*SyncSvcSvcRules) ProtoMessage ¶
func (*SyncSvcSvcRules) ProtoMessage()
func (*SyncSvcSvcRules) ProtoReflect ¶
func (x *SyncSvcSvcRules) ProtoReflect() protoreflect.Message
func (*SyncSvcSvcRules) Reset ¶
func (x *SyncSvcSvcRules) Reset()
func (*SyncSvcSvcRules) String ¶
func (x *SyncSvcSvcRules) String() string
type UnimplementedSecGroupServiceServer ¶
type UnimplementedSecGroupServiceServer struct {
}
UnimplementedSecGroupServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSecGroupServiceServer) FindFqdnRules ¶
func (UnimplementedSecGroupServiceServer) FindFqdnRules(context.Context, *FindFqdnRulesReq) (*FqdnRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindIECidrSgIcmpRules ¶
func (UnimplementedSecGroupServiceServer) FindIECidrSgIcmpRules(context.Context, *FindIECidrSgIcmpRulesReq) (*IECidrSgIcmpRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindIECidrSgRules ¶
func (UnimplementedSecGroupServiceServer) FindIECidrSgRules(context.Context, *FindIECidrSgRulesReq) (*IECidrSgRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindIESgSgIcmpRules ¶
func (UnimplementedSecGroupServiceServer) FindIESgSgIcmpRules(context.Context, *FindIESgSgIcmpRulesReq) (*IESgSgIcmpRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindIESgSgRules ¶
func (UnimplementedSecGroupServiceServer) FindIESgSgRules(context.Context, *FindIESgSgRulesReq) (*IESgSgRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindSgIcmpRules ¶
func (UnimplementedSecGroupServiceServer) FindSgIcmpRules(context.Context, *FindSgIcmpRulesReq) (*SgIcmpRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindSgSgIcmpRules ¶
func (UnimplementedSecGroupServiceServer) FindSgSgIcmpRules(context.Context, *FindSgSgIcmpRulesReq) (*SgSgIcmpRulesResp, error)
func (UnimplementedSecGroupServiceServer) FindSgSgRules ¶
func (UnimplementedSecGroupServiceServer) FindSgSgRules(context.Context, *FindSgSgRulesReq) (*SgSgRulesResp, error)
func (UnimplementedSecGroupServiceServer) GetSecGroupForAddress ¶
func (UnimplementedSecGroupServiceServer) GetSecGroupForAddress(context.Context, *GetSecGroupForAddressReq) (*SecGroup, error)
func (UnimplementedSecGroupServiceServer) GetSecGroupForHost ¶
func (UnimplementedSecGroupServiceServer) GetSecGroupForHost(context.Context, *GetSecGroupForHostReq) (*SecGroup, error)
func (UnimplementedSecGroupServiceServer) GetSgSubnets ¶
func (UnimplementedSecGroupServiceServer) GetSgSubnets(context.Context, *GetSgSubnetsReq) (*GetSgSubnetsResp, error)
func (UnimplementedSecGroupServiceServer) ListHosts ¶
func (UnimplementedSecGroupServiceServer) ListHosts(context.Context, *ListHostsReq) (*ListHostsResp, error)
func (UnimplementedSecGroupServiceServer) ListIECidrSvcRules ¶ added in v1.0.4
func (UnimplementedSecGroupServiceServer) ListIECidrSvcRules(context.Context, *ListIECidrSvcRulesReq) (*ListIECidrSvcRulesResp, error)
func (UnimplementedSecGroupServiceServer) ListNetworks ¶
func (UnimplementedSecGroupServiceServer) ListNetworks(context.Context, *ListNetworksReq) (*ListNetworksResp, error)
func (UnimplementedSecGroupServiceServer) ListSecurityGroups ¶
func (UnimplementedSecGroupServiceServer) ListSecurityGroups(context.Context, *ListSecurityGroupsReq) (*ListSecurityGroupsResp, error)
func (UnimplementedSecGroupServiceServer) ListServices ¶
func (UnimplementedSecGroupServiceServer) ListServices(context.Context, *ListServicesReq) (*ListServicesResp, error)
func (UnimplementedSecGroupServiceServer) ListSvcFqdnRules ¶
func (UnimplementedSecGroupServiceServer) ListSvcFqdnRules(context.Context, *ListSvcFqdnRulesReq) (*ListSvcFqdnRulesResp, error)
func (UnimplementedSecGroupServiceServer) ListSvcSvcRules ¶
func (UnimplementedSecGroupServiceServer) ListSvcSvcRules(context.Context, *ListSvcSvcRulesReq) (*ListSvcSvcRulesResp, error)
func (UnimplementedSecGroupServiceServer) SyncStatus ¶
func (UnimplementedSecGroupServiceServer) SyncStatus(context.Context, *empty.Empty) (*SyncStatusResp, error)
func (UnimplementedSecGroupServiceServer) SyncStatuses ¶
func (UnimplementedSecGroupServiceServer) SyncStatuses(*empty.Empty, SecGroupService_SyncStatusesServer) error
func (UnimplementedSecGroupServiceServer) UpdHostIPSet ¶ added in v1.0.3
func (UnimplementedSecGroupServiceServer) UpdHostIPSet(context.Context, *UpdHostIPSetReq) (*empty.Empty, error)
func (UnimplementedSecGroupServiceServer) UpdHostInfo ¶ added in v1.0.4
func (UnimplementedSecGroupServiceServer) UpdHostInfo(context.Context, *UpdHostInfoReq) (*empty.Empty, error)
type UnsafeSecGroupServiceServer ¶
type UnsafeSecGroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSecGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SecGroupServiceServer will result in compilation errors.
type UpdHostIPSetReq ¶ added in v1.0.3
type UpdHostIPSetReq struct {
Hosts []*HostIPSet `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
UpdHostIPSetReq: request to update Host IPSet by host uuid
func (*UpdHostIPSetReq) Descriptor
deprecated
added in
v1.0.3
func (*UpdHostIPSetReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdHostIPSetReq.ProtoReflect.Descriptor instead.
func (*UpdHostIPSetReq) GetHosts ¶ added in v1.0.3
func (x *UpdHostIPSetReq) GetHosts() []*HostIPSet
func (*UpdHostIPSetReq) ProtoMessage ¶ added in v1.0.3
func (*UpdHostIPSetReq) ProtoMessage()
func (*UpdHostIPSetReq) ProtoReflect ¶ added in v1.0.3
func (x *UpdHostIPSetReq) ProtoReflect() protoreflect.Message
func (*UpdHostIPSetReq) Reset ¶ added in v1.0.3
func (x *UpdHostIPSetReq) Reset()
func (*UpdHostIPSetReq) String ¶ added in v1.0.3
func (x *UpdHostIPSetReq) String() string
type UpdHostInfoReq ¶ added in v1.0.4
type UpdHostInfoReq struct {
Hosts []*HostInfo `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
UpdHostInfoReq: request to update Host Info by host uuid
func (*UpdHostInfoReq) Descriptor
deprecated
added in
v1.0.4
func (*UpdHostInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use UpdHostInfoReq.ProtoReflect.Descriptor instead.
func (*UpdHostInfoReq) GetHosts ¶ added in v1.0.4
func (x *UpdHostInfoReq) GetHosts() []*HostInfo
func (*UpdHostInfoReq) ProtoMessage ¶ added in v1.0.4
func (*UpdHostInfoReq) ProtoMessage()
func (*UpdHostInfoReq) ProtoReflect ¶ added in v1.0.4
func (x *UpdHostInfoReq) ProtoReflect() protoreflect.Message
func (*UpdHostInfoReq) Reset ¶ added in v1.0.4
func (x *UpdHostInfoReq) Reset()
func (*UpdHostInfoReq) String ¶ added in v1.0.4
func (x *UpdHostInfoReq) String() string