Documentation ¶
Index ¶
- func ResourceUser() *schema.Resource
- type CHUser
- type CHUserService
- func (us *CHUserService) CreateUser(ctx context.Context, userPlan UserResource) (*CHUser, error)
- func (us *CHUserService) DeleteUser(ctx context.Context, name string) error
- func (us *CHUserService) GetUser(ctx context.Context, userName string) (*CHUser, error)
- func (us *CHUserService) UpdateUser(ctx context.Context, userPlan UserResource, resourceData *schema.ResourceData) (*CHUser, error)
- type UserResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResourceUser ¶
Types ¶
type CHUser ¶
func (*CHUser) ToUserResource ¶
func (u *CHUser) ToUserResource() *UserResource
type CHUserService ¶
func (*CHUserService) CreateUser ¶
func (us *CHUserService) CreateUser(ctx context.Context, userPlan UserResource) (*CHUser, error)
func (*CHUserService) DeleteUser ¶
func (us *CHUserService) DeleteUser(ctx context.Context, name string) error
func (*CHUserService) UpdateUser ¶
func (us *CHUserService) UpdateUser(ctx context.Context, userPlan UserResource, resourceData *schema.ResourceData) (*CHUser, error)
Click to show internal directories.
Click to hide internal directories.