Documentation
¶
Index ¶
- Constants
- func CreateDashboardObjects(log logger.Logger, name string, namespace string, username string, ...) ([]byte, error)
- func GeneratePasswordHash(log logger.Logger, password string) (string, error)
- func InstallDashboard(ctx context.Context, log logger.Logger, manager ResourceManagerForApply, ...) error
- func InstallFluentBit(ctx context.Context, log logger.Logger, kubeClient client.Client, ...) error
- func IsDashboardInstalled(ctx context.Context, log logger.Logger, kubeClient client.Client, name string, ...) bool
- func NewManager(ctx context.Context, log logger.Logger, kubeClient ctrlclient.Client, ...) (*ssa.ResourceManager, error)
- func ReadPassword(log logger.Logger) (string, error)
- func ReconcileDashboard(ctx context.Context, kubeClient client.Client, name string, namespace string, ...) error
- func SanitizeResourceData(log logger.Logger, resourceData []byte) ([]byte, error)
- type FluxVersionInfo
- type ResourceManagerForApply
- type Session
Constants ¶
View Source
const FluentBitHRName = "fluent-bit"
Variables ¶
This section is empty.
Functions ¶
func CreateDashboardObjects ¶
func CreateDashboardObjects(log logger.Logger, name string, namespace string, username string, passwordHash string, chartVersion string, dashboardImage string) ([]byte, error)
CreateDashboardObjects creates HelmRepository and HelmRelease objects for the GitOps Dashboard installation.
func GeneratePasswordHash ¶ added in v0.10.0
func InstallDashboard ¶
func InstallDashboard(ctx context.Context, log logger.Logger, manager ResourceManagerForApply, manifests []byte) error
InstallDashboard installs the GitOps Dashboard.
func InstallFluentBit ¶ added in v0.16.0
func IsDashboardInstalled ¶
func IsDashboardInstalled(ctx context.Context, log logger.Logger, kubeClient client.Client, name string, namespace string) bool
IsDashboardInstalled checks if the GitOps Dashboard is installed.
func NewManager ¶
func NewManager(ctx context.Context, log logger.Logger, kubeClient ctrlclient.Client, kubeConfigArgs genericclioptions.RESTClientGetter) (*ssa.ResourceManager, error)
Types ¶
type FluxVersionInfo ¶ added in v0.16.0
type ResourceManagerForApply ¶
type ResourceManagerForApply interface { ApplyAll(ctx context.Context, objects []*unstructured.Unstructured, opts ssa.ApplyOptions) (*ssa.ChangeSet, error) WaitForSet(set object.ObjMetadataSet, opts ssa.WaitOptions) error }
type Session ¶ added in v0.10.0
type Session struct {
// contains filtered or unexported fields
}
func NewSession ¶ added in v0.10.0
Click to show internal directories.
Click to hide internal directories.