🌳
pt0/deployF/servicesF/gitsshF/gitsshCtxF.mts
4export type GitsshCfg = {
5 repoName: string
6 authorizedPubKeyPaths: string[]
7 sshHostAlias: string
8 sshKeyPath?: string
9 name?: string
10 nodePortNo?: number
11 sizeGb?: number
12 pvcStorClassName?: string
13 gitsshHttpsHostname?: string
14 initRepos?: string[]
17export const gitsshCtx = genContext<GitsshCfg>()
19export const getReqGitsshCtx = (): GitsshCfg => {
20 const store = gitsshCtx.getStore()
22 return store