sgroups

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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.IECidrSgRule, error)

Proto2ModelCidrSgRule conv IECidrSgRule (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 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

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 -

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

Jump to

Keyboard shortcuts

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