Documentation ¶
Index ¶
- func Migrate(db *gorm.DB, logger Logger) error
- func NewClusterData(clusterID uint, kubeConfig []byte) clusterData
- func NewCustomGetter(namespace string, kubeconfig []byte, cacheDir string, logger Logger) genericclioptions.RESTClientGetter
- func NewHelm3EnvService(secretStore helm.SecretStore, logger Logger) helm.EnvService
- func NewHelmRepoStore(db *gorm.DB, logger Logger) helm.Store
- func NewOrgService(logger Logger) helm.OrgService
- func NewReleaseDeleter(envResolver helm.EnvResolver, releaser helm.ListerUninstaller, logger Logger) helm.ReleaseDeleter
- func NewReleaser(logger Logger) helm.Releaser
- func NewSecretStore(store SecretStore, logger Logger) helm.SecretStore
- func NewSecurityService(clusterService helm.ClusterService, resourcer SecurityResourcer, logger Logger) securityService
- func NewUnifiedHelm3Releaser(service helm.Service, logger common.Logger) helm.UnifiedReleaser
- type Logger
- type SecretStore
- type SecurityResourcer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClusterData ¶
func NewCustomGetter ¶
func NewCustomGetter(namespace string, kubeconfig []byte, cacheDir string, logger Logger) genericclioptions.RESTClientGetter
func NewHelm3EnvService ¶
func NewHelm3EnvService(secretStore helm.SecretStore, logger Logger) helm.EnvService
func NewOrgService ¶
func NewOrgService(logger Logger) helm.OrgService
NewOrgService constructs a new organization service instance
func NewReleaseDeleter ¶
func NewReleaseDeleter(envResolver helm.EnvResolver, releaser helm.ListerUninstaller, logger Logger) helm.ReleaseDeleter
func NewReleaser ¶
func NewSecretStore ¶
func NewSecretStore(store SecretStore, logger Logger) helm.SecretStore
func NewSecurityService ¶
func NewSecurityService(clusterService helm.ClusterService, resourcer SecurityResourcer, logger Logger) securityService
func NewUnifiedHelm3Releaser ¶
Types ¶
type SecretStore ¶
type SecretStore = common.SecretStore
type SecurityResourcer ¶
type SecurityResourcer interface { ListScanLogs(ctx context.Context, cluster anchore.Cluster) (interface{}, error) GetWhitelists(ctx context.Context, cluster anchore.Cluster) ([]securityV1Alpha.WhiteListItem, error) }
SecurityResourcer adapter interface for the security resource service
Click to show internal directories.
Click to hide internal directories.