Documentation ¶
Index ¶
Constants ¶
View Source
const ( CertDir = "/kubefox/platform/tls" TLSCertFile = CertDir + "/tls.crt" TLSKeyFile = CertDir + "/tls.key" CACertFile = CertDir + "/ca.crt" )
Default TLS cert files
View Source
const ( BrokerSvcAccount = "kfp-broker" CTRLSvcAccount = "kfp-controller" NATSCertSecret = "kfp-tls-cert-nats" CertSecret = "kfp-tls-cert-platform" EnvConfigMap = "kfp-env" BrkService = "kfp-broker" ImagePullSecret = "kfp-image-pull-secret" SvcAccountTokenArg = "svc-account-token" TargetArg = "target" )
View Source
const ( System = "kubefox" App = "platform" Env = "kubefox" )
Variables ¶
Functions ¶
func NewGPRCSrvCreds ¶
func NewGPRCSrvCreds(namespace string) (creds.TransportCredentials, error)
func NewGRPCClientCreds ¶
func NewGRPCClientCreds(namespace string) (creds.TransportCredentials, error)
Types ¶
type BootstrapResponse ¶
type BootstrapResponse struct {
Certificate tls.Certificate `json:"certificate"`
}
Click to show internal directories.
Click to hide internal directories.