Documentation ¶
Index ¶
- Variables
- func NewSGroupsService(ctx context.Context, r registry.Registry) server.APIService
- func Proto2MOdelSgIcmpRule(src *sg.SgIcmpRule) (model.SgIcmpRule, error)
- func Proto2MOdelSgSgIcmpRule(src *sg.SgSgIcmpRule) (model.SgSgIcmpRule, error)
- func Proto2ModelCidrSgRule(src *sg.CidrSgRule) (model.CidrSgRule, error)
- func Proto2ModelFQDNRule(src *sg.FqdnRule) (model.FQDNRule, error)
- func Proto2ModelFQDNRuleIdentity(src *sg.FqdnRule) (model.FQDNRuleIdentity, error)
- func Proto2ModelNetwork(protoNw *sg.Network) (model.Network, error)
- func Proto2ModelSG(g *sg.SecGroup) (model.SecurityGroup, error)
- func Proto2ModelSGRule(src *sg.Rule) (model.SGRule, error)
- func Proto2ModelSGRuleIdentity(src *sg.Rule) (model.SGRuleIdentity, error)
- type Client
- type ClosableClient
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //SecGroupSwaggerUtil ... SecGroupSwaggerUtil sgPkg.SwaggerUtil[sg.SecGroupServiceServer] )
Functions ¶
func NewSGroupsService ¶
NewSGroupsService creates service
func Proto2MOdelSgIcmpRule ¶
func Proto2MOdelSgIcmpRule(src *sg.SgIcmpRule) (model.SgIcmpRule, error)
Proto2MOdelSgIcmpRule conv SgIcmpRule (proto --> model)
func Proto2MOdelSgSgIcmpRule ¶
func Proto2MOdelSgSgIcmpRule(src *sg.SgSgIcmpRule) (model.SgSgIcmpRule, error)
Proto2MOdelSgSgIcmpRule conv SgSgIcmpRule (proto --> model)
func Proto2ModelCidrSgRule ¶
func Proto2ModelCidrSgRule(src *sg.CidrSgRule) (model.CidrSgRule, error)
Proto2ModelCidrSgRule conv CidrSgRule (proto --> model)
func Proto2ModelFQDNRule ¶
Proto2ModelFQDNRule conv FQDNRule (proto --> model)
func Proto2ModelFQDNRuleIdentity ¶
func Proto2ModelFQDNRuleIdentity(src *sg.FqdnRule) (model.FQDNRuleIdentity, error)
Proto2ModelFQDNRuleIdentity -
func Proto2ModelNetwork ¶
Proto2ModelNetwork converts Network (proto --> model)
func Proto2ModelSG ¶
func Proto2ModelSG(g *sg.SecGroup) (model.SecurityGroup, error)
Proto2ModelSG conv SG (proto --> model)
func Proto2ModelSGRule ¶
Proto2ModelSGRule conv SGRule (proto --> model)
func Proto2ModelSGRuleIdentity ¶
func Proto2ModelSGRuleIdentity(src *sg.Rule) (model.SGRuleIdentity, error)
Proto2ModelSGRuleIdentity -
Types ¶
type Client ¶
type Client struct {
sg.SecGroupServiceClient
}
Client SecGrpups server client
func NewClient ¶
func NewClient(c grpc.ClientConnInterface) Client
NewClient constructs 'sgroups' API Client
type ClosableClient ¶
type ClosableClient struct { sg.SecGroupServiceClient grpcClient.Closable }
ClosableClient SecGrpups server client
func NewClosableClient ¶
func NewClosableClient(ctx context.Context, p grpc_client.ConnProvider) (ClosableClient, error)
NewClosableClient constructs closable 'sgroups' API Client
Source Files ¶
- client.go
- find-rules.go
- get-rules.go
- get-sec-group-4-address.go
- get-sg-subnets.go
- list-networks.go
- list-sgs.go
- proto2model.go
- sgroups-service.go
- sync-cidr-sg-rules.go
- sync-fqdn-rules.go
- sync-networks.go
- sync-sec-groups.go
- sync-sec-rules.go
- sync-sg-icmp-rules.go
- sync-status.go
- sync-statuses.go
- sync.go
Click to show internal directories.
Click to hide internal directories.