Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDBRole ¶
type MongoDBRole struct {
// contains filtered or unexported fields
}
func NewMongoDBRole ¶
func NewMongoDBRole(kClient kubernetes.Interface, appClient appcat_cs.AppcatalogV1alpha1Interface, v *vaultapi.Client, mdbRole *api.MongoDBRole, databasePath string) (*MongoDBRole, error)
func (*MongoDBRole) CreateConfig ¶
func (m *MongoDBRole) CreateConfig() error
https://www.vaultproject.io/api/secret/databases/index.html#configure-connection https://www.vaultproject.io/api/secret/databases/mongodb.html#configure-connection
CreateConfig creates database configuration
func (*MongoDBRole) CreateRole ¶
func (m *MongoDBRole) 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.