Versions in this module Expand all Collapse all v0 v0.5.3 Jul 13, 2026 v0.5.2 Jul 1, 2026 v0.5.1 Jun 9, 2026 v0.5.0 Dec 19, 2025 v0.4.0 Oct 16, 2025 v0.3.6 Sep 29, 2025 v0.3.5 Sep 3, 2025 v0.3.4 Aug 26, 2025 v0.3.3 Aug 24, 2025 v0.3.2 Aug 12, 2025 v0.3.1 Aug 11, 2025 v0.3.0 Dec 5, 2024 v0.2.2 Dec 2, 2024 v0.2.1 Nov 14, 2024 v0.2.0 Oct 30, 2024 v0.1.0 Dec 14, 2023 Changes in this version + const ReplicationModelDir + func CheckFolderAndCreate(folderPath string) error + func ConvertJsonString(v interface{}) (string, error) + func DeleteModel(modelIID IID) (bool, error) + func InitLog() + type Application struct + Dependencies []string + Language string + Name string + Version string + type CSP struct + Name string + RegionCode string + ZoneCode string + type DataDisk struct + ConnectionName string + CspDataDiskId string + Description string + DiskSize string + DiskType string + Name string + type Database struct + DatabaseType string + Size string + StoredProcedures string + Tables string + Version string + type EnvironmentDetails struct + Region string + Resources []Resource + Zone string + type FirewallRule struct + Cidr string + Direction string + FromPort string + IpProtocol string + ToPort string + type HealthCheck struct + HealthyThreshold string + Interval string + Target string + Timeout string + UnhealthyThreshold string + type HealthChecker struct + Interval string + Threshold string + Timeout string + type IID struct + NameId string + SystemId string + type IngressRule struct + CidrIp string + FromPort string + IpProtocol string + ToPort string + type JSON_Model struct + MigrationModel MigrationModel + func GetModel(modelIID IID) (JSON_Model, error) + func ListModel() ([]*JSON_Model, error) + func UpdateModel(modelIId IID, rsInfo JSON_Model) (JSON_Model, error) + func UpdateSubnetInfoList(modelIId IID, newSubnetInfoList []SubnetInfo) (JSON_Model, error) + func WriteModel(modelName string, rsInfo JSON_Model) (JSON_Model, error) + type KeyPair struct + ConnectionName string + CspSshKeyId string + Description string + Fingerprint string + Name string + PrivateKey string + PublicKey string + Username string + VerifiedUsername string + type KeyValue struct + Key string + Value string + type LbListener struct + Port string + Protocol string + type Listener struct + InstancePort string + LoadBalancerPort string + Protocol string + type LoadBalancer struct + HealthCheck HealthCheck + Listeners []Listener + Name string + VMInstances []VMInstance + type MCIS struct + Description string + InstallMonAgent string + Label string + Name string + PlacementAlgo string + SystemLabel string + VM []VM + type MigrationModel struct + Description string + MigrationStep string + ModelId string + Name string + TargetEnvironment TargetEnvironment + Version string + type NLB struct + CspNLBId string + Description string + HealthChecker HealthChecker + Listener Listener + Scope string + TargetGroup TargetGroup + Type string + type Namespace struct + Description string + Name string + type Replica_RS struct + LoadBalancer LoadBalancer + VMInstance VMInstance + type Replication struct + CSP CSP + Description string + Resources Replica_RS + TemplateFormatVersion string + func GetReplicaResources(yamlName string) (Replication, error) + type Resource struct + AppSpecifications *Application + DbSpecifications *Database + DiskSpecifications *DataDisk + ImgSpecifications *VMImage + KeySpecifications *KeyPair + McisSpecifications *MCIS + NlbSpecifications *NLB + NsSpecifications *Namespace + SgSpecifications *SG + Type string + VNetSpecifications *VNet + WebSvrSpecifications *WebServer + type SG struct + CspSecurityGroupId string + Description string + FirewallRules []FirewallRule + Name string + VNetId string + type SecurityGroup struct + GroupDescription string + SecurityGroupIngress []IngressRule + type Subnet struct + AvailabilityZone string + CidrBlock string + Name string + type SubnetInfo struct + Description string + Ipv4CIDR string + KeyValueList []KeyValue + Name string + type TargetEnvironment struct + Details EnvironmentDetails + Provider string + type TargetGroup struct + Port string + Protocol string + SubGroupId string + type VM struct + DataDiskIds []string + Description string + IdByCsp string + ImageId string + Label string + Name string + RootDiskSize string + RootDiskType string + SecurityGroupIds []string + SpecId string + SshKeyId string + SubGroupSize string + SubnetId string + VNetId string + VmUserAccount string + VmUserPassword string + type VMImage struct + CspImageId string + Description string + Name string + type VMInstance struct + ImageId string + KeyPairName string + Name string + SecurityGroups []SecurityGroup + Subnets []Subnet + VMSpecId string + VPC VPCInstance + type VNet struct + CidrBlock string + CspVNetId string + Description string + Name string + SubnetInfoList []SubnetInfo + type VPCInstance struct + CidrBlock string + EnableDnsHostnames bool + EnableDnsSupport bool + Name string + type WebServer struct + HostedWebsites string + Software string + Traffic string + Version string