func (wh *WorkflowHandler) GetClusterInfo(
	ctx context.Context,
) (resp *types.ClusterInfo, err error) {
	defer log.CapturePanic(wh.GetLogger(), &err)

	scope := wh.getDefaultScope(ctx, metrics.FrontendClientGetClusterInfoScope)
	if ok := wh.allow(true, nil); !ok {
		return nil, wh.error(createServiceBusyError(), scope)
	}

	return &types.ClusterInfo{
		SupportedClientVersions: &types.SupportedClientVersions{
			GoSdk:   client.SupportedGoSDKVersion,
			JavaSdk: client.SupportedJavaSDKVersion,
		},
	}, nil
}
// GetClusterInfo return information about cadence deployment
GetClusterInfo return information about cadence deployment
// GetClusterInfo return information about cadence deployment
func (wh *WorkflowHandler) GetClusterInfo(
	ctx context.Context,
) (resp *types.ClusterInfo, err error) {
	defer log.CapturePanic(wh.GetLogger(), &err)
	scope := wh.getDefaultScope(ctx, metrics.FrontendClientGetClusterInfoScope)
	if ok := wh.allow(true, nil); !ok {
		return nil, wh.error(createServiceBusyError(), scope)
	}
	return &types.ClusterInfo{
		SupportedClientVersions: &types.SupportedClientVersions{
			GoSdk:   client.SupportedGoSDKVersion,
			JavaSdk: client.SupportedJavaSDKVersion,
		},
	}, nil
}
func ( wh * WorkflowHandler ) GetClusterInfo ( ctx context . Context , ) ( resp * types . ClusterInfo , err error ) { defer log . CapturePanic ( wh . GetLogger ( ) , & err ) scope := wh . getDefaultScope ( ctx , metrics . FrontendClientGetClusterInfoScope ) if ok := wh . allow ( true , nil ) ; ! ok { return nil , wh . error ( createServiceBusyError ( ) , scope ) } return & types . ClusterInfo { SupportedClientVersions : & types . SupportedClientVersions { GoSdk : client . SupportedGoSDKVersion , JavaSdk : client . SupportedJavaSDKVersion , } , } , nil }
GetClusterInfo return information about cadence deployment
GetClusterInfo return information about cadence deployment