Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresRole ¶
type PostgresRole struct {
// contains filtered or unexported fields
}
func NewPostgresRole ¶
func NewPostgresRole(kClient kubernetes.Interface, appClient appcat_cs.AppcatalogV1alpha1Interface, v *vaultapi.Client, pgRole *api.PostgresRole, databasePath string) (*PostgresRole, error)
func (*PostgresRole) CreateConfig ¶
func (p *PostgresRole) CreateConfig() error
https://www.vaultproject.io/api/secret/databases/index.html#configure-connection https://www.vaultproject.io/api/secret/databases/postgresql.html#configure-connection
CreateConfig creates database configuration
func (*PostgresRole) CreateRole ¶
func (p *PostgresRole) CreateRole() error
https://www.vaultproject.io/api/secret/databases/index.html#create-role
CreateRole creates role
Click to show internal directories.
Click to hide internal directories.