Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultCodeRootPath = "/code"
)
Variables ¶
This section is empty.
Functions ¶
func InjectCodeSyncInitContainers ¶
func InjectCodeSyncInitContainers(metaObj metav1.Object, specs map[apiv1.ReplicaType]*apiv1.ReplicaSpec) error
Types ¶
type CodeSyncHandler ¶
type SyncOptions ¶
type SyncOptions struct { // Code source address.(required) Source string `json:"source"` // Image contains toolkits to execute syncing code. Image string `json:"image,omitempty"` // Code root/destination directory path. // Root: the path to save downloaded files. // Dest: the name of (a symlink to) a directory in which to check-out files RootPath string `json:"rootPath,omitempty"` DestPath string `json:"destPath,omitempty"` // User-customized environment variables. Envs []v1.EnvVar `json:"envs,omitempty"` }
Click to show internal directories.
Click to hide internal directories.