sagemakerappimageconfig

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 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 ContainerConfig

type ContainerConfig struct {
	// ContainerArguments: list of string, optional
	ContainerArguments terra.ListValue[terra.StringValue] `hcl:"container_arguments,attr"`
	// ContainerEntrypoint: list of string, optional
	ContainerEntrypoint terra.ListValue[terra.StringValue] `hcl:"container_entrypoint,attr"`
	// ContainerEnvironmentVariables: map of string, optional
	ContainerEnvironmentVariables terra.MapValue[terra.StringValue] `hcl:"container_environment_variables,attr"`
}

type ContainerConfigAttributes

type ContainerConfigAttributes struct {
	// contains filtered or unexported fields
}

func (ContainerConfigAttributes) ContainerArguments

func (cc ContainerConfigAttributes) ContainerArguments() terra.ListValue[terra.StringValue]

func (ContainerConfigAttributes) ContainerEntrypoint

func (cc ContainerConfigAttributes) ContainerEntrypoint() terra.ListValue[terra.StringValue]

func (ContainerConfigAttributes) ContainerEnvironmentVariables

func (cc ContainerConfigAttributes) ContainerEnvironmentVariables() terra.MapValue[terra.StringValue]

func (ContainerConfigAttributes) InternalRef

func (cc ContainerConfigAttributes) InternalRef() (terra.Reference, error)

func (ContainerConfigAttributes) InternalTokens

func (cc ContainerConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ContainerConfigAttributes) InternalWithRef

type ContainerConfigState

type ContainerConfigState struct {
	ContainerArguments            []string          `json:"container_arguments"`
	ContainerEntrypoint           []string          `json:"container_entrypoint"`
	ContainerEnvironmentVariables map[string]string `json:"container_environment_variables"`
}

type FileSystemConfig

type FileSystemConfig struct {
	// DefaultGid: number, optional
	DefaultGid terra.NumberValue `hcl:"default_gid,attr"`
	// DefaultUid: number, optional
	DefaultUid terra.NumberValue `hcl:"default_uid,attr"`
	// MountPath: string, optional
	MountPath terra.StringValue `hcl:"mount_path,attr"`
}

type FileSystemConfigAttributes

type FileSystemConfigAttributes struct {
	// contains filtered or unexported fields
}

func (FileSystemConfigAttributes) DefaultGid

func (fsc FileSystemConfigAttributes) DefaultGid() terra.NumberValue

func (FileSystemConfigAttributes) DefaultUid

func (fsc FileSystemConfigAttributes) DefaultUid() terra.NumberValue

func (FileSystemConfigAttributes) InternalRef

func (fsc FileSystemConfigAttributes) InternalRef() (terra.Reference, error)

func (FileSystemConfigAttributes) InternalTokens

func (fsc FileSystemConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FileSystemConfigAttributes) InternalWithRef

func (FileSystemConfigAttributes) MountPath

type FileSystemConfigState

type FileSystemConfigState struct {
	DefaultGid float64 `json:"default_gid"`
	DefaultUid float64 `json:"default_uid"`
	MountPath  string  `json:"mount_path"`
}

type JupyterLabImageConfig

type JupyterLabImageConfig struct {
	// ContainerConfig: optional
	ContainerConfig *ContainerConfig `hcl:"container_config,block"`
}

type JupyterLabImageConfigAttributes

type JupyterLabImageConfigAttributes struct {
	// contains filtered or unexported fields
}

func (JupyterLabImageConfigAttributes) ContainerConfig

func (JupyterLabImageConfigAttributes) InternalRef

func (jlic JupyterLabImageConfigAttributes) InternalRef() (terra.Reference, error)

func (JupyterLabImageConfigAttributes) InternalTokens

func (jlic JupyterLabImageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (JupyterLabImageConfigAttributes) InternalWithRef

type JupyterLabImageConfigState

type JupyterLabImageConfigState struct {
	ContainerConfig []ContainerConfigState `json:"container_config"`
}

type KernelGatewayImageConfig

type KernelGatewayImageConfig struct {
	// FileSystemConfig: optional
	FileSystemConfig *FileSystemConfig `hcl:"file_system_config,block"`
	// KernelSpec: required
	KernelSpec *KernelSpec `hcl:"kernel_spec,block" validate:"required"`
}

type KernelGatewayImageConfigAttributes

type KernelGatewayImageConfigAttributes struct {
	// contains filtered or unexported fields
}

func (KernelGatewayImageConfigAttributes) FileSystemConfig

func (KernelGatewayImageConfigAttributes) InternalRef

func (KernelGatewayImageConfigAttributes) InternalTokens

func (kgic KernelGatewayImageConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KernelGatewayImageConfigAttributes) InternalWithRef

func (KernelGatewayImageConfigAttributes) KernelSpec

type KernelGatewayImageConfigState

type KernelGatewayImageConfigState struct {
	FileSystemConfig []FileSystemConfigState `json:"file_system_config"`
	KernelSpec       []KernelSpecState       `json:"kernel_spec"`
}

type KernelSpec

type KernelSpec struct {
	// DisplayName: string, optional
	DisplayName terra.StringValue `hcl:"display_name,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

type KernelSpecAttributes

type KernelSpecAttributes struct {
	// contains filtered or unexported fields
}

func (KernelSpecAttributes) DisplayName

func (ks KernelSpecAttributes) DisplayName() terra.StringValue

func (KernelSpecAttributes) InternalRef

func (ks KernelSpecAttributes) InternalRef() (terra.Reference, error)

func (KernelSpecAttributes) InternalTokens

func (ks KernelSpecAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KernelSpecAttributes) InternalWithRef

func (ks KernelSpecAttributes) InternalWithRef(ref terra.Reference) KernelSpecAttributes

func (KernelSpecAttributes) Name

type KernelSpecState

type KernelSpecState struct {
	DisplayName string `json:"display_name"`
	Name        string `json:"name"`
}

Jump to

Keyboard shortcuts

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