Documentation ¶
Index ¶
- type Default
- type F
- func (f F) GetAllIDs() []string
- func (f F) GetBasePath() string
- func (f F) GetClusterRecentlyDeleted() bool
- func (f F) GetConfig() *Default
- func (f F) GetContainerUserPath() string
- func (f F) GetInfraGcloudAuthPath() string
- func (f F) GetInfraGcloudPath() string
- func (f F) GetInfraKubeAuthPath(withFileName bool) string
- func (f F) GetInfraKubePath() string
- func (f F) GetPath(withFileName bool) string
- func (f F) GetProviderIDActive() string
- func (f F) ProviderIDIsActive(id string) bool
- func (f F) SetCluster()
- func (f F) SetClusterRecentlyDeleted(deleted bool)
- func (f F) SetConfig() (*Default, string)
- func (f F) SetGcloudAccelerator(context, accType string)
- func (f F) SetKubeConfig()
- func (f F) SetMachineSpec()
- func (f F) SetModuleSpec(context string)
- func (f F) SetNeuraKubeSpec()
- func (f F) SetProject()
- func (f F) SetProviderIDActive(id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 { Gcloud struct { Auth struct { } `json:"auth"` ProjectID string `json:"projectID"` Zone string `json:"zone"` MachineType string `json:"machineType"` Accelerator struct { GPU struct { MachineType string `json:"machineType"` Type string `json:"type"` Node struct { DiskSizeGb string `json:"diskSizeGb"` } `json:"node"` } `json:"gpu"` TPU struct { MachineType string `json:"machineType"` Version string `json:"version"` Cores string `json:"cores"` TF struct { Version string `json:"version"` } `json:"tf"` Node struct { DiskSizeGb string `json:"diskSizeGb"` } `json:"node"` } `json:"tpu"` } `json:"accelerator"` } `json:"gcloud"` Cluster struct { ID string `json:"id"` Auth struct { } `json:"auth"` SelfDeletion struct { Active string `json:"active"` TimeDurationHours string `json:"timeDurationHours"` } `json:"selfDeletion"` Nodes struct { DiskSizeGb string `json:"diskSizeGb"` } `json:nodes` } `json:"cluster"` Neurakube struct { VolumeSizeGB string `json:"volumeSizeGB"` AutoCreation string `json:"autoCreation"` Cache struct { Endpoint string `json:"endpoint"` ConnectStatus string `json:"connectStatus"` } `json:"cache"` } `json:"neurakube"` Develop struct { Environment struct { IDE string `json:"ide"` Framework string `json:"framework"` } `json:"environment"` Type string `json:"type"` VolumeSizeGB string `json:"volumeSizeGB"` SelfDeletion struct { Active string `json:"active"` TimeDurationHours string `json:"timeDurationHours"` } `json:"selfDeletion"` NodePools struct { Dedicated string `json:"dedicated"` } `json:"nodePools"` } `json:"develop"` App struct { Environment struct { IDE string `json:"ide"` Framework string `json:"framework"` } `json:"environment"` Type string `json:"type"` VolumeSizeGB string `json:"volumeSizeGB"` SelfDeletion struct { Active string `json:"active"` TimeDurationHours string `json:"timeDurationHours"` } `json:"selfDeletion"` NodePools struct { Dedicated string `json:"dedicated"` } `json:"nodePools"` } `json:"app"` Inference struct { Environment struct { IDE string `json:"ide"` Framework string `json:"framework"` } `json:"environment"` Type string `json:"type"` VolumeSizeGB string `json:"volumeSizeGB"` SelfDeletion struct { Active string `json:"active"` TimeDurationHours string `json:"timeDurationHours"` } `json:"selfDeletion"` NodePools struct { Dedicated string `json:"dedicated"` } `json:"nodePools"` } `json:"inference"` } `json:"spec"` }
type F ¶
type F struct{}
func (F) GetBasePath ¶
func (F) GetClusterRecentlyDeleted ¶
func (F) GetContainerUserPath ¶
func (F) GetInfraGcloudAuthPath ¶
func (F) GetInfraGcloudPath ¶
func (F) GetInfraKubeAuthPath ¶
func (F) GetInfraKubePath ¶
func (F) GetProviderIDActive ¶
func (F) ProviderIDIsActive ¶
func (F) SetCluster ¶
func (f F) SetCluster()
func (F) SetClusterRecentlyDeleted ¶
func (F) SetGcloudAccelerator ¶
func (F) SetKubeConfig ¶
func (f F) SetKubeConfig()
func (F) SetMachineSpec ¶
func (f F) SetMachineSpec()
func (F) SetModuleSpec ¶
func (F) SetNeuraKubeSpec ¶
func (f F) SetNeuraKubeSpec()
func (F) SetProject ¶
func (f F) SetProject()
func (F) SetProviderIDActive ¶
Click to show internal directories.
Click to hide internal directories.