dev

package
v0.0.0-...-57e549e Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FileName string = context + format

Functions

This section is empty.

Types

type Default

type Default struct {
	APIVersion string `json:"apiVersion"`
	Kind       string `json:"kind"`
	Metadata   struct {
	} `json:"metadata"`
	Spec struct {
		Status   string `json:"status"`
		LogLevel string `json:"logLevel"`
		API      struct {
			Address string `json:"address"`
		} `json:"api"`
		CI struct {
			Mode string `json:"mode"`
		} `json:"ci"`
		Containers struct {
			Registry struct {
				Address string `json:"address"`
				Auth    struct {
					Username string `json:"username"`
					Password string `json:"password"`
				} `json:"auth"`
			} `json:"registry"`
		} `json:"containers"`
		Build struct {
			Neuracli struct {
				Version    string `json:"version"`
				IDRecent   string `json:"idRecent"`
				HashRecent string `json:"hashRecent"`
			} `json:"neuracli"`
			Neurakube struct {
				Version    string `json:"version"`
				IDRecent   string `json:"idRecent"`
				HashRecent string `json:"hashRecent"`
				Container  struct {
					HashRecent string `json:"hashRecent"`
				} `json:"container"`
			} `json:"neurakube"`
			Accelerator struct {
				Base struct {
					Pytorch struct {
						GPU struct {
							HashRecent string `json:"hashRecent"`
						} `json:"gpu"`
						TPU struct {
							HashRecent string `json:"hashRecent"`
						} `json:"tpu"`
					} `json:"pytorch"`
				} `json:"base"`
				Remote struct {
					Pytorch struct {
						GPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"gpu"`
						TPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"tpu"`
					} `json:"pytorch"`
				} `json:"remote"`
				App struct {
					Pytorch struct {
						GPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"gpu"`
						TPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"tpu"`
					} `json:"pytorch"`
				} `json:"app"`
				Inference struct {
					Pytorch struct {
						GPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"gpu"`
						TPU struct {
							HashRecent string `json:"hashRecent"`
							Lightning  struct {
								HashRecent string `json:"hashRecent"`
							} `json:"lightning"`
						} `json:"tpu"`
					} `json:"pytorch"`
				} `json:"inference"`
			} `json:"accelerator"`
		} `json:"build"`
	} `json:"spec"`
}

type F

type F struct{}

func (F) Exists

func (f F) Exists() bool

func (F) GetConfig

func (f F) GetConfig() *Default

func (F) GetFilePath

func (f F) GetFilePath() string

func (F) IsLogLevelActive

func (f F) IsLogLevelActive(mode string) bool

func (F) RequireAPIAddrsNonLocal

func (f F) RequireAPIAddrsNonLocal(context string)

func (F) SetConfig

func (f F) SetConfig() (*Default, string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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