Versions in this module Expand all Collapse all v1 v1.0.0 Nov 21, 2019 Changes in this version + func IsInvalidConfig(err error) bool + func IsNotFound(err error) bool + type ChartConfig struct + func New(config Config) (*ChartConfig, error) + func (c *ChartConfig) ApplyCreateChange(ctx context.Context, clusterConfig ClusterConfig, ...) error + func (c *ChartConfig) ApplyDeleteChange(ctx context.Context, clusterConfig ClusterConfig, ...) error + func (c *ChartConfig) ApplyUpdateChange(ctx context.Context, clusterConfig ClusterConfig, ...) error + func (c *ChartConfig) GetCurrentState(ctx context.Context, clusterConfig ClusterConfig) ([]*v1alpha1.ChartConfig, error) + func (c *ChartConfig) GetDesiredState(ctx context.Context, clusterConfig ClusterConfig, ...) ([]*v1alpha1.ChartConfig, error) + func (c *ChartConfig) NewDeletePatch(ctx context.Context, currentState, desiredState []*v1alpha1.ChartConfig) (*controller.Patch, error) + func (c *ChartConfig) NewUpdatePatch(ctx context.Context, currentState, desiredState []*v1alpha1.ChartConfig) (*controller.Patch, error) + type ClusterConfig struct + APIDomain string + ClusterID string + Organization string + type Config struct + Logger micrologger.Logger + ProjectName string + Tenant tenantcluster.Interface + type Interface interface + ApplyCreateChange func(ctx context.Context, clusterConfig ClusterConfig, ...) error + ApplyDeleteChange func(ctx context.Context, clusterConfig ClusterConfig, ...) error + ApplyUpdateChange func(ctx context.Context, clusterConfig ClusterConfig, ...) error + GetCurrentState func(ctx context.Context, clusterConfig ClusterConfig) ([]*v1alpha1.ChartConfig, error) + GetDesiredState func(ctx context.Context, clusterConfig ClusterConfig, ...) ([]*v1alpha1.ChartConfig, error) + NewDeletePatch func(ctx context.Context, currentState, desiredState []*v1alpha1.ChartConfig) (*controller.Patch, error) + NewUpdatePatch func(ctx context.Context, currentState, desiredState []*v1alpha1.ChartConfig) (*controller.Patch, error)