Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// Options contains some useful options
manager.Options
// MasterURL is the url of kubernetes apiserver
MasterURL string
// KubeConfig is the path for kubeconfig file
KubeConfig string
// InstallCRD determine if we should install the HelmRequest CRD in the controller
InstallCRD bool
// ClusterNamespace is the namespace where all the Cluster resources lives in
ClusterNamespace string
// ChartRepoNamespace is the namespace where all the ChartRepo resources lives in
ChartRepoNamespace string
// InstallStableRepo install the default glob al stable repo
InstallStableRepo bool
// EnableWebhook decide if we should enable the validating/mutating webhook
// it's not worth to support webhook anymore
EnableWebhook bool
// GlobalClusterName it the cluster'name who represents the global cluster, which is also the
// cluster captain lives in. We need this variable because we want to support dependency of a
// HelmRequest who's clusterName="", which should means the current cluster. Currently this
// seems the only options, we can't compare them through endpoint or token ( not equal when captain
// run in-cluster mode). Hope there will be a better way in the feature.
GlobalClusterName string
// PrintVersion print the version and exist
PrintVersion bool
}
Options contains all the options for captain
Click to show internal directories.
Click to hide internal directories.