Documentation ¶
Index ¶
- Constants
- Variables
- func Config(opts KubeOpts) *corev1.ConfigMap
- func DashboardsDefaultCm(opts KubeOpts) *corev1.ConfigMap
- func Deployment(opts KubeOpts) *appsv1.Deployment
- func P[T any](t T) *T
- func Secret(opts KubeOpts) *corev1.Secret
- func Service(opts KubeOpts) *corev1.Service
- type AppOpts
- type KubeApp
- type KubeOpts
- type RDSOpts
- type RDSPostgres
Constants ¶
View Source
const ( AppName = "grafana" Version = "9.3.6" )
Variables ¶
View Source
var ConfigINI = `` /* 192-byte string literal not displayed */
View Source
var DashboardProviders = `` /* 194-byte string literal not displayed */
View Source
var DataSources = `` /* 140-byte string literal not displayed */
View Source
var DownloadDashboardsSh = `` /* 705-byte string literal not displayed */
View Source
var RoleRules = []rbacv1.PolicyRule{ { APIGroups: []string{"extensions"}, ResourceNames: []string{"grafana"}, Resources: []string{"podsecuritypolicies"}, Verbs: []string{"use"}, }, }
Functions ¶
func DashboardsDefaultCm ¶
func Deployment ¶
func Deployment(opts KubeOpts) *appsv1.Deployment
Types ¶
type AppOpts ¶
type KubeApp ¶
type KubeApp struct { kube.App Ns *corev1.Namespace Svc *corev1.Service Sa *corev1.ServiceAccount Cm *corev1.ConfigMap ClusterroleCr *rbacv1.ClusterRole ClusterrolebindingCrb *rbacv1.ClusterRoleBinding Rb *rbacv1.RoleBinding Secret *corev1.Secret DashboardsDefaultCm *corev1.ConfigMap Role *rbacv1.Role Deploy *appsv1.Deployment }
type RDSPostgres ¶
type RDSPostgres struct { SecurityGroup *aws.SecurityGroup `validate:"required"` SubnetGroup *aws.DbSubnetGroup `validate:"required"` Postgres *aws.DbInstance `validate:"required"` }
func NewRDSPostgres ¶
func NewRDSPostgres( opts RDSOpts, ) (RDSPostgres, error)
Click to show internal directories.
Click to hide internal directories.