github.com/oam-dev/kubevela@v1.9.11/pkg/cue/cuex/providers/config/config.cue (about) 1 package config 2 3 #ImageRegistry: { 4 #do: "image-registry" 5 #provider: "config" 6 7 // +usage=The params of this action 8 $params: { 9 // +usage=Image registry FQDN, such as: index.docker.io 10 registry: *"index.docker.io" | string 11 // +usage=Authenticate the image registry 12 auth?: { 13 // +usage=Private Image registry username 14 username: string 15 // +usage=Private Image registry password 16 password: string 17 // +usage=Private Image registry email 18 email?: string 19 } 20 // +usage=For the registry server that uses the self-signed certificate 21 insecure?: bool 22 // +usage=For the registry server that uses the HTTP protocol 23 useHTTP?: bool 24 } 25 // +usage=The result of this action, will be filled with the validation response after the action is executed 26 $returns?: { 27 // +usage=The result of the response 28 result: bool 29 // +usage=The message of the response 30 message: string 31 ... 32 } 33 ... 34 } 35 36 #HelmRepository: { 37 #do: "helm-repository" 38 #provider: "config" 39 40 $params: { 41 // +usage=The public url of the helm chart repository. 42 url: string 43 // +usage=The username of basic auth repo. 44 username?: string 45 // +usage=The password of basic auth repo. 46 password?: string 47 // +usage=The ca certificate of helm repository. Please encode this data with base64. 48 caFile?: string 49 } 50 // +usage=The result of this action, will be filled with the validation response after the action is executed 51 $returns?: { 52 // +usage=The result of the response 53 result: bool 54 // +usage=The message of the response 55 message: string 56 ... 57 } 58 ... 59 }