Documentation
¶
Index ¶
- Variables
- func CreateHelmRelease(featureName, featureSetName, ns string, ...) error
- func DeployRelease(apiConfig *api.Config, deployOpts *action.DeployOptions, reg repo.IRegistry) error
- func EnableFeatures(ctx context.Context, kc client.Client, ...) error
- func GetAPIGroups() []string
- func GetDefaultValues(reg repo.IRegistry, chartRef releasesapi.ChartSourceRef) (map[string]interface{}, error)
- func GetFeatureSetValues(ctx context.Context, fs *uiapi.FeatureSet, features []string, ...) (map[string]interface{}, error)
- func GetFeatures(ctx context.Context, kc client.Client, fs string) (uiapi.FeatureList, error)
- func GetKindNameNamespace(item map[string]interface{}) (string, string, string, error)
- func GetOverrideValues(overrides map[string]interface{}, clusterMetadata *kmapi.ClusterInfo) (map[string]interface{}, error)
- func InstallChart(fakeServer *FakeServer, chartRef *releasesapi.ChartSourceRef, ...) error
- func InstallOpscenterFeatures(overrideValues []byte, fakeServer *FakeServer, ...) error
- func InstallOpscenterFeaturesOnFakeServer(fakeServer *FakeServer, profile *profilev1alpha1.ManagedClusterSetProfile, ...) (map[string]interface{}, error)
- func NewVirtualRegistry(kc client.Client) repo.IRegistry
- func RegisterRequiredCRDs(fakeServer *FakeServer, ...) error
- func UpdateFeatureSetValues(ctx context.Context, fs string, kc client.Client, values map[string]any, ...) ([]string, error)
- type FakeServer
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCache = repo.DefaultDiskCache()
Functions ¶
func CreateHelmRelease ¶ added in v0.6.0
func CreateHelmRelease(featureName, featureSetName, ns string, profile *profilev1alpha1.ManagedClusterSetProfile, featureObj uiapi.Feature, fakeServer *FakeServer, values map[string]interface{}) error
func DeployRelease ¶
func EnableFeatures ¶
func EnableFeatures(ctx context.Context, kc client.Client, profileBinding *profilev1alpha1.ManagedClusterProfileBinding, featureInfo map[string][]string, profile *profilev1alpha1.ManagedClusterSetProfile) error
func GetAPIGroups ¶
func GetAPIGroups() []string
func GetDefaultValues ¶ added in v0.6.0
func GetDefaultValues(reg repo.IRegistry, chartRef releasesapi.ChartSourceRef) (map[string]interface{}, error)
func GetFeatureSetValues ¶
func GetFeatures ¶
func GetKindNameNamespace ¶ added in v0.7.0
func GetOverrideValues ¶ added in v0.6.0
func GetOverrideValues(overrides map[string]interface{}, clusterMetadata *kmapi.ClusterInfo) (map[string]interface{}, error)
func InstallChart ¶ added in v0.6.0
func InstallChart(fakeServer *FakeServer, chartRef *releasesapi.ChartSourceRef, deployOpts *action.DeployOptions) error
func InstallOpscenterFeatures ¶ added in v0.6.0
func InstallOpscenterFeatures(overrideValues []byte, fakeServer *FakeServer, chartRef *releasesapi.ChartSourceRef) error
func InstallOpscenterFeaturesOnFakeServer ¶ added in v0.0.7
func InstallOpscenterFeaturesOnFakeServer(fakeServer *FakeServer, profile *profilev1alpha1.ManagedClusterSetProfile, profileBinding *profilev1alpha1.ManagedClusterProfileBinding, clusterMetadata *kmapi.ClusterInfo, chartRef *releasesapi.ChartSourceRef) (map[string]interface{}, error)
func RegisterRequiredCRDs ¶ added in v0.10.0
func RegisterRequiredCRDs(fakeServer *FakeServer, profileBinding *profilev1alpha1.ManagedClusterProfileBinding) error
Types ¶
Click to show internal directories.
Click to hide internal directories.