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.IECidrSgRule, error)
- func Proto2ModelFQDNRule(src *sg.FqdnRule) (model.FQDNRule, error)
- func Proto2ModelFQDNRuleIdentity(src *sg.FqdnRule) (model.FQDNRuleIdentity, error)
- func Proto2ModelIECidrSgIcmpRule(src *sg.CidrSgIcmpRule) (model.IECidrSgIcmpRule, error)
- func Proto2ModelIESgSgIcmpRule(src *sg.IESgSgIcmpRule) (ret model.IESgSgIcmpRule, err 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)
- func Proto2ModelSgSgRule(src *sg.SgSgRule) (ret model.IESgSgRule, err error)
- type Client
- type ClosableClient
Constants ¶
This section is empty.
Variables ¶
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.IECidrSgRule, error)
Proto2ModelCidrSgRule conv IECidrSgRule (proto --> model)
func Proto2ModelFQDNRule ¶
Proto2ModelFQDNRule conv FQDNRule (proto --> model)
func Proto2ModelFQDNRuleIdentity ¶
func Proto2ModelFQDNRuleIdentity(src *sg.FqdnRule) (model.FQDNRuleIdentity, error)
Proto2ModelFQDNRuleIdentity -
func Proto2ModelIECidrSgIcmpRule ¶ added in v1.13.0
func Proto2ModelIECidrSgIcmpRule(src *sg.CidrSgIcmpRule) (model.IECidrSgIcmpRule, error)
Proto2ModelIECidrSgIcmpRule conv CidrSgIcmpRule (proto --> model)
func Proto2ModelIESgSgIcmpRule ¶ added in v1.11.0
func Proto2ModelIESgSgIcmpRule(src *sg.IESgSgIcmpRule) (ret model.IESgSgIcmpRule, err error)
Proto2ModelIESgSgIcmpRule conv IESgSgIcmpRule (proto --> model)
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 -
func Proto2ModelSgSgRule ¶ added in v1.10.0
func Proto2ModelSgSgRule(src *sg.SgSgRule) (ret model.IESgSgRule, err error)
Proto2ModelSgSgRule conv IESgSgRule (proto --> model)
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-icmp-rules.go
- sync-networks.go
- sync-sec-groups.go
- sync-sec-rules.go
- sync-sg-sg-rules.go
- sync-status.go
- sync-statuses.go
- sync.go