model

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateInfracodeOfGcpAwsVpnRequest

type CreateInfracodeOfGcpAwsVpnRequest struct {
	TfVars TfVarsGcpAwsVpnTunnel `json:"tfVars"`
}

Reqeust bodies for GCP-AWS VPN

type CreateInfracodeOfGcpAzureVpnRequest

type CreateInfracodeOfGcpAzureVpnRequest struct {
	TfVars TfVarsGcpAzureVpnTunnel `json:"tfVars"`
}

Reqeust bodies for GCP-Azure VPN

type CreateInfracodeOfTestEnvRequest

type CreateInfracodeOfTestEnvRequest struct {
	TfVars TfVarsTestEnv `json:"tfVars"`
}

Reqeust bodies for test-env

type MyUser

type MyUser struct {
	ID    int    `json:"id"`
	Name  string `json:"name"`
	Email string `json:"email"`
}

type Response

type Response struct {
	Success bool                   `json:"success" example:"true"`
	Status  int                    `json:"status,omitempty" example:"200"`
	Message string                 `json:"message" example:"Any message"`
	Detail  string                 `json:"details,omitempty" example:"Any details"`
	Object  map[string]interface{} `json:"object,omitempty"`
	List    []interface{}          `json:"list,omitempty"`
}

type TerrariumInfo added in v0.0.7

type TerrariumInfo struct {
	Id          string `json:"id" default:"tr01" example:"tr01" validate:"required"`
	Description string `json:"description,omitempty" default:"This terrarium enriches ..." example:"This terrarium enriches ..."`
	Enrichments string `json:"enrichments,omitempty"`
}

type TfVarsGcpAwsVpnTunnel

type TfVarsGcpAwsVpnTunnel struct {
	TerrariumId       string `json:"terrarium-id,omitempty" default:"" example:""`
	AwsRegion         string `json:"aws-region" default:"ap-northeast-2" example:"ap-northeast-2"`
	AwsVpcId          string `json:"aws-vpc-id" example:"vpc-xxxxx"`
	AwsSubnetId       string `json:"aws-subnet-id" example:"subnet-xxxxx"`
	GcpRegion         string `json:"gcp-region" default:"asia-northeast3" example:"asia-northeast3"`
	GcpVpcNetworkName string `json:"gcp-vpc-network-name" default:"tr-gcp-vpc" example:"tr-gcp-vpc"`
}

type TfVarsGcpAzureVpnTunnel

type TfVarsGcpAzureVpnTunnel struct {
	TerrariumId                 string `json:"terrarium-id,omitempty" default:"" example:""`
	AzureRegion                 string `json:"azure-region" default:"koreacentral" example:"koreacentral"`
	AzureResourceGroupName      string `json:"azure-resource-group-name" default:"tr-rg-01" example:"tr-rg-01"`
	AzureVirtualNetworkName     string `json:"azure-virtual-network-name" default:"tr-azure-vnet" example:"tr-azure-vnet"`
	AzureGatewaySubnetCidrBlock string `json:"azure-gateway-subnet-cidr-block" default:"192.168.130.0/24" example:"192.168.130.0/24"`
	GcpRegion                   string `json:"gcp-region" default:"asia-northeast3" example:"asia-northeast3"`
	GcpVpcNetworkName           string `json:"gcp-vpc-network-name" default:"tr-gcp-vpc" example:"tr-gcp-vpc"`
}

type TfVarsTestEnv

type TfVarsTestEnv struct {
	AzureRegion            string `json:"azure-region" default:"koreacentral" example:"koreacentral"`
	AzureResourceGroupName string `json:"azure-resource-group-name" default:"tr-rg-01" example:"tr-rg-01"`
	GcpRegion              string `json:"gcp-region" default:"asia-northeast3" example:"asia-northeast3"`
	AwsRegion              string `json:"aws-region" default:"ap-northeast-2" example:"ap-northeast-2"`
}

Jump to

Keyboard shortcuts

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