sgroups

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//SecGroupSwaggerUtil ...
	SecGroupSwaggerUtil sgPkg.SwaggerUtil[sg.SecGroupServiceServer]
)

Functions

func NewSGroupsService

func NewSGroupsService(ctx context.Context, r registry.Registry) server.APIService

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

func Proto2ModelFQDNRule(src *sg.FqdnRule) (model.FQDNRule, error)

Proto2ModelFQDNRule conv FQDNRule (proto --> model)

func Proto2ModelFQDNRuleIdentity

func Proto2ModelFQDNRuleIdentity(src *sg.FqdnRule) (model.FQDNRuleIdentity, error)

Proto2ModelFQDNRuleIdentity -

func Proto2ModelNetwork

func Proto2ModelNetwork(protoNw *sg.Network) (model.Network, error)

Proto2ModelNetwork converts Network (proto --> model)

func Proto2ModelSG

func Proto2ModelSG(g *sg.SecGroup) (model.SecurityGroup, error)

Proto2ModelSG conv SG (proto --> model)

func Proto2ModelSGRule

func Proto2ModelSGRule(src *sg.Rule) (model.SGRule, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL