Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrLeaseNotFound = errors.New("kube: lease not found") ErrNoDeploymentForLease = errors.New("kube: no deployments for lease") ErrNoGlobalServicesForLease = errors.New("kube: no global services for lease") ErrInternalError = errors.New("kube: internal error") ErrNoServiceForLease = errors.New("no service for that lease") )
Functions ¶
This section is empty.
Types ¶
type Settings ¶ added in v0.9.1
type Settings struct { // gcp: NodePort // others: ClusterIP DeploymentServiceType corev1.ServiceType // gcp: false // others: true DeploymentIngressStaticHosts bool // Ingress domain to map deployments to DeploymentIngressDomain string // Return load balancer host in lease status command ? // gcp: true // others: optional DeploymentIngressExposeLBHosts bool // Global hostname for arbitrary ports ClusterPublicHostname string // NetworkPoliciesEnabled determines if NetworkPolicies should be installed. NetworkPoliciesEnabled bool CPUCommitLevel float64 MemoryCommitLevel float64 StorageCommitLevel float64 // path to kube config file, may be left blank ConfigPath string DeploymentRuntimeClass string }
settings configures k8s object generation such that it is customized to the cluster environment that is being used. For instance, GCP requires a different service type than minikube.
func NewDefaultSettings ¶ added in v0.9.1
func NewDefaultSettings() Settings
Click to show internal directories.
Click to hide internal directories.