models

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyUser

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

type ResponseList added in v0.0.5

type ResponseList struct {
	Success bool          `json:"success" example:"true"`
	List    []interface{} `json:"list"`
}

type ResponseObject added in v0.0.5

type ResponseObject struct {
	Success bool                   `json:"success" example:"true"`
	Object  map[string]interface{} `json:"object"`
}

type ResponseText added in v0.0.5

type ResponseText struct {
	Success bool   `json:"success" example:"true"`
	Text    string `json:"text" example:"Any text"`
}

type TfVarsGcpAwsVpnTunnel added in v0.0.2

type TfVarsGcpAwsVpnTunnel struct {
	ResourceGroupId   string `json:"resource-group-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:"tofu-gcp-vpc" example:"tofu-gcp-vpc"`
}

type TfVarsGcpAzureVpnTunnel added in v0.0.2

type TfVarsGcpAzureVpnTunnel struct {
	ResourceGroupId             string `json:"resource-group-id,omitempty" default:"" example:""`
	AzureRegion                 string `json:"azure-region" default:"koreacentral" example:"koreacentral"`
	AzureResourceGroupName      string `json:"azure-resource-group-name" default:"tofu-rg-01" example:"tofu-rg-01"`
	AzureVirtualNetworkName     string `json:"azure-virtual-network-name" default:"tofu-azure-vnet" example:"tofu-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:"tofu-gcp-vpc" example:"tofu-gcp-vpc"`
}

type TfVarsTestEnv added in v0.0.2

type TfVarsTestEnv struct {
	AzureRegion            string `json:"azure-region" default:"koreacentral" example:"koreacentral"`
	AzureResourceGroupName string `json:"azure-resource-group-name" default:"tofu-rg-01" example:"tofu-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