dto

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	RequestQueryParam = "r"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserRequest added in v0.2.9

type AddUserRequest struct {
	Username string
	Role     domain.Role
}

type CustomDomain

type CustomDomain struct {
	DomainName       string
	CertDomain       string
	HostedZoneDomain string
	HttpSubdomain    string
	WsSubdomain      string
}

type CustomDomains

type CustomDomains struct {
	Http CustomDomain
	Ws   CustomDomain
}

type DeployRequest

type DeployRequest struct {
	ProjectName        string
	NodeBucket         string
	FunctionsForUpdate []Function
	StageTemplate      *StageTemplate
}

type DeployResponse

type DeployResponse struct {
	Rest         string
	Ws           string
	PublicBucket string
}

type DestroyRequest

type DestroyRequest struct {
	Bucket                string
	Region                string
	ProjectName           string
	StageName             string
	BucketPrefix          string
	ResourceTags          map[string]string
	CleanupBucketPrefixes []string
}

type Function

type Function struct {
	Name       string
	LambdaName string
	S3Key      string
	Runtime    string
	Handler    string
	MemorySize int
	Timeout    int
	Env        map[string]string
	Cron       string
	EnableAuth bool
}

type LoginResponse added in v0.2.9

type LoginResponse struct {
	Node *domain.Node
}

type RemoveUserRequest added in v0.2.11

type RemoveUserRequest struct {
	Username string
	Role     domain.Role
}

type SecurityRequest

type SecurityRequest struct {
	CliRole         string
	Buckets         []string
	LogGroupsPrefix string
}

type SecurityResponse

type SecurityResponse struct {
	AccessKeyId     string
	SecretAccessKey string
	Token           string
	Expiration      *time.Time
}

credentials for aws sdk endpointcreds integration on the CLI fields are predefined by the SDK and can't be changed https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/credentials/endpointcreds

type SetupBucketConfig

type SetupBucketConfig struct {
	Name         string
	ExpirePrefix string
	ExpireDays   int
}

type SetupDestroyRequest

type SetupDestroyRequest struct {
	Bucket string
}

type SetupRequest

type SetupRequest struct {
	Node               *domain.Node
	BucketConfig       *SetupBucketConfig
	APIGatewayLogsRole string
}

type SetupResponse

type SetupResponse struct {
	APIGatewayRestURL string
	CliRole           string
	Token             string
}

type StageTemplate

type StageTemplate struct {
	Project             string
	Stage               string
	Region              string
	Bucket              string
	BucketPrefix        string
	Functions           []Function
	NodeFunctionsBucket string
	NodeFunctionsPath   string
	ResourceSuffix      string
	ResourceTags        map[string]string
	WsEnv               map[string]string
	AuthEnv             map[string]string
	HasPublic           bool
	NamingTemplate      string
	PublicBucketName    string
	CustomDomain        CustomDomain
}

Jump to

Keyboard shortcuts

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