skus/m1small/m1small.go
func (s *SkuM1Small) InitInnkeeperClient() (clnt innkeeperclient.InnkeeperClient, err error) {
	if appEnv, err := cfenv.Current(); err == nil {

		if taskService, err := appEnv.Services.WithName("innkeeper-service"); err == nil {
			clnt = &innkeeperclient.IkClient{
				URI:      taskService.Credentials["uri"].(string),
				User:     taskService.Credentials["user"].(string),
				Password: taskService.Credentials["password"].(string),
			}
		}
	}
	return
}
func (s *SkuM1Small) InitInnkeeperClient() (clnt innkeeperclient.InnkeeperClient, err error) {
	if appEnv, err := cfenv.Current(); err == nil {

		if taskService, err := appEnv.Services.WithName("innkeeper-service"); err == nil {
			clnt = &innkeeperclient.IkClient{
				URI:      taskService.Credentials["uri"].(string),
				User:     taskService.Credentials["user"].(string),
				Password: taskService.Credentials["password"].(string),
			}
		}
	}
	return
}
// InitInnkeeperClient -- initialize innkeeper client based on cf configuration