models

package
v0.0.0-...-a080504 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Task_1_0_0

type Task_1_0_0 struct {
	Arn string

	Overrides                task.TaskOverrides `json:"-"`
	Family                   string
	Version                  string
	ServiceName              string
	Containers               []*apicontainer.Container
	Associations             []task.Association        `json:"associations"`
	ResourcesMapUnsafe       resourcetype.ResourcesMap `json:"resources"`
	Volumes                  []task.TaskVolume         `json:"volumes"`
	CPU                      float64                   `json:"Cpu,omitempty"`
	Memory                   int64                     `json:"Memory,omitempty"`
	DesiredStatusUnsafe      apitaskstatus.TaskStatus  `json:"DesiredStatus"`
	KnownStatusUnsafe        apitaskstatus.TaskStatus  `json:"KnownStatus"`
	KnownStatusTimeUnsafe    time.Time                 `json:"KnownTime"`
	PullStartedAtUnsafe      time.Time                 `json:"PullStartedAt"`
	PullStoppedAtUnsafe      time.Time                 `json:"PullStoppedAt"`
	ExecutionStoppedAtUnsafe time.Time                 `json:"ExecutionStoppedAt"`
	SentStatusUnsafe         apitaskstatus.TaskStatus  `json:"SentStatus"`
	ExecutionCredentialsID   string                    `json:"executionCredentialsID"`

	ENIs                   task.TaskENIs `json:"ENI"`
	AppMesh                *nlappmesh.AppMesh
	MemoryCPULimitsEnabled bool                `json:"MemoryCPULimitsEnabled,omitempty"`
	PlatformFields         task.PlatformFields `json:"PlatformFields,omitempty"`

	PIDMode              string `json:"PidMode,omitempty"`
	IPCMode              string `json:"IpcMode,omitempty"`
	NvidiaRuntime        string `json:"NvidiaRuntime,omitempty"`
	LocalIPAddressUnsafe string `json:"LocalIPAddress,omitempty"`
	LaunchType           string `json:"LaunchType,omitempty"`

	ServiceConnectConfig                   *serviceconnect.Config `json:"ServiceConnectConfig,omitempty"`
	ServiceConnectConnectionDrainingUnsafe bool                   `json:"ServiceConnectConnectionDraining,omitempty"`
	NetworkMode                            string                 `json:"NetworkMode,omitempty"`
	IsInternal                             bool                   `json:"IsInternal,omitempty"`
	// contains filtered or unexported fields
}

Task_1_0_0 is "the original model" before model transformer is created.

type Task_1_x_0

type Task_1_x_0 struct {
	Arn string

	Overrides                task.TaskOverrides `json:"-"`
	Family                   string
	Version                  string
	ServiceName              string
	Containers               []*apicontainer.Container
	Associations             []task.Association        `json:"associations"`
	ResourcesMapUnsafe       resourcetype.ResourcesMap `json:"resources"`
	Volumes                  []task.TaskVolume         `json:"volumes"`
	CPU                      float64                   `json:"Cpu,omitempty"`
	Memory                   int64                     `json:"Memory,omitempty"`
	DesiredStatusUnsafe      apitaskstatus.TaskStatus  `json:"DesiredStatus"`
	KnownStatusUnsafe        apitaskstatus.TaskStatus  `json:"KnownStatus"`
	KnownStatusTimeUnsafe    time.Time                 `json:"KnownTime"`
	PullStartedAtUnsafe      time.Time                 `json:"PullStartedAt"`
	PullStoppedAtUnsafe      time.Time                 `json:"PullStoppedAt"`
	ExecutionStoppedAtUnsafe time.Time                 `json:"ExecutionStoppedAt"`
	SentStatusUnsafe         apitaskstatus.TaskStatus  `json:"SentStatus"`
	ExecutionCredentialsID   string                    `json:"executionCredentialsID"`

	NetworkInterfaces      task.TaskENIs `json:"NetworkInterfaces"`
	AppMesh                *nlappmesh.AppMesh
	MemoryCPULimitsEnabled bool                `json:"MemoryCPULimitsEnabled,omitempty"`
	PlatformFields         task.PlatformFields `json:"PlatformFields,omitempty"`

	PIDMode              string `json:"PidMode,omitempty"`
	IPCMode              string `json:"IpcMode,omitempty"`
	NvidiaRuntime        string `json:"NvidiaRuntime,omitempty"`
	LocalIPAddressUnsafe string `json:"LocalIPAddress,omitempty"`
	LaunchType           string `json:"LaunchType,omitempty"`

	ServiceConnectConfig                   *serviceconnect.Config `json:"ServiceConnectConfig,omitempty"`
	ServiceConnectConnectionDrainingUnsafe bool                   `json:"ServiceConnectConnectionDraining,omitempty"`
	NetworkMode                            string                 `json:"NetworkMode,omitempty"`
	IsInternal                             bool                   `json:"IsInternal,omitempty"`
	// contains filtered or unexported fields
}

Task_1_x_0 is an example new model with breaking change. Latest Task_1_x_0 should be the same as current Task model. TODO: update this model when introducing first actual transformation function

Jump to

Keyboard shortcuts

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