platform

package
v0.1.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

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

View Source
var (
	SrvComp = component.New(component.Fields{
		App:  App,
		Name: "platform-server",
	})
)

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL