Documentation ¶
Index ¶
Constants ¶
View Source
const ( AgentName = "installation-controller" ChartError = "ChartError" ClustersNotReady = "ClustersNotReady" InternalError = "InternalError" TargetClusterClientError = "TargetClusterClientError" UnknownError = "UnknownError" InstallationTargetConditionChanged = "InstallationTargetConditionChanged" ClusterInstallationConditionChanged = "ClusterInstallationConditionChanged" )
Variables ¶
This section is empty.
Functions ¶
func FetchAndRenderChart ¶ added in v0.8.0
func FetchAndRenderChart( chartFetcher shipperrepo.ChartFetcher, it *shipper.InstallationTarget, ) ([]runtime.Object, error)
Types ¶
type ChartFetcher ¶ added in v0.5.0
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a Kubernetes controller that processes InstallationTarget objects.
func NewController ¶
func NewController( shipperclientset shipperclient.Interface, shipperInformerFactory shipperinformers.SharedInformerFactory, store clusterclientstore.Interface, dynamicClientBuilderFunc DynamicClientBuilderFunc, chartFetcher shipperrepo.ChartFetcher, recorder record.EventRecorder, ) *Controller
NewController returns a new Installation controller.
func (*Controller) GetClusterAndConfig ¶
func (c *Controller) GetClusterAndConfig(clusterName string) (kubernetes.Interface, *rest.Config, error)
func (*Controller) Run ¶
func (c *Controller) Run(threadiness int, stopCh <-chan struct{})
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer is an object that knows how to install objects into Kubernetes clusters.
func NewInstaller ¶
func NewInstaller( it *shipper.InstallationTarget, objects []runtime.Object, ) *Installer
NewInstaller returns a new Installer.
Click to show internal directories.
Click to hide internal directories.