Versions in this module Expand all Collapse all v0 v0.1.0 Sep 18, 2019 Changes in this version + type MockInstanceClient struct + MockCreate func(context.Context, *sqladmin.DatabaseInstance) error + MockDelete func(context.Context, string) error + MockGet func(context.Context, string) (*sqladmin.DatabaseInstance, error) + MockUpdate func(context.Context, string, *sqladmin.DatabaseInstance) error + func (c *MockInstanceClient) Create(ctx context.Context, instance *sqladmin.DatabaseInstance) error + func (c *MockInstanceClient) Delete(ctx context.Context, name string) error + func (c *MockInstanceClient) Get(ctx context.Context, name string) (*sqladmin.DatabaseInstance, error) + func (c *MockInstanceClient) Update(ctx context.Context, name string, instance *sqladmin.DatabaseInstance) error + type MockUserClient struct + MockCreate func(context.Context, string, *sqladmin.User) error + MockDelete func(context.Context, string, string, string) error + MockList func(context.Context, string) ([]*sqladmin.User, error) + MockUpdate func(context.Context, string, string, *sqladmin.User) error + func (c *MockUserClient) Create(ctx context.Context, instance string, user *sqladmin.User) error + func (c *MockUserClient) Delete(ctx context.Context, instance, database, user string) error + func (c *MockUserClient) List(ctx context.Context, instance string) ([]*sqladmin.User, error) + func (c *MockUserClient) Update(ctx context.Context, instance, userName string, user *sqladmin.User) error