model

package
v0.0.0-...-b544943 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateAppBuildInput

type CreateAppBuildInput struct {
	Type           string  `pulumi:"type"` // DOCKER
	DockerfilePath *string `pulumi:"dockerfilePath,optional"`
}

type CreateAppDeployInput

type CreateAppDeployInput struct {
	DeployTarget string `pulumi:"deployTarget"`
	ClusterID    string `pulumi:"clusterId,optional"`
}

type CreateAppDockerInput

type CreateAppDockerInput struct {
	DockerImage string `pulumi:"dockerImage"`
}

type CreateAppEnvironmentVariableInput

type CreateAppEnvironmentVariableInput struct {
	Name   string `pulumi:"name"`
	Value  string `pulumi:"value"`
	Sealed *bool  `pulumi:"sealed,optional"`
}

type CreateAppGithubInput

type CreateAppGithubInput struct {
	Url              string  `pulumi:"url"`
	ProductionBranch *string `pulumi:"productionBranch"`
}

type CreateAppInput

type CreateAppInput struct {
	UserID               string
	ProjectID            string
	EnvironmentID        string
	Name                 string
	GithubInput          *CreateAppGithubInput
	Enabled              bool
	Build                CreateAppBuildInput
	Resources            CreateAppResourcesInput
	Deploy               CreateAppDeployInput
	EnvironmentVariables []CreateAppEnvironmentVariableInput
	DockerInput          *CreateAppDockerInput
}

func (CreateAppInput) GetCpuString

func (i CreateAppInput) GetCpuString() *string

func (CreateAppInput) GetMemoryString

func (i CreateAppInput) GetMemoryString() *string

type CreateAppResourcesInput

type CreateAppResourcesInput struct {
	Cpu              float64  `pulumi:"cpu"`
	Memory           string   `pulumi:"memory"`
	EphemeralStorage *float64 `pulumi:"ephemeralStorage,optional"`
	SpotInstance     *bool    `pulumi:"spotInstance,optional"`
}

func (*CreateAppResourcesInput) GetMemoryFloat

func (r *CreateAppResourcesInput) GetMemoryFloat() (float64, error)

Jump to

Keyboard shortcuts

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