model

package
v0.0.0-...-a138482 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCreateLambdaM

func ValidateCreateLambdaM(lambda *CreateLambdaM) error

func ValidateCreateRuntimeM

func ValidateCreateRuntimeM(runtime *CreateRuntimeM) error

func ValidateUpgradeLambdaM

func ValidateUpgradeLambdaM(lambda *UpgradeLambdaM) error

Types

type BaseLambdaM

type BaseLambdaM struct {
	BaseObject
	Runtime  string `json:"runtime"`
	Endpoint string `json:"endpoint"`
}

type BaseObject

type BaseObject struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	CreatedAt int64  `json:"created_at"`
	UpdatedAt int64  `json:"updated_at"`
}

type CreateLambdaM

type CreateLambdaM struct {
	BaseLambdaM
	Archive string `json:"archive"`
}

type CreateRuntimeM

type CreateRuntimeM struct {
	RuntimeM
	Dockerfile string `json:"dockerfile"`
}

type DockerM

type DockerM struct {
	Image       *string `json:"image,omitempty"`
	Container   *string `json:"container,omitempty"`
	ContainerID *string `json:"container_id,omitempty"`
	Status      string  `json:"status"`
}

type LambdaM

type LambdaM struct {
	BaseLambdaM
	Docker DockerM `json:"docker"`
}

type RuntimeM

type RuntimeM struct {
	BaseObject
}

type UpgradeLambdaM

type UpgradeLambdaM struct {
	Archive string `json:"archive"`
}

Jump to

Keyboard shortcuts

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