Documentation ¶
Index ¶
- func CopyConfigFile(cfg *pb.ConfigFile) *pb.ConfigFile
- func CopyDevice(a1 *pb.Device) *pb.Device
- func CopyMemberConfig(a1 []*pb.MemberConfig) []*pb.MemberConfig
- func CopyServiceMember(a1 *pb.ServiceMember) *pb.ServiceMember
- func CopyServiceStaticIP(serviceip *pb.ServiceStaticIP) *pb.ServiceStaticIP
- func EqualAttr(a1 *pb.ServiceAttr, a2 *pb.ServiceAttr, skipMtime bool) bool
- func EqualConfigFile(a1 *pb.ConfigFile, a2 *pb.ConfigFile, skipMtime bool, skipContent bool) bool
- func EqualDevice(a1 *pb.Device, a2 *pb.Device) bool
- func EqualMemberConfig(c1 []*pb.MemberConfig, c2 []*pb.MemberConfig) bool
- func EqualService(a1 *pb.Service, a2 *pb.Service) bool
- func EqualServiceMember(a1 *pb.ServiceMember, a2 *pb.ServiceMember, skipMtime bool) bool
- func EqualServiceStaticIP(a1 *pb.ServiceStaticIP, a2 *pb.ServiceStaticIP) bool
- func GenDbConfigFile(cfg *pb.ConfigFile) *common.ConfigFile
- func GenDbDevice(dev *pb.Device) *common.Device
- func GenDbMemberConfig(cfgs []*pb.MemberConfig) []*common.MemberConfig
- func GenDbService(service *pb.Service) *common.Service
- func GenDbServiceAttr(attr *pb.ServiceAttr) *common.ServiceAttr
- func GenDbServiceMember(member *pb.ServiceMember) *common.ServiceMember
- func GenDbServiceStaticIP(serviceip *pb.ServiceStaticIP) *common.ServiceStaticIP
- func GenPbConfigFile(cfg *common.ConfigFile) *pb.ConfigFile
- func GenPbDevice(dev *common.Device) *pb.Device
- func GenPbMemberConfig(cfgs []*common.MemberConfig) []*pb.MemberConfig
- func GenPbService(service *common.Service) *pb.Service
- func GenPbServiceAttr(attr *common.ServiceAttr) *pb.ServiceAttr
- func GenPbServiceMember(member *common.ServiceMember) *pb.ServiceMember
- func GenPbServiceStaticIP(serviceip *common.ServiceStaticIP) *pb.ServiceStaticIP
- func PrintConfigFile(cfg *pb.ConfigFile) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyConfigFile ¶
func CopyConfigFile(cfg *pb.ConfigFile) *pb.ConfigFile
func CopyMemberConfig ¶
func CopyMemberConfig(a1 []*pb.MemberConfig) []*pb.MemberConfig
func CopyServiceMember ¶
func CopyServiceMember(a1 *pb.ServiceMember) *pb.ServiceMember
func CopyServiceStaticIP ¶ added in v0.8.1
func CopyServiceStaticIP(serviceip *pb.ServiceStaticIP) *pb.ServiceStaticIP
func EqualAttr ¶
func EqualAttr(a1 *pb.ServiceAttr, a2 *pb.ServiceAttr, skipMtime bool) bool
func EqualConfigFile ¶
func EqualConfigFile(a1 *pb.ConfigFile, a2 *pb.ConfigFile, skipMtime bool, skipContent bool) bool
func EqualMemberConfig ¶
func EqualMemberConfig(c1 []*pb.MemberConfig, c2 []*pb.MemberConfig) bool
func EqualServiceMember ¶
func EqualServiceMember(a1 *pb.ServiceMember, a2 *pb.ServiceMember, skipMtime bool) bool
func EqualServiceStaticIP ¶ added in v0.8.1
func EqualServiceStaticIP(a1 *pb.ServiceStaticIP, a2 *pb.ServiceStaticIP) bool
func GenDbConfigFile ¶
func GenDbConfigFile(cfg *pb.ConfigFile) *common.ConfigFile
func GenDbMemberConfig ¶
func GenDbMemberConfig(cfgs []*pb.MemberConfig) []*common.MemberConfig
func GenDbServiceAttr ¶
func GenDbServiceAttr(attr *pb.ServiceAttr) *common.ServiceAttr
func GenDbServiceMember ¶
func GenDbServiceMember(member *pb.ServiceMember) *common.ServiceMember
func GenDbServiceStaticIP ¶ added in v0.8.1
func GenDbServiceStaticIP(serviceip *pb.ServiceStaticIP) *common.ServiceStaticIP
func GenPbConfigFile ¶
func GenPbConfigFile(cfg *common.ConfigFile) *pb.ConfigFile
func GenPbMemberConfig ¶
func GenPbMemberConfig(cfgs []*common.MemberConfig) []*pb.MemberConfig
func GenPbServiceAttr ¶
func GenPbServiceAttr(attr *common.ServiceAttr) *pb.ServiceAttr
func GenPbServiceMember ¶
func GenPbServiceMember(member *common.ServiceMember) *pb.ServiceMember
func GenPbServiceStaticIP ¶ added in v0.8.1
func GenPbServiceStaticIP(serviceip *common.ServiceStaticIP) *pb.ServiceStaticIP
func PrintConfigFile ¶
func PrintConfigFile(cfg *pb.ConfigFile) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.