withGoPrivate
Method
interface GoAppResource { // ... omitted for brevity withGoPrivate( privatePatterns: string[], authHost: string, usernameArgName?: string, tokenSecretId?: string): GoAppResource;}Signature
method
withGoPrivate builder Configures private Go module authentication for publish-time Dockerfile generation.
withGoPrivate( privatePatterns: string[], authHost: string, usernameArgName?: string, tokenSecretId?: string): GoAppResourceParameters
privatePatterns string[] authHost string usernameArgName string optional = GIT_USER tokenSecretId string optional = gittoken Returns
GoAppResource Applies to
This method applies to the following types: