config

package
v0.0.0-...-d299574 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 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 CRDConfig

type CRDConfig struct {
	CRDImage     string `json:"crd_image"        required:"true"`
	CRDInitImage string `json:"crd_init_image"`
	TemplateFile string `json:"crd_template"     required:"true"`

	// Specifies the terminal container port for connection
	ContainerPort int `json:"container_port"   required:"true"`

	// CrdCpu specifies the number of cpu
	CRDCpu float32 `json:"crd_cpu"               required:"true"`

	// CrdMemory specifies the memory in megabyte.
	CRDMemory           int    `json:"crd_memory"             required:"true"`
	AccessTokenEndpoint string `json:"access_token_endpoint" required:"true"`
}

func (*CRDConfig) CRDContainerPortString

func (cfg *CRDConfig) CRDContainerPortString() string

func (*CRDConfig) CRDCpuString

func (cfg *CRDConfig) CRDCpuString() string

func (*CRDConfig) CRDMemoryString

func (cfg *CRDConfig) CRDMemoryString() string

func (*CRDConfig) SetDefault

func (cfg *CRDConfig) SetDefault()

Jump to

Keyboard shortcuts

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